GNOME Bugzilla – Bug 791010
mpeg4: decode error with video has resync marker
Last modified: 2017-11-30 13:55:42 UTC
Hi, While I try to playback video with mpeg4 resync marker video, encounter decode frame error issue, following: S/W: libvdpau-1.1.1 vdpau-va-driver-0.7.4 libva-1.7.0 gstreamer-1.2.3 Issue: "gst-launch-1.0 playbin uri=file:///home/ye/video.mov video-sink=glimagesink", encounter decode frame error issue. So, I try to use more mpeg4 video test, finished I found that it will encounter decode frame error issue only if video has resync marker. More detail log reference to attachment... Track: I can only track to gstvaapidecoder_mpeg4.c decode_packet(...), only priv->vol_hdr.resync_marker_disable != 0 decode frame ok, means that there is no resync marker in video, but I can not solved it why it decode frame error while priv->vol_hdr.resync_marker_disable == 0, I am sorry for my clueless. Thanks.
Created attachment 364651 [details] detail error log detail error log
Thanks for taking the time to report this. However, vdpau bridge driver is not supported by gstreamer-vaapi, since it is unmaintained. Even more you should to notice that since you must have exported the environment variable GST_VAAPI_ALL_DRIVERS in order to make the vdpau bridge driver.
Yes, I have expoet GST_VAAPI_ALL_DRIVERS environment, and using vaapi with vdpau backend, also, h264/mpeg2/vc1/mpeg4 are ok by H/W decoding. However, it encountered that decode error issue only if mpeg4 stream has reync marker.