[gst-devel] flutsmux video time

Christian Fredrik Kalager Schaller uraeus at linuxrising.org
Fri Apr 17 16:20:51 CEST 2009


Hi,
I think you need to set the 'is-live' attribute on the audiotestsrc
element (to have it pretend to be a real time stream) as currently you
are creating as much audio and video as you have the CPU capacity to do.

Christian

On Fri, 2009-04-17 at 16:01 +0200, 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