Does VLC auto-detect the file format?

About encoding, codec settings, muxers and filter usage
peppy.player
Blank Cone
Blank Cone
Posts: 38
Joined: 10 Nov 2017 00:07

Does VLC auto-detect the file format?

Postby peppy.player » 08 Sep 2019 20:36

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!

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Does VLC auto-detect the file format?

Postby Rémi Denis-Courmont » 08 Sep 2019 21:21

Of course it detects the file format automatically. How else could it play the file??
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 35 guests