[MPlayer-users] Autodetection of .flv files

Nico Sabbi nsabbi at email.it
Fri Dec 15 17:30:15 CET 2006


mail at kraymer.de wrote:

>>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
>
>  
>
he's asking for demuxer autodetection, not decoder.
Add -demuxer lavf, but it may or may not suffice



More information about the MPlayer-users mailing list