gstreamer-embedded Digest, Vol 2, Issue 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


hi,

   i used "qtdemux",but it is the same  as before.
   if i add "queue" behind the decoder element, it works well:

gst-launch --gst-debug-level=queue:3 filesrc location=/usr/local/demo/z.mp4
! ffdemux_mov_mp4_m4a_3gp_3g2_
mj2 name=demux demux.video_00 ! queue !
ffdec_mpeg4 ! queue ! ffmpegcolorspace ! videoscale ! ximagesink
demux.audio_00 !
queue ! faad ! queue ! alsasink


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.

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.

daisy








2011/3/13 <gstreamer-embedded-request at lists.freedesktop.org>

> Send gstreamer-embedded mailing list submissions to
>        gstreamer-embedded at lists.freedesktop.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded
> or, via email, send a message with subject or body 'help' to
>        gstreamer-embedded-request at lists.freedesktop.org
>
> You can reach the person managing the list at
>        gstreamer-embedded-owner at lists.freedesktop.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of gstreamer-embedded digest..."
>
>
> Today's Topics:
>
>   1. sound disappear (???)
>   2. Re: sound disappear (Michael Smith)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 12 Mar 2011 10:06:50 +0800
> From: ??? <daisy0719 at gmail.com>
> Subject: sound disappear
> To: gstreamer-embedded at lists.freedesktop.org
> Message-ID:
>        <AANLkTin1YE0cbjYU-6eOVwQdAOypUg_cfcmhb5hgoLQ4 at mail.gmail.com>
> Content-Type: text/plain; charset="gb2312"
>
> hello:
>
> I use the following command to play a media file?
>
> gst-launch --gst-debug-level=queue:3 filesrc location=/usr/local/demo/z.mp4
> ! ffdemux_mov_mp4_m4a_3gp_3g2_mj2 name=demux demux.video_00 ! queue !
> ffdec_mpeg4 ! ffmpegcolorspace ! videoscale ! ximagesink demux.audio_00 !
> queue ! faad ! alsasink
>
> the video image playback smooth, but the sound began to emerge only in the
> 3
> to 10 seconds ?then it will disappear to the end, and in the middle there
> will be some noise , but i can not see the debugging information to
> knowwhere a
> problem is,. How to solve this problem? Can you tell me how better to
> debug?
> Also,how can i get the time stamp information of audio and video?
>
> pls help me, thank very much!
>
> daisy
>
> Here are my media files Info:
>
> PS: MP4 file info:
>
> General
> Complete name                    : E:\demo\z.mp4
> Format                           : MPEG-4
> Format profile                   : Base Media / Version 2
> Codec ID                         : mp42
> File size                        : 38.0 MiB
> Duration                         : 21mn 47s
> Overall bit rate                 : 244 Kbps
> Encoded date                     : UTC 2009-08-29 09:23:08
> Tagged date                      : UTC 2009-08-29 09:23:08
>
> Video
> ID                               : 1
> Format                           : MPEG-4 Visual
> Format profile                   : Simple at L1
> Format settings, BVOP            : No
> Format settings, QPel            : No
> Format settings, GMC             : No warppoints
> Format settings, Matrix          : Default (H.263)
> Codec ID                         : 20
> Duration                         : 21mn 47s
> Bit rate mode                    : Variable
> Bit rate                         : 216 Kbps
> Width                            : 320 pixels
> Height                           : 240 pixels
> Display aspect ratio             : 4:3
> Frame rate mode                  : Constant
> Frame rate                       : 14.985 fps
> Resolution                       : 24 bits
> Colorimetry                      : 4:2:0
> Scan type                        : Progressive
> Bits/(Pixel*Frame)               : 0.187
> Stream size                      : 33.6 MiB (88%)
> Writing library                  : Lavc51.10.0
> Encoded date                     : UTC 1970-01-01 00:00:00
> Tagged date                      : UTC 2009-08-29 09:23:21
>
> Audio
> ID                               : 2
> Format                           : AAC
> Format/Info                      : Advanced Audio Codec
> Format version                   : Version 4
> Format profile                   : LC
> Format settings, SBR             : Yes
> Format settings, PS              : Yes
> Codec ID                         : 40
> Duration                         : 21mn 46s
> Bit rate mode                    : Variable
> Bit rate                         : 27.4 Kbps
> Channel(s)                       : 2 channels
> Channel positions                : Front: L R
> Sampling rate                    : 32.0 KHz
> Resolution                       : 16 bits
> Stream size                      : 4.28 MiB (11%)
> Encoded date                     : UTC 1970-01-01 00:00:00
> Tagged date                      : UTC 2009-08-29 09:23:21
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20110312/13318c9f/attachment-0001.htm
> >
>
> ------------------------------
>
> Message: 2
> Date: Fri, 11 Mar 2011 21:09:09 -0800
> From: Michael Smith <msmith at xiph.org>
> Subject: Re: sound disappear
> To: Discussions specific to using GStreamer on embedded systems
>        <gstreamer-embedded at lists.freedesktop.org>
> Message-ID:
>        <AANLkTikv1mK0rJ4dgM_3J-_uqKNConx2g2ap9HYwh6+r at mail.gmail.com>
> Content-Type: text/plain; charset=GB2312
>
> 2011/3/11 ??? <daisy0719 at gmail.com>:
> > hello:
> >
> > I use the following command to play a media file?
> >
> > gst-launch --gst-debug-level=queue:3 filesrc
> location=/usr/local/demo/z.mp4
> > ! ffdemux_mov_mp4_m4a_3gp_3g2_mj2 name=demux demux.video_00 ! queue !
> > ffdec_mpeg4 ! ffmpegcolorspace ! videoscale ! ximagesink demux.audio_00 !
> > queue ! faad ! alsasink
>
> Under no circumstances should that ffmpeg demuxer be used for any purpose.
>
> Does it work if you use qtdemux? qtdemux is the only supported demuxer
> to use for qt and derived file formats (including mp4).
>
> Mike
>
>
> ------------------------------
>
> _______________________________________________
> gstreamer-embedded mailing list
> gstreamer-embedded at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded
>
>
> End of gstreamer-embedded Digest, Vol 2, Issue 2
> ************************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20110314/c449b5c4/attachment.htm>


[Index of Archives]     [Linux Embedded]     [Linux ARM Kernel]     [Linux for ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux Media]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux