Caught SIGSEGV when transcode 1920x1080 video with videoparse
Submitted by Lim Siew Hoon
Link to original bug (#786413)
Description
Gstreamer-vaapi: 1.12.0 (1.8.3 version this issue already exist).
Intel VA driver: 1.8.3
Libva: 1.8.3
OS: Yocto Build image.
By using fail command Caught SIGVSEGV and if run second time or third time again, it will causing the processing not able to exit ever ctrl-c. It happens in 1920x1080 video during transcoding.
- Command fail in 1920x1080 video:
gst-launch-1.0 filesrc location=/home/root/Puppies_1920x1080_38mbps_30fps_Main_at_L4.1.mkv ! matroskademux ! vaapih265dec ! videoparse width=1920 height=1080 format=i420 framerate=30 ! vaapipostproc width=1280 height=720 ! vaapih264enc ! fpsdisplaysink videosink=fakesink text-overlay=false
gst-launch-1.0 -v filesrc location=/home/root/HoneyBee_1920x1080_10mbps_30fps_L4.2.mp4 ! qtdemux ! vaapih264dec ! videoparse width=1920 format=i420 framerate=30 height=1080 ! vaapipostproc width=1920 height=1080 ! vaapih265enc ! fpsdisplaysink video-sink=fakesink text-overlay=false
-
Command Pass in 640x320 video:
gst-launch-1.0 -v filesrc location=/home/root/Cactus_640x320_3mbps_30fps_Main_at_L2.2.mp4 ! qtdemux ! vaapih264dec ! videoparse width=640 format=i420 framerate=30 height=320 ! vaapipostproc width=1920 height=1080 ! vaapih265enc ! fpsdisplaysink video-sink=fakesink text-overlay=false -
Command Pass in 1920x1080 video if no videoparse:
gst-launch-1.0 -v filesrc location=/home/root/HoneyBee_1920x1080_10mbps_30fps_L4.2.mp4 ! qtdemux ! vaapih264dec ! vaapipostproc width=1920 height=1080 ! vaapih265enc ! fpsdisplaysink video-sink=fakesink text-overlay=false -
Command Pass in 1920x1080 video if replace vaapi decode to avdec_xxx.
gst-launch-1.0 -v filesrc location=/home/root/HoneyBee_1920x1080_10mbps_30fps_L4.2.mp4 ! qtdemux ! avdec_h264 ! videoparse width=1920 format=i420 framerate=30 height=1080 ! vaapipostproc width=1920 height=1080 ! vaapih265enc ! fpsdisplaysink video-sink=fakesink text-overlay=false
Version: 1.12.0