using ffmpeg fixing the timebase error

Опубликовано: 25 Декабрь 2020
на канале: 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


Смотрите видео using ffmpeg fixing the timebase error онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь A Forum 25 Декабрь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 400 раз и оно понравилось 2 людям.