How can I verify that a video file is correct?

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

How can I verify that a video file is correct?

wl2776
Administrator
I've got several video clips  (recorded from DVB), which have problems, like jumping timestamps, broken frames, etc.
All of them are MPEG-2 program stream.

Is it possible to automatically verify, that a file has errors, using ffmpeg?
Reply | Threaded
Open this post in threaded view
|

Re: How can I verify that a video file is correct?

Etienne Buira
On Fri, Oct 15, 2010 at 01:27:15AM -0700, wl2776 wrote:
>
> I've got several video clips  (recorded from DVB), which have problems, like
> jumping timestamps, broken frames, etc.
> All of them are MPEG-2 program stream.
>
> Is it possible to automatically verify, that a file has errors, using
> ffmpeg?

Hi.

I know no foolproof method to to that, and I'm not sure timestamps wraps
are errors, but one test for broken frames is to
mplayer -ao null -vo null the file, and look for errors in stdout (you
might want to add -ss something).

For timestamps, if the wrap point is always the same, you can guess if
the file is using ffprobe (using Duration and start).
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user