Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Audio encoding

Reply
 
Thread Tools Search this Thread Display Modes
Old 28th October 2019, 05:15   #14861  |  Link
SquallMX
Special SeeD
 
Join Date: Nov 2002
Location: Mexico
Posts: 266
Seamless branching for new 4K titles seems to be broken. Audio goes out of sync, subtitles are also affected.
SquallMX is offline   Reply With Quote
Old 28th October 2019, 08:46   #14862  |  Link
l00t
Where's my loot?
 
Join Date: May 2019
Posts: 18
Quote:
Originally Posted by SquallMX View Post
Seamless branching for new 4K titles seems to be broken. Audio goes out of sync, subtitles are also affected.
Not just for new titles, but for almost every seamless branched UHD discs. For these it is recommended to use DGDecNV or MakeMKV.
l00t is offline   Reply With Quote
Old 28th October 2019, 16:13   #14863  |  Link
SquallMX
Special SeeD
 
Join Date: Nov 2002
Location: Mexico
Posts: 266
Quote:
Originally Posted by l00t View Post
Not just for new titles, but for almost every seamless branched UHD discs. For these it is recommended to use DGDecNV or MakeMKV.
Yeah, I using MakeMKV as a workaround, unfortunately ac3to also fails when transcoding TrueHD to WAV/FLAC if the MKV was created from a Seamless Branched disc using MakeMKV.
SquallMX is offline   Reply With Quote
Old 28th October 2019, 16:24   #14864  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Hollola, Finland
Posts: 4,636
I think you should create an issue at http://bugs.madshi.net/main_page.php, madshi has fixed critical bugs even if the application is not actively developed.
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline   Reply With Quote
Old 28th October 2019, 16:37   #14865  |  Link
redbtn
Registered User
 
redbtn's Avatar
 
Join Date: Jan 2019
Location: Russia
Posts: 126
Quote:
Originally Posted by Boulder View Post
I think you should create an issue at http://bugs.madshi.net/main_page.php, madshi has fixed critical bugs even if the application is not actively developed.
It's already there over 1.5 years
http://bugs.madshi.net/view.php?id=542

Last edited by redbtn; 28th October 2019 at 16:39.
redbtn is offline   Reply With Quote
Old 28th October 2019, 16:50   #14866  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Hollola, Finland
Posts: 4,636
Quote:
Originally Posted by redbtn View Post
It's already there over 1.5 years
http://bugs.madshi.net/view.php?id=542
Uh, doesn't look too good then

I wonder if ffmpeg can handle such streams joined by MakeMKV?
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline   Reply With Quote
Old 28th October 2019, 16:59   #14867  |  Link
redbtn
Registered User
 
redbtn's Avatar
 
Join Date: Jan 2019
Location: Russia
Posts: 126
Quote:
Originally Posted by Boulder View Post
Uh, doesn't look too good then
I wonder if ffmpeg can handle such streams joined by MakeMKV?
I've heard that DGDecNV can demux this correctly, but I don't have it to check.

Quote:
Originally Posted by SquallMX View Post
Yeah, I using MakeMKV as a workaround, unfortunately ac3to also fails when transcoding TrueHD to WAV/FLAC if the MKV was created from a Seamless Branched disc using MakeMKV.
It fails with error or output flac doesn't sync with video?

Last edited by redbtn; 28th October 2019 at 17:03.
redbtn is offline   Reply With Quote
Old 28th October 2019, 17:47   #14868  |  Link
videoh
Registered User
 
Join Date: Jul 2014
Posts: 1,013
Quote:
Originally Posted by redbtn View Post
I've heard that DGDecNV can demux this correctly, but I don't have it to check.
The latest version can indeed correctly demux all elementary streams, subtitles, and chapters in sync with the video. It's been tested on several disks, such as the UHD version of Cars 2 (which has boatloads of M2TS files in the playlist). If any other streams are not handled correctly please let us know and they'll be addressed straight away. Here is an interesting thread on the matter:

http://rationalqm.us/board/viewtopic.php?f=8&t=780

wherein Bullwinkle advised how to do this sync correction correctly. Possibly madshi is interested in his HW offerings these days.

Last edited by videoh; 29th October 2019 at 03:01.
videoh is offline   Reply With Quote
Old 28th October 2019, 17:51   #14869  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Hollola, Finland
Posts: 4,636
Quote:
Originally Posted by videoh View Post
The latest version can indeed correctly demux all streams in sync with the video. I have tested it on several disks, such as Cars 2. If any other streams are not handled correctly please let me know and I will address them straight away. Here is an interesting thread on the matter:

http://rationalqm.us/board/viewtopic.php?f=8&t=780
Hehe, must have been the best 15 bucks I ever spent that I put in the DGDecNV license
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline   Reply With Quote
Old 28th October 2019, 18:34   #14870  |  Link
videoh
Registered User
 
Join Date: Jul 2014
Posts: 1,013
DGDecNV wants to thank you for all your great contributions over the years, Boulder, and for your contributions to the entire video community!

Last edited by videoh; 29th October 2019 at 03:02.
videoh is offline   Reply With Quote
Old 28th October 2019, 19:21   #14871  |  Link
videoh
Registered User
 
Join Date: Jul 2014
Posts: 1,013
We could make a stand-alone demuxer that doesn't require an nVidia card.
videoh is offline   Reply With Quote
Old 28th October 2019, 19:43   #14872  |  Link
l00t
Where's my loot?
 
Join Date: May 2019
Posts: 18
Quote:
Originally Posted by Boulder View Post
Hehe, must have been the best 15 bucks I ever spent that I put in the DGDecNV license
It's definitely worth buying

Quote:
Originally Posted by videoh View Post
We could make a stand-alone demuxer that doesn't require an nVidia card.
That would be like Christmas
l00t is offline   Reply With Quote
Old 29th October 2019, 02:23   #14873  |  Link
videoh
Registered User
 
Join Date: Jul 2014
Posts: 1,013
Ordering my Santa outfit.

We can make it freeware, why not? DGDemux sounds good. Take a bluray/uhd playlist and deliver all elementary streams, subtitles, and chapters in sync.

MakeMKV uses container timestamps to fix things up AFAIK, for ES demuxing you are in trouble.

Last edited by videoh; 29th October 2019 at 04:34.
videoh is offline   Reply With Quote
Old 29th October 2019, 10:24   #14874  |  Link
SeeMoreDigital
Life looks better in UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 11,457
Quote:
Originally Posted by videoh View Post
Ordering my Santa outfit.

We can make it freeware, why not? DGDemux sounds good. Take a bluray/uhd playlist and deliver all elementary streams, subtitles, and chapters in sync.
Amazing
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 29th October 2019, 16:07   #14875  |  Link
SquallMX
Special SeeD
 
Join Date: Nov 2002
Location: Mexico
Posts: 266
Quote:
Originally Posted by redbtn View Post
I've heard that DGDecNV can demux this correctly, but I don't have it to check.


It fails with error or output flac doesn't sync with video?
It fails with an 'Lossless Check Failed - Expected XX, Calculated YY' error, usually around a seamless branching scene.
SquallMX is offline   Reply With Quote
Old 29th October 2019, 16:53   #14876  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Hollola, Finland
Posts: 4,636
I think those errors are not an issue, they've always been there as far as I remember.
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline   Reply With Quote
Old 29th October 2019, 17:01   #14877  |  Link
redbtn
Registered User
 
redbtn's Avatar
 
Join Date: Jan 2019
Location: Russia
Posts: 126
Quote:
Originally Posted by SquallMX View Post
It fails with an 'Lossless Check Failed - Expected XX, Calculated YY' error, usually around a seamless branching scene.
It happens often when I convert DTS XXL to FLAC. But with TrueHD I didn't notice it. And of course any not lossless format gives this messages.

Last edited by redbtn; 29th October 2019 at 17:11.
redbtn is offline   Reply With Quote
Old 30th October 2019, 17:26   #14878  |  Link
SquallMX
Special SeeD
 
Join Date: Nov 2002
Location: Mexico
Posts: 266
Quote:
Originally Posted by Boulder View Post
I think those errors are not an issue, they've always been there as far as I remember.
I think MakeMKV is not fixing the truehd audio properly.

TrueHD audio from seamless branching title created by DGIndexNV to FLAC conversion works OK
TrueHD audio from seamless branching title created by eac3to to FLAC conversion works OK but is out of sync
TrueHD audio from seamless branching title created by MakeMKV to FLAC conversion fails

Looks like DGIndexNV is the best tool for the job,
who would have thought that, best 15 dollars I've ever spent.
SquallMX is offline   Reply With Quote
Old 30th October 2019, 18:02   #14879  |  Link
videoh
Registered User
 
Join Date: Jul 2014
Posts: 1,013
Quote:
Originally Posted by SquallMX View Post
I think MakeMKV is not fixing the truehd audio properly.

TrueHD audio from seamless branching title created by DGIndexNV to FLAC conversion works OK
TrueHD audio from seamless branching title created by eac3to to FLAC conversion works OK but is out of sync
TrueHD audio from seamless branching title created by MakeMKV to FLAC conversion fails
Are you using the TrueHD stream or its embedded AC3?

Quote:
Looks like DGIndexNV is the best tool for the job,
who would have thought that, best 15 dollars I've ever spent.
Looks like I got lucky, because I don't even do gap processing for TrueHD (although I do for the embedded AC3). It appears to not be necessary for TrueHD, and perhaps the problem for eac3to is that it does this processing when not needed. The eac3to algorithm does not look good to me (deleting duplicated audio frames AFAIK). Can you try with that -no2ndpass thingie (assuming you are using the TrueHD and not its embedded AC3)?

Last edited by videoh; 30th October 2019 at 18:05.
videoh is offline   Reply With Quote
Old 31st October 2019, 02:30   #14880  |  Link
videoh
Registered User
 
Join Date: Jul 2014
Posts: 1,013
Quote:
Originally Posted by SeeMoreDigital View Post
Amazing
He he, now I have to deliver it. No way I can let you down.

Created the project today and started coding... Whee!

Last edited by videoh; 31st October 2019 at 04:10.
videoh is offline   Reply With Quote
Reply

Tags
eac3to

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 15:14.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.