[FFmpeg-user] how to detect corrupted/wrong video file

Dennis mediastream at gmail.com
Thu Jun 25 23:59:23 CEST 2015


this can be done a bit more granularily:

test video track(s):
$ ffmpeg -i file -f null -an -

test audio track(s):
$ ffmpeg -i file -f null -vn -

test first audio track only:
$ ffmpeg -i file -f null -vn -map 0:a:0 -



On Thu, Jun 25, 2015 at 10:17 AM, qw <applemax82 at 163.com> wrote:

> Hi,
>
>
> Thanks for your reply.
>
>
> I think ffprobe just probes video files, and parses part of files.
> Therefore, ffprobe doesn't check all parts of  video files, and can't be
> used to analyze the correctness of video files.
>
> What's your opinion?
>
>
>
>
>
>
> At 2015-06-25 18:21:43, "Ranga Rajan" <rangarajanmkr at gmail.com> wrote:
> >Hi,
> >You can use ffprobe <video name>
> >On 25-Jun-2015 3:40 pm, "Carl Eugen Hoyos" <cehoyos at ag.or.at> wrote:
> >
> >> qw <applemax82 <at> 163.com> writes:
> >>
> >> > How to make ffmpeg only decode video file without
> >> > transcoding and output?
> >>
> >> $ ffmpeg -i file -f null -
> >>
> >> (This of course does "transcoding", decoding
> >> without transcoding is impossible.)
> >>
> >> Carl Eugen
> >>
> >> _______________________________________________
> >> ffmpeg-user mailing list
> >> ffmpeg-user at ffmpeg.org
> >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >>
> >_______________________________________________
> >ffmpeg-user mailing list
> >ffmpeg-user at ffmpeg.org
> >http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list