Page 1 of 1

Does VLC auto-detect the file format?

Posted: 08 Sep 2019 20:36
by peppy.player
Hi,

The same streaming command line options work for different file formats:

Code: Select all

vlc -I dummy --dummy-quiet --sout=#transcode{acodec=flac}:std{access=http,mux=flac,dst=10.0.0.6:8080} flac-file.flac vlc -I dummy --dummy-quiet --sout=#transcode{acodec=flac}:std{access=http,mux=flac,dst=10.0.0.6:8080} mp3-file.mp3 vlc -I dummy --dummy-quiet --sout=#transcode{acodec=flac}:std{access=http,mux=flac,dst=10.0.0.6:8080} wav-file.wav
Does it mean that VLC auto-detects input file format and there is actually no need to specify 'acodec' option?
Is it possible to avoid transcoding during streaming and stream files in their original encoding?

Thanks in advance!

Re: Does VLC auto-detect the file format?

Posted: 08 Sep 2019 21:21
by RĂ©mi Denis-Courmont
Of course it detects the file format automatically. How else could it play the file??