libvlc settings
Posted: 04 Nov 2023 14:49
OK, this is a strange one, and this may not be the right place to ask, but I have to start somewhere!
Hardware: Raspberry Pi400 OS Slackwareaarch64-current (Slackware for arm64 devices) VLC version 3.0.20
Although VLC worked fine for a while on the Pi, about 6 months ago it stopped working for anything over 720 resolution. This isn't a ffmpeg problem, as ffplay (and mpv) play 1080 files perfectly - as did vlc until recently. It seems to be something to do with the graphics drivers, but that is not strictly relevant here.
I've just built VLC-3.0.20, and have got that playing 1080 videos fine by setting the Video Output to "XVideo output (XCB)". The systems tries to default to OpenGL, which simply doesn't work at the moment. Forcing the output to XVideo gets it working again.
So far so good! One problem solved!
Next issue: I use Kaffeine - which uses libvlc - for off-air TV viewing and recording. This has the ability to pass options to libvlc. Unfortunately, libvlc appears to be defaulting to opengl output, which doesn't work for HD broadcasts. I can watch standard definition fine, but not high definition, which exhibits the same freezing and stuttering issues that VLC does when using opengl.
I have not been able to find the syntax to force libvlc to use Xvideo (XCB) as the output. I'm sure it must be there somewhere, but nothing I've tried has worked so far. I'm guessing that it should be something like "--vout=xcb_xv", but I've been unable to locate any documentation to help.
Can anyone here offer a solution to force libvlc to use the right output?
TIA,
--
Pete
Hardware: Raspberry Pi400 OS Slackwareaarch64-current (Slackware for arm64 devices) VLC version 3.0.20
Although VLC worked fine for a while on the Pi, about 6 months ago it stopped working for anything over 720 resolution. This isn't a ffmpeg problem, as ffplay (and mpv) play 1080 files perfectly - as did vlc until recently. It seems to be something to do with the graphics drivers, but that is not strictly relevant here.
I've just built VLC-3.0.20, and have got that playing 1080 videos fine by setting the Video Output to "XVideo output (XCB)". The systems tries to default to OpenGL, which simply doesn't work at the moment. Forcing the output to XVideo gets it working again.
So far so good! One problem solved!
Next issue: I use Kaffeine - which uses libvlc - for off-air TV viewing and recording. This has the ability to pass options to libvlc. Unfortunately, libvlc appears to be defaulting to opengl output, which doesn't work for HD broadcasts. I can watch standard definition fine, but not high definition, which exhibits the same freezing and stuttering issues that VLC does when using opengl.
I have not been able to find the syntax to force libvlc to use Xvideo (XCB) as the output. I'm sure it must be there somewhere, but nothing I've tried has worked so far. I'm guessing that it should be something like "--vout=xcb_xv", but I've been unable to locate any documentation to help.
Can anyone here offer a solution to force libvlc to use the right output?
TIA,
--
Pete