[In Progress] MP4/M4V Audio Track Title Tags

Archive of historical feature requests.
Please use the GitHub link above to report issues.
Forum rules
*******************************
Please be aware we are now using GitHub for issue tracking and feature requests.
- This section of the forum is now closed to new topics.

*******************************
moneymatt4life
Veteran User
Posts: 436
Joined: Fri Mar 09, 2012 5:26 am

Re: [Implemented] MP4/M4V Audio Track Title Tags

Post by moneymatt4life » Wed Oct 01, 2014 2:03 pm

... must be your file or something because i quickly tested Mulan (since that was the only backup i could think of that had multiple spoken languages available, i don't have too many that do) using svn6422 and both VLC and MPC-HC displayed my specified track names... so yeah, a dev would need to see a mediainfo report/log for your file
Image

although i thought about retesting it with something that had commas, since you stated before there was trouble with that... 汉语, 漢語, 中文 (normally i would just put 中文 for chinese audio, since i usually see "zho" as the identifier)
Image

so the comma thing still needs some work it seems? not that i ever use it... i hardly ever use track titles at all really...

Code: Select all

HandBrake svn6422 (Nightly Build) - 64bit Version
OS: Microsoft Windows NT 6.1.7601 Service Pack 1 - 64bit
CPU: Intel(R) Core(TM) i3-2330M CPU @ 2.20GHz
Ram: 4000 MB, 
GPU Information:
  Intel(R) HD Graphics 3000 - 9.17.10.3517
Screen: 1366x768
Temp Dir: C:\Users\Mathew\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\Mathew\AppData\Roaming\HandBrake\HandBrake\0.0.0.6422

-------------------------------------------
CLI Query:  -i "H:\Videos\Misc. DVD's\Mulan\MULAN.ISO" -t 1 --angle 1 -c 1-5 -o "D:\Videos\Handbrake\Mulan-test.m4v"  -f mp4  --crop 0:0:20:20 --strict-anamorphic  --modulus 2 -e x264 -q 18 --vfr -a 1,2,3,4 -E fdk_aac,fdk_aac,fdk_aac,fdk_aac -6 dpl2,dpl2,dpl2,dpl2 -R Auto,Auto,Auto,Auto -B 192,192,192,192 -D 0,0,0,0 --gain 0,0,0,0 --aname=\"English\",\"Français\",\"Español\",\"汉语, 漢語, 中文\" --audio-fallback ac3 --subtitle 2 --markers="C:\Users\Mathew\AppData\Local\Temp\Mulan-test-1-chapters.csv" --encoder-tune="animation"  -x threads=3 --encoder-level="3.0"  --encoder-profile=high  --verbose=2

[08:16:34] hb_init: starting libhb thread
[08:16:34] thread 3afd20 started ("libhb")
HandBrake svn6422 (2014092701) - MinGW x86_64 - http://handbrake.fr
4 CPUs detected
Opening H:\Videos\Misc. DVD's\Mulan\MULAN.ISO...
[08:16:34] CPU: Intel(R) Core(TM) i3-2330M CPU @ 2.20GHz
[08:16:34]  - Intel microarchitecture Sandy Bridge
[08:16:34]  - logical processor count: 4
[08:16:34] Intel Quick Sync Video support: yes
[08:16:34]  - Intel Media SDK hardware: API 1.4 (minimum: 1.3)
[08:16:34]  - H.264 encoder: yes
[08:16:34]     - preferred implementation: hardware (any)
[08:16:34]     - capabilities (hardware):  none (standard feature set)
[08:16:34]  - H.265 encoder: no
[08:16:34] hb_scan: path=H:\Videos\Misc. DVD's\Mulan\MULAN.ISO, title_index=1
[08:16:34] thread 6e93640 started ("scan")
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening H:\Videos\Misc. DVD's\Mulan\MULAN.ISO/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening H:\Videos\Misc. DVD's\Mulan\MULAN.ISO/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(H:\Videos\Misc. DVD's\Mulan\MULAN.ISO) failed
[08:16:34] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
[08:16:34] scan: DVD has 55 title(s)
[08:16:34] scan: scanning title 1
[08:16:34] scan: opening IFO for VTS 1
[08:16:34] scan: duration is 01:27:47 (5267500 ms)
[08:16:34] pgc_id: 1, pgn: 1: pgc: 0000000006EA0080
[08:16:34] scan: vts=1, ttn=1, cells=0->31, blocks=187->2214911, 2214725 blocks
[08:16:34] scan: checking audio 1
[08:16:34] scan: id=0x80bd, lang=English (AC3), 3cc=eng ext=0
[08:16:34] scan: checking audio 2
[08:16:34] scan: id=0x81bd, lang=Francais (AC3), 3cc=fra ext=0
[08:16:34] scan: checking audio 3
[08:16:34] scan: id=0x82bd, lang=Espanol (AC3), 3cc=spa ext=0
[08:16:34] scan: checking audio 4
[08:16:34] scan: id=0x83bd, lang=Chinese (AC3), 3cc=zho ext=0
[08:16:34] scan: checking audio 5
[08:16:34] scan: id=0x84bd, lang=English (AC3), 3cc=eng ext=3
[08:16:34] scan: checking subtitle 1
[08:16:34] scan: id=0x20bd, lang=English (Closed Caption), 3cc=eng ext=5
[08:16:34] scan: title 1 has 31 chapters
[08:16:34] scan: chap 1 c=0->0, b=187->25307 (25121), 60000 ms
[08:16:34] scan: chap 2 c=1->1, b=25308->78956 (53649), 127000 ms
[08:16:34] scan: chap 3 c=2->2, b=78957->152967 (74011), 180667 ms
[08:16:34] scan: chap 4 c=3->3, b=152968->233544 (80577), 179166 ms
[08:16:34] scan: chap 5 c=4->4, b=233545->304458 (70914), 168333 ms
[08:16:34] scan: chap 6 c=5->5, b=304459->355341 (50883), 138834 ms
[08:16:34] scan: chap 7 c=6->6, b=355342->431641 (76300), 188834 ms
[08:16:34] scan: chap 8 c=7->7, b=431642->512503 (80862), 181834 ms
[08:16:34] scan: chap 9 c=8->8, b=512504->590320 (77817), 169000 ms
[08:16:34] scan: chap 10 c=9->9, b=590321->641800 (51480), 131834 ms
[08:16:34] scan: chap 11 c=10->10, b=641801->678905 (37105), 90667 ms
[08:16:34] scan: chap 12 c=11->11, b=678906->737849 (58944), 133667 ms
[08:16:34] scan: chap 13 c=12->12, b=737850->834403 (96554), 223500 ms
[08:16:34] scan: chap 14 c=13->13, b=834404->882480 (48077), 114667 ms
[08:16:34] scan: chap 15 c=14->14, b=882481->952739 (70259), 162000 ms
[08:16:34] scan: chap 16 c=15->15, b=952740->1067373 (114634), 275834 ms
[08:16:34] scan: chap 17 c=16->16, b=1067374->1151645 (84272), 222333 ms
[08:16:34] scan: chap 18 c=17->17, b=1151646->1172945 (21300), 55667 ms
[08:16:34] scan: chap 19 c=18->18, b=1172946->1193910 (20965), 48000 ms
[08:16:34] scan: chap 20 c=19->19, b=1193911->1256929 (63019), 134834 ms
[08:16:34] scan: chap 21 c=20->20, b=1256930->1379238 (122309), 289166 ms
[08:16:34] scan: chap 22 c=21->21, b=1379239->1520104 (140866), 310867 ms
[08:16:34] scan: chap 23 c=22->23, b=1520105->1626286 (106182), 270800 ms
[08:16:34] scan: chap 24 c=24->24, b=1626287->1666806 (40520), 101667 ms
[08:16:34] scan: chap 25 c=25->25, b=1666807->1743676 (76870), 164667 ms
[08:16:34] scan: chap 26 c=26->26, b=1743677->1819013 (75337), 174166 ms
[08:16:34] scan: chap 27 c=27->27, b=1819014->1928849 (109836), 242500 ms
[08:16:34] scan: chap 28 c=28->28, b=1928850->2011483 (82634), 188834 ms
[08:16:34] scan: chap 29 c=29->29, b=2011484->2063584 (52101), 124166 ms
[08:16:34] scan: chap 30 c=30->30, b=2063585->2214724 (151140), 413500 ms
[08:16:34] scan: chap 31 c=31->31, b=2214725->2214911 (187), 500 ms
[08:16:34] scan: aspect = 1.77778
[08:16:34] scan: decoding previews for title 1
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[08:16:34] scan: title angle(s) 1
[08:16:34] scan: preview 1
[08:16:34] fifo_close: trashing 0 buffer(s)
[08:16:34] scan: audio 0x80bd: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[ac3 @ 0000000006eb5aa0] frame sync error
[08:16:34] fifo_close: trashing 0 buffer(s)
[08:16:34] scan: audio 0x81bd: ac3, rate=48000Hz, bitrate=384000 Francais (AC3) (5.1 ch)
[ac3 @ 0000000006eb5aa0] frame sync error
[08:16:34] fifo_close: trashing 0 buffer(s)
[08:16:34] scan: audio 0x82bd: ac3, rate=48000Hz, bitrate=384000 Espanol (AC3) (5.1 ch)
[ac3 @ 0000000006eb5aa0] frame sync error
[08:16:34] fifo_close: trashing 0 buffer(s)
[08:16:34] scan: audio 0x83bd: ac3, rate=48000Hz, bitrate=384000 Chinese (AC3) (5.1 ch)
[ac3 @ 0000000006eb5aa0] frame sync error
[08:16:34] fifo_close: trashing 0 buffer(s)
[08:16:34] scan: audio 0x84bd: ac3, rate=48000Hz, bitrate=192000 English (AC3) (Director's Commentary 1) (2.0 ch)
[08:16:34] scan: preview 2
[08:16:34] scan: preview 3
[08:16:34] scan: preview 4
[08:16:34] Broken timestamps detected.  Reordering.
[08:16:34] scan: preview 5
[08:16:34] scan: preview 6
[08:16:34] scan: preview 7
[08:16:34] scan: preview 8
[08:16:34] scan: preview 9
[08:16:34] scan: preview 10
[08:16:34] Pulldown detected, setting fps to 23.976
[08:16:34] scan: 10 previews, 720x480, 23.976 fps, autocrop = 0/0/20/20, aspect 16:9, PAR 32:27
[08:16:34] Freed 1 buffers of size 2048
[08:16:34] Freed 1 buffers of size 4096
[08:16:34] Freed 1 buffers of size 1048576
[08:16:34] Allocated 1054720 bytes of buffers on this pass and Freed 1054720 bytes, 0 bytes leaked
[08:16:34] thread 6e93640 exited ("scan")
[08:16:34] thread 6e93640 joined ("scan")
[08:16:34] libhb: scan thread found 1 valid title(s)
+ title 1:
  + vts 1, ttn 1, cells 0->31 (2214725 blocks)
  + duration: 01:27:47
  + size: 720x480, pixel aspect: 32/27, display aspect: 1.78, 23.976 fps
  + autocrop: 0/0/20/20
  + support opencl: no
  + support hwd: no
  + chapters:
    + 1: cells 0->0, 25121 blocks, duration 00:01:00
    + 2: cells 1->1, 53649 blocks, duration 00:02:07
    + 3: cells 2->2, 74011 blocks, duration 00:03:01
    + 4: cells 3->3, 80577 blocks, duration 00:02:59
    + 5: cells 4->4, 70914 blocks, duration 00:02:48
    + 6: cells 5->5, 50883 blocks, duration 00:02:19
    + 7: cells 6->6, 76300 blocks, duration 00:03:09
    + 8: cells 7->7, 80862 blocks, duration 00:03:02
    + 9: cells 8->8, 77817 blocks, duration 00:02:49
    + 10: cells 9->9, 51480 blocks, duration 00:02:12
    + 11: cells 10->10, 37105 blocks, duration 00:01:31
    + 12: cells 11->11, 58944 blocks, duration 00:02:14
    + 13: cells 12->12, 96554 blocks, duration 00:03:44
    + 14: cells 13->13, 48077 blocks, duration 00:01:55
    + 15: cells 14->14, 70259 blocks, duration 00:02:42
    + 16: cells 15->15, 114634 blocks, duration 00:04:36
    + 17: cells 16->16, 84272 blocks, duration 00:03:42
    + 18: cells 17->17, 21300 blocks, duration 00:00:56
    + 19: cells 18->18, 20965 blocks, duration 00:00:48
    + 20: cells 19->19, 63019 blocks, duration 00:02:15
    + 21: cells 20->20, 122309 blocks, duration 00:04:49
    + 22: cells 21->21, 140866 blocks, duration 00:05:11
    + 23: cells 22->23, 106182 blocks, duration 00:04:31
    + 24: cells 24->24, 40520 blocks, duration 00:01:42
    + 25: cells 25->25, 76870 blocks, duration 00:02:45
    + 26: cells 26->26, 75337 blocks, duration 00:02:54
    + 27: cells 27->27, 109836 blocks, duration 00:04:03
    + 28: cells 28->28, 82634 blocks, duration 00:03:09
    + 29: cells 29->29, 52101 blocks, duration 00:02:04
    + 30: cells 30->30, 151140 blocks, duration 00:06:54
    + 31: cells 31->31, 187 blocks, duration 00:00:01
  + audio tracks:
    + 1, English (AC3) (5.1 ch) (iso639-2: eng), 48000Hz, 448000bps
    + 2, Francais (AC3) (5.1 ch) (iso639-2: fra), 48000Hz, 384000bps
    + 3, Espanol (AC3) (5.1 ch) (iso639-2: spa), 48000Hz, 384000bps
    + 4, Chinese (AC3) (5.1 ch) (iso639-2: zho), 48000Hz, 384000bps
    + 5, English (AC3) (Director's Commentary 1) (2.0 ch) (iso639-2: eng), 48000Hz, 192000bps
  + subtitle tracks:
    + 1, English (Closed Caption) (iso639-2: eng) (Bitmap)(VOBSUB)
    + 2, Closed Captions (iso639-2: eng) (Text)(CC)
Reading chapter markers from file C:\Users\Mathew\AppData\Local\Temp\Mulan-test-1-chapters.csv
[08:16:34] thread 6e93640 started ("work")
[08:16:34] 1 job(s) to process
[08:16:34] starting job
[08:16:34] sync: expecting 17146 video frames
[08:16:34] job configuration:
[08:16:34]  * source
[08:16:34]    + H:\Videos\Misc. DVD's\Mulan\MULAN.ISO
[08:16:34]    + title 1, chapter(s) 1 to 5
[08:16:34]  * destination
[08:16:34]    + D:\Videos\Handbrake\Mulan-test.m4v
[08:16:34]    + container: MPEG-4 (libavformat)
[08:16:34]      + chapter markers
[08:16:34]  * video track
[08:16:34]    + decoder: mpeg2video
[08:16:34]      + bitrate 7400 kbps
[08:16:34]    + filters
[08:16:34]      + Framerate Shaper (0:27000000:1126125)
[08:16:34]        + frame rate: same as source (around 23.976 fps)
[08:16:34]      + Crop and Scale (680:480:0:0:20:20)
[08:16:34]        + source: 720 * 480, crop (0/0/20/20): 680 * 480, scale: 680 * 480
[08:16:34]    + strict anamorphic
[08:16:34]      + storage dimensions: 680 * 480, mod 2
[08:16:34]      + pixel aspect ratio: 32 / 27
[08:16:34]      + display dimensions: 805 * 480
[08:16:34]    + encoder: H.264 (libx264)
[08:16:34]      + tune:    animation
[08:16:34]      + options: threads=3
[08:16:34]      + profile: high
[08:16:34]      + level:   3.0
[08:16:34]      + quality: 18.00 (RF)
[08:16:34]  * subtitle track 1, Closed Captions (track 0, id 0x0) Text [CC] -> Passthrough
[08:16:34]  * audio track 1
[08:16:34]    + name: English
[08:16:34]    + decoder: English (AC3) (5.1 ch) (track 1, id 0x80bd)
[08:16:34]      + bitrate: 448 kbps, samplerate: 48000 Hz
[08:16:34]    + mixdown: Dolby Pro Logic II
[08:16:34]    + dither: triangular
[08:16:34]    + encoder: AAC (libfdk_aac)
[08:16:34]      + bitrate: 192 kbps, samplerate: 48000 Hz
[08:16:34]  * audio track 2
[08:16:34]    + name: Fran‡ais
[08:16:34]    + decoder: Francais (AC3) (5.1 ch) (track 2, id 0x81bd)
[08:16:34]      + bitrate: 384 kbps, samplerate: 48000 Hz
[08:16:34]    + mixdown: Dolby Pro Logic II
[08:16:34]    + dither: triangular
[08:16:34]    + encoder: AAC (libfdk_aac)
[08:16:34]      + bitrate: 192 kbps, samplerate: 48000 Hz
[08:16:34]  * audio track 3
[08:16:34]    + name: Espa¤ol
[08:16:34]    + decoder: Espanol (AC3) (5.1 ch) (track 3, id 0x82bd)
[08:16:34]      + bitrate: 384 kbps, samplerate: 48000 Hz
[08:16:34]    + mixdown: Dolby Pro Logic II
[08:16:34]    + dither: triangular
[08:16:34]    + encoder: AAC (libfdk_aac)
[08:16:34]      + bitrate: 192 kbps, samplerate: 48000 Hz
[08:16:34]  * audio track 4
[08:16:34]    + name: ??,
[08:16:34]    + decoder: Chinese (AC3) (5.1 ch) (track 4, id 0x83bd)
[08:16:34]      + bitrate: 384 kbps, samplerate: 48000 Hz
[08:16:34]    + mixdown: Dolby Pro Logic II
[08:16:34]    + dither: triangular
[08:16:34]    + encoder: AAC (libfdk_aac)
[08:16:34]      + bitrate: 192 kbps, samplerate: 48000 Hz
libdvdnav: Using dvdnav version 5.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
[08:16:34] thread 47e7150 started ("Reader")
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[08:16:34] thread 6e9dc20 started ("Framerate Shaper")
[08:16:34] thread 6e9ddc0 started ("Crop and Scale")
[08:16:34] thread 6e9df60 started ("AudioSynchronization")
[08:16:34] thread 6e9e100 started ("AudioSynchronization")
[08:16:34] thread 6e9e2a0 started ("AudioSynchronization")
[08:16:34] thread 6e9e440 started ("AudioSynchronization")
[08:16:34] thread 6e9e5e0 started ("Video decoder (libavcodec)")
[08:16:34] thread 6e9e780 started ("Closed Caption (608) decoder")
[08:16:34] encx264: min-keyint: 24, keyint: 240
[08:16:34] encx264: encoding at constant RF 18.000000
[08:16:34] encx264: unparsed options: threads=3:level=3.0:ref=6:bframes=5:deblock=1,1:psy-rd=0.40,0.00:vbv-bufsize=12500:vbv-maxrate=12500:aq-strength=0.60
[08:16:34] encx264: opening libx264 (pass 0)
x264 [info]: using SAR=32/27
[08:16:34] reader: first SCR 146 id 0xe0 DTS 22254
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[08:16:34] mpeg2video: "Chapter 1" (1) at frame 0 time 3003
x264 [info]: profile High, level 3.0
[08:16:34] thread 6e9efa0 started ("H.264/AVC encoder (libx264)")
[08:16:34] thread 6e9f140 started ("Audio decoder (libavcodec)")
[08:16:34] thread 6e9f2e0 started ("AVCodec Audio encoder (libavcodec)")
[08:16:34] thread 6e9f480 started ("Audio decoder (libavcodec)")
[08:16:34] thread 6e9f620 started ("AVCodec Audio encoder (libavcodec)")
[08:16:34] thread 6e9f7c0 started ("Audio decoder (libavcodec)")
[08:16:34] thread 6e9f960 started ("AVCodec Audio encoder (libavcodec)")
[08:16:34] thread 864fdd0 started ("Audio decoder (libavcodec)")
[08:16:34] thread 864ff70 started ("AVCodec Audio encoder (libavcodec)")
[08:16:34] thread 8650110 started ("Video Synchronization")
[08:16:34] sync: first pts is 3003
[08:16:34] Writing Metadata to output file...
[08:16:34] thread 86502b0 started ("Muxer")
[08:16:34] thread 8650450 started ("Muxer")
[08:16:34] thread 86505f0 started ("Muxer")
[08:16:34] thread 8650790 started ("Muxer")
[08:16:34] thread 8650930 started ("Muxer")
[08:17:28] mpeg2video: "Chapter 2" (2) at frame 1440 time 5408403
[08:19:24] mpeg2video: "Chapter 3" (3) at frame 4488 time 16849833
[08:21:58] mpeg2video: "Chapter 4" (4) at frame 8824 time 33126093
[08:24:47] mpeg2video: "Chapter 5" (5) at frame 13124 time 49267218
[08:27:18] reader: end of chapter 5 (media 5) reached at media chapter 6
[08:27:18] reader: done. 1 scr changes
[08:27:18] thread 47e7150 exited ("Reader")
[08:27:20] work: average encoding speed for job is 26.639469 fps
[08:27:20] thread 8650790 exited ("Muxer")
[08:27:20] thread 6e9f620 exited ("AVCodec Audio encoder (libavcodec)")
[08:27:20] thread 8650450 exited ("Muxer")
[08:27:20] thread 864ff70 exited ("AVCodec Audio encoder (libavcodec)")
[08:27:20] thread 6e9e5e0 exited ("Video decoder (libavcodec)")
[08:27:20] thread 6e9e780 exited ("Closed Caption (608) decoder")
[08:27:20] thread 6e9efa0 exited ("H.264/AVC encoder (libx264)")
[08:27:20] thread 86502b0 exited ("Muxer")
[08:27:20] thread 6e9f2e0 exited ("AVCodec Audio encoder (libavcodec)")
[08:27:20] thread 6e9dc20 exited ("Framerate Shaper")
[08:27:20] thread 6e9f480 exited ("Audio decoder (libavcodec)")
[08:27:20] thread 6e9f140 exited ("Audio decoder (libavcodec)")
[08:27:20] thread 6e9f7c0 exited ("Audio decoder (libavcodec)")
[08:27:20] thread 6e9e2a0 exited ("AudioSynchronization")
[08:27:20] thread 6e9df60 exited ("AudioSynchronization")
[08:27:20] thread 864fdd0 exited ("Audio decoder (libavcodec)")
[08:27:20] thread 6e9e100 exited ("AudioSynchronization")
[08:27:20] thread 86505f0 exited ("Muxer")
[08:27:20] thread 6e9f960 exited ("AVCodec Audio encoder (libavcodec)")
[08:27:20] thread 6e9e440 exited ("AudioSynchronization")
[08:27:20] thread 6e9ddc0 exited ("Crop and Scale")
[08:27:20] thread 8650110 exited ("Video Synchronization")
[08:27:20] thread 8650930 exited ("Muxer")
[08:27:20] thread 8650110 joined ("Video Synchronization")
[08:27:20] sync: got 17164 frames, 17146 expected
[08:27:20] thread 6e9dc20 joined ("Framerate Shaper")
[08:27:20] render: lost time: 0 (0 frames)
[08:27:20] render: gained time: 0 (0 frames) (0 not accounted for)
[08:27:20] fifo_close: trashing 0 buffer(s)
[08:27:20] thread 6e9ddc0 joined ("Crop and Scale")
[08:27:20] thread 6e9df60 joined ("AudioSynchronization")
[08:27:20] thread 6e9e100 joined ("AudioSynchronization")
[08:27:20] thread 6e9e2a0 joined ("AudioSynchronization")
[08:27:20] thread 6e9e440 joined ("AudioSynchronization")
[08:27:20] thread 6e9e5e0 joined ("Video decoder (libavcodec)")
[08:27:20] mpeg2video-decoder done: 17164 frames, 0 decoder errors, 0 drops
[08:27:20] thread 6e9e780 joined ("Closed Caption (608) decoder")
[08:27:20] thread 6e9efa0 joined ("H.264/AVC encoder (libx264)")
x264 [info]: frame I:222   Avg QP:15.39  size: 33212
x264 [info]: frame P:6675  Avg QP:18.88  size:  8662
x264 [info]: frame B:10267 Avg QP:21.95  size:  1782
x264 [info]: consecutive B-frames: 11.9% 23.7% 18.9% 22.2% 19.6%  3.6%
x264 [info]: mb I  I16..4: 20.1% 51.8% 28.1%
x264 [info]: mb P  I16..4:  1.8%  3.3%  2.8%  P16..4: 32.2% 13.1%  8.8%  0.0%  0.0%    skip:38.1%
x264 [info]: mb B  I16..4:  0.1%  0.1%  0.3%  B16..8: 22.0%  3.9%  1.4%  direct: 0.9%  skip:71.3%  L0:43.2% L1:50.8% BI: 5.9%
x264 [info]: 8x8 transform intra:43.3% inter:59.6%
x264 [info]: coded y,uvDC,uvAC intra: 57.6% 73.4% 55.7% inter: 10.6% 14.6% 4.1%
x264 [info]: i16 v,h,dc,p: 44% 25% 16% 15%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 18% 35%  4%  4%  5%  5%  4%  5%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 15% 21%  6%  7%  8%  6%  7%  4%
x264 [info]: i8c dc,h,v,p: 48% 21% 25%  7%
x264 [info]: Weighted P-Frames: Y:3.5% UV:3.0%
x264 [info]: ref P L0: 57.1%  6.6% 16.9%  6.9%  5.5%  5.2%  1.7%  0.0%
x264 [info]: ref B L0: 82.1%  9.8%  5.4%  1.9%  0.8%
x264 [info]: ref B L1: 94.6%  5.4%
x264 [info]: kb/s:932.96
[08:27:20] thread 6e9f140 joined ("Audio decoder (libavcodec)")
[08:27:20] ac3-decoder done: 0 frames, 0 decoder errors, 0 drops
[08:27:20] thread 6e9f2e0 joined ("AVCodec Audio encoder (libavcodec)")
[08:27:20] encavcodeca: closing libavcodec
[08:27:20] thread 6e9f480 joined ("Audio decoder (libavcodec)")
[08:27:20] ac3-decoder done: 0 frames, 0 decoder errors, 0 drops
[08:27:20] thread 6e9f620 joined ("AVCodec Audio encoder (libavcodec)")
[08:27:20] encavcodeca: closing libavcodec
[08:27:20] thread 6e9f7c0 joined ("Audio decoder (libavcodec)")
[08:27:20] ac3-decoder done: 0 frames, 0 decoder errors, 0 drops
[08:27:20] thread 6e9f960 joined ("AVCodec Audio encoder (libavcodec)")
[08:27:20] encavcodeca: closing libavcodec
[08:27:20] thread 864fdd0 joined ("Audio decoder (libavcodec)")
[08:27:20] ac3-decoder done: 0 frames, 0 decoder errors, 0 drops
[08:27:20] thread 864ff70 joined ("AVCodec Audio encoder (libavcodec)")
[08:27:20] encavcodeca: closing libavcodec
[08:27:20] thread 86502b0 joined ("Muxer")
[08:27:20] thread 8650450 joined ("Muxer")
[08:27:20] thread 86505f0 joined ("Muxer")
[08:27:20] thread 8650790 joined ("Muxer")
[08:27:20] thread 8650930 joined ("Muxer")
[08:27:20] mux: file size, 153671353 bytes
[08:27:20] mux: track 0, 17164 frames, 83478543 bytes, 932.88 kbps, fifo 2048
[08:27:20] mux: track 1, 33547 frames, 17176319 bytes, 191.95 kbps, fifo 4096
[08:27:20] mux: track 2, 33547 frames, 17176298 bytes, 191.95 kbps, fifo 4096
[08:27:20] mux: track 3, 33547 frames, 17176306 bytes, 191.95 kbps, fifo 4096
[08:27:20] mux: track 4, 33547 frames, 17176088 bytes, 191.94 kbps, fifo 4096
[08:27:20] mux: track 5, 174 frames, 12634 bytes, 0.14 kbps, fifo 32
[08:27:20] mux: overhead, 9.74 bytes per frame
[08:27:20] thread 47e7150 joined ("Reader")
[08:27:20] fifo_close: trashing 0 buffer(s)
[08:27:20] fifo_close: trashing 0 buffer(s)
[08:27:20] fifo_close: trashing 0 buffer(s)
[08:27:20] fifo_close: trashing 0 buffer(s)
[08:27:20] fifo_close: trashing 0 buffer(s)
[08:27:20] fifo_close: trashing 0 buffer(s)
[08:27:20] fifo_close: trashing 0 buffer(s)
[08:27:20] fifo_close: trashing 0 buffer(s)
[08:27:20] fifo_close: trashing 0 buffer(s)
[08:27:20] fifo_close: trashing 0 buffer(s)
[08:27:20] fifo_close: trashing 0 buffer(s)
[08:27:20] fifo_close: trashing 0 buffer(s)
[08:27:20] fifo_close: trashing 0 buffer(s)
[08:27:20] fifo_close: trashing 0 buffer(s)
[08:27:20] fifo_close: trashing 0 buffer(s)
[08:27:20] fifo_close: trashing 0 buffer(s)
[08:27:20] fifo_close: trashing 0 buffer(s)
[08:27:20] fifo_close: trashing 0 buffer(s)
[08:27:20] fifo_close: trashing 0 buffer(s)
[08:27:20] fifo_close: trashing 0 buffer(s)
[08:27:20] fifo_close: trashing 0 buffer(s)
[08:27:20] fifo_close: trashing 0 buffer(s)
[08:27:20] fifo_close: trashing 0 buffer(s)
[08:27:20] fifo_close: trashing 0 buffer(s)
[08:27:20] fifo_close: trashing 0 buffer(s)
[08:27:20] fifo_close: trashing 0 buffer(s)
[08:27:20] Freed 320 buffers of size 1024
[08:27:20] Freed 32 buffers of size 2048
[08:27:20] Freed 32 buffers of size 4096
[08:27:20] Freed 32 buffers of size 8192
[08:27:20] Freed 32 buffers of size 16384
[08:27:20] Freed 32 buffers of size 32768
[08:27:20] Freed 13 buffers of size 65536
[08:27:20] Freed 3 buffers of size 131072
[08:27:20] Freed 32 buffers of size 1048576
[08:27:20] Allocated 37159936 bytes of buffers on this pass and Freed 37158912 bytes, 1024 bytes leaked
[08:27:20] thread 6e93640 exited ("work")
[08:27:21] thread 6e93640 joined ("work")
[08:27:21] libhb: work result = 0
Encode done!
[08:27:21] thread 3afd20 exited ("libhb")
[08:27:21] thread 3afd20 joined ("libhb")
HandBrake has exited.
actually, it seems it's the space after the comma that is the issue for my example... as i tried 汉语,漢語,中文 and it showed up correctly... didn't feel like uploading another screenshot but the confirmation in the log snippet below

Code: Select all

- - - - - - - - - - - -
CLI Query:  -i "H:\Videos\Misc. DVD's\Mulan\MULAN.ISO" -t 1 --angle 1 -c 1-5 -o "D:\Videos\Handbrake\Mulan-test.m4v"  -f mp4  --crop 0:0:20:20 --strict-anamorphic  --modulus 2 -e x264 -q 18 --vfr -a 1,2,3,4 -E fdk_aac,fdk_aac,fdk_aac,fdk_aac -6 dpl2,dpl2,dpl2,dpl2 -R Auto,Auto,Auto,Auto -B 192,192,192,192 -D 0,0,0,0 --gain 0,0,0,0 --aname=\"English\",\"Français\",\"Español\",\"汉语,漢語,中文\" --audio-fallback ac3 --subtitle 2 --markers="C:\Users\Mathew\AppData\Local\Temp\Mulan-test-1-chapters.csv" --encoder-tune="animation"  -x threads=3 --encoder-level="3.0"  --encoder-profile=high  --verbose=2
- - - - - - - - - - - -
[08:43:14]  * audio track 4
[08:43:14]    + name: ??,??,??
[08:43:14]    + decoder: Chinese (AC3) (5.1 ch) (track 4, id 0x83bd)
[08:43:14]      + bitrate: 384 kbps, samplerate: 48000 Hz
[08:43:14]    + mixdown: Dolby Pro Logic II
[08:43:14]    + dither: triangular
[08:43:14]    + encoder: AAC (libfdk_aac)
[08:43:14]      + bitrate: 192 kbps, samplerate: 48000 Hz
- - - - - - - - - - - -

WARRZONE
Posts: 21
Joined: Wed Jul 23, 2014 1:54 am

Re: [In Progress] MP4/M4V Audio Track Title Tags

Post by WARRZONE » Thu Oct 09, 2014 7:45 am

Under "Audio" when you press "Show" and type in the Track Name for an audio track, that is what I am trying to get fixed so that it will display correctly in media players. It's interesting that if you have different languages, it may work. Well so far, I believe we have established that Handbrake now writes identical hdlr and udta atoms, which is good since different applications use different atoms. MediaInfo uses the hdlr atom for its Title tag.

Here is the MKV MediaInfo text file for Episode I that was the source for conversion:

Code: Select all

General
Unique ID                                : 367897789876980750985879498508759749789 (0xA57DE5713BF55A212E62E954B9C607D2)
Complete name                            : H:\Movies\Star Wars - Episode I - The Phantom Menace (1999).mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 34.0 GiB
Duration                                 : 2h 16mn
Overall bit rate mode                    : Variable
Overall bit rate                         : 35.7 Mbps
Movie name                               : Star Wars: Episode I - The Phantom Menace
Encoded date                             : UTC 2014-06-28 22:48:02
Writing application                      : MakeMKV v1.8.11 win(x64-release)
Writing library                          : libmakemkv v1.8.11 (1.3.0/1.4.1) win(x64-release)
Attachment                               : Yes

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Format settings, GOP                     : M=1, N=12
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 2h 16mn
Bit rate mode                            : Variable
Maximum bit rate                         : 35.6 Mbps
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Language                                 : English
Default                                  : No
Forced                                   : No

Audio #1
ID                                       : 2
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Format profile                           : MA / Core
Mode                                     : 16
Format settings, Endianness              : Big
Codec ID                                 : A_DTS
Duration                                 : 2h 16mn
Bit rate mode                            : Variable
Bit rate                                 : Unknown / 1 509 Kbps
Channel(s)                               : 7 channels / 6 channels
Channel positions                        : Front: L C R, Side: L R, Back: C, LFE / Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 24 bits
Compression mode                         : Lossless / Lossy
Title                                    : DTS-HD MA 6.1
Language                                 : English
Default                                  : Yes
Forced                                   : No

Audio #2
ID                                       : 3
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : A_AC3
Duration                                 : 2h 16mn
Bit rate mode                            : Constant
Bit rate                                 : 224 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 218 MiB (1%)
Title                                    : Commentary 1 with George Lucas, Rick McCallum, Ben Burtt, Rob Coleman, John Knoll, Dennis Muren and Scott Squires
Language                                 : English
Default                                  : No
Forced                                   : No

Audio #3
ID                                       : 4
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : A_AC3
Duration                                 : 2h 16mn
Bit rate mode                            : Constant
Bit rate                                 : 224 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 218 MiB (1%)
Title                                    : Commentary 2 from Archival Interviews with Cast and Crew
Language                                 : English
Default                                  : No
Forced                                   : No

Text #1
ID                                       : 5
Format                                   : PGS
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : The same subtitle format used on BDs/HD-DVDs
Title                                    : English SDH
Language                                 : English
Default                                  : No
Forced                                   : No

Text #2
ID                                       : 7
Format                                   : PGS
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : The same subtitle format used on BDs/HD-DVDs
Title                                    : Commentary 1 Subtitles
Language                                 : English
Default                                  : No
Forced                                   : No

Text #3
ID                                       : 9
Format                                   : PGS
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : The same subtitle format used on BDs/HD-DVDs
Title                                    : Commentary 2 Subtitles
Language                                 : English
Default                                  : No
Forced                                   : No

Text #4
ID                                       : 11
Format                                   : PGS
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : The same subtitle format used on BDs/HD-DVDs
Title                                    : English (forced only)
Language                                 : English
Default                                  : No
Forced                                   : Yes

Menu
00:00:00.000                             : en:Chapter 01
00:00:21.104                             : en:Chapter 02
00:01:52.946                             : en:Chapter 03
00:07:55.349                             : en:Chapter 04
00:09:55.970                             : en:Chapter 05
00:11:18.761                             : en:Chapter 06
00:13:24.178                             : en:Chapter 07
00:14:49.805                             : en:Chapter 08
00:17:14.158                             : en:Chapter 09
00:20:40.822                             : en:Chapter 10
00:22:25.302                             : en:Chapter 11
00:25:12.886                             : en:Chapter 12
00:29:32.771                             : en:Chapter 13
00:31:41.482                             : en:Chapter 14
00:35:51.732                             : en:Chapter 15
00:40:48.487                             : en:Chapter 16
00:44:16.278                             : en:Chapter 17
00:52:04.579                             : en:Chapter 18
00:55:03.842                             : en:Chapter 19
00:58:27.921                             : en:Chapter 20
01:02:27.702                             : en:Chapter 21
01:05:33.012                             : en:Chapter 22
01:10:06.827                             : en:Chapter 23
01:11:17.815                             : en:Chapter 24
01:16:20.867                             : en:Chapter 25
01:18:08.016                             : en:Chapter 26
01:20:26.321                             : en:Chapter 27
01:24:18.053                             : en:Chapter 28
01:26:44.782                             : en:Chapter 29
01:29:54.722                             : en:Chapter 30
01:31:02.415                             : en:Chapter 31
01:33:08.541                             : en:Chapter 32
01:37:21.335                             : en:Chapter 33
01:39:06.315                             : en:Chapter 34
01:42:33.730                             : en:Chapter 35
01:44:41.441                             : en:Chapter 36
01:46:19.247                             : en:Chapter 37
01:48:07.731                             : en:Chapter 38
01:50:24.951                             : en:Chapter 39
01:56:47.667                             : en:Chapter 40
01:59:13.062                             : en:Chapter 41
02:00:31.974                             : en:Chapter 42
02:01:21.315                             : en:Chapter 43
02:02:23.377                             : en:Chapter 44
02:03:56.971                             : en:Chapter 45
02:05:15.090                             : en:Chapter 46
02:06:25.995                             : en:Chapter 47
02:07:23.135                             : en:Chapter 48
02:08:28.992                             : en:Chapter 49
02:09:53.535                             : en:Chapter 50
Here is the M4V MediaInfo text file for Episode I that was converted with Handbrake Win GUI 6422:

Code: Select all

General
Complete name                            : F:\Videos\Movies\Star Wars - Episode I - The Phantom Menace (1999)(1).m4v
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42
File size                                : 6.29 GiB
Duration                                 : 2h 16mn
Overall bit rate mode                    : Variable
Overall bit rate                         : 6 614 Kbps
Movie name                               : Star Wars: Episode I - The Phantom Menace
Writing application                      : HandBrake 6422svn 2014092701

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.0
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 2 frames
Format settings, GOP                     : M=4, N=32
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 2h 16mn
Bit rate                                 : 5 475 Kbps
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Variable
Frame rate                               : 23.976 fps
Minimum frame rate                       : 23.974 fps
Maximum frame rate                       : 23.981 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.110
Stream size                              : 5.21 GiB (83%)
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio #1
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 2h 16mn
Bit rate mode                            : Variable
Bit rate                                 : 160 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Stream size                              : 156 MiB (2%)
Title                                    : AAC
Language                                 : English

Audio #2
ID                                       : 3
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : ac-3
Duration                                 : 2h 16mn
Bit rate mode                            : Constant
Bit rate                                 : 640 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 623 MiB (10%)
Title                                    : AAC
Language                                 : English

Audio #3
ID                                       : 4
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 2h 16mn
Bit rate mode                            : Variable
Bit rate                                 : 160 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Stream size                              : 156 MiB (2%)
Title                                    : AAC
Language                                 : English

Audio #4
ID                                       : 5
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 2h 16mn
Bit rate mode                            : Variable
Bit rate                                 : 160 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Stream size                              : 156 MiB (2%)
Title                                    : AAC
Language                                 : English

Menu
ID                                       : 6
Codec ID                                 : text
Duration                                 : 2h 16mn
Language                                 : English
Bit rate mode                            : VBR
As you can see each of the track names came out ACC (even the AC-3 track which is annoying). Here are the track names that I input in order:
ACC Stereo
AC3 5.1
Commentary with George Lucas, Rick McCallum, Ben Burtt, Rob Coleman, John Knoll, Dennis Muren and Scott Squires
Commentary from Archival Interviews with Cast and Crew

So it doesn't look like it's able to escape a space now let alone a comma. Something has made it worse. Handbrake version 6306 was better because I could at least truncate the track name if a comma came along. Here's a screenshot from Episode 1 converted with Handbrake 6306:

Image

I had to truncate the third track because it would not escape the comma. If you look at the earlier post, you can see why I had to truncate it, and you can see the result without truncation (I might have used Episode 6 for the earlier example, but the track structure is almost identical to this. Only a couple people's names are different in Track 3). Anyway, the Handbrake team tried to fix it, but now we have a mess, and now it won't escape the space.
Last edited by WARRZONE on Thu Nov 06, 2014 5:04 am, edited 2 times in total.

WARRZONE
Posts: 21
Joined: Wed Jul 23, 2014 1:54 am

Re: [In Progress] MP4/M4V Audio Track Title Tags

Post by WARRZONE » Thu Nov 06, 2014 3:10 am

moneymatt4life wrote:actually, it seems it's the space after the comma that is the issue for my example...
Yes, now it seems spaces are the problem. You're lucky you only need it in your last track. If you would have had a space after "English" in your first track, all the tracks would have shown up as "English".

Post Reply