[FFmpeg-user] how can I figure out if a media file is good or if there are any errors ?
Carl Eugen Hoyos
ceffmpeg at gmail.com
Sun Jan 6 15:52:14 EET 2019
2018-12-31 8:15 GMT+01:00, shirish शिरीष <shirishag75 at gmail.com>:
> I was looking for how to figure out if the media file is good and if
> there are any errors in the file . Came across
> I tried this on debian on bash but got an empty error log
> ~/Videos$ ffmpeg -v error -i Bandit\ Bashing\ –\ Kenshi\ Gameplay\ –\
> Let\'s\ Play\ Part\ 2-9Jomgc8Ui0E.mp4 -f null - 2>error.log
> ~/Videos$ cat error.log
Independent of your actual issue (that I don't know) FFmpeg
tries hard to read known-to-be-broken files and is therefore
not an ideal tool to show the validity of a given file.
I believe stream validators exist.
More information about the ffmpeg-user