using ffmpeg fixing the timebase error

Published: 25 December 2020
on channel: A Forum
400
2

if you have differen file types (e.g .mkv and .mp4) you will not be able to use some commands until you change the file types to match.

example to change an mp4 to an mkv:

ffmpeg -i i2.mp4 i2.mkv

if you still have a timebase error you can change both videos to have the same timebase:

ffmpeg -i input.mp4 -codec:v mpeg4 -r 29.97 -qscale:v 2 output.mp4

do this command to both the videos so their timebase details will match.

then you can perform the xfade, blend, concat, etc... commands and hopefully it will work. so far it has worked for me. If you have any other solutions please feel free to leave a comment.

thankyou for watching.

link:
https://stackoverflow.com/questions/1...

00:00 intro
00:33 contents of video
01:56 different file type bad command
02:18 the error you will get
02:38 command to change file type
02:47 xfade command might work now
03:00 example when it wont work
03:38 error from my example
03:48 solution command to re-encode video
04:26 explanation for options
05:30 using ffprobe to get fps,tbr,tbn...
06:14 simple bash script using the command


Watch video using ffmpeg fixing the timebase error online without registration, duration hours minute second in high quality. This video was added by user A Forum 25 December 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 400 once and liked it 2 people.