justdan96 / tsMuxer

tsMuxer is a transport stream muxer for remuxing/muxing elementary streams, EVO/VOB/MPG, MKV/MKA, MP4/MOV, TS, M2TS to TS to M2TS. Supported video codecs H.264/AVC, H.265/HEVC, VC-1, MPEG2. Supported audio codecs AAC, AC3 / E-AC3(DD+), DTS/ DTS-HD.
Apache License 2.0
861 stars 144 forks source link

film did not opens #721

Closed galactic76 closed 1 year ago

galactic76 commented 1 year ago

torrent - http://kinozaltv.life/details.php?id=1981503

build of tsmuxer - e346384

aprox 40 minutes wait = then open file

then - tey ro remux t ts - it says =100% immideatly

i get latest nightly release - 5231f3c - all the same

UPD

40 minutes to open and 40 minutes to demux subtitles, but its work

why its no slow?

Is this normal?

What shouls I suggest to releaser?

jcdr428 commented 1 year ago

@galactic76 Anything different with older tsMuxer versions ? If yes, can you please identify which version initiated the change. It will help identify the commit creating the issue.

galactic76 commented 1 year ago

The thing is im using the latest and its still opening horrible - 15 minutes to wait - you even forget about it...

jcdr428 commented 1 year ago

Please help in identifying whether this is a change from older versions.

oniiz86 commented 1 year ago

@jcdr428 I too seem to have this issue only with a particular MKV file that has Dolby Digital Plus (E-AC-3) with a Bit Depth of 32 bits, is that the issue as I thought technically "lossy" does not have a Bit Depth?

The below image is from tsMuxeR GUI 2.6.12, more recent nightly builds as well as the latest June 28th nightly build https://github.com/justdan96/tsMuxer/commit/49a59c01e8d7f5c4c8a4c788167571767866f209 do not react to the file at all, it does not even open like @galactic76 has mentioned his files have above after quite some time has past :( https://imgur.com/Sa0mY0u

jcdr428 commented 1 year ago

@oniiz86 can you run tsMuxer in command line (not the GUI) and report the error message ? Edit: I only see the 2.6.12 image on your imgur link.

oniiz86 commented 1 year ago

@jcdr428 Im sorry but I'm not familiar running tsMuxer via command line, the reason I did not attach an image for the latest nightly build because nothing comes up, no error message box, I think it simply fails to be recognised, the GUI remains empty as if I never attempted to add this file.

Complete name : P:\My Cousin Vinny 1992.mkv Format : Matroska Format version : Version 4 File size : 8.15 GiB Duration : 1 h 59 min Overall bit rate : 9 783 kb/s Frame rate : 23.976 FPS Encoded date : 2023-06-07 14:52:22 UTC Writing application : mkvmerge v76.0 ('Celebration') 64-bit Writing library : libebml v1.4.4 + libmatroska v1.7.1

Video ID : 1 Format : HEVC Format/Info : High Efficiency Video Coding Format profile : Main 10@L4@High Codec ID : V_MPEGH/ISO/HEVC Duration : 1 h 59 min Bit rate : 9 075 kb/s Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 23.976 (24000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 10 bits Bits/(Pixel*Frame) : 0.183 Time code of first frame : 00:59:58:15 Stream size : 7.56 GiB (93%) Language : English Default : Yes Forced : No Color range : Limited Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709

Audio ID : 2 Format : E-AC-3 Format/Info : Enhanced AC-3 Commercial name : Dolby Digital Plus Codec ID : A_EAC3 Duration : 1 h 59 min Bit rate mode : Constant Bit rate : 640 kb/s Channel(s) : 6 channels Channel layout : L R C LFE Ls Rs Sampling rate : 48.0 kHz Frame rate : 31.250 FPS (1536 SPF) Bit depth : 32 bits Compression mode : Lossy Stream size : 546 MiB (7%) Language : English Service kind : Complete Main Default : Yes Forced : No

Text ID : 3 Format : PGS Codec ID : S_HDMV/PGS Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs Duration : 1 h 59 min Bit rate : 65.9 kb/s Frame rate : 0.491 FPS Count of elements : 3510 Stream size : 56.1 MiB (1%) Title : SDH Language : English Default : No Forced : No

jcdr428 commented 1 year ago

@oniiz86 please provide link for the video.

oniiz86 commented 1 year ago

@jcdr428 Sure, I've provided a short 3 minute sample https://ufile.io/iu844zfm

jcdr428 commented 1 year ago

@oniiz86 message in CLI is "Error: Matroska parse error: Invalid EBML number size 10 at pos 0". If you open the mkv sample in an hex editor, you effectively see that the mkv starts with html/PHP code (message error from by Raven Breadcrumbs ?) and not with mkv stuff. The mkv is corrupted.

HxD

oniiz86 commented 1 year ago

@jcdr428 That is strange as it plays back fine on my OPPO UDP-205 & BDP-105D players as well as MPC-HC & VLC media players, is there anyway that I can fix the corruption so it can be opened in tsMuxer as I'd like to mux it to m2ts?

I've tried a FFmpeg utility called Clever FFmpeg-GUI that opens it fine & can successfully re-mux it from mkv to m2ts but was curious as to why there is an issue with tsMuxer :(

jcdr428 commented 1 year ago

@oniiz86 from the error messages in the html, I believe it is your upload on ufile that failed. Can you give a onedrive or google drive link ?

oniiz86 commented 1 year ago

@jcdr428 Here is the OneDrive link https://1drv.ms/u/s!AmgVmKyn3jL-gVdhoidD7g63NehN?e=eRBenU

I've noticed that while the m2ts file created by Clever FFmpeg-GUI plays fine on my OPPO player, it fails to recognise the English PGS subtitle which is strange as I've never seen that before, MPC-HC & VLC players do recognise the PGS subtitle fine.

jcdr428 commented 1 year ago

@oniiz86 Not sure the mkv is fully compliant but anyway I have pushed a fix. Please try tomorrow's release.

oniiz86 commented 1 year ago

@jcdr428 The latest nightly build https://github.com/justdan96/tsMuxer/commit/fa3b5fc8cae78a099a134342904f3c973aa3a5e1 has fixed the issue, the file now opens without issue & can be muxed successfully, thanks so very much for that :)

I was just curious as to why for TS output the "Generate HDMV Compatible TS" is initially selected but when you select M2TS Output then select TS Output again it deselects, I believe it should remain selected by default as when I tried to create a .ts file the PGS subtitles were not generated by my bluray player only when I selected "Generate HDMV Compatible TS" was the .ts file fine with my bluray player now recognising the PGS subtitles which is correct as it is now bluray compliant, I believe that was the issue with the other program Clever FFmpeg-GUI that I mentioned above, it does not have the option to "Generate HDMV Compatible TS" descriptors for it to be bluray compliant & that is why my bluray player couldn't recognise the PGS subtitle.

jcdr428 commented 1 year ago

@oniiz86 hdmv is bluray/ m2ts standard. Ts is not bluray standard so hdmv is not default: you need to select manually the option.