[regression] playbin can't play video using sw decode after enabling TI specific patches

Bug #920846 reported by Ricardo Salveti
28
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Linaro Ubuntu
Won't Fix
High
Unassigned
ubuntu-omap4-extras-multimedia
Confirmed
Undecided
Unassigned

Bug Description

Sample video: http://samplemedia.linaro.org/H264/big_buck_bunny_480p_H264_AAC_25fps_1800K.MP4

Testing video playback on Origen, with 12.01 RC image, and I'm unable to play the sample video with playbin2, due an error at gstreamer.

linaro@linaro-ubuntu-desktop:~$ gst-launch-0.10 playbin2 uri=file:///home/linaro/Videos/big_buck_bunny_480p_H264_AAC_25fps_1800K.MP4
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstQTDemux:qtdemux0: GStreamer encountered a general stream error.
Additional debug info:
qtdemux.c(3865): gst_qtdemux_loop (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstQTDemux:qtdemux0:
streaming stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

After checking the patches at available at gst-plugins-base0.10-0.10.35, it seems that the culprit here is the one that enables stridetransform by default at playbin2 (0016-modify-playbin-to-use-stridetransform.patch), as after reverting it I was able to play the video at Origen again.

tags: added: linaro-ubuntu lt-origen totem
summary: - playbin can't play video using sw decode after enabling TI specific
- patches
+ [regression] playbin can't play video using sw decode after enabling TI
+ specific patches
Changed in linaro-ubuntu:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Tom Gall (tom-gall) wrote :

I'm wondering if this is more a software issue and not hardware specific.

See : https://bugs.launchpad.net/linaro-multimedia-project/+bug/921048

tags: added: lt-panda lt-quickstart lt-snowball
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

By talking with Rob, simply disabling stridetransform is not an option, if we want to keep hw decode/render working, as vconv doesn't supports NV12.

This is something that should be worked for 12.02, let's keep it at least at the known issues session for 12.01.

Changed in linaro-ubuntu:
assignee: nobody → Ricardo Salveti (rsalveti)
milestone: none → 12.02
Revision history for this message
Avik Sil (aviksil) wrote :

Same observation for 12.02 RC image on panda.

Revision history for this message
Tom Gall (tom-gall) wrote :

Yup still broken on imx53 12.02 RC

Changed in linaro-ubuntu:
milestone: 12.02 → 12.03
Revision history for this message
leonzhang (li-zhang-arm) wrote :

does h/w codecs work on Origen with 12.01 RC Image? If not, when will h/w codecs would be available ?

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Unfortunately not, Origen just supports software decoding for now. Check bug 888051 if you want to know more about the availability of the hwdecoders for origen.

Revision history for this message
leonzhang (li-zhang-arm) wrote :

Thanks. got it. One more question is there is h/w codecs on Origen, and the reason why 12.01 RC doesn't support is about dirver's availability , right? Does it depends on Samsung or Linaro team?

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Yes, the problem is the lack of drivers for it. I know the guys behind Cotton Candy are trying to get it working there, and it'll probably be compatible with Origen, but still a work-in-progress.

Changed in linaro-ubuntu:
milestone: 12.03 → 12.04
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

I'll mark it as invalid for the precise based release, because we didn't yet get a working gstreamer stack from TI.

Changed in linaro-ubuntu:
status: Confirmed → Invalid
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Same bug is now happening with Precise, as the patch set is still the same. When reverted patch 0016-modify-playbin-to-use-stridetransform.patch I'm still able to get gst playbin to work, but a lot slower probably because it's now using sw to do the conversion.

Changed in linaro-ubuntu:
status: Invalid → Won't Fix
status: Won't Fix → Confirmed
importance: High → Critical
milestone: 12.04 → 12.07
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Investigating a bit further, it seems that it's converting from NV12 to YUY2 when stridetransform is not forced by playbin.

Without the 0016 patch: http://paste.ubuntu.com/1107390/
With the patch: http://paste.ubuntu.com/1107391/

Talking with Rob on IRC, it seems that stridetransform wouldn't really be needed in this case, so maybe the 0016 patch was actually hiding the real issue here, is that gst is trying to use ffmpegcolorspace to do the conversion when it's not needed.

Changed in ubuntu-omap4-extras-multimedia:
status: New → Confirmed
Changed in linaro-ubuntu:
milestone: 12.07 → 12.08
Changed in linaro-ubuntu:
importance: Critical → High
milestone: 12.08 → 12.09
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

No feedback from TI still, so not a lot of progress on it this cycle.

Changed in linaro-ubuntu:
milestone: 12.09 → 12.10
Fathi Boudra (fboudra)
Changed in linaro-ubuntu:
assignee: Ricardo Salveti (rsalveti) → nobody
milestone: 12.10 → none
Fathi Boudra (fboudra)
Changed in linaro-ubuntu:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.