72
votes
Accepted
Sound via HDMI on Arch Linux
With pavucontrol (GUI)
Turns out, I had to switch the profile of "Built-in Audio" to HDMI.
I can do that with pavucontrol, install it with pacman -S pavucontrol.
Now, sound works perfectly ...
53
votes
Accepted
Is it possible to continue movies from where one leaves in mpv as can be done in vlc?
You can run mpv with the --save-position-on-quit option. e.g.
mpv --save-position-on-quit /path/to/video.mkv
Alternatively, if you want mpv to do that by default, you can add that option to its ...
28
votes
Is it possible to continue movies from where one leaves in mpv as can be done in vlc?
Use "Q" (Shiftq). You will quit, and the next time you play it, it will start from when you left.
Q
Like q, but store the current playback position. Playing the same file later will resume at ...
12
votes
Combining youtube-dl and VLC without a pipe
Parsing JSON in the shell is generally not a great idea. You can easily find that, on U&L, almost all the answers to questions along the lines of "how can I parse this JSON in the shell?" end up ...
11
votes
Accepted
How to create a virtual ISO file from /dev/sr0
Turns out the solution was easy using 'mount --bind'.
The 'fake' ISO can be shared and VLC opens it like a DVD, with full menu support.
touch dvd.iso
sudo mount --bind /dev/sr0 dvd.iso
9
votes
How do I stream to Chromecast using VLC?
I was unhappy w/ VLC's casting support, so I wrote a dedicated linux GUI for casting a video file. Might be of use to you, assuming your underlying goal is casting a file, not specifically with VLC.
...
8
votes
Is there any video player which can seek with thumbnail like in YouTube?
Ipor Sircer's answer is sufficient and perfect but let me write a step by step answer for beginners.
Install mpv. In Ubuntu, you can execute this command.
sudo apt update && sudo apt install ...
7
votes
Accepted
Is there any video player which can seek with thumbnail like in YouTube?
Yes, there is a plugin called mpv-thumbnail-script for mpv.
7
votes
Accepted
How to detect if user is watching a full screen video?
You can use xdotool to get the root window geometry and the VLC window geometry.
If they are equal, then VLC window is fullscreen.
gRoot=$(xdotool search --maxdepth 0 '.*' getwindowgeometry | grep '...
6
votes
Howto disable screensaver when vlc is running, under kde?
The option to disable the screen saver, should work. At least now it sends the input to X11. So that will work. I have verified that it works for me despite having xset q report with VLC 2 and 3.
...
6
votes
Trans-coding hevc / x265 video file using VLC and viewing it on a chromecast
I don't know if you still need it, but I was just dealing with this and maybe it will help someone else.
As my sout string I use: #transcode{venc=x264{preset=ultrafast},vcodec=h264,threads=1}:...
6
votes
Accepted
VLC doesn't open through terminal or GUI
You should run
$ /usr/bin/vlc
As for why executing vlc looks for /snap/bin/vlc, I wouldn't know.
If you had a snap for vlc installed, I guess it should have worked as well.
Perhaps you have an alias ...
5
votes
What causes a bad quality image in VLC?
I have the exact same issue, where the output seems badly interlaced in VLC only. I run VLC 3.0.12 Vetinari on Kubuntu 21.04 on a AMD Ryzen 5 1600 and a Radeon RX 570.
I solved this by changing the ...
5
votes
Accepted
How to merge multiple mp4 files as chapters in a final mp4?
Chapters info is stored in file metadata. Ffmpeg allows to export metadata to file, and load metadata from file. Documentation is here: ffmpeg metadata 1
Now we need to prepare a metadata file, that ...
4
votes
How do I find out which process is using my V4L2 webcam?
This command will return all processes which are using the device:
$ lsof /dev/video0
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
cheese 31526 kirill mem CHR 81,0 ...
4
votes
Accepted
why is qt4 package needed to run vlc player?
On Arch Linux, if you execute pacman -Qi vlc, it shows you a list of Dependencies for vlc (among other information), and another list of Optional Dependencies. If you take a look at that list, there ...
4
votes
VLC doesn't open through terminal or GUI
Originally posted as a comment by Nate T:
You may also want to set up an alias, as well.
If you type gedit ~/.bash_aliases, you will see an editor with a file in it. The file may or may not be blank.
...
4
votes
Accepted
VLC Crashing when loading any video
I fixed this myself by checking which window server I was using, which would be X11. Then in VLC I went to Tools > Preferences > Video and then changed Output to X11 video output (XCB). This ...
4
votes
Accepted
How do I enable Advanced Controls using vlcrc?
When you look into your ~/.config/vlc/vlcrc, it actually comes with very well-documented entries, specifically, in the [qt] section,
# Show advanced preferences over simple ones (boolean)
#qt-advanced-...
3
votes
Problem playing videos with VLC
I had similar problems some time ago and my final solution after some research was to switch to MPlayer and its descendents. The original MPlayer has just a basic GUI, and I recommend using SMPlayer (...
3
votes
How to setup VLC with gtk file dialog?
I would like to amend the accepted answer on how to get Qt to use the GTK+ theme (VLC now (2018) uses Qt5, so go by the second item).
Qt4 can use the current GTK2 theme. To activate this, simply ...
3
votes
How can I set default application for unknown file on xdg-open / mimeopen?
From man xdg-mime there is an option: xdg-mime default application mimetype(s) to set default applications. You can use
xdg-mime default featherpad.desktop application/javascript
to make featherpad....
3
votes
How to get data from VLC player
VLC has interfaces, apart from the GUI, for developers to use them to control VLC. The HTTP interface is recommended for doing requests and get xml responses.
Example:
Using the GUI: Launch VLC. First ...
3
votes
Accepted
How to get the destinations of two instances of VLC
i always use busctl to get the complete dbus infos.
There is a system bus (busctl --system) and a session bus (busctl --user) or complete list (busctl -l)
enter:
busctl --user | grep "vlc"...
2
votes
Accepted
Stream Video using Netcat and VLC
I had been looking for such a solution this weekend.
Since i found one i thought to share it for future researchers.
PC 1 = Server. The PC in my lan having my movie stored
$ netcat -l -p 8111 <...
2
votes
How do I stream to Chromecast using VLC?
This now seems to be available via the GUI using VLC v3 on linux:
Play video
Playback > Renderer > your_chromecast_device_name
That's working for me with a .mkv video.
2
votes
How to play AAX audio books from Audible?
Check out the cross-platform OpenAudible. You can connect to your Audible account, manage/download your Audible audiobooks, and convert to mp3.
2
votes
VLC stream webcam video with audio
Quick review of Linux audio: Today, basically all device drivers are part of ALSA. ALSA can be used on its own, but basically all distros run Pulseaudio on top, which offers a better experience in ...
2
votes
How to find the correct dependencies to install Vlc with apt?
The reason you can not install vlc from Kali is that you can not resolve the necessary dependencies on that package for two possible reasons. You do not have those packages in those versions and can ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
vlc × 219video × 38
linux × 19
audio × 16
debian × 15
ubuntu × 14
arch-linux × 13
ffmpeg × 12
cvlc × 12
linux-mint × 11
command-line × 10
fedora × 10
centos × 7
pulseaudio × 7
streaming × 7
video-encoding × 7
kde × 6
bash × 5
apt × 5
raspberry-pi × 5
alsa × 5
camera × 5
dvd × 5
mplayer × 5
mediaplayer × 5