[FFmpeg-user] How to change video fps from 29.970 to 25?

Damian Głodny damian at artnmedia.pl
Mon Sep 1 13:54:43 CEST 2014


>>> -r 25 on the input should not produce stutter. Did you try a command like this:

>>> ffmpeg.exe -r 25 -i "sample-29.970fps.mp4" -c:v libx264 -c:a libvo_aacenc -b:a 128k "OUTPUT"

Yeah, I tried it. Still stutter (but not so much). Audio is totally out of sync and video is longer about 3 min ;/.

What with those ffmpeg filters like pullup, fieldmatch, decimate? Should not we use them?



-----Original Message-----
From: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-bounces at ffmpeg.org] On Behalf Of Nicholas Robbins
Sent: Monday, September 1, 2014 1:26 PM
To: FFmpeg user questions
Subject: Re: [FFmpeg-user] How to change video fps from 29.970 to 25?

> On Monday, September 1, 2014 2:33 AM, Damian Głodny <damian at artnmedia.pl> wrote:

> >>>  1) Play the same frames slower. You can certainly do that. 
> >>> Putting
> 
> I will have different clips, not only city shots etc. Solution above 
> is very bad, result video will stutter.


-r 25 on the input should not produce stutter. Did you try a command like this:

ffmpeg.exe -r 25 -i "sample-29.970fps.mp4" -c:v libx264 -c:a libvo_aacenc -b:a 128k "OUTPUT"

>>>  2) Throw out information. The problem you have here is that you 
>>> have  This would change the judder to more smaller jumps but it 
>>> might not be
> what you want. It will also make the video interlaced.
> 
> I tested it, here you can see output with your vf example:
> ffmpeg.exe -i "sample-29.970fps.mp4" -c:v libx264 -c:a libvo_aacenc 
> -b:a 128k -vf fps=50,interlace  "OUTPUT"
> http://artnmedia.pl/damian/fps/sample-29.970fps_25fps_vf%20fps=50,inte
> rlanced.mp4
> 
> Unfortunately output  still stutter and by a interlace quality is worse.
> 
> I am looking for better solution, cause those clips will be emited in 
> TV and I have to do this with ffmpeg ;/.
I don't think ffmpeg currently has any other options. 
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user



More information about the ffmpeg-user mailing list