Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER for Video Editing/Mangling

Reply
 
Thread Tools Display Modes
Old 12-07-2021, 10:42 AM   #1
airon
Human being with feelings
 
airon's Avatar
 
Join Date: Aug 2006
Location: Berlin
Posts: 11,818
Default Best FFMPEG builds for Windows, OSX and Linux

The Wiki page is sending people to the FFMPEG download page.

The build from Btbn are nightly builds as user Fijifuko pointed out to me.

Most of you here have way more experience encoding video in Reaper than I do, so I'd like to know what you fine folks have been using to encode your video.

One of us will then update the Wiki to make sure folks use the best FFMPEG libraries that work well with the current Reaper versions.

So, what do you use ?
__________________
Using Latch Preview (Video) - Faderport 16 setup for CSI 1.1 , CSI 3.10
Website
"My ego comes pre-shrunk" - Randy Thom

Last edited by airon; 12-09-2021 at 04:01 PM.
airon is offline   Reply With Quote
Old 12-07-2021, 11:16 AM   #2
Dstruct
Human being with feelings
 
Join Date: Jul 2006
Posts: 12,482
Default

4.3.2 from https://www.gyan.dev/ffmpeg/builds/


Newer versions have issues with audio.

[FIXED] (REAPER 6.43)

Last edited by Dstruct; 12-24-2021 at 07:29 PM.
Dstruct is offline   Reply With Quote
Old 12-07-2021, 12:03 PM   #3
Fabian
Human being with feelings
 
Fabian's Avatar
 
Join Date: Sep 2008
Location: Sweden
Posts: 7,431
Default

I reported here https://forum.cockos.com/showthread....06#post2412306 some issues with ffmpeg v4.3.0 and 4.3.1 on Windows.
I still use v4.2.3 that can be found on WaybackMachine https://web.archive.org/web/20200918...oe.com/builds/
__________________
// MVHMF
I never always did the right thing, but all I did wasn't wrong...
Fabian is offline   Reply With Quote
Old 12-24-2021, 03:52 PM   #4
urednik
Human being with feelings
 
urednik's Avatar
 
Join Date: Apr 2010
Posts: 1,247
Default

For me the new reaper v6.43 and FFMPEG 4.4.1 work. Here are instructions by Jon
https://www.youtube.com/watch?v=AWSum2b_Wcg
__________________
W10 (64) Lenovo E540 - SSD; Lenovo B590; W7 (32), Compaq 610 (2.1Ghz core 2 duo, L2 cache, 2GB RAM); DPA 4018, Schoeps MK2, Schoeps MTSC 64, Neumann mk184, AEA Ribbon 88mk, AKG SolidTUBE; Focusrite Scarlett 18i20, recording merely live acoustic music.
urednik is offline   Reply With Quote
Old 12-24-2021, 07:21 PM   #5
EpicSounds
Human being with feelings
 
EpicSounds's Avatar
 
Join Date: Jul 2009
Posts: 7,592
Default

Quote:
Originally Posted by urednik View Post
For me the new reaper v6.43 and FFMPEG 4.4.1 work. Here are instructions by Jon
https://www.youtube.com/watch?v=AWSum2b_Wcg
thank you!
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
EpicSounds is offline   Reply With Quote
Old 12-25-2021, 10:34 AM   #6
Phazma
Human being with feelings
 
Join Date: Jun 2019
Posts: 2,875
Default

Any advantage for mac users to update ffmpeg? Don't remember how long ago it was that I have installed it..
Phazma is offline   Reply With Quote
Old 12-25-2021, 01:18 PM   #7
EpicSounds
Human being with feelings
 
EpicSounds's Avatar
 
Join Date: Jul 2009
Posts: 7,592
Default

for h.264 the FFMPEG render was slower than avfoundation. I didn't really test beyond that. That was maybe 2yrs ago
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
EpicSounds is offline   Reply With Quote
Old 12-25-2021, 03:50 PM   #8
Phazma
Human being with feelings
 
Join Date: Jun 2019
Posts: 2,875
Default

I habitually always used ffmpeg.. don't remember exactly why, but perhaps I should be switching to avfoundation.

A question that may be a bit off topic but perhaps you Jon may be able to answer it:
I have noticed that the h.246 video codec defaults to 2048kbps when using avfoundation and to 95% when using ffmpeg. I don't know much about video en/decoding so I am wondering, is 2048kbps the same as 95%? Should these values be left at default or are there situations where I will benefit from changing them (and how can I find out the right value for a specific video render)?
Phazma is offline   Reply With Quote
Old 12-25-2021, 04:09 PM   #9
EpicSounds
Human being with feelings
 
EpicSounds's Avatar
 
Join Date: Jul 2009
Posts: 7,592
Default

2048 is really low for youtube.
I change the bitrate to 8000 for 1080p and 12-16000 for 1440p

I think the 95% quality is roughly 5500 kbps but I don't have a good memory for this stuff.

You can go above 100% with ffmpeg also.

You can render a file and then check in VLC what the bitrate is.
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
EpicSounds is offline   Reply With Quote
Old 12-25-2021, 04:16 PM   #10
Phazma
Human being with feelings
 
Join Date: Jun 2019
Posts: 2,875
Default

Ok thanks for the advice! I will experiment with this and see what works best for my purposes.
Phazma is offline   Reply With Quote
Old 12-26-2021, 01:33 PM   #11
Phazma
Human being with feelings
 
Join Date: Jun 2019
Posts: 2,875
Default

If it interests you, I have done some test renders and got some interesting results:



The bitrate values come from the static calculations by QT but the dynamic calculations in VLC seem to hover around these values too so I guess they are averages.

I find it interesting, that there is not much difference by setting higher/lower percentages for the ffmpeg render. One could think that 50%->100% or 100%->200% would double the bitrate but that is not the case. And it seems from 95% to 100% there is no difference at all.

The avfoundation render is indeed much faster. The calculated bitrate seems to make sense more or less, it is slightly higher than the sum of the chosen video + audio bitrate.

I have no idea what the difference between avfoundation's "MPEG-4 Video" and "MPEG-4 Video (streaming optimized) is. All my measured stats are identical and I can't detect any difference by looking at the image. Jon, maybe you know more about that?
Phazma is offline   Reply With Quote
Old 12-26-2021, 07:01 PM   #12
EpicSounds
Human being with feelings
 
EpicSounds's Avatar
 
Join Date: Jul 2009
Posts: 7,592
Default

That's some good stuff right there. I did similar tests a long time ago but didn't document it well.

I *think* the streaming optimized option reduces the decoding effort required for playback. YouTube takes less time in the processing stage between upload and HD playback ready. I bet I or someone else asked this back in in the v5.0 betas.
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
EpicSounds is offline   Reply With Quote
Old 12-26-2021, 11:45 PM   #13
Phazma
Human being with feelings
 
Join Date: Jun 2019
Posts: 2,875
Default

Quote:
Originally Posted by EpicSounds View Post
I *think* the streaming optimized option reduces the decoding effort required for playback. YouTube takes less time in the processing stage between upload and HD playback ready. I bet I or someone else asked this back in in the v5.0 betas.
Going to be hard to find this in the v5 threads.. but surely it will have some drawbacks too (otherwise it would be the only option). I wish Cockos documented these things properly so it doesn’t take hours of nerding to find out what which option does.
Phazma 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 03:13 PM.


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