Demuxing a HD-DVD issues

eac3to forked from madshi eac3to 3.36
Post Reply
DAE avatar
Phoenix_82
Posts: 2
Joined: Fri Jun 28, 2024 8:04 pm

Demuxing a HD-DVD issues

Post by Phoenix_82 »

Hi there,

I have a HD-DVD and I'd like to remux it as .mkv.

I'm having problems with its subs though... eac3to simply doesn't seem to recognize them. They are present, however, in the "ADV_OBJ" folder in the HD-DVD folder structure (as ACA files). The disc supposedly has German, Danish, Finish, Swedish Norwegian and Dutch subtitles.

Here's the log with its playlists and the main playlist itself:
eac3to v3.34
command line: eac3to "b:\L'ARMEE DES OMBRES"
------------------------------------------------------------------------------
1) L0_mainMovie.EVO+L1_mainMovie.EVO, 2:24:17
"MainMovie"
- VC-1, 1080i (16:9)
- DTS-HD, French, 2.0, 48kHz
- DTS-HD, German, 2.0, 48kHz

2) trailer.EVO, 0:03:52
"Trailer"
- VC-1, 1080i (16:9)
- DTS-HD, English, 2.0, 48kHz

3) advanced.EVO, 0:00:30
"SpecialFeatures"
- VC-1, 1080i (16:9)
-----------------------------------------------------------------------------------
eac3to v3.34
command line: eac3to "b:\L'ARMEE DES OMBRES" 1)
------------------------------------------------------------------------------
EVO, 1 video track, 2 audio tracks, 2:24:17
1: Joined EVO file
2: Chapters, 12 chapters
3: VC-1, 1080p24 /1.001 (16:9) with pulldown flags
4: DTS Master Audio, French, 2.0 channels, 16 bits, 48kHz
(core: DTS, 2.0 channels, 1509kbps, 48kHz)
5: DTS, German, 2.0 channels, 768kbps, 48kHz
I know that eac3to supports HD-DVD. In fact, I can demux that main playlist just fine. Without the subs... I just wonder if there is something regarding subtitles that I'm not aware of.

Many thanks in advance for any feedback on this :)
DAE avatar
trojiteEL
Posts: 18
Joined: Tue Oct 31, 2023 9:18 am

Demuxing a HD-DVD issues

Post by trojiteEL »

That's indeed strange. Demuxed a couple of hd-dvds with older or newest versions of eac3to and never had issues with demuxing subtitles. Maybe this is some oddly mastered disc?
DAE avatar
Phoenix_82
Posts: 2
Joined: Fri Jun 28, 2024 8:04 pm

Demuxing a HD-DVD issues

Post by Phoenix_82 »

Thanks for your reply.

I did demux successfully a handful of them in the past. With no issues regarding subtitles. I have no idea if it is a problem with the disc. It seems otherwise fine.

Actually, I asked for help elsewhere and someone managed to extract the subs (somehow) from those .aca files but it's just a collection of PNGs and xmu and xmf files. If I had a .xml indexing those images I might then use BDSup2Sub and export them as SUPs. It's not the case. He says I'd need custom tooling to convert those files to PGS.

I just wanted to try and understand how could I get eac3to to actually 'see' them and do things the way I always did. Both DGDemux and MakeMKV also can't read them and eac3to was always my most reliable tool.
User avatar
Bullwinkle
Posts: 345
Joined: Thu Sep 05, 2019 6:37 pm

Demuxing a HD-DVD issues

Post by Bullwinkle »

Obscure HD-DVD functionality? No. She's dead, Jim.
User avatar
Rocky
Posts: 3754
Joined: Fri Sep 06, 2019 12:57 pm

Demuxing a HD-DVD issues

Post by Rocky »

Thanks for asking, Phoenix_82! I think it may be about 2-bit versus 8-bit VOBSUB, aka 'extended VOBSUB'. Whatever.
DAE avatar
trojiteEL
Posts: 18
Joined: Tue Oct 31, 2023 9:18 am

Demuxing a HD-DVD issues

Post by trojiteEL »

Rocky wrote:
Tue Jul 02, 2024 2:47 pm
Thanks for asking, Phoenix_82! I think it may be about 2-bit versus 8-bit VOBSUB, aka 'extended VOBSUB'. Whatever.
Would it be possible to investigate this exact issue or is it not worth it for one disc or rather dead disc format? I mean when Curly is available ofc. :salute:
User avatar
Rocky
Posts: 3754
Joined: Fri Sep 06, 2019 12:57 pm

Demuxing a HD-DVD issues

Post by Rocky »

Curly is back in town tomorrow so I'm sure he'll reply.
User avatar
Curly
Posts: 768
Joined: Sun Mar 15, 2020 11:05 am

Demuxing a HD-DVD issues

Post by Curly »

We don't have any HD-DVD disks or a way to rip them. Can you give us what we need?
Curly Howard
Director of EAC3TO Development
DAE avatar
HPotter
Posts: 42
Joined: Thu Jul 29, 2021 9:54 am

Demuxing a HD-DVD issues

Post by HPotter »

Curly wrote:
Sat Jul 06, 2024 11:34 am
We don't have any HD-DVD disks or a way to rip them. Can you give us what we need?
Hey Curly, check PM ;) .

P.S. Subs there in ADV_OBJ folder in .aca files like subda.aca, subfr.aca etc.
There is Danish, Dutch, Finnish, French forced guess, German, Norwegian, Swedish subs.

It's first HD DVD for me that eac3to can't manage with subs to extract them to .sup like for other guys.

Interesting if you could figure out this one rare case :idea: .
User avatar
Curly
Posts: 768
Joined: Sun Mar 15, 2020 11:05 am

Demuxing a HD-DVD issues

Post by Curly »

Thank you, Harry. Downloading...
Curly Howard
Director of EAC3TO Development
User avatar
Curly
Posts: 768
Joined: Sun Mar 15, 2020 11:05 am

Demuxing a HD-DVD issues

Post by Curly »

eac3to is king for hddvd so lets make it better
i got yer streams, you r the man HPotter
one stream working, one not, so clear!
God willing we see the reason and humbly ask the
divine spirit to energize and direct us, so that we may directly
and indirectly pay homage to creation.
Curly Howard
Director of EAC3TO Development
User avatar
Sherman
Posts: 633
Joined: Mon Jan 06, 2020 10:19 pm

Demuxing a HD-DVD issues

Post by Sherman »

So sayeth the Curl.
Sherman Peabody
Director of Linux Development
User avatar
Curly
Posts: 768
Joined: Sun Mar 15, 2020 11:05 am

Demuxing a HD-DVD issues

Post by Curly »

OK guys, here is where things fail:

Code: Select all

if FEvo then
  for i1 := 0 to 31 do
    if dword(pointer(@buf[pos + 6 + $223 + dword(i1) * 4])^) <> 0 then
      InitOutput(false, false, i1, 'evo/sub');
For the good disk, InitOutput() is called. For the bad disk, InitOutput() is not called. So the test above the InitOutput() call is failing. In order to go any further I need someone to link me to the HDDVD specification that covers subtitles. Without that I cannot decipher that test. I've looked around a bit online but haven't found the spec yet.

BTW, have y'all tried evodemux for these disks?
Curly Howard
Director of EAC3TO Development
DAE avatar
HPotter
Posts: 42
Joined: Thu Jul 29, 2021 9:54 am

Demuxing a HD-DVD issues

Post by HPotter »

Curly wrote:
Thu Jul 11, 2024 8:34 am
BTW, have y'all tried evodemux for these disks?
evodemux, makemkv etc don't see subs here as eac3to for L'ARMEE DES OMBRES disk.
DAE avatar
HPotter
Posts: 42
Joined: Thu Jul 29, 2021 9:54 am

Demuxing a HD-DVD issues

Post by HPotter »

Curly wrote:
Thu Jul 11, 2024 8:34 am
In order to go any further I need someone to link me to the HDDVD specification that covers subtitles. Without that I cannot decipher that test. I've looked around a bit online but haven't found the spec yet.
Fow now found those specs:
Requirements Specification for HD DVD Video Application v. 1.0

http://www.dvdforum.org/images/Requirem ... ly2005.pdf

HD DVD-Video Product Requirement & Guideline:
v 1.0 https://www.dvdfllc.co.jp/pdf/HDDVD-VR_ ... de_V10.pdf
v 1.03 http://www.dvdfllc.co.jp/pdf/HDDVD-Vide ... e_V103.pdf
v. 1.2 https://www.dvdfllc.co.jp/pdf/HDDVD-Vid ... de_V12.pdf
User avatar
Curly
Posts: 768
Joined: Sun Mar 15, 2020 11:05 am

Demuxing a HD-DVD issues

Post by Curly »

Thanks but there's nothing useful there. I need the syntax/semantics for subtitles on HDDVD.
Curly Howard
Director of EAC3TO Development
User avatar
Curly
Posts: 768
Joined: Sun Mar 15, 2020 11:05 am

Demuxing a HD-DVD issues

Post by Curly »

OK guys, I'm going to put this aside for now. If a spec falls into my hands we can resume it. Please post here if anyone stumbles on the spec. For now I want to get a new release out with the -nolog option and the fix for 2-pass FLAC.
Curly Howard
Director of EAC3TO Development
DAE avatar
Superb
Posts: 8
Joined: Wed May 08, 2024 12:41 pm

Demuxing a HD-DVD issues

Post by Superb »

Hi, I also ran into a disc with this issue, and I dug around a bit, I found a few useful resources.

This tool, available as binary and Java source code can unpack the ACA archives:
https://www.softsea.com/review/DumpHD.html

Here is a Spanish paper describing the standard:
https://upcommons.upc.edu/handle/2099.1/4599

After unpacking, you get PNG files and some .xmu files describing the the timing/position. That should be possible to convert to SUP.

edit: I had luck making a BDN XML with the data in the file, and then converting that to SUP. Images and positions are in the same format, just have to convert timestamps.
User avatar
Curly
Posts: 768
Joined: Sun Mar 15, 2020 11:05 am

Demuxing a HD-DVD issues

Post by Curly »

ta Superb
thing is with all the available workarounds
shud we really bother
wanna go forward not backward
Curly Howard
Director of EAC3TO Development
DAE avatar
HPotter
Posts: 42
Joined: Thu Jul 29, 2021 9:54 am

Demuxing a HD-DVD issues

Post by HPotter »

There is another HD DVD that eac3to can't recignize subs Arizona Dream 1993
https://www.lddb.com/hddvd/01891/SHDS-9 ... zona-Dream
with Danish, Dutch, English, Finnish, French, German, Norwegian, Swedish subs but eac3to don't see them.

Curly check PM pls.
Upd. seems you read already :salute: .
Post Reply