Previous topicNext topic

FLAC in FLAC out

Suggestions for new features for Magic.
Post Reply
TEHK
Posts: 56
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: 3441
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.
Post Reply