Unable to autoplug video/x-h264 decoder

Bruce Tsai wagamama.tsai at gmail.com
Thu Sep 12 03:17:28 PDT 2013


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)

In function "connect_pad" of gstdecodebin2.c, the factories->n_values
equals one.
The only one factory is already used in the chain so the factory is skipped.
Then "connect_pad" returns FALSE in function "analyze_new_pad".
As a result, SIGNAL_UNKNOWN_TYPE is emitted.

I need more hints on solving this issue.
Has any one encountered similar situations?

[1]
https://dl.dropboxusercontent.com/u/72809300/GoogleNexus7/log_1080p_video.txt

Yi-Lung (Bruce) Tsai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20130912/c5a09039/attachment.html>


More information about the gstreamer-android mailing list