Unable to autoplug video/x-h264 decoder

Sebastian Dröge slomo at circular-chaos.org
Thu Sep 12 04:26:17 PDT 2013


On Do, 2013-09-12 at 18:17 +0800, Bruce Tsai wrote:
> Hi all,
> 
> 
> I modify Android Tutorial 5 to play mp4 files on Nexus 7 (2013 ver.).
> Playing sintel_trailer-480p.mp4 and sintel_trailer-720p.mp4 is fine.
> But playing sintel_trailer-1080p.mp4 shows blank screen.
> It seems the video decoder is not available from dumped info.
> 
> 
> From the log [1], it says No decoder available for type
> 'video/x-h264, stream-format=(string)byte-stream,
> alignment=(string)au, level=(string)5, profile=(string)high,
> width=(int)1920, height=(int)1080, framerate=(fraction)24/1,
> pixel-aspect-ratio=(fraction)1/1, parsed=(boolean)true'.
> 
> 
> I also dumped caps info in sintel_trailer-480p.mp4 and compared these
> two caps info.
> The only differences are:
> level: 5(1080p) vs. 3(480p)
> width: 1920(1080p) vs 854(480p)
> height: 1080(1080p) vs 480(480p)

That happens because the level is different and your hardware claims to
not support that level. It probably does, most of the time this
information is just inaccurate. This commit should fix it, will be in
versions 1.0.11 and 1.1.5.

commit 2b94641a421f1aba8c451e718854402b404fe617
Author: Sebastian Dröge <slomo at circular-chaos.org>
Date:   Thu Sep 12 13:21:37 2013 +0200

    amcvideodec: Don't put the level restrictions on the sinkpad caps
    
    They tend to be inaccurate and having them in the sinkpad caps
    prevents playback of files that would otherwise play fine.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20130912/797114d0/attachment.pgp>


More information about the gstreamer-android mailing list