<div dir="ltr"><div class="gmail_extra"><div><div dir="ltr"><div>On Tue, Sep 17, 2013 at 9:26 AM, Bruce Tsai <span dir="ltr"><<a href="mailto:wagamama.tsai@gmail.com" target="_blank">wagamama.tsai@gmail.com</a>></span> wrote:<br>

</div></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">

Hi all,<div><br></div><span></span><span></span><a></a><div>Has anyone encountered "OMX_GetExtensionIndex failed" problem?</div><div>I cross-compiled gstreamer-sdk to android_x86 version and tried playing mp4 video on an Android_x86 device.</div>


<div>The screen is green and some stripes flashing at the bottom half of the video frame while playing.</div><div>I then compared the log [1] with a normal one and found some never seen errors.</div><div><br></div></div>

</blockquote><div>I found something interesting in the log [1]:</div><div><br></div><div><div>09-26 16:02:24.740: I/VideoDecoder(135): maxDPBSize = 6, num_ref_frame = 5</div><div>09-26 16:02:24.740: I/VideoDecoder(135): updateFormatInfo: current size: 854 x 480, new size: 864 x 480</div>

<div>09-26 16:02:24.740: I/VideoDecoder(135): Video size is changed.</div><div>09-26 16:02:24.740: I/VideoDecoder(135): New sequence is received. Assuming video size is changed.</div><div>09-26 16:02:24.740: I/VideoDecoder(135): Cropping: left = 0, top = 0, right = 10, bottom = 0</div>

</div><div><br></div><div>The VideoDecoder update the format info from size 854x480 to size 864x480 where the content size is actually 854x480.</div><div>I also tested other content that size 1920x1080 is changed to size 1920x1088.</div>

<div>Only the content with size 1280x720 remains the size and is played properly.</div><div>I'm pretty sure setting the correct size while creating video format.</div><div>I wonder, in what situation and how, the video decoder will update the format info.</div>

<div><br></div><div> [1] <a href="https://dl.dropboxusercontent.com/u/72809300/AsusFonepad/log_no_mp4_video.txt" target="_blank">https://dl.dropboxusercontent.com/u/72809300/AsusFonepad/log_no_mp4_video.txt</a></div></div>

<br></div></div>