[gst-devel] flutsmux video time

Julien Moutte julien at moutte.net
Fri Apr 17 16:18:15 CEST 2009


Use the is-live property on the source element so that they don't try to
run as fast as possible.

Julien

ldac wrote:
>     Hello,
> 
> I am using the following gstreamer pipeline to save a MPEG2-TS file 
> using Fluendo MPEG2-TS muxer:
> 
> gst-launch-0.10 videotestsrc ! 
> video/x-raw-yuv,format=(fourcc)I420,width=640,height=480,framerate=(fraction)25/1 
> ! \
>                   videorate ! queue ! x264enc ! h264parse ! queue ! mux. \
>                   audiotestsrc ! audioconvert ! 
> audio/x-raw-int,rate=44100,channels=2 ! ffenc_mp2 ! queue ! mux. \
>                   flutsmux name=mux ! filesink location=/tmp/test.ts
> 
>     The point is that I start a chronometer when I launch the pipeline, 
> and I stop it when 10 seconds has elapsed. But when I play the file 
> using either VLC or mplayer o whatever, the playing time is around 3 
> times the expected 10 seconds (over 34 seconds).
> 
>     Why is happening this? I have read about the framerate, but I am 
> specifying the framerate into the pipeline.
> 
>     Thank you very much in advance.
>     Regards.
>     Luis.
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and 
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today. 
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




More information about the gstreamer-devel mailing list