Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nightly - 2023-11-12-01-58-56 = TrueHD Atmos crash @t mux/creation stagee m2ts ! #804

Open
metagondria opened this issue Nov 12, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@metagondria
Copy link

Iam using latest night build (x64) in hybrid .

When trying to extract/remux from M2TS to m2ts hybrid fails to do so just at the mux/creation step of the job!

Again, the A/V tracks are completely extracted (have checked that), but for some reason failed to remux via hybrid !

Fyi, using TsmuxGui outside hybrid to recompile the m2ts file works just fine .. :/

This ↓ is the Audio Info i receive from MediaInfo:

Audio #1
Count                                    : 320
Count of stream of this kind             : 3
Kind of stream                           : Audio
Kind of stream                           : Audio
Stream identifier                        : 0
Stream identifier                        : 1
StreamOrder                              : 0-1
Inform                                   : 448 kb/s, 48.0 kHz, 8 channels, MLP FBA AC-3 16-ch (Stream extension) (Dolby TrueHD with Dolby Atmos)
ID                                       : 4352
ID                                       : 4352 (0x1100)
Menu ID                                  : 1
Menu ID                                  : 1 (0x1)
Format                                   : MLP FBA
Format                                   : MLP FBA AC-3 16-ch
Format/Info                              : Meridian Lossless Packing FBA with 16-channel presentation
Commercial name                          : Dolby TrueHD with Dolby Atmos
Commercial name                          : Dolby TrueHD with Dolby Atmos
Format settings, Endianness              : Big
Format_AdditionalFeatures                : AC-3 16-ch
Muxing mode                              : Stream extension
Codec ID                                 : 131
Duration                                 : 8450442
Duration                                 : 2 h 20 min
Duration                                 : 2 h 20 min 50 s 442 ms
Duration                                 : 2 h 20 min
Duration                                 : 02:20:50.442
Duration                                 : 02:20:50.442
Bit rate mode                            : VBR
Bit rate mode                            : Variable
Bit rate                                 : 448000
Bit rate                                 : 448 kb/s
Maximum bit rate                         : 5547000
Maximum bit rate                         : 5 547 kb/s
Channel(s)                               : 8
Channel(s)                               : 8 channels
Channel positions                        : Front: L C R, Side: L R, Back: L R, LFE
Channel positions                        : 3/2/2.1
Channel layout                           : L R C LFE Ls Rs Lb Rb
Samples per frame                        : 1536
Sampling rate                            : 48000
Sampling rate                            : 48.0 kHz
Samples count                            : 405621216
Frame rate                               : 31.250
Frame rate                               : 31.250 FPS (1536 SPF)
Frame count                              : 264076
Compression mode                         : Lossless
Compression mode                         : Lossless
Delay                                    : 11650.666667
Delay                                    : 11 s 651 ms
Delay                                    : 11 s 651 ms
Delay                                    : 11 s 651 ms
Delay                                    : 00:00:11.651
Delay                                    : 00:00:11.651
Delay, origin                            : Container
Delay, origin                            : Container
Delay relative to video                  : 0
Delay relative to video                  : 00:00:00.000
Delay relative to video                  : 00:00:00.000
Stream size                              : 473224752
Stream size                              : 451 MiB (1%)
Stream size                              : 451 MiB
Stream size                              : 451 MiB
Stream size                              : 451 MiB
Stream size                              : 451.3 MiB
Stream size                              : 451 MiB (1%)
Proportion of this stream                : 0.01467
Service kind                             : CM
Service kind                             : Complete Main
Number of dynamic objects                : 13
Bed channel count                        : 1
Bed channel count                        : 1 channel
Bed channel configuration                : LFE
bsid                                     : 6
Dialog Normalization                     : -27
Dialog Normalization                     : -27 dB
compr                                    : 5.74
compr                                    : 5.74 dB
dynrng                                   : 5.60
dynrng                                   : 5.60 dB
acmod                                    : 7
lfeon                                    : 1
dialnorm_Average                         : -27
dialnorm_Average                         : -27 dB
dialnorm_Minimum                         : -27
dialnorm_Minimum                         : -27 dB
dialnorm_Maximum                         : -27
dialnorm_Maximum                         : -27 dB
dialnorm_Count                           : 905
compr_Average                            : 1.74
compr_Average                            : 1.74 dB
compr_Minimum                            : -3.25
compr_Minimum                            : -3.25 dB
compr_Maximum                            : 6.02
compr_Maximum                            : 6.02 dB
compr_Count                              : 802
dynrng_Average                           : 1.59
dynrng_Average                           : 1.59 dB
dynrng_Minimum                           : -3.25
dynrng_Minimum                           : -3.25 dB
dynrng_Maximum                           : 5.88
dynrng_Maximum                           : 5.88 dB
dynrng_Count                             : 897
format_identifier                        : AC-3


@jcdr428
Copy link
Collaborator

jcdr428 commented Nov 12, 2023

@metagondria @Selur the issue seems to lie with the tsMuxer version used by Hybrid ?

@Selur
Copy link

Selur commented Nov 12, 2023

@metagondria :

failed to remux via hybrid !

What does that mean? Does Hybrid crash, then there is either a difference in the meta file it creates and uses with tsMuxeR or the name of the output file differs from what Hybrid expected. (then it will abort since it assumes extraction failed)
also:
a. I doubt you have the latest dev version of Hybrid (I updated the dev just 2hrs ago,..)
b. Update tsMuxeR
c. if that doesn't help, since here remuxing works fine, share a debut output of Hybrid with me and a sample to reproduce the problem.

going to bed now, can look at it tomorrow after work, if you provide the debug output and a sample

@metagondria
Copy link
Author

metagondria commented Nov 12, 2023

@metagondria @Selur the issue seems to lie with the tsMuxer version used by Hybrid ?

@jcd Perhaps... Since extraction/muxing is just fine using tsmuxgui stand alone...

@metagondria :

failed to remux via hybrid !

What does that mean? Does Hybrid crash, then there is either a difference in the meta file it creates and uses with tsMuxeR or the name of the output file differs from what Hybrid expected. (then it will abort since it assumes extraction failed) also: a. I doubt you have the latest dev version of Hybrid (I updated the dev just 2hrs ago,..) b. Update tsMuxeR c. if that doesn't help, since here remuxing works fine, share a debut output of Hybrid with me and a sample to reproduce the problem.

going to bed now, can look at it tomorrow after work, if you provide the debug output and a sample

@sir selur,

It means exactly ThaT ↓ 0_o !?
I have mentioned in my initial post at what stage / step in hybrid it fails to complete the job ..!

I wrote Quote:↓
"When trying to extract/remux from M2TS to m2ts hybrid fails to do so just at the mux/creation step of the job!

What else can i add ? What do you expect from me ?

a. although you may have update hybrid an couple hours, that doesn't mean i have received an copy from you !
Much less using it ..

Furthermore, this thread wos created right before you updated Hybrid most probebly.

B. i have mentioned in my initial post way UP ↑ here, that i wos using the latest tsmux night build.
And as for hybrid, you should have known what hybrid release iam on..
Take an close look at my avatar, who does this remind you of xD ?

I mean, i've created an thread at your HQ selur , about this phenomenon 👍

I'll post a debug @selurs Palace sometime tomorrow or so..

cheers,
td.. erm metagondria ^^

@Selur
Copy link

Selur commented Nov 13, 2023

Hybrid uses:
"C:\Program Files\Hybrid\64bit\tsMuxeR.exe" "C:\temp\tsmuxer_2023-11-12@23_43_33_2310_01_0.meta" "C:\temp"
to extract the audio with:

MUXOPT --no-hdmv-descriptors --new-audio-pes --demux --vbr --vbv-len=500
A_AC3, "F:\BD50\FAST X\BDMV\STREAM\00246.m2ts", track=4352

this creates: C:\temp\00246.track_4352.ac3+thd (3680.2 MB)
which Hybrid renames to C:\temp\iId_7_lang_en_aid_4352._2023-11-12@23_43_33_2310_04.thd

Hybrid later uses:
"C:\Program Files\Hybrid\64bit\tsMuxeR.exe" "C:\temp\tsMuxerMeta_2023-11-12@23_43_33_2310__06.meta" "C:\temp\test.m2ts"
with:

MUXOPT --no-pcr-on-video-pid --new-audio-pes --vbr --vbv-len=500

V_MPEG4/ISO/AVC, "C:\temp\test_1_2023-11-12@23_43_33_2310_05.264", fps=23.976, insertSEI, contSPS, ar=1:1 (Square)

A_MLP, "C:\temp\iId_7_lang_en_aid_4352._2023-11-12@23_43_33_2310_04.thd", lang=eng

for muxing.
Which produces tons of:

Decoding TRUE-HD stream (track 2): TRUE-HD + ATMOS. Peak bitrate: 5547Kbps Sample Rate: 48KHz Channels: 8
TRUE-HD stream (track 2): bad frame detected at position00:00:00,032. Resync stream.

outputs and later crashes with: exitcode: -1073741676 and exitStatus: 1
=> does not seem like a bug in Hybrid

@jcdr428 jcdr428 added the bug Something isn't working label Nov 13, 2023
@metagondria
Copy link
Author

i like to add, that this only happends when tsmuxer via hybrid processes and demux/remux the COMPLETE media file.
I have tried to reproduce this issue with an short sample, but for some reason remuxes with short samples of 10,20 40 minutes of playtime succeeds !?!?

so, it's not timestamp related i guess .. but rather Adio (A_MLP / A_AC3 Truehd Atmos) and / or sync related !!

Just my wild guess..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants