Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
![]() |
#1 | Link |
Registered User
Join Date: Sep 2023
Posts: 28
|
Copy & convert audio tracks to FLAC with ffmpeg BUT keeping original audio tracks ?
Hi
Is it possible to encode a movie with ffmpeg but to keep the audio tracks that are in DTS-HD and/or Dolby truHD intact BUT at the same time, to create a copy of these tracks, that are converted into FLAC all that happening while I'm doing my encode, not post-encode with MKVtoolnix? Let's say my remux has: Audio Track 1: Japanese DTS-HD 2.0 Audio Track 2: English DTS-HD 5.1 when doing my encode i'd like the encoded video to have Audio Track 1: Japanese DTS-HD 2.0 Audio Track 2: English DTS-HD 5.1 Audio Track 3: Japanese FLAC 2.0 Audio Track 4: English FLAC 5.1 Thank you Last edited by N'Cha; 21st September 2023 at 16:46. |
![]() |
![]() |
![]() |
#2 | Link | |
Registered User
Join Date: Sep 2005
Location: Moscow, Russia
Posts: 65
|
Quote:
ffmpeg -i Input.mkv -map 0:v -c:v libx264 -crf 22 etc. -map 0:a -c:a copy -map 0:a:0 -c:a:2 flac -map 0:a:1 -c:a:3 flac Output.mkv |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|