VideoHelp Forum
+ Reply to Thread
Results 1 to 8 of 8
Thread
  1. Member logicom's Avatar
    Join Date
    Oct 2008
    Location
    Serbia
    Search Comp PM
    Hi,

    is there a way to force default audio track , for example audio streams have been tagged,
    and English is always getting precedence, while my goal is to force stream one which is tagged as"mul" - multilanguage
    to be the first one open, irregardless of the player that is being used for playout.

    I need to modify default track flag, and force track flag from ffmpeg.

    FYI video is h.264, audio is mp3 and container is mp4.

    Regards.
    Dragan
    Last edited by logicom; 16th Nov 2014 at 06:29.
    Quote Quote  
  2. The mp4 container does not have a 'default' or 'forced' flag for tracks.
    -> it always depends on the player which track will be player by default
    (most players simply use the first audio&video track as defaults)

    Cu Selur
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  3. Member
    Join Date
    Sep 2012
    Location
    Australia
    Search Comp PM
    MP4Box can disable tracks and group them, actually if my first failed attempts at making MP4s for my iPhone are any indication MP4 track selection allows for audio over audio overlays. Seeing that very, very few players are even capable of playing multiple audio streams at once I should think most of them just ignore any track selection placed in MP4s, full MP4 support would be too much of a PITA to implement.
    Quote Quote  
  4. Member logicom's Avatar
    Join Date
    Oct 2008
    Location
    Serbia
    Search Comp PM
    Originally Posted by Selur View Post
    The mp4 container does not have a 'default' or 'forced' flag for tracks.
    -> it always depends on the player which track will be player by default
    (most players simply use the first audio&video track as defaults)

    Cu Selur
    If that would be the case I would already be happy. Namely multiple players like (WMP POT MPHC) starts with eng while first track is explicitly different. English is in this case stream 2.


    Regards.
    Quote Quote  
  5. Member
    Join Date
    Sep 2012
    Location
    Australia
    Search Comp PM
    I have no idea about FFMPEG but these are the commands you need for track selection in MP4Box:

    mp4box -info "Z:\Movie.mp4"
    mp4box "Z:\Movie.mp4" -enable 3
    mp4box "Z:\Movie.mp4" -disable 2

    I've tried it in VLC and iTunes and it chose the enabled track each time.
    Quote Quote  
  6. Originally Posted by ndjamena View Post
    MP4Box can disable tracks and group them, actually if my first failed attempts at making MP4s for my iPhone are any indication MP4 track selection allows for audio over audio overlays. Seeing that very, very few players are even capable of playing multiple audio streams at once I should think most of them just ignore any track selection placed in MP4s, full MP4 support would be too much of a PITA to implement.
    In this scenario with multiple audio tracks, Apple specs state you must mux the AAC audio track first

    There is a tool mp4v2 for more Apple friendly muxes here
    http://forum.doom9.org/showthread.php?t=171038
    Quote Quote  
  7. Member
    Join Date
    Sep 2012
    Location
    Australia
    Search Comp PM
    "were", I should have said "were". My iPhone is full of the bloody things now, chapters, subtitles, commentaries and everything. Once the initial excitement wore off that I'd transferred my DVDs to my iPhone I never watched them again.
    Last edited by ndjamena; 16th Nov 2014 at 10:37.
    Quote Quote  
  8. Member logicom's Avatar
    Join Date
    Oct 2008
    Location
    Serbia
    Search Comp PM
    Thank you guys!
    Quote Quote  
Visit our sponsor! Try DVDFab and backup Blu-rays!