hi,<br><br>   i used &quot;qtdemux&quot;,but it is the same  as before. <br>   if i add &quot;queue&quot; behind the decoder element, it works well:<br><br>gst-launch --gst-debug-level=queue:3 filesrc location=/usr/local/demo/z.mp4<br>

! ffdemux_mov_mp4_m4a_3gp_3g2_<div id=":a8">mj2 name=demux demux.video_00 ! queue !<br>
ffdec_mpeg4 ! <span style="color: rgb(51, 51, 255);">queue !</span> ffmpegcolorspace ! videoscale ! ximagesink demux.audio_00 !<br>
queue ! faad ! <span style="color: rgb(51, 51, 255);">queue ! </span>alsasink<br><br><br>however, there are also problems when i play some other files in my own arm based developed board just use the command like above, and i am sure the command i used is right ,because i use the same command in PC, and it works well, but in my own board ,the sound will disappear, and the video playback smoothly. <br>
<br>i am doing AV synchronization test, so i want to know how can i get timestamp of audio and video, are there any ways to test AV synchronization ? pls give me some suggestion ,i will be very appreciate.<br><br>daisy<br>
<br><br><br><br><br><br></div><br><br><div class="gmail_quote">2011/3/13  <span dir="ltr">&lt;<a href="mailto:gstreamer-embedded-request@lists.freedesktop.org">gstreamer-embedded-request@lists.freedesktop.org</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Send gstreamer-embedded mailing list submissions to<br>
        <a href="mailto:gstreamer-embedded@lists.freedesktop.org">gstreamer-embedded@lists.freedesktop.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:gstreamer-embedded-request@lists.freedesktop.org">gstreamer-embedded-request@lists.freedesktop.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:gstreamer-embedded-owner@lists.freedesktop.org">gstreamer-embedded-owner@lists.freedesktop.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of gstreamer-embedded digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. sound disappear (???)<br>
   2. Re: sound disappear (Michael Smith)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sat, 12 Mar 2011 10:06:50 +0800<br>
From: ??? &lt;<a href="mailto:daisy0719@gmail.com">daisy0719@gmail.com</a>&gt;<br>
Subject: sound disappear<br>
To: <a href="mailto:gstreamer-embedded@lists.freedesktop.org">gstreamer-embedded@lists.freedesktop.org</a><br>
Message-ID:<br>
        &lt;<a href="mailto:AANLkTin1YE0cbjYU-6eOVwQdAOypUg_cfcmhb5hgoLQ4@mail.gmail.com">AANLkTin1YE0cbjYU-6eOVwQdAOypUg_cfcmhb5hgoLQ4@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;gb2312&quot;<br>
<br>
hello:<br>
<br>
I use the following command to play a media file?<br>
<br>
gst-launch --gst-debug-level=queue:3 filesrc location=/usr/local/demo/z.mp4<br>
! ffdemux_mov_mp4_m4a_3gp_3g2_mj2 name=demux demux.video_00 ! queue !<br>
ffdec_mpeg4 ! ffmpegcolorspace ! videoscale ! ximagesink demux.audio_00 !<br>
queue ! faad ! alsasink<br>
<br>
the video image playback smooth, but the sound began to emerge only in the 3<br>
to 10 seconds ?then it will disappear to the end, and in the middle there<br>
will be some noise , but i can not see the debugging information to knowwhere a<br>
problem is,. How to solve this problem? Can you tell me how better to debug?<br>
Also,how can i get the time stamp information of audio and video?<br>
<br>
pls help me, thank very much!<br>
<br>
daisy<br>
<br>
Here are my media files Info:<br>
<br>
PS: MP4 file info:<br>
<br>
General<br>
Complete name                    : E:\demo\z.mp4<br>
Format                           : MPEG-4<br>
Format profile                   : Base Media / Version 2<br>
Codec ID                         : mp42<br>
File size                        : 38.0 MiB<br>
Duration                         : 21mn 47s<br>
Overall bit rate                 : 244 Kbps<br>
Encoded date                     : UTC 2009-08-29 09:23:08<br>
Tagged date                      : UTC 2009-08-29 09:23:08<br>
<br>
Video<br>
ID                               : 1<br>
Format                           : MPEG-4 Visual<br>
Format profile                   : Simple@L1<br>
Format settings, BVOP            : No<br>
Format settings, QPel            : No<br>
Format settings, GMC             : No warppoints<br>
Format settings, Matrix          : Default (H.263)<br>
Codec ID                         : 20<br>
Duration                         : 21mn 47s<br>
Bit rate mode                    : Variable<br>
Bit rate                         : 216 Kbps<br>
Width                            : 320 pixels<br>
Height                           : 240 pixels<br>
Display aspect ratio             : 4:3<br>
Frame rate mode                  : Constant<br>
Frame rate                       : 14.985 fps<br>
Resolution                       : 24 bits<br>
Colorimetry                      : 4:2:0<br>
Scan type                        : Progressive<br>
Bits/(Pixel*Frame)               : 0.187<br>
Stream size                      : 33.6 MiB (88%)<br>
Writing library                  : Lavc51.10.0<br>
Encoded date                     : UTC 1970-01-01 00:00:00<br>
Tagged date                      : UTC 2009-08-29 09:23:21<br>
<br>
Audio<br>
ID                               : 2<br>
Format                           : AAC<br>
Format/Info                      : Advanced Audio Codec<br>
Format version                   : Version 4<br>
Format profile                   : LC<br>
Format settings, SBR             : Yes<br>
Format settings, PS              : Yes<br>
Codec ID                         : 40<br>
Duration                         : 21mn 46s<br>
Bit rate mode                    : Variable<br>
Bit rate                         : 27.4 Kbps<br>
Channel(s)                       : 2 channels<br>
Channel positions                : Front: L R<br>
Sampling rate                    : 32.0 KHz<br>
Resolution                       : 16 bits<br>
Stream size                      : 4.28 MiB (11%)<br>
Encoded date                     : UTC 1970-01-01 00:00:00<br>
Tagged date                      : UTC 2009-08-29 09:23:21<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20110312/13318c9f/attachment-0001.htm" target="_blank">http://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20110312/13318c9f/attachment-0001.htm</a>&gt;<br>

<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Fri, 11 Mar 2011 21:09:09 -0800<br>
From: Michael Smith &lt;<a href="mailto:msmith@xiph.org">msmith@xiph.org</a>&gt;<br>
Subject: Re: sound disappear<br>
To: Discussions specific to using GStreamer on embedded systems<br>
        &lt;<a href="mailto:gstreamer-embedded@lists.freedesktop.org">gstreamer-embedded@lists.freedesktop.org</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:AANLkTikv1mK0rJ4dgM_3J-_uqKNConx2g2ap9HYwh6%2Br@mail.gmail.com">AANLkTikv1mK0rJ4dgM_3J-_uqKNConx2g2ap9HYwh6+r@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=GB2312<br>
<br>
2011/3/11 ??? &lt;<a href="mailto:daisy0719@gmail.com">daisy0719@gmail.com</a>&gt;:<br>
&gt; hello:<br>
&gt;<br>
&gt; I use the following command to play a media file?<br>
&gt;<br>
&gt; gst-launch --gst-debug-level=queue:3 filesrc location=/usr/local/demo/z.mp4<br>
&gt; ! ffdemux_mov_mp4_m4a_3gp_3g2_mj2 name=demux demux.video_00 ! queue !<br>
&gt; ffdec_mpeg4 ! ffmpegcolorspace ! videoscale ! ximagesink demux.audio_00 !<br>
&gt; queue ! faad ! alsasink<br>
<br>
Under no circumstances should that ffmpeg demuxer be used for any purpose.<br>
<br>
Does it work if you use qtdemux? qtdemux is the only supported demuxer<br>
to use for qt and derived file formats (including mp4).<br>
<br>
Mike<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
gstreamer-embedded mailing list<br>
<a href="mailto:gstreamer-embedded@lists.freedesktop.org">gstreamer-embedded@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded</a><br>
<br>
<br>
End of gstreamer-embedded Digest, Vol 2, Issue 2<br>
************************************************<br>
</blockquote></div><br>