mp3s in mkv don't play in kodi

Archive of historical bug reports.
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.

*******************************
Post Reply
fxeon
Posts: 1
Joined: Sun Aug 09, 2015 8:23 am

mp3s in mkv don't play in kodi

Post by fxeon »

Please describe the problem in as much detail as possible:
Files i encoded in h264+mp3 used to play fine in xbmc but now they throw a lot of error about audio and i have no sound playing them in Kodi (latest) I retested an encoding with latest hb on archlinux 64 and i have the same problem.
Weirdly enough, if i use mkvmerge to repack the mkv, they play fine in kodi. So i think there's something wrong with the way hb encapsulate mp3 in mkv

I don't know if this is related to : viewtopic.php?f=11&t=26927
What are the steps to reproduce this problem:
Encode any video to mkv with mp3 soundtrack
What version of HandBrake you are running:
0.10.2
What operating system and version and you running (e.g. OSX 10.11, Windows 7, Ubuntu 14):
archlinux 64 up to date
If there was any exception or error displayed, please copy it and paste it here:
check logfiles from kodi on this thread: http://forum.kodi.tv/showthread.php?tid=234646
Please include the scan or encode log:

Code: Select all

 [09:37:54] gtkgui: HandBrake 0.10.2 (2015071700) - Linux x86_64 - https://handbrake.fr
[09:37:54] hb_init: starting libhb thread
[09:37:54] hb_init: starting libhb thread
libdvdread: Encrypted DVD support unavailable.
[09:38:19] CPU: Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz
[09:38:19]  - Intel microarchitecture Sandy Bridge
[09:38:19]  - logical processor count: 4
[09:38:19] OpenCL: library not available
[09:38:19] hb_scan: path=/home/fx/Vidéos/S02E01.mkv, title_index=0
disc.c:332: error opening file BDMV/index.bdmv
disc.c:332: error opening file BDMV/BACKUP/index.bdmv
[09:38:19] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.2
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[09:38:19] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/home/fx/Vidéos/S02E01.mkv':
  Metadata:
    TITLE           : 20140610 1838 - CANAL J - Saint Seiya Omega les Nouveaux Chevaliers du Zodiaque
  Duration: 00:22:40.03, start: 0.000000, bitrate: N/A
    Stream #0.0(eng): Video: h264 (Main), yuv420p, 720x572 [PAR 64:45 DAR 256:143], 25 fps, 1k tbn, 180k tbc (default)
    Stream #0.1(fre): Audio: mp3, 48000 Hz, 1 channels, s16p, 80 kb/s (default)
[09:38:19] scan: decoding previews for title 1
[09:38:19] scan: audio 0x1: mp3, rate=48000Hz, bitrate=80000 Francais (MP3) (1.0 ch)
[09:38:19] scan: 10 previews, 720x572, 25,000 fps, autocrop = 0/0/2/0, aspect 16:9, PAR 64:45
[09:38:19] libhb: scan thread found 1 valid title(s)
libdvdread: Encrypted DVD support unavailable.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
[09:39:45] CPU: Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz
[09:39:45]  - Intel microarchitecture Sandy Bridge
[09:39:45]  - logical processor count: 4
[09:39:45] OpenCL: library not available
[09:39:45] hb_scan: path=/home/fx/Vidéos/S02E01.mkv, title_index=1
disc.c:332: error opening file BDMV/index.bdmv
disc.c:332: error opening file BDMV/BACKUP/index.bdmv
[09:39:45] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.2
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[09:39:45] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/home/fx/Vidéos/S02E01.mkv':
  Metadata:
    TITLE           : 20140610 1838 - CANAL J - Saint Seiya Omega les Nouveaux Chevaliers du Zodiaque
  Duration: 00:22:40.03, start: 0.000000, bitrate: N/A
    Stream #0.0(eng): Video: h264 (Main), yuv420p, 720x572 [PAR 64:45 DAR 256:143], 25 fps, 1k tbn, 180k tbc (default)
    Stream #0.1(fre): Audio: mp3, 48000 Hz, 1 channels, s16p, 80 kb/s (default)
[09:39:45] scan: decoding previews for title 1
[09:39:45] scan: audio 0x1: mp3, rate=48000Hz, bitrate=80000 Francais (MP3) (1.0 ch)
[09:39:46] scan: 10 previews, 720x572, 25,000 fps, autocrop = 0/0/2/0, aspect 16:9, PAR 64:45
[09:39:46] libhb: scan thread found 1 valid title(s)
[09:39:48] gtkgui: Custom Preset: FX
[09:39:48] 1 job(s) to process
[09:39:48] starting job
[09:39:48] sync: expecting 34000 video frames
[09:39:48] job configuration:
[09:39:48]  * source
[09:39:48]    + /home/fx/Vidéos/S02E01.mkv
[09:39:48]    + title 1, chapter(s) 1 to 1
[09:39:48]    + container: matroska,webm
[09:39:48]  * destination
[09:39:48]    + /home/fx/Vidéos/S02E01test.mkv
[09:39:48]    + container: Matroska (libavformat)
[09:39:48]  * video track
[09:39:48]    + decoder: h264
[09:39:48]    + filters
[09:39:48]      + Framerate Shaper (0:27000000:1080000)
[09:39:48]        + frame rate: same as source (around 25,000 fps)
[09:39:48]      + Crop and Scale (718:572:0:0:2:0)
[09:39:48]        + source: 720 * 572, crop (0/0/2/0): 718 * 572, scale: 718 * 572
[09:39:48]    + loose anamorphic
[09:39:48]      + storage dimensions: 718 * 572, mod 2
[09:39:48]      + pixel aspect ratio: 64 / 45
[09:39:48]      + display dimensions: 1021 * 572
[09:39:48]    + encoder: H.264 (libx264)
[09:39:48]      + preset:  veryfast
[09:39:48]      + profile: main
[09:39:48]      + level:   4.0
[09:39:48]      + quality: 20,00 (RF)
[09:39:48]  * audio track 1
[09:39:48]    + decoder: Francais (MP3) (1.0 ch) (track 1, id 0x1)
[09:39:48]      + bitrate: 80 kbps, samplerate: 48000 Hz
[09:39:48]    + mixdown: Mono
[09:39:48]    + encoder: AAC (libavcodec)
[09:39:48]      + bitrate: 160 kbps, samplerate: 48000 Hz
[09:39:48] reader: first SCR 0 id 0x0 DTS 0
[09:39:48] encx264: encoding at constant RF 20,000000
[09:39:48] encx264: unparsed options: level=4.0:ref=1:8x8dct=0:weightp=1:subme=2:mixed-refs=0:trellis=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10
x264 [info]: using SAR=64/45
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile Main, level 4.0
[09:39:48] sync: adding 144 ms of silence to audio 0x1  start 15120, next 2160
[09:39:48] sync: audio 0x1 time went backwards 144 ms, dropped 6 frames (start 30240, next 43200)
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
[09:39:58] work: average encoding speed for job is 134,605469 fps
[09:39:58] sync: got 1443 frames, 34000 expected
[09:39:58] reader: done. 1 scr changes
[09:39:59] render: lost time: 0 (0 frames)
[09:39:59] render: gained time: 0 (0 frames) (0 not accounted for)
[09:39:59] h264-decoder done: 1469 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:27    Avg QP:18,39  size: 38779
x264 [info]: frame P:783   Avg QP:21,09  size: 11861
x264 [info]: frame B:597   Avg QP:22,40  size:  1428
x264 [info]: consecutive B-frames: 36,7% 16,7%  9,1% 37,4%
x264 [info]: mb I  I16..4: 25,5%  0,0% 74,5%
x264 [info]: mb P  I16..4: 18,0%  0,0%  9,1%  P16..4: 26,7% 13,9%  7,5%  0,0%  0,0%    skip:24,9%
x264 [info]: mb B  I16..4:  1,1%  0,0%  0,2%  B16..8: 12,5%  3,6%  0,4%  direct: 6,2%  skip:76,0%  L0:34,8% L1:53,6% BI:11,7%
x264 [info]: coded y,uvDC,uvAC intra: 42,9% 73,0% 36,5% inter: 13,3% 23,9% 3,8%
x264 [info]: i16 v,h,dc,p: 48% 24% 18% 10%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 35% 17% 22%  5%  4%  6%  3%  5%  3%
x264 [info]: i8c dc,h,v,p: 40% 20% 31% 10%
x264 [info]: Weighted P-Frames: Y:3,6% UV:3,2%
x264 [info]: kb/s:1581,17
[09:39:59] mp3-decoder done: 0 frames, 0 decoder errors, 0 drops
[09:39:59] mux: track 0, 259 frames, 1678861 bytes, 1271,86 kbps, fifo 2048
[09:39:59] mux: track 1, 495 frames, 206023 bytes, 156,08 kbps, fifo 4096
[09:39:59] libhb: work result = 0
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
[09:40:54] CPU: Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz
[09:40:54]  - Intel microarchitecture Sandy Bridge
[09:40:54]  - logical processor count: 4
[09:40:54] OpenCL: library not available
[09:40:54] hb_scan: path=/home/fx/Vidéos/S02E01.mkv, title_index=1
disc.c:332: error opening file BDMV/index.bdmv
disc.c:332: error opening file BDMV/BACKUP/index.bdmv
[09:40:54] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.2
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[09:40:54] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/home/fx/Vidéos/S02E01.mkv':
  Metadata:
    TITLE           : 20140610 1838 - CANAL J - Saint Seiya Omega les Nouveaux Chevaliers du Zodiaque
  Duration: 00:22:40.03, start: 0.000000, bitrate: N/A
    Stream #0.0(eng): Video: h264 (Main), yuv420p, 720x572 [PAR 64:45 DAR 256:143], 25 fps, 1k tbn, 180k tbc (default)
    Stream #0.1(fre): Audio: mp3, 48000 Hz, 1 channels, s16p, 80 kb/s (default)
[09:40:54] scan: decoding previews for title 1
[09:40:54] scan: audio 0x1: mp3, rate=48000Hz, bitrate=80000 Francais (MP3) (1.0 ch)
[09:40:54] scan: 10 previews, 720x572, 25,000 fps, autocrop = 0/0/2/0, aspect 16:9, PAR 64:45
[09:40:54] libhb: scan thread found 1 valid title(s)
[09:40:56] gtkgui: Custom Preset: FX
[09:40:56] 1 job(s) to process
[09:40:56] starting job
[09:40:56] sync: expecting 34025 video frames
[09:40:56] job configuration:
[09:40:56]  * source
[09:40:56]    + /home/fx/Vidéos/S02E01.mkv
[09:40:56]    + title 1, start 00:00:0,00 stop 00:22:40,00
[09:40:56]    + container: matroska,webm
[09:40:56]  * destination
[09:40:56]    + /home/fx/Vidéos/S02E01test.mkv
[09:40:56]    + container: Matroska (libavformat)
[09:40:56]  * video track
[09:40:56]    + decoder: h264
[09:40:56]    + filters
[09:40:56]      + Framerate Shaper (0:27000000:1080000)
[09:40:56]        + frame rate: same as source (around 25,000 fps)
[09:40:56]      + Crop and Scale (718:572:0:0:2:0)
[09:40:56]        + source: 720 * 572, crop (0/0/2/0): 718 * 572, scale: 718 * 572
[09:40:56]    + loose anamorphic
[09:40:56]      + storage dimensions: 718 * 572, mod 2
[09:40:56]      + pixel aspect ratio: 64 / 45
[09:40:56]      + display dimensions: 1021 * 572
[09:40:56]    + encoder: H.264 (libx264)
[09:40:56]      + preset:  veryfast
[09:40:56]      + profile: main
[09:40:56]      + level:   4.0
[09:40:56]      + quality: 20,00 (RF)
[09:40:56]  * audio track 1
[09:40:56]    + decoder: Francais (MP3) (1.0 ch) (track 1, id 0x1)
[09:40:56]      + bitrate: 80 kbps, samplerate: 48000 Hz
[09:40:56]    + mixdown: Mono
[09:40:56]    + encoder: AAC (libavcodec)
[09:40:56]      + bitrate: 160 kbps, samplerate: 48000 Hz
[09:40:56] reader: first SCR 0 id 0x0 DTS 0
[09:40:56] encx264: encoding at constant RF 20,000000
[09:40:56] encx264: unparsed options: level=4.0:ref=1:8x8dct=0:weightp=1:subme=2:mixed-refs=0:trellis=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10
x264 [info]: using SAR=64/45
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile Main, level 4.0
[09:40:56] sync: adding 144 ms of silence to audio 0x1  start 15120, next 2160
[09:40:56] sync: audio 0x1 time went backwards 144 ms, dropped 6 frames (start 30240, next 43200)
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
[09:41:26] reader: done. 1 scr changes
[09:41:26] work: average encoding speed for job is 155,603287 fps
[09:41:26] sync: got 4659 frames, 34025 expected
[09:41:26] render: lost time: 0 (0 frames)
[09:41:26] render: gained time: 0 (0 frames) (0 not accounted for)
[09:41:26] h264-decoder done: 4685 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:73    Avg QP:17,64  size: 36677
x264 [info]: frame P:2152  Avg QP:20,46  size: 10831
x264 [info]: frame B:2385  Avg QP:20,87  size:  1068
x264 [info]: consecutive B-frames: 26,0% 13,1%  6,1% 54,9%
x264 [info]: mb I  I16..4: 23,0%  0,0% 77,0%
x264 [info]: mb P  I16..4: 13,5%  0,0%  7,3%  P16..4: 27,1% 14,1%  7,5%  0,0%  0,0%    skip:30,5%
x264 [info]: mb B  I16..4:  0,7%  0,0%  0,2%  B16..8:  8,8%  2,4%  0,3%  direct: 4,9%  skip:82,7%  L0:37,4% L1:52,8% BI: 9,8%
x264 [info]: coded y,uvDC,uvAC intra: 44,0% 74,0% 39,4% inter: 9,9% 18,4% 3,2%
x264 [info]: i16 v,h,dc,p: 45% 28% 16% 10%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 35% 18% 20%  5%  4%  5%  4%  5%  3%
x264 [info]: i8c dc,h,v,p: 40% 21% 29% 10%
x264 [info]: Weighted P-Frames: Y:4,3% UV:3,5%
x264 [info]: kb/s:1189,12
[09:41:26] mp3-decoder done: 0 frames, 0 decoder errors, 0 drops
[09:41:26] mux: track 0, 2184 frames, 20210434 bytes, 1838,15 kbps, fifo 4096
[09:41:26] mux: track 1, 4123 frames, 1759036 bytes, 159,99 kbps, fifo 8192
[09:41:26] libhb: work result = 0
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
[09:41:47] CPU: Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz
[09:41:47]  - Intel microarchitecture Sandy Bridge
[09:41:47]  - logical processor count: 4
[09:41:47] OpenCL: library not available
[09:41:47] hb_scan: path=/home/fx/Vidéos/S02E01.mkv, title_index=1
disc.c:332: error opening file BDMV/index.bdmv
disc.c:332: error opening file BDMV/BACKUP/index.bdmv
[09:41:47] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.2
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[09:41:47] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/home/fx/Vidéos/S02E01.mkv':
  Metadata:
    TITLE           : 20140610 1838 - CANAL J - Saint Seiya Omega les Nouveaux Chevaliers du Zodiaque
  Duration: 00:22:40.03, start: 0.000000, bitrate: N/A
    Stream #0.0(eng): Video: h264 (Main), yuv420p, 720x572 [PAR 64:45 DAR 256:143], 25 fps, 1k tbn, 180k tbc (default)
    Stream #0.1(fre): Audio: mp3, 48000 Hz, 1 channels, s16p, 80 kb/s (default)
[09:41:47] scan: decoding previews for title 1
[09:41:47] scan: audio 0x1: mp3, rate=48000Hz, bitrate=80000 Francais (MP3) (1.0 ch)
[09:41:47] scan: 10 previews, 720x572, 25,000 fps, autocrop = 0/0/2/0, aspect 16:9, PAR 64:45
[09:41:47] libhb: scan thread found 1 valid title(s)
[09:41:50] gtkgui: Custom Preset: FX
[09:41:50] 1 job(s) to process
[09:41:50] starting job
[09:41:50] sync: expecting 775 video frames
[09:41:50] job configuration:
[09:41:50]  * source
[09:41:50]    + /home/fx/Vidéos/S02E01.mkv
[09:41:50]    + title 1, start 00:00:0,00 stop 00:00:30,00
[09:41:50]    + container: matroska,webm
[09:41:50]  * destination
[09:41:50]    + /home/fx/Vidéos/S02E01test.mkv
[09:41:50]    + container: Matroska (libavformat)
[09:41:50]  * video track
[09:41:50]    + decoder: h264
[09:41:50]    + filters
[09:41:50]      + Framerate Shaper (0:27000000:1080000)
[09:41:50]        + frame rate: same as source (around 25,000 fps)
[09:41:50]      + Crop and Scale (718:572:0:0:2:0)
[09:41:50]        + source: 720 * 572, crop (0/0/2/0): 718 * 572, scale: 718 * 572
[09:41:50]    + loose anamorphic
[09:41:50]      + storage dimensions: 718 * 572, mod 2
[09:41:50]      + pixel aspect ratio: 64 / 45
[09:41:50]      + display dimensions: 1021 * 572
[09:41:50]    + encoder: H.264 (libx264)
[09:41:50]      + preset:  veryfast
[09:41:50]      + profile: main
[09:41:50]      + level:   4.0
[09:41:50]      + quality: 20,00 (RF)
[09:41:50]  * audio track 1
[09:41:50]    + decoder: Francais (MP3) (1.0 ch) (track 1, id 0x1)
[09:41:50]      + bitrate: 80 kbps, samplerate: 48000 Hz
[09:41:50]    + mixdown: Mono
[09:41:50]    + encoder: AAC (libavcodec)
[09:41:50]      + bitrate: 160 kbps, samplerate: 48000 Hz
[09:41:50] reader: first SCR 0 id 0x0 DTS 0
[09:41:50] encx264: encoding at constant RF 20,000000
[09:41:50] encx264: unparsed options: level=4.0:ref=1:8x8dct=0:weightp=1:subme=2:mixed-refs=0:trellis=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10
x264 [info]: using SAR=64/45
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile Main, level 4.0
[09:41:50] sync: adding 144 ms of silence to audio 0x1  start 15120, next 2160
[09:41:50] sync: audio 0x1 time went backwards 144 ms, dropped 6 frames (start 30240, next 43200)
[09:41:55] sync: reached pts 2703510, exiting early
[09:41:55] work: average encoding speed for job is 150,131485 fps
[09:41:56] sync: got 746 frames, 775 expected
[09:41:56] render: lost time: 0 (0 frames)
[09:41:56] render: gained time: 0 (0 frames) (0 not accounted for)
[09:41:56] reader: done. 1 scr changes
[09:41:56] h264-decoder done: 1047 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:18    Avg QP:18,83  size: 35098
x264 [info]: frame P:449   Avg QP:21,26  size: 12178
x264 [info]: frame B:279   Avg QP:21,80  size:  1332
x264 [info]: consecutive B-frames: 45,8% 11,0%  5,6% 37,5%
x264 [info]: mb I  I16..4: 28,4%  0,0% 71,6%
x264 [info]: mb P  I16..4: 21,4%  0,0% 10,4%  P16..4: 25,4% 13,0%  6,4%  0,0%  0,0%    skip:23,5%
x264 [info]: mb B  I16..4:  1,5%  0,0%  0,3%  B16..8: 11,5%  3,1%  0,2%  direct: 6,6%  skip:76,7%  L0:35,6% L1:52,7% BI:11,7%
x264 [info]: coded y,uvDC,uvAC intra: 41,7% 74,5% 38,9% inter: 13,5% 28,3% 5,5%
x264 [info]: i16 v,h,dc,p: 50% 22% 18% 11%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 36% 16% 23%  5%  4%  6%  3%  5%  3%
x264 [info]: i8c dc,h,v,p: 39% 19% 32% 10%
x264 [info]: Weighted P-Frames: Y:4,9% UV:4,2%
x264 [info]: kb/s:1723,44
[09:41:56] mp3-decoder done: 0 frames, 0 decoder errors, 0 drops
[09:41:56] mux: track 0, 746 frames, 6470779 bytes, 1725,54 kbps, fifo 1024
[09:41:56] mux: track 1, 1405 frames, 595355 bytes, 158,76 kbps, fifo 2048
[09:41:56] libhb: work result = 0
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
[09:42:40] CPU: Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz
[09:42:40]  - Intel microarchitecture Sandy Bridge
[09:42:40]  - logical processor count: 4
[09:42:40] OpenCL: library not available
[09:42:40] hb_scan: path=/home/fx/Vidéos/S02E01.mkv, title_index=1
disc.c:332: error opening file BDMV/index.bdmv
disc.c:332: error opening file BDMV/BACKUP/index.bdmv
[09:42:40] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.2
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[09:42:40] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/home/fx/Vidéos/S02E01.mkv':
  Metadata:
    TITLE           : 20140610 1838 - CANAL J - Saint Seiya Omega les Nouveaux Chevaliers du Zodiaque
  Duration: 00:22:40.03, start: 0.000000, bitrate: N/A
    Stream #0.0(eng): Video: h264 (Main), yuv420p, 720x572 [PAR 64:45 DAR 256:143], 25 fps, 1k tbn, 180k tbc (default)
    Stream #0.1(fre): Audio: mp3, 48000 Hz, 1 channels, s16p, 80 kb/s (default)
[09:42:40] scan: decoding previews for title 1
[09:42:40] scan: audio 0x1: mp3, rate=48000Hz, bitrate=80000 Francais (MP3) (1.0 ch)
[09:42:40] scan: 10 previews, 720x572, 25,000 fps, autocrop = 0/0/2/0, aspect 16:9, PAR 64:45
[09:42:40] libhb: scan thread found 1 valid title(s)
[09:42:42] gtkgui: Custom Preset: FX
[09:42:42] 1 job(s) to process
[09:42:42] starting job
[09:42:42] work: compression level not specified, track 1 setting compression level 2,00
[09:42:42] sync: expecting 775 video frames
[09:42:42] job configuration:
[09:42:42]  * source
[09:42:42]    + /home/fx/Vidéos/S02E01.mkv
[09:42:42]    + title 1, start 00:00:0,00 stop 00:00:30,00
[09:42:42]    + container: matroska,webm
[09:42:42]  * destination
[09:42:42]    + /home/fx/Vidéos/S02E01test.mkv
[09:42:42]    + container: Matroska (libavformat)
[09:42:42]  * video track
[09:42:42]    + decoder: h264
[09:42:42]    + filters
[09:42:42]      + Framerate Shaper (0:27000000:1080000)
[09:42:42]        + frame rate: same as source (around 25,000 fps)
[09:42:42]      + Crop and Scale (718:572:0:0:2:0)
[09:42:42]        + source: 720 * 572, crop (0/0/2/0): 718 * 572, scale: 718 * 572
[09:42:42]    + loose anamorphic
[09:42:42]      + storage dimensions: 718 * 572, mod 2
[09:42:42]      + pixel aspect ratio: 64 / 45
[09:42:42]      + display dimensions: 1021 * 572
[09:42:42]    + encoder: H.264 (libx264)
[09:42:42]      + preset:  veryfast
[09:42:42]      + profile: main
[09:42:42]      + level:   4.0
[09:42:42]      + quality: 20,00 (RF)
[09:42:42]  * audio track 1
[09:42:42]    + decoder: Francais (MP3) (1.0 ch) (track 1, id 0x1)
[09:42:42]      + bitrate: 80 kbps, samplerate: 48000 Hz
[09:42:42]    + mixdown: Mono
[09:42:42]    + encoder: MP3 (libmp3lame)
[09:42:42]      + bitrate: 160 kbps, samplerate: 48000 Hz
[09:42:42]      + compression level: 2,00
[09:42:42] reader: first SCR 0 id 0x0 DTS 0
[09:42:42] encx264: encoding at constant RF 20,000000
[09:42:42] encx264: unparsed options: level=4.0:ref=1:8x8dct=0:weightp=1:subme=2:mixed-refs=0:trellis=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10
x264 [info]: using SAR=64/45
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile Main, level 4.0
[09:42:42] enclame: opening libmp3lame
[09:42:43] sync: adding 144 ms of silence to audio 0x1  start 15120, next 2160
[09:42:43] sync: audio 0x1 time went backwards 144 ms, dropped 6 frames (start 30240, next 43200)
[09:42:48] sync: reached pts 2703510, exiting early
[09:42:48] work: average encoding speed for job is 140,652130 fps
[09:42:49] reader: done. 1 scr changes
[09:42:49] sync: got 746 frames, 775 expected
[09:42:49] render: lost time: 0 (0 frames)
[09:42:49] render: gained time: 0 (0 frames) (0 not accounted for)
[09:42:49] h264-decoder done: 978 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:18    Avg QP:18,83  size: 35098
x264 [info]: frame P:449   Avg QP:21,26  size: 12178
x264 [info]: frame B:279   Avg QP:21,80  size:  1332
x264 [info]: consecutive B-frames: 45,8% 11,0%  5,6% 37,5%
x264 [info]: mb I  I16..4: 28,4%  0,0% 71,6%
x264 [info]: mb P  I16..4: 21,4%  0,0% 10,4%  P16..4: 25,4% 13,0%  6,4%  0,0%  0,0%    skip:23,5%
x264 [info]: mb B  I16..4:  1,5%  0,0%  0,3%  B16..8: 11,5%  3,1%  0,2%  direct: 6,6%  skip:76,7%  L0:35,6% L1:52,7% BI:11,7%
x264 [info]: coded y,uvDC,uvAC intra: 41,7% 74,5% 38,9% inter: 13,5% 28,3% 5,5%
x264 [info]: i16 v,h,dc,p: 50% 22% 18% 11%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 36% 16% 23%  5%  4%  6%  3%  5%  3%
x264 [info]: i8c dc,h,v,p: 39% 19% 32% 10%
x264 [info]: Weighted P-Frames: Y:4,9% UV:4,2%
x264 [info]: kb/s:1723,44
[09:42:49] mp3-decoder done: 0 frames, 0 decoder errors, 0 drops
[09:42:49] mux: track 0, 746 frames, 6470779 bytes, 1723,24 kbps, fifo 1024
[09:42:49] mux: track 1, 1245 frames, 512976 bytes, 136,61 kbps, fifo 2048
[09:42:49] libhb: work result = 0
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged. 
Deleted User 13735

Re: mp3s in mkv don't play in kodi

Post by Deleted User 13735 »

Your audio is one channel, and that can affect some players adversely.
User avatar
JohnAStebbins
HandBrake Team
Posts: 5723
Joined: Sat Feb 09, 2008 7:21 pm

Re: mp3s in mkv don't play in kodi

Post by JohnAStebbins »

I just reproduced the issue. It appears to be a problem with kodi. I can play back the HandBrake file on a number of other players (vlc, mpv, ffplay, totem). Although mplayer behaves the same as kodi. I also tested the HandBrake file using mkvalidator. It says the file is OK.

Since mkvmerge "fixes" the issue, there is probably something we could change to make the file work on kodi. But tracking down the exact thing that needs to be different would be a challenge. And this is really a problem with the player.
Post Reply