Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Bug Reports

Reply
 
Thread Tools Display Modes
Old 12-16-2022, 06:38 AM   #1
mcoyle
Human being with feelings
 
mcoyle's Avatar
 
Join Date: Jan 2022
Location: Kalamazoo, MI
Posts: 282
Default SOLVED: Reaper cannot find ffmpeg on a clean Ubuntu 22.10 install.

On a fresh install of Ubuntu 22.10, Reaper 6.71 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 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.

Under Preferences > Media > Video "Show decoder info", it's pretty clear Reaper is not seeing ffmpeg.

I'm lucky because I have an older partition with 22.04 and a working version of Reaper/ffmpeg which I can boot to render videos, but for others not so lucky, this is really a big problem. Like... make me boot Pro Tools in Windows level of problem. You just can't do post work without rendering videos. I implore you to address this ASAP.

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
System Info:

OS: Ubuntu 22.10 x86_64
Reaper: tested on versions 6.66 to 6.71
ffmpeg: Apt: 5.1.1 or Snap 4.3.1
__________________
Audio Post Engineer: JennAudio.com
Adjunct Faculty: Columbia College Chicago - Retired!

Last edited by mcoyle; 12-16-2022 at 07:57 PM.
mcoyle is offline   Reply With Quote
Old 12-16-2022, 06:47 AM   #2
axel_ef
Human being with feelings
 
axel_ef's Avatar
 
Join Date: Jan 2007
Location: Erfurt
Posts: 765
Default

What's the output of

Code:
which ffmpeg
axel_ef is offline   Reply With Quote
Old 12-16-2022, 06:53 AM   #3
mcoyle
Human being with feelings
 
mcoyle's Avatar
 
Join Date: Jan 2022
Location: Kalamazoo, MI
Posts: 282
Default

Quote:
Originally Posted by axel_ef View Post
What's the output of

Code:
which ffmpeg
/usr/bin/ffmpeg
__________________
Audio Post Engineer: JennAudio.com
Adjunct Faculty: Columbia College Chicago - Retired!
mcoyle is offline   Reply With Quote
Old 12-16-2022, 10:17 AM   #4
axel_ef
Human being with feelings
 
axel_ef's Avatar
 
Join Date: Jan 2007
Location: Erfurt
Posts: 765
Default

So it can be found in $PATH and should be found by Reaper.

Maybe you need libavcodec

This is what Reaper shows for me

Code:
This version of REAPER supports video decoding/playback via:

• ffmpeg: FFmpeg/libav: minimal build included with REAPER, v2.8-v4.2 can be downloaded separately for more functionality
• vlc: VLC media player: v2.x-v3.x for correct architecture must be downloaded separately

For each imported media file, REAPER will try the available decoders in the priority order listed in Preferences. Append :ext or :ext1,ext2 or :!ext to limit decoders to a specific media file extensions. For example, vlc:mov will try the VLC decoder only for .mov files; ffmpeg:!wmv will try the FFmpeg decoder for files other than .wmv.

Available decoder information:

========== VLC ==========
VLC install path not found, install VLC 2.1.x-3.0.x

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

Loaded from: /lib/x86_64-linux-gnu/libavcodec.so.58
ffmpeg/libav configuration:
  --prefix=/usr
  --extra-version=0+deb11u1
  --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-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-libgme
  --enable-libgsm
  --enable-libjack
  --enable-libmp3lame
  --enable-libmysofa
  --enable-libopenjpeg
  --enable-libopenmpt
  --enable-libopus
  --enable-libpulse
  --enable-librabbitmq
  --enable-librsvg
  --enable-librubberband
  --enable-libshine
  --enable-libsnappy
  --enable-libsoxr
  --enable-libspeex
  --enable-libsrt
  --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-pocketsphinx
  --enable-libmfx
  --enable-libdc1394
  --enable-libdrm
  --enable-libiec61883
  --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
axel_ef is offline   Reply With Quote
Old 12-16-2022, 10:28 AM   #5
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,704
Default

afaict we need to add support for the newer ffmpeg versions (v5.x) that come with 22.10. I will look into this soon.

In the interim, users can install ffmpeg 4.x (like you effectively did)...

here's a resource for those builds (you'll want the -shared build for the right architecture):

https://github.com/BtbN/FFmpeg-Builds/releases

Last edited by Justin; 12-16-2022 at 10:36 AM.
Justin is offline   Reply With Quote
Old 12-16-2022, 12:57 PM   #6
mcoyle
Human being with feelings
 
mcoyle's Avatar
 
Join Date: Jan 2022
Location: Kalamazoo, MI
Posts: 282
Default

Quote:
Originally Posted by Justin View Post
...here's a resource for those builds (you'll want the -shared build for the right architecture):

https://github.com/BtbN/FFmpeg-Builds/releases
Thanks for the link which I've downloaded and extracted, but there are no instructions on how to install them. I hesitate to start dragging them around and replacing system files. Thoughts?

---- Edit -----

I downloaded and built version 4.4.1 from the Ubuntu Jammy source I downloaded here:

https://launchpad.net/ubuntu/+source/ffmpeg

It built and installed without errors, but Reaper still can't find it. Do I need to go back to an even earlier version number?
__________________
Audio Post Engineer: JennAudio.com
Adjunct Faculty: Columbia College Chicago - Retired!

Last edited by mcoyle; 12-16-2022 at 01:31 PM.
mcoyle 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 11:03 PM.


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