gravitypriest / dragon-radar

Utility for demuxing, synchronizing, and muxing R1 Dragon Ball audio and subtitle assets with R2 video
MIT License
11 stars 1 forks source link

Dragon Box Singles/Special Selection DVD support #3

Open Danfun64 opened 7 years ago

Danfun64 commented 7 years ago

For some people, the Dragon Box Singles are a lot easier to find than the actual Dragon Boxes. Their content isn't identical (I think they might be slightly lower quality) but it's still better than the Blue and Green Bricks and the Double Features (can't say whether the DB Singles or the Funi Dragon Boxes look and sound better though).

Also, it's possible that for the Dragon Box episodes that are interlaced that the Singles fixed that issue...but I can't say for sure.

Danfun64 commented 7 years ago

...and speaking of singles...support for Funi GT (NEP dub and sub) and Z (pre-redub with horrible encoding xD)

Danfun64 commented 7 years ago

...you said you were going to write a guide so we can do syncing by ourselves... when will that come out?

gravitypriest commented 7 years ago

FWIW I own some of the singles and the video is identical to the DBox, even the interlaced episodes.

As for the guide, I've begun it, but that is a serious time commitment and this is a hobby project. Just haven't got around to it yet.

Danfun64 commented 7 years ago

Video is identical... meaning the dvd layout is pretty much the same, like with dvd titles and stuff?

Especially where the Special Selection DVD is concerned...

Danfun64 commented 7 years ago

On another note, if you do support the Funi DBGT singles eventually, do you think you can set it up so that it combine stuff from both those and the Green Bricks (basically Green Bricks audio but with subtitles the NEP audio from the Funi DBGT singles)? I'm not sure if that can be done automatically, and the NEP audio for the dub doesn't exist with the Japanese music, but it will still be "complete".

JTF195 commented 7 years ago

The same is true of the orange bricks and the funi dbox, which has subtitles for the NEPs. It would be nice to be able to combine them.

On the subject of GT though, I have the funi Hero's Legacy single dvd which uses the pre-remastered video, but neither it nor the green brick version have the original intro. Would it be possible to rip the R2/DBGT_SP video as-is leaving the pre-OP intro intact?

gravitypriest commented 7 years ago

I am not sure whether the green brick and single have the same amount of frames, but the green brick retiming takes the 'special' intro into account.

JTF195 commented 7 years ago

So I assume all that would need to change is to simply not cut that part, and then start the english audio after the japanese-only intro has played?

Also,

  • Create straight DVD-to-MKV rips of a single release

MakeMKV can be used to dump VOB files straight into MKV containers. I'm not sure if it can be automated, but the main thing thing dragon radar would need to handle is naming the resulting files. (This would also be useful for extracting the extras and special features which are unique to a specific release)

gravitypriest commented 7 years ago

Yeah no need to cut the intro off-- the -146 here: https://github.com/gravitypriest/dragon-radar/blob/master/params/offsets.json#L8336 is the intro frames right before the OP, meaning the EN audio and subs are shifted 146 frames ahead.

gravitypriest commented 7 years ago

If you want the video without the intro, easiest way would be to create the movie normally, then use mkvtoolnix to split the file

gravitypriest commented 7 years ago

It may not cut cleanly due to I-frames, but at that point the only option is re-encoding but that's outside the scope of this project

JTF195 commented 7 years ago

Just to clarify, what I'm talking about is the 30 second intro clip that plays before the opening credits on the R2 version . Dragon radar currently produces an mkv starting at the opening credits.

What do I need to do to include that (even though it doesn't have english audio or subs)

gravitypriest commented 7 years ago

Ah okay, sounds like you're talking about the next episode preview. If you want that I recommend ripping it yourself using pgcdemux and merging it with the episode using mkvtoolnix.

JTF195 commented 7 years ago

Yeah it's the NEP from the previous episode I'm guessing. If you play the special from the R2 DVD itself, it's included along with the episode. Ripping the DVD with MakeMKV included it also.

Shouldn't it be fairly simple to modify dragon radar to include it? (I think just change the starting VOB id, assuming I can figure out the right offset to use for the R1 start?)

JTF195 commented 7 years ago

Alright. I demuxed the NEP by itself and calculated the total number of frames as 30.864 * (30/1.001), which rounds up to 925. Combined that with the existing 146 and to get an offset of -1071

Switched the demux param to pgc 1 and it was smooth sailing

JTF195 commented 7 years ago

I got my bardock and trunks dvd today, and i noticed the bardock special also had a japanese-only NEP, so I used the same process to get an offset of -1113 for frame 0, and switched it to pgc 1 instead of vid 2.

All 3 specials also have a short closing title after the credits that is omitted unless demuxed as pgc 1.