ERROR: VLC command-line help

About encoding, codec settings, muxers and filter usage
NOYB
Blank Cone
Blank Cone
Posts: 25
Joined: 11 Feb 2019 05:29

ERROR: VLC command-line help

Postby NOYB » 10 Feb 2024 01:55

The VLC command-line help section, "Transcode stream output (stream_out_transcode)", "Audio:", says...
--sout-transcode-samplerate=<integer [0 .. 48000]>
Audio sample rate
Sample rate of the transcoded audio stream (11250, 22500, 44100 or
48000).

Believe that to be in error. When using 11250 or 22500 the VLC player codec indicates 44100 Hz sample rate.
Using 11025 or 22050 appears to work correctly (factors 2 and 4 of 44100).

Example (Windows batch script):

Code: Select all

START "Some Stream" /B "C:\Program Files\VideoLAN\VLC\vlc.exe" -I null ^ dshow:// ^ :dshow-vdev=none ^ :dshow-adev="Line In" ^ :dshow-audio-channels=1 ^ :live-caching=300 ^ --sout "#transcode{vcodec=none,vb=0,scale=1,acodec=mp3,ab=64,channels=1,samplerate=11025,scodec=none} :standard{access=http,mux=mp3,dst=xyz:65535/Some_Stream}" ^ :sout-all :sout-keep ^ --one-instance

VLC command-line help:
https://wiki.videolan.org/VLC_command-line_help/

VLC media player
3.0.20 Vetinari

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

Re: ERROR: VLC command-line help

Postby Rémi Denis-Courmont » 10 Feb 2024 11:14

Yes, this is a mistake in the command line help. It has no consequences on the actual functionality
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 10 guests