11-21-2022, 08:17 PM | #1 |
Human being with feelings
Join Date: Nov 2019
Posts: 18
|
Lost ability to render videos
I have been using Reaper on Ubuntu Linux for 4 years for audio and video productions.
However, after upgrading to Ubuntu 22.10 Reaper lost the ability to render videos. I have ffmpeg version 5.1.1-1ubuntu1 and Reaper v6.70 Video rendering option no longer shows up and looking at codecs I get this: Available decoder information: ========== VLC ========== VLC v3.0.x Loaded from: /lib/x86_64-linux-gnu/vlc/plugins ========== ffmpeg/libav ========== ffmpeg/libav not found ffmpeg/libav search path: $PATH Grateful for any hints. Thanks Ole, Australia |
11-22-2022, 09:01 AM | #2 | |
Human being with feelings
Join Date: Aug 2019
Posts: 645
|
Quote:
After searching the net, I found this old (2017) but possible relevant Github issue: https://github.com/gerbera/gerbera/issues/93 The 3rd post down, it says: "It turns out that not all -dev packages were installed. The problem was solved by installing the following packages. sudo apt-get install libavutil-dev libavcodec-dev libavformat-dev libavdevice-dev libavfilter-dev libavresample-dev libswscale-dev libswresample-dev libpostproc-dev" IDK if this will solve your issue, but it might be worth a try. |
|
11-22-2022, 01:30 PM | #3 |
Human being with feelings
Join Date: Nov 2019
Posts: 18
|
Lost ability to render videos
Thank you very much @PMan for the reply. I tried to install the dev-packages OK but no luck. I then tried to copy the .so files to UserPlugins as per below. But Reaper still says that "ffmpeg/libav not found".
Grateful for any help. Thx Ole ro@home:/usr/lib/x86_64-linux-gnu$ ls -ltra libav* -rw-r--r-- 1 root root 22792 Mar 24 2022 libavc1394.so.0.3.0 lrwxrwxrwx 1 root root 19 Jun 10 11:28 libavc1394.so.0 -> libavc1394.so.0.3.0 -rw-r--r-- 1 root root 59384 Aug 22 22:33 libavahi-ui-gtk3.so.0.1.4 lrwxrwxrwx 1 root root 25 Aug 22 22:33 libavahi-ui-gtk3.so.0 -> libavahi-ui-gtk3.so.0.1.4 -rw-r--r-- 1 root root 18496 Aug 22 22:33 libavahi-glib.so.1.0.2 lrwxrwxrwx 1 root root 22 Aug 22 22:33 libavahi-glib.so.1 -> libavahi-glib.so.1.0.2 -rw-r--r-- 1 root root 215112 Aug 22 22:33 libavahi-core.so.7.1.0 lrwxrwxrwx 1 root root 22 Aug 22 22:33 libavahi-core.so.7 -> libavahi-core.so.7.1.0 -rw-r--r-- 1 root root 51648 Aug 22 22:33 libavahi-common.so.3.5.4 lrwxrwxrwx 1 root root 24 Aug 22 22:33 libavahi-common.so.3 -> libavahi-common.so.3.5.4 -rw-r--r-- 1 root root 76112 Aug 22 22:33 libavahi-client.so.3.2.9 lrwxrwxrwx 1 root root 24 Aug 22 22:33 libavahi-client.so.3 -> libavahi-client.so.3.2.9 -rw-r--r-- 1 root root 929520 Sep 5 02:16 libavutil.so.57.28.100 lrwxrwxrwx 1 root root 22 Sep 5 02:16 libavutil.so.57 -> libavutil.so.57.28.100 lrwxrwxrwx 1 root root 22 Sep 5 02:16 libavutil.so -> libavutil.so.57.28.100 -rw-r--r-- 1 root root 1448270 Sep 5 02:16 libavutil.a -rw-r--r-- 1 root root 2779472 Sep 5 02:16 libavformat.so.59.27.100 lrwxrwxrwx 1 root root 24 Sep 5 02:16 libavformat.so.59 -> libavformat.so.59.27.100 lrwxrwxrwx 1 root root 24 Sep 5 02:16 libavformat.so -> libavformat.so.59.27.100 -rw-r--r-- 1 root root 5449104 Sep 5 02:16 libavformat.a -rw-r--r-- 1 root root 12467984 Sep 5 02:16 libavfilter.so.8.44.100 lrwxrwxrwx 1 root root 23 Sep 5 02:16 libavfilter.so.8 -> libavfilter.so.8.44.100 lrwxrwxrwx 1 root root 23 Sep 5 02:16 libavfilter.so -> libavfilter.so.8.44.100 -rw-r--r-- 1 root root 8419746 Sep 5 02:16 libavfilter.a -rw-r--r-- 1 root root 211096 Sep 5 02:16 libavdevice.so.59.7.100 lrwxrwxrwx 1 root root 23 Sep 5 02:16 libavdevice.so.59 -> libavdevice.so.59.7.100 lrwxrwxrwx 1 root root 23 Sep 5 02:16 libavdevice.so -> libavdevice.so.59.7.100 -rw-r--r-- 1 root root 324932 Sep 5 02:16 libavdevice.a -rw-r--r-- 1 root root 14987872 Sep 5 02:16 libavcodec.so.59.37.100 lrwxrwxrwx 1 root root 23 Sep 5 02:16 libavcodec.so.59 -> libavcodec.so.59.37.100 lrwxrwxrwx 1 root root 23 Sep 5 02:16 libavcodec.so -> libavcodec.so.59.37.100 -rw-r--r-- 1 root root 21688172 Sep 5 02:16 libavcodec.a ro@home:/usr/lib/x86_64-linux-gnu$ cp libav* ~/.config/REAPER/UserPlugins/ |
11-23-2022, 06:46 AM | #4 |
Human being with feelings
Join Date: Aug 2019
Posts: 645
|
Sorry it didn't work.
You don't need to copy to the .so files to UserPlugins, Reaper says it's looking in the location specifiec in the $PATH variable: Type in a terminal window: "ffmpeg ?" (without the quotes). What does it say? It should give info about the installed version. If it's not finding ffmpeg at all, you can get the .deb package for Ubuntu 22.10 from here: https://www.ubuntuupdates.org/packag...se/base/ffmpeg HTH |
11-26-2022, 05:10 PM | #5 |
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 15,716
|
hmm perhaps your system updated to a newer ffmpeg which is not yet supported?
|
12-03-2022, 04:33 PM | #6 |
Human being with feelings
Join Date: Nov 2019
Posts: 18
|
Lost ability to render videos (Ubuntu 22.10)
Thanks for all your suggestions. However, I have now reinstalled Ubuntu 22.10 from scratch and also Reaper v6.71
There is still no connection to ffmpeg (which I also installed from scratch). Can anyone confirm if videos can still be rendered in Reaper under Linux? Kind regards Ole, Australia |
12-08-2022, 06:05 PM | #7 |
Human being with feelings
Join Date: Nov 2019
Posts: 18
|
Thank you very much for engaging.
When I type ffmpeg I get the output below. Meanwhile, I understand the Path should point to the relevant .so files, but I don't know how to set the Path in Reaper - can you help? Many thanks Output from ffmpeg ro@workstation:~/Music$ ffmpeg ffmpeg version 5.1.1-1ubuntu1 Copyright (c) 2000-2022 the FFmpeg developers built with gcc 12 (Ubuntu 12.2.0-1ubuntu1) configuration: --prefix=/usr --extra-version=1ubuntu1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-shared libavutil 57. 28.100 / 57. 28.100 libavcodec 59. 37.100 / 59. 37.100 libavformat 59. 27.100 / 59. 27.100 libavdevice 59. 7.100 / 59. 7.100 libavfilter 8. 44.100 / 8. 44.100 libswscale 6. 7.100 / 6. 7.100 libswresample 4. 7.100 / 4. 7.100 libpostproc 56. 6.100 / 56. 6.100 Hyper fast Audio and Video encoder usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}... Use -h to get full help or, even better, run 'man ffmpeg' |
12-08-2022, 06:59 PM | #8 |
Human being with feelings
Join Date: Jul 2009
Posts: 7,562
|
you need ffmpeg v4.4 for reaper 6.43 and up to current
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
|
12-15-2022, 02:52 PM | #9 |
Human being with feelings
Join Date: Jan 2022
Location: Kalamazoo, MI
Posts: 285
|
I can confirm....
I can confirm the same problem, and what ever it is, it happened at the end of November. The last time I successfully exported a video was on Nov. 27th. I tried today for a project and no luck.
Reaper is not finding ffmpeg. I can playback videos in Reaper using the vlc engine, but rendering an mp4, mov, etc., is handled by ffmpeg and it's not working. Reaper version: I tried them all from 6.66 to 6.71 ffmpeg: versions 4 through 5. This is not an issue with version 5 of ffmpeg because it works great on another Linux/Reaper computer I have. I have a hunch the problem is Wine-staging 7.20 which I need for yabridge. My other computer is running Wine 7.0. I'm trying to hunt down the problem, but smarter heads than mine need to look at this. OP, is your system also running wine-staging 7.20 for yabridge? Under Preferences > Media > Video "Show decoder info", it's pretty clear Reaper is not seeing ffmpeg. Why??? This is what it looks like on the broken system: Code:
Available decoder information: ========== VLC ========== VLC v3.0.x Loaded from: /lib/x86_64-linux-gnu/vlc/plugins ========== ffmpeg/libav ========== ffmpeg/libav not found ffmpeg/libav search path: $PATH Code:
Available decoder information: ========== VLC ========== VLC v3.0.x Loaded from: /lib/x86_64-linux-gnu/vlc/plugins ========== ffmpeg/libav ========== ffmpeg/libav DLL decoder v58.134.100 Loaded from: /lib/x86_64-linux-gnu/libavcodec.so.58 ffmpeg/libav configuration: --prefix=/usr --extra-version='0ubuntu1~22.04.sav1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls ................. lots deleted ------------------ ffmpeg/libav search path: $PATH
__________________
Audio Post Engineer: JennAudio.com Adjunct Faculty: Columbia College Chicago - Retired! |
12-16-2022, 06:24 AM | #10 |
Human being with feelings
Join Date: Jan 2022
Location: Kalamazoo, MI
Posts: 285
|
Update: Bug!
After a few hours of testing on a spare partition...
Houston, we have a problem. On a fresh install of Ubuntu 22.10, Reaper 6.70 cannot find ffmpeg. It doesn't matter if you install debs via apt (ffmpeg v 5.1.1) or via the Snap Store (ffmpeg v 4.3.1). Reaper is limited to vlc for video decoding and there is no way to encode video. (VLC provides two encoding options, but neither is a professional format.) This is a critical problem for anyone doing audio post to picture where we have to routinely render videos for client approval of mixes. If you upgraded to 22.10 from 22.04, you're ok because Reaper will find the older ffmpeg libraries which are not removed by default.
__________________
Audio Post Engineer: JennAudio.com Adjunct Faculty: Columbia College Chicago - Retired! |
12-16-2022, 06:46 PM | #11 |
Human being with feelings
Join Date: Jan 2022
Location: Kalamazoo, MI
Posts: 285
|
SOLUTION
After posting a bug report in the forum, Justin followed up with a workaround until Reaper is updated to work with ffmpeg libraries in 22.10.
To summarize: 1. Download older ffmpeg from: https://github.com/BtbN/FFmpeg-Build...red-4.4.tar.xz 2. Extract and rename the folder to ffmpeg and move it out of Downloads up a level to your home directory. 3. Open a terminal and launch Reaper with the following command: Code:
LD_LIBRARY_PATH=~/ffmpeg/lib reaper
__________________
Audio Post Engineer: JennAudio.com Adjunct Faculty: Columbia College Chicago - Retired! |
12-25-2022, 09:48 PM | #12 |
Human being with feelings
Join Date: Nov 2019
Posts: 18
|
Thank you very much but 404
Thank you very much for your hard work and the workaround. However, as I tried clicking on the link to the older ffmpeg all I got was a 404
Can you help? Kind regards Ole |
12-26-2022, 06:57 AM | #13 | |
Human being with feelings
Join Date: Jan 2022
Location: Kalamazoo, MI
Posts: 285
|
Quote:
https://github.com/BtbN/FFmpeg-Builds/releases and download: ffmpeg-master-latest-linux64-lgpl-shared.tar.xz Extract the archive, and rename the folder ffmpeg Then follow the earlier instructions.
__________________
Audio Post Engineer: JennAudio.com Adjunct Faculty: Columbia College Chicago - Retired! |
|
12-26-2022, 07:58 AM | #14 |
Human being with feelings
Join Date: Nov 2019
Posts: 18
|
Lost video
Thank you very much for persevering. I downloaded and ran the command
ro@workstation:~$ LD_LIBRARY_PATH=~/ffmpeg/lib reaper LC_NUMERIC / LANG is set to 'en_AU.UTF-8', overriding LC_NUMERIC environment to POSIX ALSA: using mmap interleaved ALSA: using mmap interleaved But Video still didn't show up in Reaper, nor did it give a render option. And Reaper still reports: ========== VLC ========== VLC v3.0.x Loaded from: /lib/x86_64-linux-gnu/vlc/plugins ========== ffmpeg/libav ========== ffmpeg/libav not found ffmpeg/libav search path: $PATH Is it possible to move the ffmpeg/lib files to somewhere that Reaper knows about? Many thanks in advance Ole |
12-26-2022, 08:16 AM | #15 |
Human being with feelings
Join Date: Jan 2022
Location: Kalamazoo, MI
Posts: 285
|
Ugh. Not your fault. I hope they fix this soon. It's annoying.
Here's a link to the ffmpeg 4.4 that is working for me.
__________________
Audio Post Engineer: JennAudio.com Adjunct Faculty: Columbia College Chicago - Retired! |
12-26-2022, 12:24 PM | #16 |
Human being with feelings
Join Date: Nov 2019
Posts: 18
|
Reaper Video
Thank you very much - this time it can render as video and drivers report correctly.
However, I can't see the videos clips in the video window (CTRL-SHIFT v). Do you know if that is another driver? Many thanks Ole |
12-26-2022, 12:51 PM | #17 | |
Human being with feelings
Join Date: Jan 2022
Location: Kalamazoo, MI
Posts: 285
|
Quote:
Try removing vlc as an option under Media>Video Does the video open in VLC? Does it open in Handbrake? Try converting it to an mp4 with h264 in Handbrake and see if that works. At this point, I think the problem is the way the video is encoded NOT Reaper.
__________________
Audio Post Engineer: JennAudio.com Adjunct Faculty: Columbia College Chicago - Retired! |
|
12-26-2022, 11:06 PM | #18 |
Human being with feelings
Join Date: Nov 2019
Posts: 18
|
Trying to get video working again
Thank you so much. The rendering now works with ffmpeg, but the video window is black.
I tried to remove vlc (indeed all permutations to no avail). The videos themselves do open in other tools - and I tried opening older Reaper video projects that used to work as well, so I know the video material works (sorry ;-) Many thanks Ole |
12-27-2022, 05:59 AM | #19 |
Human being with feelings
Join Date: Nov 2019
Posts: 18
|
Troubleshooting lost video in Reaper under Ubuntu 22.10
Thanks again
I thought knew the reason because I had uninstalled the systemwide ffmpeg. But after I reinstalled it alongside the version you sent the video window is still black. As an example here's a recent project that works fine on Ubuntu 22.04 with the standard ffmpeg, but not anymore: https://drive.google.com/drive/folde...usp=share_link Kind regards Ole |
12-27-2022, 06:27 AM | #20 | |
Human being with feelings
Join Date: Jan 2022
Location: Kalamazoo, MI
Posts: 285
|
Quote:
If you haven't yet, reinstall the Ubuntu supplied vlc and ffmpeg plus libavcodec and any other crap it wants to install. Having the two ffmpegs installed won't hurt anything cause only Reaper is gonna use the one in your home folder. Make your settings match this screenshot. Then you should be good... I hope!
__________________
Audio Post Engineer: JennAudio.com Adjunct Faculty: Columbia College Chicago - Retired! |
|
12-27-2022, 01:05 PM | #21 |
Human being with feelings
Join Date: Nov 2019
Posts: 18
|
Video under Ubuntu
OK - I think I understand. I am unwell with an impinged nerve in my back, so need to see a chiropractor and maybe go to hospital. But, I'll pick this up when I get. Thank you sooooooooo much
Ole |
12-27-2022, 06:21 PM | #22 |
Human being with feelings
Join Date: Nov 2019
Posts: 18
|
Workaround works!
Just saying 100,000 thanks. The final missing piece was Output RGB!
I had OpenGL Automatic. Works now - and hoping Reaper will fix it up in future versions. You are a champ! Cheers Ole |
12-27-2022, 07:06 PM | #23 |
Human being with feelings
Join Date: Jan 2022
Location: Kalamazoo, MI
Posts: 285
|
Excellent! Glad it's working for you.
__________________
Audio Post Engineer: JennAudio.com Adjunct Faculty: Columbia College Chicago - Retired! |
06-03-2023, 08:09 PM | #24 |
Human being with feelings
Join Date: Nov 2019
Posts: 18
|
Lost ability to render videos
Thank you so much for your help. I ended up in hospital for 5 months but out now and recovering well.
Just used your workaround again with success. However, do you know if the underlying problem has been resolved in newer versions of Reaper and Ubuntu? Kind regards Ole |
06-05-2023, 04:48 PM | #25 | |
Human being with feelings
Join Date: Jan 2022
Location: Kalamazoo, MI
Posts: 285
|
Quote:
Fewer people use Reaper/Linux, and of that group even fewer render videos. Sooooo.... I think it'll be awhile.
__________________
Audio Post Engineer: JennAudio.com Adjunct Faculty: Columbia College Chicago - Retired! |
|
06-12-2023, 03:48 AM | #26 |
Human being with feelings
Join Date: Nov 2019
Posts: 18
|
Thank you very much. I understand and sadly, fixing this is not my field of expertise.
I'll use your excellent work-around for the time being then. Kind regards Ole |
Thread Tools | |
Display Modes | |
|
|