[FFmpeg-user] timebase mismatch error

Lou Logan lou at lrcd.com
Fri Dec 22 20:39:56 EET 2017


On Fri, Dec 22, 2017, at 1:37 AM, parth awasthi wrote:
> hey, ffmpeg code is showing me time base mismatch error from last 5 days. I
> have not found any solution for this error on internet. My timebase got
> stuck at 25 fps and no videos other than 25 fps is converting. Thank you in
> advance.
> 
> This is my code -:
> exec("$ffmpeg -i $target_file   -c:v libx264  -b:v 54k -pass 1   -r 15 -b:a
> 128k -f mp4 -y NUL && ^",$result);
> 
> exec("$ffmpeg -i $target_file   -c:v libx264  -b:v 54k -pass 2  -r 15 -b:a
> 128k  2>&1 $firstMp4", $result);
> 
> This is an error-:
> 
> [libx264 @ 000000ca0bd02480] timebase mismatch with 1st pass (1/15 vs 1/25)'

Show your actual, unscripted commands and the console output from each command so we can attempt to duplicate the issue. Also, provide a link the input if it is required to duplicate the issue.


More information about the ffmpeg-user mailing list