https://bugs.kde.org/show_bug.cgi?id=491108
--- Comment #13 from Uwe Dippel <udip...@gmail.com> ---
(In reply to Jean-Baptiste Mardelle from comment #11)
> So I just pushed the change to do the following:
> - do not export muted tracks
> - no audio in the video render if separate audio tracks is enabled.
> 
> I think it fixes the original issue reported here.
> Regarding exporting separate video tracks, this seems a rather uncommon
> scenario but is more a feature request than a bug.

Yes, looking forward to get it propagated into my distribution, ppa, or
whatnot.

For the meantime, I'd like to include the ffmpeg command to do all in a single
go: remove the re-mixed track, and add (e.g.) the two audio tracks. Here it is:
$ ffmpeg -i Rendered.mp4  -i Rendered_Audio_1.mp4 -i Rendered_Audio_2.mp4 -map
0 -map -0:a -map 1:a -map 2:a [-metadata:s:a:0 language=fra -metadata:s:a:1
language=eng] -c:v copy -shortest Output.mp4

-map 0 maps all tracks
-map -0:a removes all audio from first file
-map 1:a adds the audio from ...Audio_1.mp4
-map 2:a adds the audio from ...Audio_2.mp4
[everything in brackets] is optional, and would include language indications,
e.g. for VLC to select the respective audio language
-c:v copy copies the video without encoding
-shortest adjusts eventually slight length differences, taking the minimal
length for the output file

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to