Previous topicNext topic

FLAC in FLAC out

Suggestions for new features for Magic.
Post Reply
TEHK
Posts: 57
Joined: Mon Mar 12, 2018 9:04 pm

FLAC in FLAC out

Post by TEHK »

I'd love to be able to use the raw audio I input directly in the Magic output video.

For example, I use a FLAC file as the input audio, place that FLAC directly inside of the mp4 container Magic renders.

At the moment, post-processing involves swapping out the AAC audio for the original FLAC like this :

Code: Select all

ffmpeg \
  -i magic-out-video.mp4 \
  -i original-audio.flac \
  -c:v copy -map 0:v:0 \
  -c:a copy -map 1:a:0 \
  magic-out-video-with-original-audio.mp4
A 1:1 flac in to flac out of the audio will also improve render times since the audio does not need to be re-encoded.
Magic
Site Admin
Posts: 3451
Joined: Wed Apr 09, 2014 9:28 pm

Re: FLAC in FLAC out

Post by Magic »

The audio would need to be re-encoded if more than one audio track were used.

Magic's mp4 export is intended to have maximum compatibility, thus the options are limited.

If you use the ProRes format instead of mp4, the audio is uncompressed and therefore the highest quality possible.
CrazyDave303
Posts: 7
Joined: Sun Sep 29, 2024 11:07 am

Re: FLAC in FLAC out

Post by CrazyDave303 »

@TEHK, I might recommend using an app like Avidemux, or VirtualDub2 to just swap out the Audio stream in the recording. Both programs have amazing capabilities for post-processing, re-encoding and file re-MUX. Avidmux is the easiest to use over all, VirtualDub2's video flitter library is unsurpassed.

Now the topic of using these software for mastering you final publish products is an other story.
....can we has lossless video compression? lol
Post Reply