virgoerns/subconvert — Issue #4: Auto get fps if there is a movie file in a directory
Author: virgoerns
Created: 2011-11-09 15:11:09+00:00
State: open

One idea is to use mplayer:
```bash
mplayer -vo null -ao null -frames 0 -identify filename
```
and then just grep the output

``bash
time mplayer -vo null -ao null -frames 0 -identify Donnie.Darko.LIMITED.DVDRip.DivX.ViTE.avi
(...cut...)
real	0m0.255s
user	0m0.128s
sys	0m0.076s
```

So it's a little faster than sub parsing which is... well... pathetic.