Page 1 of 1
Building vlc to be able to run it as root
Posted: 22 Nov 2018 21:51
by Scorpion2185
I' m on debian 9, I built vlc from the source.
I ran ./configure with the flag --enable-run-as-root.
But I don' t have the interface.
If i run vlc-wrapper it won' t start because:
Code: Select all
vlc-wrapper
Cannot determine unprivileged user for VLC!
If I run vlc:
Code: Select all
vlc
VLC media player 4.0.0-dev Otto Chriek (revision 4.0.0-dev-5264-gd9735b44f4)
[0000564f9cd021a0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0000564f9cd8d7c0] main playlist: playlist is empty
[0000564f9cdafb10] [cli] lua interface: Listening on host "*console".
VLC media player 4.0.0-dev Otto Chriek
Command Line Interface initialized. Type `help' for help.
>
If I launch it from Application nothing happens.
If I run nvlc from the folder I get a very spartan interface (that is indeed a terminal).
Why do not I have the interface? If I open a video there aren' t any buttons.
(I need to run it as root).
Re: Building vlc to be able to run it as root
Posted: 23 Nov 2018 11:45
by Rémi Denis-Courmont
Could be many reasons - most likely you failed to build or install properly.
Re: Building vlc to be able to run it as root
Posted: 23 Nov 2018 20:53
by unidan
Hi,
what do you have when you launch vlc -vvv ? if you don't find a vlc qt check failed, you might have not built the Qt interface.
Re: Building vlc to be able to run it as root
Posted: 24 Nov 2018 21:38
by Scorpion2185
Code: Select all
vlc -vvv
vlc: error while loading shared libraries: libvlc.so.12: cannot open shared object file: No such file or directory
How can I build the Qt interface?
Re: Building vlc to be able to run it as root
Posted: 25 Nov 2018 11:05
by Scorpion2185
I installed the libvlc-dev package and rebuilt vlc now:
Code: Select all
vlc -vvv
VLC media player 4.0.0-dev Otto Chriek (revision 4.0.0-dev-5264-gd9735b44f4)
[000055ba4a02f1a0] main libvlc debug: VLC media player - 4.0.0-dev Otto Chriek
[000055ba4a02f1a0] main libvlc debug: Copyright © 1996-2018 the VideoLAN team
[000055ba4a02f1a0] main libvlc debug: revision 4.0.0-dev-5264-gd9735b44f4
[000055ba4a02f1a0] main libvlc debug: configured with ./configure '--enable-run-as-root'
[000055ba4a02f1a0] main libvlc debug: searching plug-in modules
[000055ba4a02f1a0] main libvlc debug: loading plugins cache file /usr/local/lib/vlc/plugins/plugins.dat
[000055ba4a02f1a0] main libvlc debug: recursively browsing `/usr/local/lib/vlc/plugins'
[000055ba4a02f1a0] main libvlc debug: plug-ins loaded: 518 modules
[000055ba4a02f1a0] main libvlc debug: opening config file (/root/.config/vlc/vlcrc)
[000055ba4a02f500] main logger debug: looking for logger module matching "any": 4 candidates
[000055ba4a02f500] main logger debug: using logger module "console"
[000055ba4a02f1a0] main libvlc debug: translation test: code is "C"
[000055ba4a02f760] main keystore debug: looking for keystore module matching "memory": 4 candidates
[000055ba4a02f760] main keystore debug: using keystore module "memory"
[000055ba4a02f1a0] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 FPU
[000055ba4a0c86a0] main medialibrary debug: looking for medialibrary module matching "any": 0 candidates
[000055ba4a0c86a0] main medialibrary debug: no medialibrary modules
[000055ba4a02f1a0] main libvlc warning: Media library initialization failed
[000055ba4a0bcfa0] main playlist debug: creating audio output
[000055ba4a0bf4b0] main audio output debug: looking for audio output module matching "any": 7 candidates
[000055ba4a0bf4b0] vlcpulse audio output debug: using library version 10.0.0
[000055ba4a0bf4b0] vlcpulse audio output debug: (compiled with version 10.0.0, protocol 32)
[000055ba4a0bf4b0] vlcpulse audio output debug: connected locally to /run/user/0/pulse/native as client #14
[000055ba4a0bf4b0] vlcpulse audio output debug: using protocol 32, server protocol 32
[000055ba4a0bf4b0] pulse audio output debug: adding sink 0: alsa_output.pci-0000_01_00.1.hdmi-stereo-extra3 (GF108 High Definition Audio Controller Digital Stereo (HDMI 4))
[000055ba4a0bf4b0] pulse audio output debug: adding sink 1: alsa_output.pci-0000_00_1b.0.analog-stereo (Built-in Audio Analog Stereo)
[000055ba4a0bf4b0] main audio output debug: using audio output module "pulse"
[000055ba4a0bcfa0] main playlist debug: keeping audio output
[000055ba4a0d9090] main interface debug: looking for interface module matching "dbus,none": 15 candidates
[000055ba4a0d9090] dbus interface debug: listening on dbus as: org.mpris.MediaPlayer2.vlc
[000055ba4a0d9090] main interface debug: using interface module "dbus"
[000055ba4a0dce60] main interface debug: looking for interface module matching "hotkeys,none": 15 candidates
[000055ba4a0dce60] main interface debug: using interface module "hotkeys"
[000055ba4a0dd8f0] main interface debug: looking for interface module matching "globalhotkeys,none": 15 candidates
[000055ba4a0dd8f0] main interface debug: using interface module "xcb_hotkeys"
[000055ba4a02f1a0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[000055ba4a0dea20] main interface debug: looking for interface module matching "any": 15 candidates
[000055ba4a0dea20] [cli] lua interface debug: Found lua interface script: /usr/local/libexec/vlc/lua/intf/cli.luac
[000055ba4a0dea20] [cli] main interface debug: using interface module "lua"
[000055ba4a0bcfa0] main playlist: playlist is empty
[000055ba4a0bcfa0] main playlist debug: nothing to play
[000055ba4a0dea20] [cli] lua interface: Listening on host "*console".
VLC media player 4.0.0-dev Otto Chriek
Command Line Interface initialized. Type `help' for help.
> [000055ba4a0d9090] dbus interface debug: Getting All properties
[000055ba4a0d9090] dbus interface debug: Getting All properties
[000055ba4a0d9090] dbus interface debug: Getting All properties
[000055ba4a0d9090] dbus interface debug: Getting All properties
[000055ba4a0d9090] dbus interface debug: Getting All properties
While I was rebuilding I got some warning:
Code: Select all
libtool: warning: relinking 'libvlc_xcb_events.la'
libtool: warning: relinking 'libimem_plugin.la ...
Re: Building vlc to be able to run it as root
Posted: 25 Nov 2018 12:18
by Scorpion2185
I installed all packages in the guide
https://wiki.videolan.org/UnixCompile.
I used build-dep vlc and I installed all libvlc-* packages.
Do I need something else qt-related?
Re: Building vlc to be able to run it as root
Posted: 26 Nov 2018 10:53
by Scorpion2185
Code: Select all
vlc -I xcb_window
VLC media player 4.0.0-dev Otto Chriek (revision 4.0.0-dev-5264-gd9735b44f4)
[00005602fcbfa0f0] main interface error: no suitable interface module
[00005602fcb4a1a0] main libvlc error: interface "default" initialization failed
vlc: cannot start any interface. Exiting.
Why? I tried one of the many interfaces "available" that I found with `vlc -l`, but "cannot start any interface".
Re: Building vlc to be able to run it as root
Posted: 26 Nov 2018 10:56
by Scorpion2185
I installed vlc-plugin-qt, now:
Code: Select all
qvlc
/usr/bin/vlc: symbol lookup error: /usr/lib/x86_64-linux-gnu/libvlc.so.5: undefined symbol: var_FreeList
Re: Building vlc to be able to run it as root
Posted: 26 Nov 2018 13:22
by unidan
Please don't send private message for ping, I already have notification when you post a message.
Can you show the output of
Re: Building vlc to be able to run it as root
Posted: 26 Nov 2018 13:53
by Scorpion2185
I cannot share it all because: Your message contains 300639 characters.
The maximum number of allowed characters is 60000."
Here there is the full
https://pastebin.com/vQvDJ09V.
Code: Select all
vlc -H
VLC media player 4.0.0-dev Otto Chriek (revision 4.0.0-dev-5264-gd9735b44f4)
Usage: vlc [options] [stream] ...
You can specify multiple streams on the commandline.
They will be enqueued in the playlist.
The first item specified will be played first.
Options-styles:
--option A global option that is set for the duration of the program.
-option A single letter version of a global --option.
:option An option that only applies to the stream directly before it
and that overrides previous settings.
Stream MRL syntax:
[[access][/demux]://]URL[#[title][:chapter][-[title][:chapter]]]
[:option=value ...]
Many of the global --options can also be used as MRL specific :options.
Multiple :option=value pairs can be specified.
URL syntax:
file:///path/file Plain media file
http://host[:port]/file HTTP URL
ftp://host[:port]/file FTP URL
mms://host[:port]/file MMS URL
screen:// Screen capture
dvd://[device] DVD device
vcd://[device] VCD device
cdda://[device] Audio CD device
udp://[[<source address>]@[<bind address>][:<bind port>]]
UDP stream sent by a streaming server
vlc://pause:<seconds> Pause the playlist for a certain time
vlc://quit Special item to quit VLC
Freetype2 font renderer (freetype)
--freetype-font <string> Font
Font family for the font you want to use
--freetype-monofont <string>
Monospace Font
Font family for the font you want to use
--freetype-opacity <integer [0 .. 255]>
Text opacity
The opacity (inverse of transparency) of the text that will be
rendered on the video. 0 = transparent, 255 = totally opaque.
--freetype-color {0 (Black), 8421504 (Gray), 12632256 (Silver), 16777215 (White), 8388608 (Maroon), 16711680 (Red), 16711935 (Fuchsia), 16776960 (Yellow), 8421376 (Olive), 32768 (Green), 32896 (Teal), 65280 (Lime), 8388736 (Purple), 128 (Navy), 255 (Blue), 65535 (Aqua)}
Text default color
The color of the text that will be rendered on the video. This must
be an hexadecimal (like HTML colors). The first two chars are for
red, then green, then blue. #000000 = black, #FF0000 = red, #00FF00 =
green, #FFFF00 = yellow (red + green), #FFFFFF = white
--freetype-bold, --no-freetype-bold
Force bold
(default disabled)
--freetype-background-opacity <integer [0 .. 255]>
Background opacity
--freetype-background-color {0 (Black), 8421504 (Gray), 12632256 (Silver), 16777215 (White), 8388608 (Maroon), 16711680 (Red), 16711935 (Fuchsia), 16776960 (Yellow), 8421376 (Olive), 32768 (Green), 32896 (Teal), 65280 (Lime), 8388736 (Purple), 128 (Navy), 255 (Blue), 65535 (Aqua)}
Background color
--freetype-outline-opacity <integer [0 .. 255]>
Outline opacity
--freetype-outline-color {0 (Black), 8421504 (Gray), 12632256 (Silver), 16777215 (White), 8388608 (Maroon), 16711680 (Red), 16711935 (Fuchsia), 16776960 (Yellow), 8421376 (Olive), 32768 (Green), 32896 (Teal), 65280 (Lime), 8388736 (Purple), 128 (Navy), 255 (Blue), 65535 (Aqua)}
Outline color
--freetype-outline-thickness {0 (None), 2 (Thin), 4 (Normal), 6 (Thick)}
Outline thickness
--freetype-shadow-opacity <integer [0 .. 255]>
Shadow opacity
--freetype-shadow-color {0 (Black), 8421504 (Gray), 12632256 (Silver), 16777215 (White), 8388608 (Maroon), 16711680 (Red), 16711935 (Fuchsia), 16776960 (Yellow), 8421376 (Olive), 32768 (Green), 32896 (Teal), 65280 (Lime), 8388736 (Purple), 128 (Navy), 255 (Blue), 65535 (Aqua)}
Shadow color
--freetype-shadow-angle <float [-360.000000 .. 360.000000]>
Shadow angle
--freetype-shadow-distance <float [0.000000 .. 1.000000]>
Shadow distance
--freetype-yuvp, --no-freetype-yuvp
Use YUVP renderer
(default disabled)
This renders the font using "paletized YUV". This option is only
needed if you want to encode into DVB subtitles
--freetype-text-direction {0 (Left to right), 1 (Right to left), 2 (Auto)}
Text direction
Paragraph base direction for the Unicode bi-directional algorithm.
svg (svg)
--svg-template-file <string>
SVG template file
Location of a file holding a SVG template for automatic string
conversion
ALSA audio output (alsa)
--alsa-audio-device {default,null,sysdefault:CARD=PCH,front:CARD=PCH,DEV=0,surround21:CARD=PCH,DEV=0,surround40:CARD=PCH,DEV=0,surround41:CARD=PCH,DEV=0,surround50:CARD=PCH,DEV=0,surround51:CARD=PCH,DEV=0,surround71:CARD=PCH,DEV=0,iec958:CARD=PCH,DEV=0,dmix:CARD=PCH,DEV=0,dmix:CARD=PCH,DEV=1,dmix:CARD=PCH,DEV=2,dsnoop:CARD=PCH,DEV=0,dsnoop:CARD=PCH,DEV=1,dsnoop:CARD=PCH,DEV=2,hw:CARD=PCH,DEV=0,hw:CARD=PCH,DEV=1,hw:CARD=PCH,DEV=2,plughw:CARD=PCH,DEV=0,plughw:CARD=PCH,DEV=1,plughw:CARD=PCH,DEV=2,hdmi:CARD=NVidia_1,DEV=0,hdmi:CARD=NVidia_1,DEV=1,hdmi:CARD=NVidia_1,DEV=2,hdmi:CARD=NVidia_1,DEV=3,dmix:CARD=NVidia_1,DEV=3,dmix:CARD=NVidia_1,DEV=7,dmix:CARD=NVidia_1,DEV=8,dmix:CARD=NVidia_1,DEV=9,dsnoop:CARD=NVidia_1,DEV=3,dsnoop:CARD=NVidia_1,DEV=7,dsnoop:CARD=NVidia_1,DEV=8,dsnoop:CARD=NVidia_1,DEV=9,hw:CARD=NVidia_1,DEV=3,hw:CARD=NVidia_1,DEV=7,hw:CARD=NVidia_1,DEV=8,hw:CARD=NVidia_1,DEV=9,plughw:CARD=NVidia_1,DEV=3,plughw:CARD=NVidia_1,DEV=7,plughw:CARD=NVidia_1,DEV=8,plughw:CARD=NVidia_1,DEV=9,hdmi:CARD=NVidia,DEV=0,hdmi:CARD=NVidia,DEV=1,hdmi:CARD=NVidia,DEV=2,hdmi:CARD=NVidia,DEV=3,dmix:CARD=NVidia,DEV=3,dmix:CARD=NVidia,DEV=7,dmix:CARD=NVidia,DEV=8,dmix:CARD=NVidia,DEV=9,dsnoop:CARD=NVidia,DEV=3,dsnoop:CARD=NVidia,DEV=7,dsnoop:CARD=NVidia,DEV=8,dsnoop:CARD=NVidia,DEV=9,hw:CARD=NVidia,DEV=3,hw:CARD=NVidia,DEV=7,hw:CARD=NVidia,DEV=8,hw:CARD=NVidia,DEV=9,plughw:CARD=NVidia,DEV=3,plughw:CARD=NVidia,DEV=7,plughw:CARD=NVidia,DEV=8,plughw:CARD=NVidia,DEV=9}
Audio output device
Audio output device (using ALSA syntax).
--alsa-audio-channels {1 (Mono), 6 (Stereo), 102 (Surround 4.0), 4198 (Surround 4.1), 103 (Surround 5.0), 4199 (Surround 5.1), 4967 (Surround 7.1)}
Audio output channels
Channels available for audio output. If the input has more channels
than the output, it will be down-mixed. This parameter is ignored
when digital pass-through is active.
--alsa-passthrough {0 (None), 1 (S/PDIF), 2 (HDMI)}
Audio passthrough mode
Audio passthrough mode
--alsa-gain <float [0.000000 .. 8.000000]>
Software gain
This linear gain will be applied in software.
JACK audio output (jack)
--jack-auto-connect, --no-jack-auto-connect
Automatically connect to writable clients
(default enabled)
If enabled, this option will automatically connect sound output to
the first writable JACK clients found.
--jack-connect-regex <string>
Connect to clients matching
If automatic connection is enabled, only JACK clients whose names
match this regular expression will be considered for connection.
--jack-name <string> JACK client name
JACK client name
--jack-gain <float [0.000000 .. 8.000000]>
Software gain
This linear gain will be applied in software.
Audio memory output (amem)
--amem-format <string> Sample format
Sample format
--amem-rate <integer [1 .. 352800]>
Sample rate
Sample rate
--amem-channels <integer [1 .. 9]>
Channels count
Channels count
File audio output (afile)
--audiofile-file <string> Output file
File to which the audio samples will be written to ("-" for stdout).
--audiofile-format {u8,s16,float32,spdif}
Output format
Output format
--audiofile-channels <integer [0 .. 6]>
Number of output channels
By default (0), all the channels of the incoming will be saved but
you can restrict the number of channels here.
--audiofile-wav, --no-audiofile-wav
Add WAVE header
(default enabled)
Instead of writing a raw file, you can add a WAV header to the file.
Lua interpreter (lua)
--lua-intf <string> Lua interface
Lua interface module to load
--lua-config <string> Lua interface configuration
Lua interface configuration string. Format is: '["<interface module
name>"] = { <option> = <value>, ...}, ...'.
Lua HTTP:
--http-password <string> Password
A single password restricts access to this interface.
--http-src <string> Source directory
Source directory
--http-index, --no-http-index
Directory index
(default disabled)
Allow to build directory index
Lua CLI:
--rc-host <string> TCP command input
Accept commands over a socket rather than stdin. You can set the
address and port the interface will bind to.
--cli-host <string> CLI input
Accept commands from this source. The CLI defaults to stdin
("*console"), but can also bind to a plain TCP socket
("localhost:4212") or use the telnet protocol
("telnet://0.0.0.0:4212")
Lua Telnet:
--telnet-host <string> Host
This is the host on which the interface will listen. It defaults to
all network interfaces (0.0.0.0). If you want this interface to be
available only on the local machine, enter "127.0.0.1".
--telnet-port <integer [1 .. 65535]>
Port
This is the TCP port on which this interface will listen. It defaults
to 4212.
--telnet-password <string> Password
A single password restricts access to this interface.
--lua-sd <string>
Secrets are stored on a file without any encryption (file)
--keystore-file <string>
Folder meta data (folder)
--album-art-filename <string>
Album art filename
Filename to look for album art in current directory
TS muxer (libdvbpsi) (mux_ts)
--sout-ts-standard {dvb,atsc}
Digital TV Standard
--sout-ts-pid-video <integer [32 .. 8190]>
Video PID
Assign a fixed PID to the video stream. The PCR PID will
automatically be the video.
--sout-ts-pid-audio <integer [32 .. 8190]>
Audio PID
Assign a fixed PID to the audio stream.
--sout-ts-pid-spu <integer [32 .. 8190]>
SPU PID
Assign a fixed PID to the SPU.
--sout-ts-pid-pmt <integer [32 .. 8190]>
PMT PID
Assign a fixed PID to the PMT
--sout-ts-tsid <integer> TS ID
Assign a fixed Transport Stream ID.
--sout-ts-netid <integer> NET ID
Assign a fixed Network ID (for SDT table)
--sout-ts-program-pmt <string>
PMT Program numbers
Assign a program number to each PMT. This requires "Set PID to ID of
ES" to be enabled.
--sout-ts-es-id-pid, --no-sout-ts-es-id-pid
Set PID to ID of ES
(default disabled)
Sets PID to the ID if the incoming ES. This is for use with
--ts-es-id-pid, and allows having the same PIDs in the input and
output streams.
--sout-ts-muxpmt <string> Mux PMT (requires --sout-ts-es-id-pid)
Define the pids to add to each pmt. This requires "Set PID to ID of
ES" to be enabled.
--sout-ts-sdtdesc <string> SDT Descriptors (requires --sout-ts-es-id-pid)
Defines the descriptors of each SDT. This requires "Set PID to ID of
ES" to be enabled.
--sout-ts-alignment, --no-sout-ts-alignment
Data alignment
(default enabled)
Enforces alignment of all access units on PES boundaries. Disabling
this might save some bandwidth but introduce incompatibilities.
--sout-ts-shaping <integer>
Shaping delay (ms)
Cut the stream in slices of the given duration, and ensure a constant
bitrate between the two boundaries. This avoids having huge bitrate
peaks, especially for reference frames.
--sout-ts-use-key-frames, --no-sout-ts-use-key-frames
Use keyframes
(default disabled)
If enabled, and shaping is specified, the TS muxer will place the
boundaries at the end of I pictures. In that case, the shaping
duration given by the user is a worse case used when no reference
frame is available. This enhances the efficiency of the shaping
algorithm, since I frames are usually the biggest frames in the
stream.
--sout-ts-pcr <integer> PCR interval (ms)
Set at which interval PCRs (Program Clock Reference) will be sent (in
milliseconds). This value should be below 100ms. (default is 70ms).
--sout-ts-bmin <integer> Minimum B (deprecated)
This setting is deprecated and not used anymore
--sout-ts-bmax <integer> Maximum B (deprecated)
This setting is deprecated and not used anymore
--sout-ts-dts-delay <integer>
DTS delay (ms)
Delay the DTS (decoding time stamps) and PTS (presentation
timestamps) of the data in the stream, compared to the PCRs. This
allows for some buffering inside the client decoder.
--sout-ts-crypt-audio, --no-sout-ts-crypt-audio
Crypt audio
(default enabled)
Crypt audio using CSA
--sout-ts-crypt-video, --no-sout-ts-crypt-video
Crypt video
(default enabled)
Crypt video using CSA
--sout-ts-csa-ck <string> CSA Key
CSA encryption key. This must be a 16 char string (8 hexadecimal
bytes).
--sout-ts-csa2-ck <string> Second CSA Key
The even CSA encryption key. This must be a 16 char string (8
hexadecimal bytes).
--sout-ts-csa-use <string> CSA Key in use
CSA encryption key used. It can be the odd/first/1 (default) or the
even/second/2 one.
--sout-ts-csa-pkt <integer>
Packet size in bytes to encrypt
Size of the TS packet to encrypt. The encryption routines subtract
the TS-header from the value before encrypting.
PS muxer (ps)
--sout-ps-dts-delay <integer>
DTS delay (ms)
Delay the DTS (decoding time stamps) and PTS (presentation
timestamps) of the data in the stream, compared to the SCRs. This
allows for some buffering inside the client decoder.
--sout-ps-pes-max-size <integer>
PES maximum size
Set the maximum allowed PES size when producing the MPEG PS streams.
ASF muxer (asf)
--sout-asf-title <string> Title
Title to put in ASF comments.
--sout-asf-author <string> Author
Author to put in ASF comments.
--sout-asf-copyright <string>
Copyright
Copyright string to put in ASF comments.
--sout-asf-comment <string>
Comment
Comment to put in ASF comments.
--sout-asf-rating <string> Rating
"Rating" to put in ASF comments.
--sout-asf-packet-size <integer>
Packet Size
ASF packet size -- default is 4096 bytes
--sout-asf-bitrate-override <integer>
Bitrate override
Do not try to guess ASF bitrate. Setting this, allows you to control
how Windows Media Player will cache streamed content. Set to
audio+video bitrate in bytes
MP4/MOV muxer (mp4)
--sout-mp4-faststart, --no-sout-mp4-faststart
Create "Fast Start" files
(default enabled)
Create "Fast Start" files. "Fast Start" files are optimized for
downloads and allow the user to start previewing the file while it is
downloading.
Ogg/OGM muxer (mux_ogg)
--sout-ogg-indexintvl <integer [0 .. 2147483647]>
Index interval
Minimal index interval, in milliseconds. Set to 0 to disable index
creation.
--sout-ogg-indexratio <float [1.000000 .. 1000.000000]>
Index size ratio
Set index size ratio. Alters default (60min content) or estimated
size.
AVI muxer (avi)
--sout-avi-artist <string> Artist
--sout-avi-date <string> Date
--sout-avi-genre <string> Genre
--sout-avi-copyright <string>
Copyright
--sout-avi-comment <string>
Comment
--sout-avi-name <string> Name
--sout-avi-subject <string>
Subject
--sout-avi-encoder <string>
Encoder
--sout-avi-keywords <string>
Keywords
MPEG-I/II video packetizer (mpegvideo)
--packetizer-mpegvideo-sync-iframe, --no-packetizer-mpegvideo-sync-iframe
Sync on Intra Frame
(default disabled)
Normally the packetizer would sync on the next full frame. This flags
instructs the packetizer to sync on the first Intra Frame found.
Clone video filter (clone)
Duplicate your video to multiple windows and/or video output modules
--clone-count <integer> Number of clones
Number of video windows in which to clone the video.
--clone-vout-list <string> Video output modules
You can use specific video output modules for the clones. Use a
comma-separated list of modules.
Panoramix: wall with overlap video filter (panoramix)
Split the video in multiple windows to display on a wall of screens
--panoramix-cols <integer [-1 .. 15]>
Number of columns
Select the number of horizontal video windows in which to split the
video
--panoramix-rows <integer [-1 .. 15]>
Number of rows
Select the number of vertical video windows in which to split the
video
--panoramix-bz-length <integer [0 .. 100]>
length of the overlapping area (in %)
Select in percent the length of the blended zone
--panoramix-bz-height <integer [0 .. 100]>
height of the overlapping area (in %)
Select in percent the height of the blended zone (case of 2x2 wall)
--panoramix-attenuate, --no-panoramix-attenuate
Attenuation
(default enabled)
Check this option if you want attenuate blended zone by this plug-in
(if option is unchecked, attenuate is made by opengl)
--panoramix-bz-begin <integer [0 .. 100]>
Attenuation, begin (in %)
Select in percent the Lagrange coefficient of the beginning blended
zone
--panoramix-bz-middle <integer [0 .. 100]>
Attenuation, middle (in %)
Select in percent the Lagrange coefficient of the middle of blended
zone
--panoramix-bz-end <integer [0 .. 100]>
Attenuation, end (in %)
Select in percent the Lagrange coefficient of the end of blended zone
--panoramix-bz-middle-pos <integer [1 .. 99]>
middle position (in %)
Select in percent (50 is center) the position of the middle point
(Lagrange) of blended zone
--panoramix-bz-gamma-red <float [0.000000 .. 5.000000]>
Gamma (Red) correction
Select the gamma for the correction of blended zone (Red or Y
component)
--panoramix-bz-gamma-green <float [0.000000 .. 5.000000]>
Gamma (Green) correction
Select the gamma for the correction of blended zone (Green or U
component)
--panoramix-bz-gamma-blue <float [0.000000 .. 5.000000]>
Gamma (Blue) correction
Select the gamma for the correction of blended zone (Blue or V
component)
--panoramix-bz-blackcrush-red <integer [0 .. 255]>
Black Crush for Red
Select the Black Crush of blended zone (Red or Y component)
--panoramix-bz-blackcrush-green <integer [0 .. 255]>
Black Crush for Green
Select the Black Crush of blended zone (Green or U component)
--panoramix-bz-blackcrush-blue <integer [0 .. 255]>
Black Crush for Blue
Select the Black Crush of blended zone (Blue or V component)
--panoramix-bz-whitecrush-red <integer [0 .. 255]>
White Crush for Red
Select the White Crush of blended zone (Red or Y component)
--panoramix-bz-whitecrush-green <integer [0 .. 255]>
White Crush for Green
Select the White Crush of blended zone (Green or U component)
--panoramix-bz-whitecrush-blue <integer [0 .. 255]>
White Crush for Blue
Select the White Crush of blended zone (Blue or V component)
--panoramix-bz-blacklevel-red <integer [0 .. 255]>
Black Level for Red
Select the Black Level of blended zone (Red or Y component)
--panoramix-bz-blacklevel-green <integer [0 .. 255]>
Black Level for Green
Select the Black Level of blended zone (Green or U component)
--panoramix-bz-blacklevel-blue <integer [0 .. 255]>
Black Level for Blue
Select the Black Level of blended zone (Blue or V component)
--panoramix-bz-whitelevel-red <integer [0 .. 255]>
White Level for Red
Select the White Level of blended zone (Red or Y component)
--panoramix-bz-whitelevel-green <integer [0 .. 255]>
White Level for Green
Select the White Level of blended zone (Green or U component)
--panoramix-bz-whitelevel-blue <integer [0 .. 255]>
White Level for Blue
Select the White Level of blended zone (Blue or V component)
--panoramix-active <string>
Active windows
Comma-separated list of active windows, defaults to all
Wall video filter (wall)
--wall-cols <integer [1 .. 15]>
Number of columns
Number of horizontal windows in which to split the video.
--wall-rows <integer [1 .. 15]>
Number of rows
Number of vertical windows in which to split the video.
--wall-active <string> Active windows
Comma-separated list of active windows, defaults to all
--wall-element-aspect <string>
Element aspect ratio
Aspect ratio of the individual displays building the wall.
H264 video demuxer (h26x)
H264 video demuxer:
--h264-fps <float [-340282346638528859811704183484516925440.000000 .. 340282346638528859811704183484516925440.000000]>
Frames per Second
Desired frame rate for the stream.
HEVC/H.265 video demuxer:
--hevc-fps <float [-340282346638528859811704183484516925440.000000 .. 340282346638528859811704183484516925440.000000]>
Frames per Second
Desired frame rate for the stream.
Raw video demuxer (rawvid)
--rawvid-fps <string> Frames per Second
This is the desired frame rate when playing raw video streams. In the
form 30000/1001 or 29.97
--rawvid-width <integer> Width
This specifies the width in pixels of the raw video stream.
--rawvid-height <integer> Height
This specifies the height in pixels of the raw video stream.
--rawvid-chroma <string> Force chroma (Use carefully)
Force chroma. This is a four character string.
--rawvid-aspect-ratio <string>
Aspect ratio
Aspect ratio (4:3, 16:9). Default assumes square pixels.
AVI demuxer (avi)
--avi-interleaved, --no-avi-interleaved
Force interleaved method
(default disabled)
Force interleaved method
--avi-index {0 (Ask for action), 1 (Always fix), 2 (Never fix), 3 (Fix when necessary)}
Force index creation
Recreate a index for the AVI file. Use this if your AVI file is
damaged or incomplete (not seekable).
DV (Digital Video) demuxer (rawdv)
--rawdv-hurry-up, --no-rawdv-hurry-up
Hurry up
(default disabled)
The demuxer will advance timestamps if the input can't keep up with
the rate.
MP4 stream demuxer (mp4)
Hacks
--mp4-m4a-audioonly, --no-mp4-m4a-audioonly
M4A audio only
(default disabled)
Ignore non audio tracks from iTunes audio files
HEIF demuxer:
--heif-image-duration <float [-340282346638528859811704183484516925440.000000 .. 340282346638528859811704183484516925440.000000]>
Duration in seconds
Duration in seconds before simulating an end of file. A negative
value means an unlimited play time.
Matroska stream demuxer (mkv)
--mkv-use-ordered-chapters, --no-mkv-use-ordered-chapters
Respect ordered chapters
(default enabled)
Play chapters in the order specified in the segment.
--mkv-use-chapter-codec, --no-mkv-use-chapter-codec
Chapter codecs
(default enabled)
Use chapter codecs found in the segment.
--mkv-preload-local-dir, --no-mkv-preload-local-dir
Preload MKV files in the same directory
(default enabled)
Preload matroska files in the same directory to find linked segments
(not good for broken files).
--mkv-seek-percent, --no-mkv-seek-percent
Seek based on percent not time
(default disabled)
Seek based on percent not time.
--mkv-use-dummy, --no-mkv-use-dummy
Dummy Elements
(default disabled)
Read and discard unknown EBML elements (not good for broken files).
--mkv-preload-clusters, --no-mkv-preload-clusters
Preload clusters
(default disabled)
Find all cluster positions by jumping cluster-to-cluster before
playback
MPEG-PS demuxer (ps)
--ps-trust-timestamps, --no-ps-trust-timestamps
Trust MPEG timestamps
(default enabled)
Normally we use the timestamps of the MPEG files to calculate
position and duration. However sometimes this might not be usable.
Disable this option to calculate from the bitrate instead.
MPEG-I/II/4 / A52 / DTS / MLP audio (es)
--es-fps <float [-340282346638528859811704183484516925440.000000 .. 340282346638528859811704183484516925440.000000]>
Frames per Second
This is the frame rate used as a fallback when playing MPEG video
elementary streams.
Image demuxer (image)
--image-id <integer> ES ID
Set the ID of the elementary stream
--image-group <integer> Group
Set the group of the elementary stream
--image-decode, --no-image-decode
Decode
(default enabled)
Decode at the demuxer stage
--image-chroma <string> Forced chroma
If non empty and image-decode is true, the image will be converted to
the specified chroma.
--image-duration <float [-340282346638528859811704183484516925440.000000 .. 340282346638528859811704183484516925440.000000]>
Duration in seconds
Duration in seconds before simulating an end of file. A negative
value means an unlimited play time.
--image-fps <string> Frame rate
Frame rate of the elementary stream produced.
--image-realtime, --no-image-realtime
Real-time
(default disabled)
Use real-time mode suitable for being used as a master input and
real-time input slaves.
VC1 video demuxer (vc1)
--vc1-fps <float [-340282346638528859811704183484516925440.000000 .. 340282346638528859811704183484516925440.000000]>
Frames per Second
Desired frame rate for the VC-1 stream.
Text subtitle parser (subtitle)
--sub-type {auto,microdvd,subrip,subviewer,ssa1,ssa2-4,ass,vplayer,sami,dvdsubtitle,mpl2,aqt,pjs,mpsub,jacosub,psb,realtext,dks,subviewer1,sbv}
Subtitle format
Force the subtiles format. Selecting "auto" means autodetection and
should always work.
--sub-description <string> Subtitle description
Override the default track description.
File dumper (demuxdump)
--demuxdump-access {any,file,ftp,stream_out_chromecast,dummy,access_output_shout,access_output_livehttp,http,udp,avio,none}
Dump module
Dump module
--demuxdump-file <string> Dump filename
Name of the file to which the raw stream will be dumped.
--demuxdump-append, --no-demuxdump-append
Append to existing file
(default disabled)
If the file already exists, it will not be overwritten.
Avformat demuxer (avformat)
Demuxer:
--avformat-format <string> Format name
Internal libavcodec format name
--avformat-options <string>
Advanced options
Advanced options, in the form {opt=val,opt2=val2}.
Muxer:
--sout-avformat-mux <string>
Avformat mux
Force use of a specific avformat muxer.
--sout-avformat-options <string>
Advanced options
Advanced options, in the form {opt=val,opt2=val2}.
Unified adaptive streaming for DASH/HLS (adaptive)
--adaptive-logic {,predictive,nearoptimal,rate,fixedrate,lowest,highest}
Adaptive Logic
--adaptive-maxwidth <integer>
Maximum device width
Maximum device width
--adaptive-maxheight <integer>
Maximum device height
Maximum device height
--adaptive-bw <integer> Fixed Bandwidth in KiB/s
Preferred bandwidth for non adaptive streams
--adaptive-use-access, --no-adaptive-use-access
Use regular HTTP modules
(default disabled)
Connect using HTTP access instead of custom HTTP code
Raw audio demuxer (rawaud)
--rawaud-channels <integer>
Audio channels
Audio channels in input stream. Numeric value >0. Default is 2.
--rawaud-samplerate <integer>
Audio samplerate (Hz)
Audio sample rate in Hertz. Default is 48000 Hz.
--rawaud-fourcc <string> FOURCC code of raw input format
FOURCC code of the raw input format. This is a four character string.
--rawaud-lang <string> Forces the audio language
Forces the audio language for the output mux. Three letter ISO639
code. Default is 'eng'.
MOD demuxer (libmodplug) (mod)
--mod-noisereduction, --no-mod-noisereduction
Noise reduction
(default enabled)
Enable noise reduction algorithm.
--mod-reverb, --no-mod-reverb
Reverb
(default disabled)
Enable reverberation
--mod-reverb-level <integer [0 .. 100]>
Reverberation level
Reverberation level (from 0 to 100, default value is 0).
--mod-reverb-delay <integer [0 .. 1000]>
Reverberation delay
Reverberation delay, in ms. Usual values are from 40 to 200ms.
--mod-megabass, --no-mod-megabass
Mega bass
(default disabled)
Enable megabass mode
--mod-megabass-level <integer [0 .. 100]>
Mega bass level
Megabass mode level (from 0 to 100, default value is 0).
--mod-megabass-range <integer [10 .. 100]>
Mega bass cutoff
Megabass mode cutoff frequency, in Hz. This is the maximum frequency
for which the megabass effect applies. Valid values are from 10 to
100 Hz.
--mod-surround, --no-mod-surround
Surround
(default disabled)
Surround
--mod-surround-level <integer [0 .. 100]>
Surround level
Surround effect level (from 0 to 100, default value is 0).
--mod-surround-delay <integer [0 .. 1000]>
Surround delay (ms)
Surround delay, in ms. Usual values are from 5 to 40 ms.
M-JPEG camera demuxer (mjpeg)
--mjpeg-fps <float [-340282346638528859811704183484516925440.000000 .. 340282346638528859811704183484516925440.000000]>
Frames per Second
This is the desired frame rate when playing MJPEG from a file. Use 0
(this is the default value) for a live stream (from a camera).
Playlist (playlist)
--playlist-skip-ads, --no-playlist-skip-ads
Skip ads
(default enabled)
Use playlist options usually used to prevent ads skipping to detect
ads and prevent adding them to the playlist.
MPEG Transport Stream demuxer (ts)
--ts-standard {auto,mpeg,dvb,arib,atsc,tdmb}
Digital TV Standard
Selects mode for digital TV standard. This feature affects EPG
information and subtitles.
--ts-extra-pmt <string> Extra PMT
Allows a user to specify an extra pmt
(pmt_pid=pid:stream_type[,...]).
--ts-trust-pcr, --no-ts-trust-pcr
Trust in-stream PCR
(default enabled)
Use the stream PCR as a reference.
--ts-es-id-pid, --no-ts-es-id-pid
Set id of ES to PID
(default enabled)
Set the internal ID of each elementary stream handled by VLC to the
same value as the PID in the TS stream, instead of 1, 2, 3, etc.
Useful to do '#duplicate{..., select="es=<pid>"}'.
--ts-csa-ck <string> CSA Key
CSA encryption key. This must be a 16 char string (8 hexadecimal
bytes).
--ts-csa2-ck <string> Second CSA Key
The even CSA encryption key. This must be a 16 char string (8
hexadecimal bytes).
--ts-csa-pkt <integer> Packet size in bytes to decrypt
Specify the size of the TS packet to decrypt. The decryption routines
subtract the TS-header from the value before decrypting.
--ts-split-es, --no-ts-split-es
Separate sub-streams
(default enabled)
Separate teletex/dvbs pages into independent ES. It can be useful to
turn off this option when using stream output.
--ts-seek-percent, --no-ts-seek-percent
Seek based on percent not time
(default disabled)
Seek and position based on a percent byte position, not a PCR
generated time position. If seeking doesn't work property, turn on
this option.
--ts-cc-check, --no-ts-cc-check
Check packets continuity counter
(default enabled)
Detect discontinuities and drop packet duplicates. (bluRay sources
are known broken and have false positives).
--ts-pmtfix-waitdata, --no-ts-pmtfix-waitdata
Only create ES on program sending data
(default enabled)
--ts-patfix, --no-ts-patfix
Try to generate PAT/PMT if missing
(default enabled)
--ts-pcr-offsetfix, --no-ts-pcr-offsetfix
Try to fix too early PCR (or late DTS)
(default enabled)
Network synchronization (netsync)
--netsync-master, --no-netsync-master
Network master clock
(default disabled)
When set, this VLC instance will act as the master clock for
synchronization for clients listening
--netsync-master-ip <string>
Master server IP address
The IP address of the network master clock to use for clock
synchronization.
--netsync-timeout <integer>
UDP timeout (in ms)
Length of time (in ms) until aborting data reception.
Mouse gestures control interface (gestures)
--gestures-threshold <integer>
Motion threshold (10-100)
Amount of movement required for a mouse gesture to be recorded.
--gestures-button {left,middle,right}
Trigger button
Trigger button for mouse gestures.
Remote control interface (oldrc)
--rc-show-pos, --no-rc-show-pos
Show stream position
(default disabled)
Show the current position in seconds within the stream from time to
time.
--rc-fake-tty, --no-rc-fake-tty
Fake TTY
(default disabled)
Force the rc module to use stdin as if it was a TTY.
--rc-unix <string> UNIX socket command input
Accept commands over a Unix socket rather than stdin.
--rc-host <string> TCP command input
Accept commands over a socket rather than stdin. You can set the
address and port the interface will bind to.
Canvas video filter (canvas)
Automatically resize and pad a video
--canvas-width <integer [0 .. 2147483647]>
Output width
Output (canvas) image width
--canvas-height <integer [0 .. 2147483647]>
Output height
Output (canvas) image height
--canvas-aspect <string> Output picture aspect ratio
Set the canvas' picture aspect ratio. If omitted, the canvas is
assumed to have the same SAR as the input.
--canvas-padd, --no-canvas-padd
Pad video
(default enabled)
If enabled, video will be padded to fit in canvas after scaling.
Otherwise, video will be cropped to fix in canvas after scaling.
Gaussian blur video filter (gaussianblur)
Add a blurring effect
--gaussianblur-sigma <float [0.010000 .. 4096.000000]>
Gaussian's std deviation
Gaussian's standard deviation. The blurring will take into account
pixels up to 3*sigma away in any direction.
High Quality 3D Denoiser filter (hqdn3d)
--hqdn3d-luma-spat <float [0.000000 .. 254.000000]>
Spatial luma strength (0-254)
Spatial luma strength (0-254)
--hqdn3d-chroma-spat <float [0.000000 .. 254.000000]>
Spatial chroma strength (0-254)
Spatial chroma strength (0-254)
--hqdn3d-luma-temp <float [0.000000 .. 254.000000]>
Temporal luma strength (0-254)
Temporal luma strength (0-254)
--hqdn3d-chroma-temp <float [0.000000 .. 254.000000]>
Temporal chroma strength (0-254)
Temporal chroma strength (0-254)
Re: Building vlc to be able to run it as root [SOLVED]
Posted: 02 Dec 2018 12:24
by Scorpion2185
Since I built it some times. I did it form scratch now configure:
Code: Select all
error: Requested 'Qt5Core >= 5.9.0' but version of Qt5 Core is 5.7.1. If you want to build VLC without GUI, pass --disable-qt.
But i have the newest version:
Code: Select all
qtbase5-dev is already the newest version (5.7.1+dfsg-3+b1).
So I successfully built vlc 3.0
(sse my other post for help
https://forum.videolan.org/viewtopic.php?f=13&t=147244)
Re: Building vlc to be able to run it as root
Posted: 02 Dec 2018 18:05
by Rémi Denis-Courmont
That's an old unsupported version, definitely not the newest:
Re: Building vlc to be able to run it as root
Posted: 03 Dec 2018 16:19
by unidan
If you're running ubuntu 18.04, you need to install it from the website or update your distribution.