[gst-devel] Fast AVI video speed
Arnout Vandecappelle
arnout at mind.be
Mon May 11 18:38:30 CEST 2009
On Friday 08 May 2009 12:02:57 ldac wrote:
> Now, I have "the last" problem with the video speed when I play it
> using VLC or any other player. I am recording a chronometer count of around
> 13 seconds, but when I play the file, it is played in less than 7 seconds!!
> I enclose the avi file, just as help.
>
> The pipeline that I am running is the following. I have added as many
> elements as I know to control de frame rate, but nothing works.
>
> gst-launch-0.10 mfw_v4lsrc capture-width=640 capture-height=480
> num-buffers=200 ! 'video/x-raw-yuv,framerate=25/1' ! mfw_vpuencoder
> framerate=25 width=640 height=480 codec-type=std_mpeg4 ! queue ! avimux !
> filesink location=fast.avi
I guess your source element is not really grabbing frames at 25fps. Indeed,
since you limit the capturing to 200 frames, this should be 8 seconds, not
13... I guess mfw_vpuencoder doesn't look at timestamps, just at framerate.
You can probably solve this by adding a videorate element before the encoder.
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: D206 D44B 5155 DF98 550D 3F2A 2213 88AA A1C7 C933
More information about the gstreamer-devel
mailing list