2011-03-16, 22:22
Hi,
I am a bit new to encoding etc.
I have an MP4 file which i added .srt into the file and a chapter track.
Long story short:
Everything (including subtitles) works in quicktime x, vlc, mplayer osx extended
But not in xbmc
Media information
Debug log of XBMC playing it (it seems it load the subtitles?):
http://pastebin.com/1rehgj97
Interesting parts?:
What is wrong with the file?
Is it because there is no "ID 3"? (Similar to "Text #2 ID : 5" ) - the file has ID 1, ID 2, ID 4, ID 5
Cheers!
I am a bit new to encoding etc.
I have an MP4 file which i added .srt into the file and a chapter track.
Long story short:
Everything (including subtitles) works in quicktime x, vlc, mplayer osx extended
But not in xbmc
Media information
Code:
General
Complete name : /Volumes/MEDIA HDD/Films/The Dark Knight (2008).m4v
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42
File size : 3.42 GiB
Duration : 2h 23mn
Overall bit rate : 3 404 Kbps
Encoded date : UTC 2011-03-15 23:20:29
Tagged date : UTC 2011-03-16 19:57:41
Writing application : HandBrake 0.9.5 2011010300
hdvd : 0
rtng : 0
Video ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 2h 23mn
Bit rate mode : Variable
Bit rate : 3 136 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 : 12.048 fps
Maximum frame rate : 24.390 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.063
Stream size : 3.15 GiB (92%)
Writing library : x264 core 112
Encoding settings :
cabac=1 / ref=4 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / sliced_threads=0 / slices=4 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=21.0 / qcomp=0.60 / qpmin=3 / qpmax=51 / qpstep=4 / vbv_maxrate=40000 / vbv_bufsize=30000 / crf_max=0.0 / ip_ratio=1.40 / aq=1:1.00 / nal_hrd=none
Encoded date : UTC 2011-03-15 23:20:29
Tagged date : UTC 2011-03-16 16:26:02
Color primaries : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer characteristics : BT.709-5, BT.1361
Matrix coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177
Audio ID :2
Format :AAC
Format/Info :Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 2h 23mn
Bit rate mode : Variable
Bit rate : 264.6 Kbps
Maximum bit rate : 493 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 270 MiB (8%)
Language : English
Encoded date : UTC 2011-03-15 23:20:29
Tagged date : UTC 2011-03-16 16:26:01
Text #1 ID : 4
Format : Timed text
Muxing mode : sbtl
Codec ID : tx3g
Duration : 2h 23mn
Bit rate mode : Variable
Bit rate : 76 bps
Stream size : 80.5 KiB (0%)
Language : English
Encoded date : UTC 2011-03-16 17:02:51
Tagged date : UTC 2011-03-16 17:02:51
Text #2 ID : 5
Format : Apple text
Codec ID : text
Duration : 2h 23mn
Bit rate mode : Variable
Bit rate : 1 bps
Stream size : 903 Bytes (0%)
Encoded date : UTC 2011-03-16 19:52:34
Tagged date : UTC 2011-03-16 19:52:34
Menu
00:00:00.000 :Chapter 1
00:05:41.000 :Chapter 2
00:09:54.000 :Chapter 3
00:13:10.000 :Chapter 4
00:20:58.000 :Chapter 5
00:26:11.000 :Chapter 6
00:28:55.000 :Chapter 7
00:31:01.000 :Chapter 8
00:37:07.000 :Chapter 9
00:42:53.000 :Chapter 10
00:45:58.000 :Chapter 11
00:48:15.000 :Chapter 12
00:52:37.000 :Chapter 13
00:56:33.000 :Chapter 14
00:58:44.000 :Chapter 15
01:03:16.000 :Chapter 16
01:07:41.000 :Chapter 17
01:10:06.000 :Chapter 18
01:13:42.000 :Chapter 19
01:17:23.000 :Chapter 20
01:21:40.000 :Chapter 21
01:24:06.000 :Chapter 22
01:30:06.000 :Chapter 23
01:33:22.000 :Chapter 24
01:39:15.000 :Chapter 25
01:41:23.000 :Chapter 26
01:44:16.000 :Chapter 27
01:46:18.000 :Chapter 28
01:50:27.000 :Chapter 29
01:53:31.000 :Chapter 30
01:56:22.000 :Chapter 31
01:59:32.000 :Chapter 32
02:02:55.000 :Chapter 33
02:08:25.000 :Chapter 34
02:11:45.000 :Chapter 35
02:14:41.000 :Chapter 36
02:19:16.000 :Chapter 37
02:23:45.000 :Chapter 38
Debug log of XBMC playing it (it seems it load the subtitles?):
http://pastebin.com/1rehgj97
Interesting parts?:
Code:
20:05:34 T:2953850880 M:551510016 INFO: CDVDFactorySubtitle::GetSubtitles, searching subtitles
20:05:34 T:2953850880 M:551510016 DEBUG: CacheSubtitles: START
20:05:34 T:2953850880 M:551510016 DEBUG: CacheSubtitles: Checking for common subdirs...
20:05:34 T:2953850880 M:551510016 DEBUG: CacheSubtitles: Done (time: 1 ms)
20:05:34 T:2953850880 M:551510016 DEBUG: CacheSubtitles: Searching for subtitles...
20:05:34 T:2953850880 M:551510016 DEBUG: CacheSubtitles: Done (time: 56 ms)
20:05:34 T:2953850880 M:551510016 DEBUG: CacheSubtitles: END (total time: 58 ms)
20:05:34 T:2953850880 M:551510016 INFO: CDVDFactorySubtitle::GetSubtitles, searching subtitles done
20:05:34 T:2953850880 M:551510016 NOTICE: Creating Demuxer
Code:
20:05:34 T:2953850880 M:538148864 NOTICE: Opening Subtitle stream: 2 source: 256
20:05:34 T:2963464192 M:538148864 DEBUG: thread start, auto delete: 0
20:05:34 T:2953850880 M:538148864 DEBUG: FactoryCodec - Overlay: FFmpeg Subtitle Decoder - Opening
20:05:34 T:2963464192 M:538148864 NOTICE: running thread: CDVDPlayerAudio::Process()
20:05:34 T:2953850880 M:538148864 DEBUG: Open - Unable to find codec 94213
20:05:34 T:2953850880 M:538148864 DEBUG: FactoryCodec - Overlay: FFmpeg Subtitle Decoder - Failed
20:05:34 T:2953850880 M:538148864 ERROR: OpenStream - Unable to init overlay codec
20:05:34 T:2953850880 M:538148864 WARNING: OpenSubtitleStream - Unsupported stream 2. Stream disabled.
20:05:34 T:2953850880 M:538148864 WARNING: OpenDefaultStreams - failed to restore selected subtitle stream (0)
20:05:34 T:2953850880 M:538148864 NOTICE: Opening Subtitle stream: 2 source: 256
20:05:34 T:2953850880 M:538148864 NOTICE: Opening Subtitle stream: 3 source: 256
20:05:34 T:2953850880 M:538148864 DEBUG: FactoryCodec - Overlay: FFmpeg Subtitle Decoder - Opening
20:05:34 T:2953850880 M:538148864 DEBUG: Open - Unable to find codec 94213
20:05:34 T:2953850880 M:538148864 DEBUG: FactoryCodec - Overlay: FFmpeg Subtitle Decoder - Failed
20:05:34 T:2953850880 M:538148864 ERROR: OpenStream - Unable to init overlay codec
20:05:34 T:2953850880 M:538148864 WARNING: OpenSubtitleStream - Unsupported stream 3. Stream disabled.
What is wrong with the file?
Is it because there is no "ID 3"? (Similar to "Text #2 ID : 5" ) - the file has ID 1, ID 2, ID 4, ID 5
Cheers!