[MPlayer-users] Autodetection of .flv files

mail at kraymer.de mail at kraymer.de
Fri Dec 15 17:28:31 CET 2006


> Hi, all!
>
> Is there a way to have mplayer autodetect that an flv file is an flv
> file without its file name extension?
> This is useful when playing a file directly from a remoe url for
> example  from youtube.
> Usually those files aren't recognized by mplayer unless the .flv
> extension is present, but wget, for example, will recognize the file as
> "video/flv".
>
> One option would be to have mplayer fall back to flv if it can't detect
>  the video format.

I don't think you can change mplayer's /autodetection/ on the commandline.
However, if you know that the file is flv, add -vc ffflv to your command
line, it will force mplayer to use ffmpeg's flv codec.

Sebastian





More information about the MPlayer-users mailing list