FFmpeg: Find invalid video files

Step-by-Step descriptions of how to do things.

FFmpeg: Find invalid video files

Postby peter_b » Tue Oct 18, 2016 8:54 pm

On Windows OS:
Code: Select all
@echo off

@echo Finding broken AVIs...

for /r %%f in (*.avi) do (
    @echo File: "%%f"
    "C:\Program Files\ffmpeg\bin\ffmpeg.exe" -ss 59.9 -v error -i %%f -f null - 2> %%f.log


Tries to seek to 59.9 seconds and lists all errors found while trying to do so.

Quick and dirty hack to debug 1-minute-segment debugging.
  • 0

User avatar
Posts: 308
Joined: Tue Nov 12, 2013 2:05 am
Reputation: 3

Return to HowTo's

Who is online

Users browsing this forum: No registered users and 2 guests

Who is online over last 24 hours

Users browsed this forum in the last 24 hours: No registered users and 11 guests

Reputation System ©'