VideoHelp Forum
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. Member
    Join Date
    Sep 2016
    Location
    Accra - Ghana
    Search Comp PM
    Can someone guide me how to get (automatically using some form of script - Applescript or Shell script for example) the languages used in an MP4 movie file (either for audio or for subtitles)?

    I've been doing it OK using Applescript and Quicktime Player Pro 7 BUT some of my movie files can't be opened with it (issue with invalid public movie atom).

    So I've been trying using SublerCLI (and the -listtracks parameter) but I can only get to list the tracks in a file without any language information, e.g.

    Track: 1, Video Track, 2:10:20.895, 1248 kbit/s, H.264, 1280 x 536
    Track: 2, Sound Track, 2:10:20.928, 56 kbit/s, AAC, 2 ch
    Track: 3, Subtitle Track, 2:10:13.306, 0 kbit/s, Tx3g, 1280 x 80

    Is there a way (using SublerCLI or something else but not Quicktime Player) to list the tracks with their language?

    Thanks!
    Serge.
    Quote Quote  
  2. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    You could use mediainfo, ffmpeg (avprobe from lib-tools) or mp4box.
    Each tool has its own format of listing tracks, which will differ from what you were used to with your current tool(s).
    Quote Quote  
  3. Member
    Join Date
    Sep 2016
    Location
    Accra - Ghana
    Search Comp PM
    I just took a look at the first one (mediainfo) and it looks... brilliant!

    Format of listing tracks differing from what I've been using before doesn't matter a bit.

    I think this makes my day. Thanks a lot!
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!