how can I figure out if a media file is good or if there are any errors ?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

how can I figure out if a media file is good or if there are any errors ?

shirish
Dear all,

Please cc if anybody knows something -

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

https://superuser.com/questions/100288/how-can-i-check-the-integrity-of-a-video-file-avi-mpeg-mp4

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
~/Videos$

Maybe I'm doing something wrong, can somebody help ?


--
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
EB80 462B 08E1 A0DE A73A  2C2F 9F3D C7A4 E1C4 D2D8
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: how can I figure out if a media file is good or if there are any errors ?

Carl Zwanzig
On 12/30/2018 11:15 PM, shirish शिरीष wrote:
> Maybe I'm doing something wrong, can somebody help ?

Maybe but first post the full command output and also make sure you're using
a reasonable-current version of ffmpeg (at least something dated in 2018,
but the most recent _ffmpeg_ build is best, not the most recent package for
your distro).

Could be that no errors were found, so none reported. It also depends on
what "error" means- the file could be structurally fine but still look like
crap.


Later,

z!
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: how can I figure out if a media file is good or if there are any errors ?

Moritz Barsnick
In reply to this post by shirish
On Mon, Dec 31, 2018 at 07:15:21 +0000, shirish शिरीष wrote:
> 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

The file you were referring to in your previous thread had problems
with ffplay, right? Did it show those "error while seeking" issues
while you were actually seeking?

In my experience, there can be files which decode just fine straight
through, but expose issues while seeking, for reasons not known to me.

So while your file decodes fine with ffmpeg:

> ~/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
> ~/Videos$

it may show trouble when trying to just back and forward.

Just my experience, nothing I can help you with.

Moritz
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: how can I figure out if a media file is good or if there are any errors ?

Carl Eugen Hoyos-2
In reply to this post by shirish
2018-12-31 8:15 GMT+01:00, shirish शिरीष <[hidden email]>:

> 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
>
> https://superuser.com/questions/100288/how-can-i-check-the-integrity-of-a-video-file-avi-mpeg-mp4
>
> 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
> ~/Videos$

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.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".