Old 01-30-2022, 07:20 PM   #1
Dstruct
Human being with feelings
 
Join Date: Jul 2006
Posts: 12,480
Default FFmpeg 6.1 support

FFmpeg 5.0 doesn't work in REAPER 6.46 x64:

https://www.gyan.dev/ffmpeg/builds/f...full-shared.7z


Requesting to support it.
Dstruct is offline   Reply With Quote
Old 01-30-2022, 09:09 PM   #2
Tranquil
Human being with feelings
 
Join Date: Feb 2005
Location: Greece
Posts: 100
Default

FFmpeg needs to not change APIs and the way of doing things with every release.
Tranquil is offline   Reply With Quote
Old 02-02-2022, 02:46 AM   #3
Dstruct
Human being with feelings
 
Join Date: Jul 2006
Posts: 12,480
Default

They might have good reasons for the change?
Dstruct is offline   Reply With Quote
Old 05-07-2022, 05:37 PM   #4
Dstruct
Human being with feelings
 
Join Date: Jul 2006
Posts: 12,480
Default

Bump. FFmpeg 5.0.1 is available.
Dstruct is offline   Reply With Quote
Old 05-08-2022, 07:39 PM   #5
Tranquil
Human being with feelings
 
Join Date: Feb 2005
Location: Greece
Posts: 100
Default

Tranquil is offline   Reply With Quote
Old 11-28-2022, 05:05 AM   #6
Dstruct
Human being with feelings
 
Join Date: Jul 2006
Posts: 12,480
Default

FFmpeg 5.1.2 is available.
Dstruct is offline   Reply With Quote
Old 03-02-2023, 02:03 AM   #7
vitalker
Human being with feelings
 
vitalker's Avatar
 
Join Date: Dec 2012
Posts: 13,333
Default

Version 6 is just released: https://www.gyan.dev/ffmpeg/builds/
vitalker is offline   Reply With Quote
Old 03-03-2023, 01:55 PM   #8
WyattRice
Human being with feelings
 
WyattRice's Avatar
 
Join Date: Sep 2009
Location: Virginia
Posts: 2,067
Default

Off topic, but it would be nice if Reaper could take advantage of gpu rendering for video for AMD, Nvidia. Doesn't FFmpeg have cmd lines for this?
__________________
DDP To Cue Writer. | DDP Marker Editor.
WyattRice is offline   Reply With Quote
Old 03-03-2023, 02:04 PM   #9
Dstruct
Human being with feelings
 
Join Date: Jul 2006
Posts: 12,480
Default

Same question here. Here some info: https://docs.nvidia.com/video-techno...gpu/index.html

How to make it work in REAPER?
Dstruct is offline   Reply With Quote
Old 03-03-2023, 10:08 PM   #10
WyattRice
Human being with feelings
 
WyattRice's Avatar
 
Join Date: Sep 2009
Location: Virginia
Posts: 2,067
Default

On this page https://www.gyan.dev/ffmpeg/builds/

It reads:
hardware-support libraries in all builds
amf cuda cuvid d3d11va dxva2 libvpl nvdec nvenc

So maybe it's just a matter of Reaper adding a command line?

I use a program called Shutter Encoder, and it supports gpu render, and uses FFmpeg.
__________________
DDP To Cue Writer. | DDP Marker Editor.
WyattRice is offline   Reply With Quote
Old 03-04-2023, 09:38 AM   #11
Dstruct
Human being with feelings
 
Join Date: Jul 2006
Posts: 12,480
Default

I've tried adding command line but cannot make it work (always renders via CPU).
Dstruct is offline   Reply With Quote
Old 03-04-2023, 11:48 AM   #12
WyattRice
Human being with feelings
 
WyattRice's Avatar
 
Join Date: Sep 2009
Location: Virginia
Posts: 2,067
Default

Where can you download the the last ffmpeg release that works with the current version of Reaper?
__________________
DDP To Cue Writer. | DDP Marker Editor.
WyattRice is offline   Reply With Quote
Old 03-04-2023, 12:01 PM   #13
Dstruct
Human being with feelings
 
Join Date: Jul 2006
Posts: 12,480
Default

Latest working version in REAPER is 4.4.1
Dstruct is offline   Reply With Quote
Old 03-04-2023, 12:56 PM   #14
EpicSounds
Human being with feelings
 
EpicSounds's Avatar
 
Join Date: Jul 2009
Posts: 7,568
Default

Quote:
Originally Posted by WyattRice View Post
Where can you download the the last ffmpeg release that works with the current version of Reaper?
For Reaper 6.43 and up, shared build
https://github.com/GyanD/codexffmpeg/releases/tag/4.4.1

see also https://reaper.blog/ffmpeg
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
EpicSounds is offline   Reply With Quote
Old 03-04-2023, 03:42 PM   #15
WyattRice
Human being with feelings
 
WyattRice's Avatar
 
Join Date: Sep 2009
Location: Virginia
Posts: 2,067
Default

Thanks.
I did a test. Downloaded 4.4.1 version (shared) put all the files in the user plugins. I have a amd ryzen apu and windows 10. I did a test like this video using ffmpeg that I put in the user plugins folder.
C:\Users\Wyatt> cd C:\Users\Wyatt\AppData\Roaming\REAPER\UserPlugins

My video I did for a test was 70 mbytes

For cpu render I used this cmd:
Code:
ffmpeg -i  input.mp4 -c:v libx264 output.mp4
For Amd gpu I used this cmd:
Code:
ffmpeg -i  input.mp4 -c:v h264_amf output.mp4
The cpu render took 43 seconds.
The gpu render took 13 seconds.

So for Reaper to take advatage of gpu, would it mean just adding in the cmd h264_amf for Amd and h264_nvenc for Nvidia?

Sorry I got off topic here. Just thought I wound mention my findings.
__________________
DDP To Cue Writer. | DDP Marker Editor.

Last edited by WyattRice; 12-18-2023 at 07:59 PM.
WyattRice is offline   Reply With Quote
Old 03-04-2023, 03:49 PM   #16
Dstruct
Human being with feelings
 
Join Date: Jul 2006
Posts: 12,480
Default

Quote:
Originally Posted by WyattRice View Post
So for Reaper to take advatage of gpu, would it mean just adding in the cmd h264_amf for Amd and h264_nvenc for Nvidia?
Did you test?
Dstruct is offline   Reply With Quote
Old 03-04-2023, 04:03 PM   #17
WyattRice
Human being with feelings
 
WyattRice's Avatar
 
Join Date: Sep 2009
Location: Virginia
Posts: 2,067
Default

Quote:
Originally Posted by Dstruct View Post
Did you test?
Yes, but cant test in Reaper itself. I did a test like shown in this tutorial.

https://www.youtube.com/watch?v=5p4ru2FpSK0

Proof that it could be done. Reaper would have to add the cmd line.
What kind of test did you do?
__________________
DDP To Cue Writer. | DDP Marker Editor.

Last edited by WyattRice; 08-16-2023 at 04:39 PM.
WyattRice is offline   Reply With Quote
Old 03-04-2023, 04:20 PM   #18
Dstruct
Human being with feelings
 
Join Date: Jul 2006
Posts: 12,480
Default

I've tried to put the commandline options into the "options" field in REAPER (I thought this field is there for commandline options).
Dstruct is offline   Reply With Quote
Old 03-04-2023, 04:21 PM   #19
vitalker
Human being with feelings
 
vitalker's Avatar
 
Join Date: Dec 2012
Posts: 13,333
Default

Quote:
Originally Posted by Dstruct View Post
I've tried to put the commandline options into the "options" field in REAPER (I thought this field is there for commandline options).
It is, but it's probably only for those, which you can see as an example.
vitalker is offline   Reply With Quote
Old 03-05-2023, 12:54 AM   #20
valankar
Human being with feelings
 
Join Date: Jan 2016
Location: Switzerland
Posts: 130
Default

Similar thread on nvenc:

https://forum.cockos.com/showthread.php?t=251131
valankar is online now   Reply With Quote
Old 03-31-2023, 01:51 PM   #21
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,096
Default

FFmpeg 6.0 is out.
https://ffmpeg.org/

edit: Oops...

Last edited by nofish; 03-31-2023 at 03:15 PM.
nofish is offline   Reply With Quote
Old 03-31-2023, 02:06 PM   #22
vitalker
Human being with feelings
 
vitalker's Avatar
 
Join Date: Dec 2012
Posts: 13,333
Default

Quote:
Originally Posted by nofish View Post
FFmpeg 6.0 is out.
https://ffmpeg.org/
You were too slow

Quote:
Originally Posted by vitalker View Post
Version 6 is just released: https://www.gyan.dev/ffmpeg/builds/
vitalker is offline   Reply With Quote
Old 04-02-2023, 02:04 PM   #23
David Else
Human being with feelings
 
Join Date: Mar 2012
Posts: 610
Default

Hi, my system repo has `ffmpeg version 5.1.2` and I have that in the $PATH. I understand I need `4.4.1`, but where can I put that so that ONLY Reaper uses it?

I really hope Reaper gets updated to use a newer version, 4.4.1 came out 2021-10-25, we are missing out on a lot of new things.

Cheers.
__________________
----------> Debian Linux Distribution = Computing Joy & Freedom <----------
David Else is offline   Reply With Quote
Old 04-02-2023, 06:37 PM   #24
EpicSounds
Human being with feelings
 
EpicSounds's Avatar
 
Join Date: Jul 2009
Posts: 7,568
Default

Quote:
Originally Posted by David Else View Post
Hi, my system repo has `ffmpeg version 5.1.2` and I have that in the $PATH. I understand I need `4.4.1`, but where can I put that so that ONLY Reaper uses it?

I really hope Reaper gets updated to use a newer version, 4.4.1 came out 2021-10-25, we are missing out on a lot of new things.

Cheers.
userplugins folder

https://reaper.blog/ffmpeg
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
EpicSounds is offline   Reply With Quote
Old 04-03-2023, 03:24 AM   #25
David Else
Human being with feelings
 
Join Date: Mar 2012
Posts: 610
Default

Thanks EpicSounds!

I found 4.4.1 as a fat binary here: https://ffbinaries.com/downloads

and also in my repo there is a compat version `compat-ffmpeg4-4.4.3-2.el9.x86_64.rpm`, but after I extracted it, rather than an `ffmpeg` executable it is made of many `libav.xxx.so` files. Should I expect this to work, or does it have to be exactly 4.4.1 rather that 4.4.4?

I tried both of those individually in `.config/REAPER/UserPlugins` and I still can't drag in a .mkv file. I am sure it used to work before, I am seeing in Reaper:

```
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 not found

ffmpeg/libav search path:
$PATH
```

I don't want it in my $PATH, as I mentioned. Cheers.
__________________
----------> Debian Linux Distribution = Computing Joy & Freedom <----------
David Else is offline   Reply With Quote
Old 04-03-2023, 11:08 AM   #26
EpicSounds
Human being with feelings
 
EpicSounds's Avatar
 
Join Date: Jul 2009
Posts: 7,568
Default

I only know about the windows version which should be " ffmpeg-4.4.1-full_build-shared.zip "

Did you try VLC for decoding?
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
EpicSounds is offline   Reply With Quote
Old 04-03-2023, 03:09 PM   #27
David Else
Human being with feelings
 
Join Date: Mar 2012
Posts: 610
Default

I don't use VLC, I use MPV. I had an FFMPEG executable that worked with Reaper years ago but I put it in the $PATH. Where can I put it in the Reaper dir so it picks it up, can I set my own path to it somehow?
__________________
----------> Debian Linux Distribution = Computing Joy & Freedom <----------
David Else is offline   Reply With Quote
Old 04-03-2023, 05:00 PM   #28
PMan
Human being with feelings
 
Join Date: Aug 2019
Posts: 646
Default

The latest version of Ubuntu (Linux) ships with a version of FFmpeg that is incompatible with Reaper. A workaround for Linux is in the this thread:
https://forum.cockos.com/showthread.php?t=272933

Maybe something similar will work for Windows?

Bug report here:
https://forum.cockos.com/showthread.php?t=273801

...and yes, please, update Reaper to work with 6.0
PMan is offline   Reply With Quote
Old 04-04-2023, 12:13 PM   #29
David Else
Human being with feelings
 
Join Date: Mar 2012
Posts: 610
Default

Thanks for the links pman

I have managed to get it working by extracting the RHEL compat version of FFMPEG 4.4x to ~/ffmpeg/lib64/ and running:

```
LD_LIBRARY_PATH=~/ffmpeg/lib64/ ~/opt/REAPER/reaper
```

It seems work, but unfortunately I sometimes get:

```
Segmentation fault (core dumped)
```

When Reaper exits. I can't seem to make a definite reproduction case. Is there anything I can do other than wait for Reaper to be updated to allow for a newer FFMPEG? Cheers.
__________________
----------> Debian Linux Distribution = Computing Joy & Freedom <----------
David Else is offline   Reply With Quote
Old 08-13-2023, 11:38 PM   #30
dotpc
Human being with feelings
 
Join Date: Jun 2018
Posts: 20
Default

Has anyone heard if 5.0 or 6.0 support is coming?
dotpc is offline   Reply With Quote
Old 08-15-2023, 01:10 PM   #31
Steven Jay Cohen
Human being with feelings
 
Join Date: May 2014
Location: South Hadley, MA
Posts: 115
Default Version that ships with Debian Stable (12)

ffmpeg version 5.1.3-1 Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 12 (Debian 12.2.0-14)
__________________
Steven Jay CohenAudiobooks recorded with Reaper

AudioTechnica AT4047/SV • Focusrite Scarlett Solo (3rd Gen) • Debian Stable/Testing
Steven Jay Cohen is offline   Reply With Quote
Old 08-15-2023, 01:14 PM   #32
Steven Jay Cohen
Human being with feelings
 
Join Date: May 2014
Location: South Hadley, MA
Posts: 115
Default

If updating the FFMPEG version is impossible for some reason, please consider making it easier to load up a version that Reaper can use on ALL platforms where Reaper exists.

Following the Windows instructions of dropping files in ~/.config/REAPER/UserPlugins does NOT work in Linux
__________________
Steven Jay CohenAudiobooks recorded with Reaper

AudioTechnica AT4047/SV • Focusrite Scarlett Solo (3rd Gen) • Debian Stable/Testing
Steven Jay Cohen is offline   Reply With Quote
Old 09-01-2023, 06:01 PM   #33
Dstruct
Human being with feelings
 
Join Date: Jul 2006
Posts: 12,480
Default

Any chance to get REAPER supporting FFmpeg 6.0?
Dstruct is offline   Reply With Quote
Old 09-03-2023, 11:20 PM   #34
dotpc
Human being with feelings
 
Join Date: Jun 2018
Posts: 20
Default

It'd be great to see a newer version of ffmpeg supported in Reaper. The quality of videos ffmpeg renders (at the same bitrate/resolution/frame rate) is considerably better than the native Windows encoder, but ffmpeg 4.x renders SO SLOWLY.
dotpc is offline   Reply With Quote
Old 09-07-2023, 07:43 PM   #35
WyattRice
Human being with feelings
 
WyattRice's Avatar
 
Join Date: Sep 2009
Location: Virginia
Posts: 2,067
Default

Yes Please.
And let users use the commands for gpu rendering as well.
__________________
DDP To Cue Writer. | DDP Marker Editor.
WyattRice is offline   Reply With Quote
Old 11-09-2023, 03:34 AM   #36
Genuine Music Experience
Human being with feelings
 
Join Date: Oct 2023
Posts: 1
Default

Quote:
Originally Posted by WyattRice View Post
Thanks.
I did a test. Downloaded 4.4.1 version (shared) put all the files in the user plugins. I have a amd ryzen apu and windows 10. I did a test like this video using ffmpeg that I put in the user plugins folder.
C:\Users\Wyatt> cd C:\Users\Wyatt\AppData\Roaming\REAPER\UserPlugins

My video I did for a test was 70 mbytes

For cpu render I used this cmd:
Code:
ffmpeg -i  input.mp4 -c:v libx264 output.mp4
For Amd gpu I used this cmd:
Code:
ffmpeg -i  input.mp4 -c:v h264_amf output.mp4
The cpu render took 43 seconds.
The gpu render took 13 seconds.

So for Reaper to take advatage of gpu, would it mean just adding in the cmd h264_amf for Amd and h264_nvenc for Nvidia?

Sorry I got off topic here. Just thought I wound mention my findings.
Hey, did you figure out how to run the AMD gpu for rendering in Reaper ?
Genuine Music Experience is offline   Reply With Quote
Old 11-09-2023, 10:14 AM   #37
WyattRice
Human being with feelings
 
WyattRice's Avatar
 
Join Date: Sep 2009
Location: Virginia
Posts: 2,067
Default

Quote:
Originally Posted by Genuine Music Experience View Post
Hey, did you figure out how to run the AMD gpu for rendering in Reaper ?
Hi. No. Reaper will have to do it on their end. It's an easy fix I believe. All they have to do is add those cmd line options. It sure would speed up rendering video files.
__________________
DDP To Cue Writer. | DDP Marker Editor.
WyattRice is offline   Reply With Quote
Old 11-17-2023, 10:45 AM   #38
Dstruct
Human being with feelings
 
Join Date: Jul 2006
Posts: 12,480
Default

FFmpeg 6.1 is available.
Dstruct is offline   Reply With Quote
Old 11-24-2023, 06:42 PM   #39
WyattRice
Human being with feelings
 
WyattRice's Avatar
 
Join Date: Sep 2009
Location: Virginia
Posts: 2,067
Default

Yes. Please....
__________________
DDP To Cue Writer. | DDP Marker Editor.
WyattRice is offline   Reply With Quote
Old 11-26-2023, 04:33 PM   #40
Paul Eye
Human being with feelings
 
Join Date: Feb 2006
Location: Helsinki, Finland
Posts: 305
Default

Well, from the 6.1 news post, https://ffmpeg.org/index.html#news

"Next major release will be version 7.0, scheduled to be released in February. We will attempt to better stick to the new release schedule we announced at the start of this year."

In other words, the .dll names will probably change again, and feb 2024 is 3 months away. Somehow I'd see it fitting to have Reaper 7 add ffmpeg 7 support
Paul Eye 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 01:52 AM.


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