Documentation:Modules/transcode
Jump to navigation
Jump to search
Module: stream_out_transcode | |
---|---|
Type | Stream output |
First VLC version | 0.6.0 |
Last VLC version | - |
Operating system(s) | all |
Description | Transcode content on the fly |
Shortcut(s) | - |
The only shortcut to this module is transcode
.
Options
Note: Since supported codecs are dynamically assigned by the running program, sout-transcode-venc
, sout-transcode-aenc
and sout-transcode-senc
have been left blank.
Looking at the source code for 4.0.0-dev it seems no checks are directly performed limiting sout-transcode-samplerate
beyond 0 <= samplerate <= 48000
.
As of 2.2.0 sout-transcode-fps
accepts fps as rationals e.g. 30000/1001
.
Deprecated options:
hurry-up
(since 2.2.0),sout-transcode-high-priority
seems to be equivalentaudio-sync
(since 2.2.0)
Video
- sout-transcode-venc <string> : This is the video encoder module that will be used (and its associated options)
- sout-transcode-vcodec <string> : This is the video codec that will be used default value: NULL
- sout-transcode-vb <integer> : Target bitrate of the transcoded video stream default value: 0
- sout-transcode-scale <float> : Scale factor to apply to the video while transcoding (eg: 0.25) default value: 0
- sout-transcode-fps <string> : Target output frame rate for the video stream default value: NULL
- sout-transcode-deinterlace <boolean> : Deinterlace the video before encoding default value: disabled
- sout-transcode-deinterlace-module <string> {deinterlace,ffmpeg-deinterlace} : Specify the deinterlace module to use default value: deinterlace
- sout-transcode-width <integer> : Output video width default value: 0
- sout-transcode-height <integer> : Output video height default value: 0
- sout-transcode-maxwidth <integer> : Maximum output video width default value: 0
- sout-transcode-maxheight <integer> : Maximum output video height default value: 0
- sout-transcode-vfilter <string> : Video filters will be applied to the video streams (after overlays are applied). You can enter a colon-separated list of filters
Audio
- sout-transcode-aenc <string> : This is the audio encoder module that will be used (and its associated options)
- sout-transcode-acodec <string> : This is the audio codec that will be used default value: NULL
- sout-transcode-ab <integer> : Target bitrate of the transcoded audio stream default value: 96
- sout-transcode-alang <string> : This is the language of the audio stream default value: NULL
- sout-transcode-channels <integer [0 .. 9]> : Number of audio channels in the transcoded streams default value: 0
- sout-transcode-samplerate <integer [0 .. 48000]> : Sample rate of the transcoded audio stream (11250, 22500, 44100 or 48000) default value: 0
- sout-transcode-afilter <string> : Audio filters will be applied to the audio streams (after conversion filters are applied). You can enter a colon-separated list of filters
Overlays/Subtitles
- sout-transcode-senc <string> : This is the subtitle encoder module that will be used (and its associated options)
- sout-transcode-scodec <string> : This is the subtitle codec that will be used default value: NULL
- sout-transcode-soverlay <boolean> : This is the subtitle codec that will be used default value: disabled
- sout-transcode-sfilter <string> : This allows you to add overlays (also known as "subpictures") on the transcoded video stream. The subpictures produced by the filters will be overlayed directly onto the video. You can specify a colon-separated list of subpicture modules
Miscellaneous
- sout-transcode-threads <integer [1 .. 32]> : Number of threads used for the transcoding default value: 0
- sout-transcode-pool-size <integer [1 .. 1000]> : Defines how many pictures we allow to be in pool between decoder/encoder threads when threads > 0 default value: 10
- sout-transcode-high-priority <boolean> : Runs the optional encoder thread at the OUTPUT priority instead of VIDEO default value: disabled
Source code
This page is part of official VLC media player Documentation (User Guide • Streaming HowTo • Hacker Guide • Modules)
Please read the Documentation Editing Guidelines before you edit the documentation
Please read the Documentation Editing Guidelines before you edit the documentation
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.