Menu

How keep more than 1 audio on movies?

Emilio
2019-09-20
2019-10-06
  • Emilio

    Emilio - 2019-09-20

    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!

     
  • Abel

    Abel - 2019-09-24

    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
    • Emilio

      Emilio - 2019-09-24

      Great!

      Thx u.

       
    • Emilio

      Emilio - 2019-09-29

      I get this error when i add -map 0: https://streamable.com/rw15r

       
  • Abel

    Abel - 2019-09-29

    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"

     
    • Emilio

      Emilio - 2019-09-29

      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
  • Abel

    Abel - 2019-09-29

    That should work fine.

     
    • Emilio

      Emilio - 2019-10-06

      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
  • Abel

    Abel - 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.

     
    👍
    1

    Last edit: Abel 2019-10-06

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.