Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Feature Requests

Reply
 
Thread Tools Display Modes
Old 08-13-2018, 03:26 AM   #1
Gass n Klang
Human being with feelings
 
Gass n Klang's Avatar
 
Join Date: Nov 2015
Location: Cologne
Posts: 1,636
Default Remuxing - exchange the audio in a video file without reencoding the video

hey guys,
again and again I do some audio mixing for music video clips. I often get the final video clip before the audio mix is finally done. I then load the video file into reaper and mix while watching the clip.

The same mix has a different effect on the listener as soon as it is part of a moving picture. That's why I love presenting the new mix together with the video clip.

Therefor it would be extremely nice if REAPER had the option just exchange the audio file in an existing video file as an option in the bounce menu. At the moment we have to reencode the video again and often lose quality or raise the file size.
Gass n Klang is offline   Reply With Quote
Old 08-13-2018, 04:51 AM   #2
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

+1 Yesyesyes!

Or at least that audio and video-source are separated from each other:
default: use audio from video-source
others: use audio from another source

If that would be accessible that way in TrackStateChunks, we could even script that
Meo-Ada Mespotine is offline   Reply With Quote
Old 08-13-2018, 06:42 AM   #3
airon
Human being with feelings
 
airon's Avatar
 
Join Date: Aug 2006
Location: Berlin
Posts: 11,817
Default

I suppose this could be done if Reaper could keep FFMPEG commandline presets. Not sure how all that would work.




The workaround until then is to use video muxing tools. For MP4 files, mp4box with a frontend is a good one. For MKV files, mkvtoolnix is great. For Quicktime, use Mkvtoolnix to make an MKV file and then use TEncoder to make a Quicktime from it, just copying streams. Be sure to use an audio codec that Quicktime can carry.
__________________
Using Latch Preview (Video) - Faderport 16 setup for CSI 1.1 , CSI 3.10
Website
"My ego comes pre-shrunk" - Randy Thom
airon is offline   Reply With Quote
Old 08-14-2018, 12:09 PM   #4
vectorwarrior
Human being with feelings
 
vectorwarrior's Avatar
 
Join Date: Aug 2014
Posts: 179
Default

Big ol' plus one from me for this too.
vectorwarrior is offline   Reply With Quote
Old 08-14-2018, 01:23 PM   #5
SonicAxiom
Human being with feelings
 
SonicAxiom's Avatar
 
Join Date: Dec 2012
Location: Germany
Posts: 3,012
Default

yes, please!

.
__________________
Check out AVConvert (free, super-fast media file manipulation via the right-click context-menu in Windows Explorer) and my free VST plugins.
My Reaper tutorials and studio related videos on youtube.
SonicAxiom is offline   Reply With Quote
Old 08-14-2018, 01:30 PM   #6
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,054
Default

Yep, would be very useful!
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom
_Stevie_ is offline   Reply With Quote
Old 08-14-2018, 01:55 PM   #7
vitalker
Human being with feelings
 
vitalker's Avatar
 
Join Date: Dec 2012
Posts: 13,333
Default

+1 to this FR. Go go power Justin!

vitalker is offline   Reply With Quote
Old 08-21-2018, 08:05 PM   #8
XCOTT
Human being with feelings
 
Join Date: Aug 2018
Posts: 4
Default

Yeah, me too. Some more also, again.
XCOTT is offline   Reply With Quote
Old 08-21-2018, 08:09 PM   #9
bcslaam
Human being with feelings
 
Join Date: Apr 2013
Location: Perth, Australia
Posts: 169
Default

+1
we really need this!
bcslaam is offline   Reply With Quote
Old 04-18-2019, 01:50 AM   #10
jackmilas
Human being with feelings
 
jackmilas's Avatar
 
Join Date: Jul 2016
Location: Wroclaw
Posts: 141
Default

+1
it would have been so useful
__________________
Jacek Miłaszewski - mix engineer
my website through which I offer kick ass mixes: 5dbride.com
YouTube channel: https://www.youtube.com/channel/UCIL...8Vbr5ECzZjn_FQ
jackmilas is offline   Reply With Quote
Old 04-18-2019, 04:07 AM   #11
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,874
Default

As you can write command line from a script, this could be solved by dedicated scripts which would handle basic function (get selected items, set it offline, send a command line with it source file path, and an audio path thanks to a user file input, then bring back online, rebuild peaks and done).


The most complex part is to figure what the command line argument will be, cause it depends on what tools you use (ffmpeg, mp4box etc) and the parameter you need.
X-Raym is offline   Reply With Quote
Old 04-18-2019, 05:19 AM   #12
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

With FFMPEG installed, this should probably the way to go.

Is there a way to programmatically access FFMPEG? Maybe from an extension-plugin?
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 04-18-2019, 05:27 AM   #13
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,054
Default

You can access the command line version of ffmpeg via reaper.ExecProcess()
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom
_Stevie_ is offline   Reply With Quote
Old 04-18-2019, 07:11 AM   #14
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,874
Default

Quote:
programmatically access FFMPEG? Maybe from an extension-plugin?
No need for plugin.


If it is in REAPER user resource folder or in PATH variable environement, you will be able to have same path for Win or Mac and different users.



Read this thread for reaper.ExecProcess, not the same parameter for Mac and Windows:


https://forum.cockos.com/showthread.php?t=195864
X-Raym is offline   Reply With Quote
Old 04-18-2019, 01:49 PM   #15
XCOTT
Human being with feelings
 
Join Date: Aug 2018
Posts: 4
Default

Any movement on this? I haven't seen anything that sounds like it. This problem is not going to go away for me. Just kinda lost on why the audio program insists on altering the video stream. It would be nice just to know if it's in the pipeline.
XCOTT is offline   Reply With Quote
Old 07-06-2019, 12:20 AM   #16
fudduf
Human being with feelings
 
Join Date: Feb 2008
Posts: 13
Default

Adding my vote for this, would be a very welcome feature.
fudduf is offline   Reply With Quote
Old 07-06-2019, 04:30 PM   #17
akademie
Human being with feelings
 
Join Date: Mar 2007
Posts: 3,978
Default

+1
much needed...
akademie is offline   Reply With Quote
Old 01-03-2024, 07:09 AM   #18
Gass n Klang
Human being with feelings
 
Gass n Klang's Avatar
 
Join Date: Nov 2015
Location: Cologne
Posts: 1,636
Default

push
__________________
https://juliusgass.de
Gass n Klang is offline   Reply With Quote
Old 01-08-2024, 03:07 AM   #19
jeeruff
Human being with feelings
 
Join Date: Feb 2011
Location: berlin
Posts: 20
Default

+1
jeeruff is offline   Reply With Quote
Old 01-08-2024, 03:40 AM   #20
mozart999uk
Human being with feelings
 
Join Date: Nov 2010
Posts: 1,721
Default

+1
mozart999uk is offline   Reply With Quote
Old 01-08-2024, 08:57 PM   #21
SonicAxiom
Human being with feelings
 
SonicAxiom's Avatar
 
Join Date: Dec 2012
Location: Germany
Posts: 3,012
Default

+1 once again.

Meanwhile, if you are on Windows, only render the audio from Reaper and then losslessly mux it with your original video file outside of Reaper using AVConvert. Muxing process takes appr. 6 seconds for a 4 GB video file on an SSD drive.

If you wanna allow the viewer of the final video to compare old and new audio, click on the "add audio" option instead of choosing "replace audio". The new audio will then get added as an additional audio stream to the existing stream(s).



.
__________________
Check out AVConvert (free, super-fast media file manipulation via the right-click context-menu in Windows Explorer) and my free VST plugins.
My Reaper tutorials and studio related videos on youtube.
SonicAxiom 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:03 AM.


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