<br><br><div class="gmail_quote">On Mon, Oct 4, 2010 at 9:44 AM, cristiurban <span dir="ltr"><<a href="mailto:cristianurban86@gmail.com">cristianurban86@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
The pipeline I am using is :<br>
gst-launch -v filesrc location=<path to media file> ! nv_omx_mp3dec !<br>
audioconverter ! audioresample ! alsasink (used -v for debug)<br>
This is a command that you should verify that it is working, for these to<br>
work you must have the nvidia sound drivers. Of course, my app is in C<br>
source, and somewhere after I give the playing state I try to extract the<br>
current time and then I get zero.<br>
If this doesn't work try the same pipeline but you must replace the<br>
"nv_omx_decoder" with "mad" and works just fine, but this I know. In time I<br>
had beed looking in OMX API to see if something wrong there, but no result<br>
yet.<br><br></blockquote><div><br></div><div>from filesrc, you will not get timestamps. So things like seek won't work unless your mp3 decoder is also a parser and generating it's own timestamps and supporting seeking. My guess is that mad does this, and your OMX component does not.</div>
<div><br></div><div>Please try putting mp3parse between filesrc and nv_omx_mp3dec</div><div><br></div><div>BR,</div><div>-R</div><div><br></div><div> </div></div>