VideoDecoder update format info to wrong size

Bruce Tsai wagamama.tsai at gmail.com
Thu Sep 26 01:08:42 PDT 2013


On Tue, Sep 17, 2013 at 9:26 AM, Bruce Tsai <wagamama.tsai at gmail.com> wrote:

> Hi all,
>
> Has anyone encountered "OMX_GetExtensionIndex failed" problem?
> I cross-compiled gstreamer-sdk to android_x86 version and tried playing
> mp4 video on an Android_x86 device.
> The screen is green and some stripes flashing at the bottom half of the
> video frame while playing.
> I then compared the log [1] with a normal one and found some never seen
> errors.
>
> I found something interesting in the log [1]:

09-26 16:02:24.740: I/VideoDecoder(135): maxDPBSize = 6, num_ref_frame = 5
09-26 16:02:24.740: I/VideoDecoder(135): updateFormatInfo: current size:
854 x 480, new size: 864 x 480
09-26 16:02:24.740: I/VideoDecoder(135): Video size is changed.
09-26 16:02:24.740: I/VideoDecoder(135): New sequence is received. Assuming
video size is changed.
09-26 16:02:24.740: I/VideoDecoder(135): Cropping: left = 0, top = 0, right
= 10, bottom = 0

The VideoDecoder update the format info from size 854x480 to size 864x480
where the content size is actually 854x480.
I also tested other content that size 1920x1080 is changed to size
1920x1088.
Only the content with size 1280x720 remains the size and is played properly.
I'm pretty sure setting the correct size while creating video format.
I wonder, in what situation and how, the video decoder will update the
format info.

 [1]
https://dl.dropboxusercontent.com/u/72809300/AsusFonepad/log_no_mp4_video.txt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20130926/998189be/attachment.html>


More information about the gstreamer-android mailing list