[MPlayer-users] testing the playability of files?

Oliver Seitz info at vtnd.de
Sun Jan 23 12:22:09 CET 2011


Am 23.01.2011 12:03, schrieb Uwe Dippel:
> I'd like to go through my collection of files, with movies, audio,
> subtitles, text-files and much more. There are now 1000+. I don't feel
> like typing one by one and test it, I'd rather recursively go through
> all and have mplayer taking a shot at it, and decide if it can handle
> the file, and subsequently inform me about its findings.
> I was actually thinking of having mplayer play all files for, let's say,
> 10 seconds, and then obtaining some stuatus.

I've been using grep to find "Starting Playback..." in the mplayer 
output. But that has also lead to some false-positive results.

You could try playing to a pipe via e.g. -vo yuv4mpeg ,and see if there 
is any data written to that pipe. I think that should be reliable.

Greets,
Kiste


More information about the MPlayer-users mailing list