Post subject: Muxing from TAS Encoder Package
joel96
He/Him
Joined: 12/27/2009
Posts: 9
In continuation of this thread: http://tasvideos.org/forum/viewtopic.php?t=10870&start=80 This topic regards transcoding and merging files using the TAS Hybrid Encoder Script. http://tasvideos.org/forum/viewtopic.php?p=329581#329581
If you want to replace the audio, you can do so with MKVmerge/MKVmergeGUI after encoding. If you want to mix the audio, you can do so with Avisynth, or extract the audio after you have the final timeline (e.g. via VirtualDub) and edit it in an audio editor
My goal is to merge an audio track with the game audio of a video dump. Since the audio is already extracted by the Hybrid Encoder, the method that would enable the most flexibility would be a variation on creaothceann's first and second instructions: mixing the audio in a video NLE for reference to specific on-screen events, and then exporting the audio only to the same format that the end Preset 4 Hybrid Encoder video uses: sample rate-49716, bit rate-499kbps, stereo, and .ogg; this file would then replace the original audio using MKVmerge. Barring that possibility due to lack of lossless .ogg exporting support by NLEs, an audio-only NLE, meaning Audacity, would be the mixing tool for the original Encoder-transcoded audio dump and the second audio track. However, it's possible this will result in lossy or desynced audio, so it may be faster when dealing with long recordings and may keep the recording lossless by simply merging the two audio tracks using transcoding tools. I tried it and it worked, and it appears to be the easiest method. After a video is run through the Hybrid Encoder, a .ogg file is created in the "temp" folder that contains the audio from the video dump. The rate is 49716. I recorded test audio with Audacity and saved it at the same rate as an .ogg. I downloaded the most recent version of AVISynth and MeGUI. When I try to run a script merging the two files from within the MeGUI environment (or from within VirtualDubMod), it says it cannot open the sample .ogg file. AVISynth's wiki says that it requires a third party library and plugin set to mix .ogg audio files. I downloaded BASS, but can't figure out where to place the libraries for use by AVISynth. feos
IRC is a good place to ask too.
Aktan
Also to speed things up, it be preferred you get on IRC to get help from us.
There was no one online at midnight on Saturday. Posting of the most frequent periods of online user status from the experts in this topic might help when trying to get live help.
joel96
He/Him
Joined: 12/27/2009
Posts: 9
I'd also like to figure out how to set up ffmpeg (and possibly VLC) to stream in YUV 4:4:4 at 1920x1080 at 60fps, but I'd need to know what the required bandwidth for that would be, and how to set it up. I might need to use OBS, and the probable outlet would be own3d.
Post subject: Re: Muxing from TAS Encoder Package
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
Just saw this:
joel96 wrote:
After a video is run through the Hybrid Encoder, a .ogg file is created in the "temp" folder that contains the audio from the video dump. The rate is 49716. I recorded test audio with Audacity and saved it at the same rate as an .ogg. I downloaded the most recent version of AVISynth and MeGUI. When I try to run a script merging the two files from within the MeGUI environment (or from within VirtualDubMod), it says it cannot open the sample .ogg file. AVISynth's wiki says that it requires a third party library and plugin set to mix .ogg audio files. I downloaded BASS, but can't figure out where to place the libraries for use by AVISynth.
Just convert it to WAV.