Old 10-03-2020, 09:09 AM   #1
uncleswede
Human being with feelings
 
Join Date: Feb 2015
Posts: 1,096
Default Video rendering - no audio

Weird one...

Suddenly, on my Windows 7 laptop, when I render a video there's no audio content :-(
I wonder if anyone has some insight, maybe from a similar problem they have solved

Here's some info:

- copied project to my main studio PC (Win 10) - renders fine (video & audio)
- tried other video projects on the laptop - same issue
- laptop audio device is ASIO4ALL over inbuilt audio, studio PC is ASIO (RME)
- audio playback of the project on the laptop in Reaper is fine
- When rendering I can see audio waveforms on the render dialog
- if I import the rendered video back into Reaper, there's definitely no audio
- tried a fresh portable Reaper install - same issue
- VLC 3.x and ffmpeg (full, shared version) installed (on fresh portable inst too)
- tried MP4, WEBM and MOV output formats - no joy
- tried AAC, MP3 and Vorbis audio output formats - no joy

Any suggestions?

Thanks
uncleswede is offline   Reply With Quote
Old 10-03-2020, 09:14 AM   #2
Fabian
Human being with feelings
 
Fabian's Avatar
 
Join Date: Sep 2008
Location: Sweden
Posts: 7,417
Default

Another user just the other day reported the same problem, video and audio plays fine in Reaper but the render has no audio.
https://forum.cockos.com/showthread.php?t=242358
https://forum.cockos.com/showthread.php?t=242951

No solution though, but...
Maybe if the two of you compare render settings or setups or something, you might suss out what the problem is...
__________________
// MVHMF
I never always did the right thing, but all I did wasn't wrong...
Fabian is online now   Reply With Quote
Old 10-03-2020, 12:11 PM   #3
uncleswede
Human being with feelings
 
Join Date: Feb 2015
Posts: 1,096
Default

Fabian - thanks: I'll compare notes.
uncleswede is offline   Reply With Quote
Old 10-03-2020, 12:16 PM   #4
uncleswede
Human being with feelings
 
Join Date: Feb 2015
Posts: 1,096
Default

OK - I might have tracked this issue down...

It looks like installing the FFMPEG SHARED libraries (in /reaper/userplugins/) on Windows 7 is the fatal combination...

Uninstalling (i.e. deleting) the FFMPEG SHARED files allows rendering video correctly - i.e. with both video and audio tracks - albeit with no MP4/H.264 options :-(

On my studio PC, which is Win10, there's no problem using the FFMPEG SHARED libraries.

With the current issues regarding where to find the FFMPEG SHARED libraries, I wonder if there is a Windows 7 specific build anywhere that anyone knows of.
uncleswede is offline   Reply With Quote
Old 10-03-2020, 12:52 PM   #5
Fabian
Human being with feelings
 
Fabian's Avatar
 
Join Date: Sep 2008
Location: Sweden
Posts: 7,417
Default

Quote:
Originally Posted by uncleswede View Post
With the current issues regarding where to find the FFMPEG SHARED libraries, I wonder if there is a Windows 7 specific build anywhere that anyone knows of.
No, there should not be. I have the ffmpeg 4.3.1 shared version installed on W7x64. You need the shared libraries, as Reaper uses avcodec-58.dll. Maybe you have different versions installed in different places...

Go to Preferences > Media > Video/Import/Misc and click the "Show the available decoder information" and let us know what it says there.

Here, where it works for me flawlessly (so far), it says:
Code:
========== ffmpeg/libav ==========
ffmpeg/libav DLL decoder v58.91.100

Loaded from: P:\Reaper6\UserPlugins\64\avcodec-58.dll
ffmpeg/libav configuration:
  --disable-static
  --enable-shared
  --enable-gpl
  --enable-version3
...
If you scroll down there you will also see the different folders and the order in which Reaper searches for the ffmpeg dll.
__________________
// MVHMF
I never always did the right thing, but all I did wasn't wrong...
Fabian is online now   Reply With Quote
Old 10-04-2020, 06:35 AM   #6
uncleswede
Human being with feelings
 
Join Date: Feb 2015
Posts: 1,096
Default

Fabian,

Hi.

My Prefs/Video preferences and video decoder information are below.

Despite the highlighted text on the video decoder information screenshot, I've searched my PC for "avcodec-58.dll" and it only exists in the Reaper\UserPlugins folder (there is an ffmpeg.dll in the Reaper/Plugins folder but I presume that is the default, limited Reaper ffmpeg plugin)

I can't find a version number for the FFMPEG shared files in the zip file I've used but the archive name suggests a compilation date of 16 Aug 2020, plus I can see that the extracted DLLs are dated 17 Aug 2020. Is that the same version as yours?




uncleswede is offline   Reply With Quote
Old 10-04-2020, 07:11 AM   #7
uncleswede
Human being with feelings
 
Join Date: Feb 2015
Posts: 1,096
Default

OK, it looks like it was a dodgy build of FFMPEG Shared that I had downloaded....

I finally found a link to download "FFMPEG v4.3.1 SHARED" files and, having installed that version in Reaper on my Win 7 laptop, I can now render video plus audio using H.264 compression :-)

Many thanks to Fabian for pointing me in the right direction...

For the benefit of future forum searches, here's exactly what I did to successfully install the full, shared FFMPEG version on 64-bit Windows 7 ...

1. Deleted any existing FFMPEG-related library files from my reaper installation /userplugins folder:
- ffmpeg.exe
- ffplay.exe
- ffprobe.exe
- avcodec-58.dll
- avdevice-58.dll
- avfilter-7.dll
- avformat-58.dll
- avutil-56.dll
- postproc-55.dll
- swresample-3.dll
- swscale-5.dll

2. downloaded v4.3.1 ffmpeg SHARED archive from:
- https://www.gyan.dev/ffmpeg/builds/f...full-shared.7z

3. Extracted the files in the above archive from its /BIN folder (same as list in 1. above) to my reaper installation /userplugins folder

Close and run Reaper and you will now have extra MOV/MP4 render option, including H.264 compression (which saves rendering uncompressed and then using Handbrake to compress them)
uncleswede is offline   Reply With Quote
Old 10-04-2020, 08:33 AM   #8
Fabian
Human being with feelings
 
Fabian's Avatar
 
Join Date: Sep 2008
Location: Sweden
Posts: 7,417
Default

Great!
And nice of you to share the instructions to solve the issue, so others can benefit.
__________________
// MVHMF
I never always did the right thing, but all I did wasn't wrong...
Fabian is online now   Reply With Quote
Old 10-05-2020, 06:37 AM   #9
rbhudson47
Human being with feelings
 
Join Date: May 2020
Posts: 40
Default Video rendering - no audio

Thank you, but I'm running Windows 10 and Reaper 6.14x64


Quote:
Originally Posted by uncleswede View Post
OK - I might have tracked this issue down...

It looks like installing the FFMPEG SHARED libraries (in /reaper/userplugins/) on Windows 7 is the fatal combination...

Uninstalling (i.e. deleting) the FFMPEG SHARED files allows rendering video correctly - i.e. with both video and audio tracks - albeit with no MP4/H.264 options :-(

On my studio PC, which is Win10, there's no problem using the FFMPEG SHARED libraries.

With the current issues regarding where to find the FFMPEG SHARED libraries, I wonder if there is a Windows 7 specific build anywhere that anyone knows of.
rbhudson47 is offline   Reply With Quote
Old 10-05-2020, 09:36 AM   #10
Fabian
Human being with feelings
 
Fabian's Avatar
 
Join Date: Sep 2008
Location: Sweden
Posts: 7,417
Default

Quote:
Originally Posted by rbhudson47 View Post
Thank you, but I'm running Windows 10 and Reaper 6.14x64
It doesn't matter, if you have a flunky ffmpeg installation you need to fix it, and it works the same way on W10 as on W7. So try what the Uncle suggests, and then render your file again to see if it works. It is simple.
__________________
// MVHMF
I never always did the right thing, but all I did wasn't wrong...
Fabian is online now   Reply With Quote
Old 10-05-2020, 07:03 PM   #11
rbhudson47
Human being with feelings
 
Join Date: May 2020
Posts: 40
Default Rendered File Audio Problems

Hallelujah!!!!
I followed your directions, rendered my video file, and what do you know, this time the rendered file had video AND AUDIO.
Thank you SOOOOOO much. This problem was driving me CRAZY, not to mention the hours and hours I spent asking questions and trying to figure it out.


Quote:
Originally Posted by uncleswede View Post
OK, it looks like it was a dodgy build of FFMPEG Shared that I had downloaded....

I finally found a link to download "FFMPEG v4.3.1 SHARED" files and, having installed that version in Reaper on my Win 7 laptop, I can now render video plus audio using H.264 compression :-)

Many thanks to Fabian for pointing me in the right direction...

For the benefit of future forum searches, here's exactly what I did to successfully install the full, shared FFMPEG version on 64-bit Windows 7 ...

1. Deleted any existing FFMPEG-related library files from my reaper installation /userplugins folder:
- ffmpeg.exe
- ffplay.exe
- ffprobe.exe
- avcodec-58.dll
- avdevice-58.dll
- avfilter-7.dll
- avformat-58.dll
- avutil-56.dll
- postproc-55.dll
- swresample-3.dll
- swscale-5.dll

2. downloaded v4.3.1 ffmpeg SHARED archive from:
- https://www.gyan.dev/ffmpeg/builds/f...full-shared.7z

3. Extracted the files in the above archive from its /BIN folder (same as list in 1. above) to my reaper installation /userplugins folder

Close and run Reaper and you will now have extra MOV/MP4 render option, including H.264 compression (which saves rendering uncompressed and then using Handbrake to compress them)
rbhudson47 is offline   Reply With Quote
Old 10-06-2020, 01:15 AM   #12
uncleswede
Human being with feelings
 
Join Date: Feb 2015
Posts: 1,096
Default

Quote:
Originally Posted by rbhudson47 View Post
Hallelujah!!!!
I followed your directions, rendered my video file, and what do you know, this time the rendered file had video AND AUDIO.
Thank you SOOOOOO much. This problem was driving me CRAZY, not to mention the hours and hours I spent asking questions and trying to figure it out.
You're welcome :-)
uncleswede is offline   Reply With Quote
Old 04-10-2021, 09:35 AM   #13
rcl
Human being with feelings
 
rcl's Avatar
 
Join Date: Mar 2013
Location: Bahia,Brazil
Posts: 661
Default

I followed the above...the new FFmpeg is 4.4 now. I have the H264 option but my audio only shows up when using 16 or 32 pcm. No mp3 no aac. Any thoughts?
__________________
We didnt jump the fence because the grass was greener. We jumped it because it was a fence.
https://scrubbingmonkeys.bandcamp.com/
rcl is offline   Reply With Quote
Old 04-10-2021, 10:35 AM   #14
Fabian
Human being with feelings
 
Fabian's Avatar
 
Join Date: Sep 2008
Location: Sweden
Posts: 7,417
Default

Quote:
Originally Posted by rcl View Post
I followed the above...the new FFmpeg is 4.4 now. I have the H264 option but my audio only shows up when using 16 or 32 pcm. No mp3 no aac. Any thoughts?
I have not tried the 4.4 version, but I know that 4.3 versions do not work with rendering mp3
https://forum.cockos.com/showpost.ph...06&postcount=9

Try to install a pre-4.3 version, like 4.2.3, hopefully that solves teh mp3 rendering problem.
__________________
// MVHMF
I never always did the right thing, but all I did wasn't wrong...
Fabian is online now   Reply With Quote
Old 12-17-2021, 02:31 PM   #15
gxray
Human being with feelings
 
Join Date: Dec 2020
Location: Miami, FL USA
Posts: 396
Default

For future searchers (this post is the first Google result for "REAPER video export no sound"), this is what fixed it for me:
  • [1] Export the video as MP4/MOV, with encoding set to H264 for video, and 16 bit PCM for audio
    [2] This should give you audible video, but it will be huge. I used Handbrake (https://handbrake.fr/) to further convert + compress the video. It turned a ~450MB .mov into a 45MB .m4v
__________________
Seasoned codemonkey
Dunno a thing about making music (here to learn!)
gxray is offline   Reply With Quote
Old 12-18-2021, 04:56 PM   #16
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,096
Default

This should be fixed in Reaper v6.43

Quote:
v6.43 - December 21 2021
+ Video: fix audio encoding with ffmpeg 4.4

Last edited by nofish; 12-21-2021 at 07:38 PM.
nofish 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 12:29 PM.


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