After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 791010 - mpeg4: decode error with video has resync marker
mpeg4: decode error with video has resync marker
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: gstreamer-vaapi
1.12.x
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-11-30 02:53 UTC by Chenglin Ye
Modified: 2017-11-30 13:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
detail error log (5.55 KB, text/plain)
2017-11-30 02:56 UTC, Chenglin Ye
Details

Description Chenglin Ye 2017-11-30 02:53:17 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.
Comment 1 Chenglin Ye 2017-11-30 02:56:21 UTC
Created attachment 364651 [details]
detail error log

detail error log
Comment 2 Víctor Manuel Jáquez Leal 2017-11-30 13:46:50 UTC
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.
Comment 3 Chenglin Ye 2017-11-30 13:55:42 UTC
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.