Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER for Linux

Reply
 
Thread Tools Display Modes
Old 12-13-2020, 01:09 PM   #1
taji
Human being with feelings
 
Join Date: Feb 2008
Location: Austin, TX
Posts: 26
Default Linux Reaper and VLC as Video Playback

Loving Reaper on Linux but not sure how to get it to use VLC as the video player. I'm using the same project on MacOS with the same video file and VLC loads without issue. Under linux, I've set the video decoder priority to vlc ONLY. Then when I load the project, the clip indicates "OFFLINE" and the video doesn't appear. If I add ffmpeg as a priority, the video plays back but stutters a bit (hoping VLC will solve this). See the output from Video Item Properties and the Available Decoder Information options below (both when running ffmpeg,with the priority in preferences is set to "vlc ffmepg"). Note also that if I load the video file directly in VLC it plays fine. Only an issue inside Reaper.

Is there a way to troubleshoot why VLC isn't working?

Thanks in advance :-)

<========== SHOW AVAILABLE DECODER INFORMATION (under Preferences) ========>

Current video frame: 720x480 'YV12 => RGBA' #2976

Available decoder information:

========== VLC ==========
VLC v3.0.x
Loaded from: /lib/x86_64-linux-gnu/vlc/plugins

========== ffmpeg/libav ==========
ffmpeg/libav DLL decoder v58.54.100

Loaded from: /lib/x86_64-linux-gnu/libavcodec.so.58
ffmpeg/libav configuration:
--prefix=/usr
--extra-version=1ubuntu0.1
--toolchain=hardened
--libdir=/usr/lib/x86_64-linux-gnu
--incdir=/usr/include/x86_64-linux-gnu
--arch=amd64
--enable-gpl
--disable-stripping
--enable-avresample
--disable-filter=resample
--enable-avisynth
--enable-gnutls
--enable-ladspa
--enable-libaom
--enable-libass
--enable-libbluray
--enable-libbs2b
--enable-libcaca
--enable-libcdio
--enable-libcodec2
--enable-libflite
--enable-libfontconfig
--enable-libfreetype
--enable-libfribidi
--enable-libgme
--enable-libgsm
--enable-libjack
--enable-libmp3lame
--enable-libmysofa
--enable-libopenjpeg
--enable-libopenmpt
--enable-libopus
--enable-libpulse
--enable-librsvg
--enable-librubberband
--enable-libshine
--enable-libsnappy
--enable-libsoxr
--enable-libspeex
--enable-libssh
--enable-libtheora
--enable-libtwolame
--enable-libvidstab
--enable-libvorbis
--enable-libvpx
--enable-libwavpack
--enable-libwebp
--enable-libx265
--enable-libxml2
--enable-libxvid
--enable-libzmq
--enable-libzvbi
--enable-lv2
--enable-omx
--enable-openal
--enable-opencl
--enable-opengl
--enable-sdl2
--enable-libdc1394
--enable-libdrm
--enable-libiec61883
--enable-nvenc
--enable-chromaprint
--enable-frei0r
--enable-libx264
--enable-shared
--enable-version3
--disable-doc
--disable-programs
--enable-libaribb24
--enable-liblensfun
--enable-libopencore_amrnb
--enable-libopencore_amrwb
--enable-libtesseract
--enable-libvo_amrwbenc

ffmpeg/libav search path:
$PATH


<========== VIDEO ITEM PROPERTIES ============>

Length: 3:06.528
Video: 720x480@23.98fps, Aspect=1.00, Decoding format=I420/YV12
Audio: 48000Hz 1ch 16bps

Using ffmpeg/libav DLL decoder v58.54.100
Video: h264 (High 4:4:4 Predictive), yuv420p(progressive), 720x480 [SAR 1:1 DAR 3:2]
Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s

Loaded from: /lib/x86_64-linux-gnu/libavcodec.so.58
ffmpeg/libav configuration:
--prefix=/usr
--extra-version=1ubuntu0.1
--toolchain=hardened
--libdir=/usr/lib/x86_64-linux-gnu
--incdir=/usr/include/x86_64-linux-gnu
--arch=amd64
--enable-gpl
--disable-stripping
--enable-avresample
--disable-filter=resample
--enable-avisynth
--enable-gnutls
--enable-ladspa
--enable-libaom
--enable-libass
--enable-libbluray
--enable-libbs2b
--enable-libcaca
--enable-libcdio
--enable-libcodec2
--enable-libflite
--enable-libfontconfig
--enable-libfreetype
--enable-libfribidi
--enable-libgme
--enable-libgsm
--enable-libjack
--enable-libmp3lame
--enable-libmysofa
--enable-libopenjpeg
--enable-libopenmpt
--enable-libopus
--enable-libpulse
--enable-librsvg
--enable-librubberband
--enable-libshine
--enable-libsnappy
--enable-libsoxr
--enable-libspeex
--enable-libssh
--enable-libtheora
--enable-libtwolame
--enable-libvidstab
--enable-libvorbis
--enable-libvpx
--enable-libwavpack
--enable-libwebp
--enable-libx265
--enable-libxml2
--enable-libxvid
--enable-libzmq
--enable-libzvbi
--enable-lv2
--enable-omx
--enable-openal
--enable-opencl
--enable-opengl
--enable-sdl2
--enable-libdc1394
--enable-libdrm
--enable-libiec61883
--enable-nvenc
--enable-chromaprint
--enable-frei0r
--enable-libx264
--enable-shared
--enable-version3
--disable-doc
--disable-programs
--enable-libaribb24
--enable-liblensfun
--enable-libopencore_amrnb
--enable-libopencore_amrwb
--enable-libtesseract
--enable-libvo_amrwbenc
taji is offline   Reply With Quote
Old 01-02-2021, 10:06 AM   #2
vbreeden
Human being with feelings
 
Join Date: Jan 2021
Posts: 4
Default VLC Issue

I ran into this same issue, however Reaper would completely crash when trying to use the video window with VLC. My current workaround is to change the priority from "vlc ffmpeg" to "ffmpeg vlc". Admitted, this doesn't answer the question you posted, but it does mirror the solution you posted. It's also worth noting that it's a recent problem since I wasn't having trouble in late November on my last video project.

I tried reverting to an older version of Reaper, which did not resolve the issue. I also checked the release dates of VLC, and it's last release date was on June 17th, 2020, so the error doesn't directly result from a VLC update either. This suggests that something else that was updated is creating the bug.

And this leads me to my follow-up question, what distro/kernel version are you running?

On my system I'm using PopOS 20.10 (downstream ubuntu-based distro), running kernel 5.8.0-7630-generic.
vbreeden is offline   Reply With Quote
Old 01-02-2021, 08:29 PM   #3
Mikobuntu
Human being with feelings
 
Mikobuntu's Avatar
 
Join Date: Nov 2020
Posts: 153
Default

Current video frame: 640x480 'RGBA' #420

Available decoder information:

========== VLC ==========
VLC v3.0.x
Loaded from: /lib/x86_64-linux-gnu/vlc/plugins

========== ffmpeg/libav ==========
ffmpeg/libav DLL decoder v58.54.100

Loaded from: /lib/x86_64-linux-gnu/libavcodec.so.58
ffmpeg/libav configuration:
--prefix=/usr
--extra-version=1ubuntu0.1
--toolchain=hardened
--libdir=/usr/lib/x86_64-linux-gnu
--incdir=/usr/include/x86_64-linux-gnu
--arch=amd64
--enable-gpl
--disable-stripping
--enable-avresample
--disable-filter=resample
--enable-avisynth
--enable-gnutls
--enable-ladspa
--enable-libaom
--enable-libass
--enable-libbluray
--enable-libbs2b
--enable-libcaca
--enable-libcdio
--enable-libcodec2
--enable-libflite
--enable-libfontconfig
--enable-libfreetype
--enable-libfribidi
--enable-libgme
--enable-libgsm
--enable-libjack
--enable-libmp3lame
--enable-libmysofa
--enable-libopenjpeg
--enable-libopenmpt
--enable-libopus
--enable-libpulse
--enable-librsvg
--enable-librubberband
--enable-libshine
--enable-libsnappy
--enable-libsoxr
--enable-libspeex
--enable-libssh
--enable-libtheora
--enable-libtwolame
--enable-libvidstab
--enable-libvorbis
--enable-libvpx
--enable-libwavpack
--enable-libwebp
--enable-libx265
--enable-libxml2
--enable-libxvid
--enable-libzmq
--enable-libzvbi
--enable-lv2
--enable-omx
--enable-openal
--enable-opencl
--enable-opengl
--enable-sdl2
--enable-libdc1394
--enable-libdrm
--enable-libiec61883
--enable-nvenc
--enable-chromaprint
--enable-frei0r
--enable-libx264
--enable-shared
--enable-version3
--disable-doc
--disable-programs
--enable-libaribb24
--enable-liblensfun
--enable-libopencore_amrnb
--enable-libopencore_amrwb
--enable-libtesseract
--enable-libvo_amrwbenc

ffmpeg/libav search path:
$PATH


My prefs are vlc 1st and then ffmpeg. Video seems to work fine for me and with the few times that i have added the builtin effects etc.

Ubuntu 20.04 here, hope I can troubleshoot a bit better for you tho,
Mikobuntu is offline   Reply With Quote
Old 01-04-2021, 01:30 PM   #4
vbreeden
Human being with feelings
 
Join Date: Jan 2021
Posts: 4
Default VLC issues across Ubuntu releases

I installed Reaper 6.19 on a system running PopOS 20.04 to test the VLC issue, and I can confirm that it works without error when the priority is set to "vlc ffmpeg" on that system. At this point I'm convinced that something was pushed to the 20.10 build of Ubuntu that is causing the problem. This would make sense considering 20.10 is an unstable branch and 20.04 is LTS. It looks like the most immediate solutions are to either use ffmpeg on 20.10 or stick with 20.04 for now.
vbreeden is offline   Reply With Quote
Old 03-29-2021, 11:44 PM   #5
zaki
Human being with feelings
 
Join Date: Mar 2021
Posts: 1
Default [SOLVED]

Quote:
Originally Posted by vbreeden View Post
I installed Reaper 6.19 on a system running PopOS 20.04 to test the VLC issue, and I can confirm that it works without error when the priority is set to "vlc ffmpeg" on that system. At this point I'm convinced that something was pushed to the 20.10 build of Ubuntu that is causing the problem. This would make sense considering 20.10 is an unstable branch and 20.04 is LTS. It looks like the most immediate solutions are to either use ffmpeg on 20.10 or stick with 20.04 for now.

I have the same issue, But the solution is easy, just replace the video decoder from "vlc ffmpeg" to "ffmpeg" only!

You can find it here "preferences>media>video/import/misc"

Preview:
https://i.imgur.com/a5YPryg.png
zaki is offline   Reply With Quote
Old 11-20-2021, 10:02 AM   #6
chlowden
Human being with feelings
 
Join Date: Oct 2021
Posts: 14
Default

I had the same issue on a ubuntu 20.4 install. Erasing vlc from the list made it work for me too.
Many thanks
chlowden is offline   Reply With Quote
Old 08-23-2023, 08:32 AM   #7
CH FR
Human being with feelings
 
Join Date: Aug 2020
Posts: 4
Default

For me it falls back to ffmpeg whenever I try h264. Other codecs use the VLC decoder properly.
Still pretty weird because the vlc plugin/ path clearly has libx264 in its codec folder, so I'm not sure why reaper doesn't seem to pick it up.

HOWEVER! (I tested out some stuff while I was typing this reply), I wanted to switch to vlc to see if it would be more responsive, but only now did I try doing it the other way around (trying ffmpeg decoder on non-h264), and it's much more performant.
So I suppose it's not a matter of decoder but rather a matter of h264 being h264, which makes me feel better about not being able to use ffmpeg on it.
CH FR is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 08:03 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.