I have movies that have Dual Audio, lets say 1 audio track Spanish and another 1 in English, but when i convert the movie with FFmpeg, it only keep 1 track audio.
How i can keep both of them?
Thx!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, you need to use the -map parameter.
If you use -map 0 at the beginning then all streams are included.
You can also use the Stream miltiplex tab for individual files.
👍
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Since your source file contains subtitles, you have to choices
- Add at the end of your paramenters "-c:s copy"
- Remove them by adding at the end "-sn"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have movies that have Dual Audio, lets say 1 audio track Spanish and another 1 in English, but when i convert the movie with FFmpeg, it only keep 1 track audio.
How i can keep both of them?
Thx!
Hi, you need to use the -map parameter.
If you use -map 0 at the beginning then all streams are included.
You can also use the Stream miltiplex tab for individual files.
Great!
Thx u.
I get this error when i add -map 0: https://streamable.com/rw15r
Since your source file contains subtitles, you have to choices
- Add at the end of your paramenters "-c:s copy"
- Remove them by adding at the end "-sn"
Ok, this parameters should works fine?:
-map 0 -c:v hevc_nvenc -preset hp -profile:v main10 -global_quality 21 -pix_fmt yuv420p10le -look_ahead 1 -r 24000/1001 -c:a copy -c:s copy
With that, i should be able to keep the 2 Audio Tracks and the Subtitles?
PD: I tried with that parameters and nothing got converted: https://streamable.com/30kwf
Last edit: Emilio 2019-09-29
That should work fine.
With your last upgrade of the program it works great!
Now i have a question, it's possible to encode at 12 Bits with H265 with FFmpeg?
I tried -pix_fmt yuv420p12le but when i check the converted video with Mediainfo still saying 10 Bits.
Last edit: Emilio 2019-10-06
Hi, current ffmpeg compilations only support 8 or 10 bits h265 encoding, that's why if falls back to 10 bits.
You would need to compile ffmpeg on you own to enable that, which is a task in itfself.
Last edit: Abel 2019-10-06