Unknown1User / ps3mediaserver

Automatically exported from code.google.com/p/ps3mediaserver
0 stars 0 forks source link

MKVs with multiple chapter/menu files encoded inside causes video to become unplayable and subtitles to be unrecognised #608

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load an MKV video with more than 1 chapter menu encoded and embedded 
SSA subtitles.

What is the expected output? What do you see instead?
Expected to see video with subtitles.
Instead, video refuses to play at times (Data corrupted) or the video will 
play without subtitles (other MKVs play with subtitles without issue).
Going into the #Transcoded# folder only shows video stream (no subtitles 
streams are available).

What version of the product are you using? On what operating system?
Ver. 1.10.51 on Windows 7.

If you are transcoding a media file, which engine are you using (mencoder, 
avisynth/mencoder, tsmuxer?)
Using Mencoder.

If the media file is in error (or does not play flawlessly), what are the 
codec informations of this file (you can use following program: 
mediainfo.sourceforge.net) ? 

General 
Complete name : [REMOVED]
Format : Matroska 
File size : 223 MiB 
Duration : 23mn 58s 
Overall bit rate : 1 303 Kbps 
Encoded date : UTC 2009-04-12 03:58:54 
Writing application : mkvmerge v2.3.0 ('Freak U') built on Sep 8 2008 
18:32:16 
Writing library : libebml v0.7.7 + libmatroska v0.8.1 
Cover : Yes / Yes / Yes 

Video 
ID : 1 
Format : AVC 
Format/Info : Advanced Video Codec 
Format profile : High@L3.1 
Format settings, CABAC : Yes 
Format settings, ReFrames : 8 frames 
Muxing mode : Container profile=Unknown@3.1 
Codec ID : V_MPEG4/ISO/AVC 
Duration : 23mn 57s 
Bit rate : 1 117 Kbps 
Nominal bit rate : 1 100 Kbps 
Width : 640 pixels 
Height : 480 pixels 
Display aspect ratio : 4:3 
Frame rate : 23.976 fps 
Resolution : 24 bits 
Colorimetry : 4:2:0 
Scan type : Progressive 
Bits/(Pixel*Frame) : 0.152 
Stream size : 191 MiB (86%) 
Title : [REMOVED] 
Writing library : x264 core 67 r1128M 682b54d 
Encoding settings : cabac=1 / ref=8 / deblock=1:1:1 / analyse=0x3:0x133 / 
me=umh / subme=7 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=16 / 
chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / 
chroma_qp_offset=-2 / threads=3 / nr=0 / decimate=1 / mbaff=0 / 
bframes=16 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=0 / 
keyint=240 / keyint_min=24 / scenecut=40 / rc=2pass / bitrate=1100 / 
ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / 
cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00 
Language : Japanese 

Audio 
ID : 2 
Format : Vorbis 
Format settings, Floor : 1 
Codec ID : A_VORBIS 
Duration : 23mn 58s 
Bit rate mode : Constant 
Bit rate : 160 Kbps 
Channel(s) : 2 channels 
Sampling rate : 48.0 KHz 
Resolution : 16 bits 
Stream size : 27.4 MiB (12%) 
Title : Japanese Dialogue - Stereo 2.0 
Writing library : aoTuV b5c (UTC 2008-12-15) 
Language : Japanese 

Text #1 
ID : 3 
Format : SSA 
Codec ID : S_TEXT/SSA 
Codec ID/Info : Sub Station Alpha 
Title : English / 英語 
Language : English 

Text #2 
ID : 4 
Format : SSA 
Codec ID : S_TEXT/SSA 
Codec ID/Info : Sub Station Alpha 
Title : Japanese / 日本語 
Language : Japanese 

Menu #1 
00:00:00.000 : en:Chapter 1 
00:02:15.156 : en:Chapter 2 
00:03:33.214 : en:Chapter 3 
00:10:58.825 : en:Chapter 4
00:11:10.213 : en:Chapter 5 
00:22:04.156 : en:Chapter 6 
00:22:45.325 : en:Chapter 7

Menu #2 
00:00:00.000 : en:Chapter 1
00:02:15.156 : en:Chapter 2
00:03:33.214 : en:Chapter 3
00:10:58.825 : en:Chapter 4
00:11:10.213 : en:Chapter 5
00:22:04.156 : en:Chapter 6
00:22:45.325 : en:Chapter 7

Please provide any additional information below and PLEASE JOIN debug.log 
file !!

A nearly identical file as below plays without issues:

General 
Complete name : [REMOVED]
Format : Matroska 
File size : 223 MiB 
Duration : 23mn 58s 
Overall bit rate : 1 298 Kbps 
Encoded date : UTC 2009-04-12 04:35:56 
Writing application : mkvmerge v2.3.0 ('Freak U') built on Sep 8 2008 
18:32:16 
Writing library : libebml v0.7.7 + libmatroska v0.8.1 
Cover : Yes / Yes / Yes 

Video 
ID : 1 
Format : AVC 
Format/Info : Advanced Video Codec 
Format profile : High@L3.1 
Format settings, CABAC : Yes 
Format settings, ReFrames : 8 frames 
Muxing mode : Container profile=Unknown@3.1 
Codec ID : V_MPEG4/ISO/AVC 
Duration : 23mn 57s 
Bit rate : 1 113 Kbps 
Nominal bit rate : 1 100 Kbps 
Width : 640 pixels 
Height : 480 pixels 
Display aspect ratio : 4:3 
Frame rate : 23.976 fps 
Resolution : 24 bits 
Colorimetry : 4:2:0 
Scan type : Progressive 
Bits/(Pixel*Frame) : 0.151 
Stream size : 191 MiB (86%) 
Title : [REMOVED]
Writing library : x264 core 67 r1128M 682b54d 
Encoding settings : cabac=1 / ref=8 / deblock=1:1:1 / analyse=0x3:0x133 / 
me=umh / subme=7 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=16 / 
chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / 
chroma_qp_offset=-2 / threads=3 / nr=0 / decimate=1 / mbaff=0 / 
bframes=16 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=0 / 
keyint=240 / keyint_min=24 / scenecut=40 / rc=2pass / bitrate=1100 / 
ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / 
cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00 
Language : Japanese 

Audio 
ID : 2 
Format : Vorbis 
Format settings, Floor : 1 
Codec ID : A_VORBIS 
Duration : 23mn 58s 
Bit rate mode : Constant 
Bit rate : 160 Kbps 
Channel(s) : 2 channels 
Sampling rate : 48.0 KHz 
Resolution : 16 bits 
Stream size : 27.4 MiB (12%) 
Title : Japanese Dialogue - Stero 2.0 
Writing library : aoTuV b5c (UTC 2008-12-15) 
Language : Japanese 

Text #1 
ID : 3 
Format : SSA 
Codec ID : S_TEXT/SSA 
Codec ID/Info : Sub Station Alpha 
Title : English / 英語 
Language : English 

Text #2 
ID : 4 
Format : SSA 
Codec ID : S_TEXT/SSA 
Codec ID/Info : Sub Station Alpha 
Title : Japanese / 日本語 
Language : Japanese 

Menu 
00:00:00.000 : en:Chapter 1 
00:01:34.094 : en:Chapter 2
00:02:52.130 : en:Chapter 3
00:13:17.660 : en:Chapter 4
00:13:29.460 : en:Chapter 5
00:17:20.000 : en:Chapter 6
00:22:45.532 : en:Chapter 7

Original issue reported on code.google.com by ths1...@gmail.com on 9 Dec 2009 at 2:51

Attachments:

GoogleCodeExporter commented 9 years ago
it's a ffmpeg issue:

"Assertion failed: s->chapters[i]->start <= s->chapters[i+1]->start, file 
libavformat/utils.c, line 1915
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information."

Can't say much else other than try the beta, included ffmpeg builds are more 
recent

Original comment by shagr...@gmail.com on 30 Jan 2010 at 4:25