PDA

View Full Version : Editing clip info (to get subs working) on avchd/bluray


exroosje
26th May 2008, 13:36
I've been transcoding avchd/bluray movie-only discs from 1080p/DVD-9 to 720p/DVD-5 in order to be able to use cheaper media (and my TV is only 720P anyway and my PC is having a less hard time with 720P content). I've been using me-gui for the transcoding of the H264 stream, which is pretty foolproof once you realize the overhead of the M2TS muxing adds another 6% overhead to the bitrate.

Typically the original discs contains a subtitle PGC as well, which I want to keep. When I remux the transcoded H264 stream into the original stream witrh TSremux the PGC stream gets detected and is included. When I create a new BD structure though, the subs are also detected by powerDVD, but nothing is shown. When I use the original structure and only replace the m2ts, the subs are detected and shown.

Sadly, this "hack" is not fully functional , as the disc fails when trying to skip a chapter or moving to a position, causing powerdvd to hang. Furthermore if I also replace the audiostream (say transcode 1500kbps DTS by 640kbps AC3
to preserve space) it fails alltogether. And maybe standalone players will refuse the discs entirely.

So I need to edit the structure files. I came across the bdedit tool, finding out that I need to edit playlist and clipinfo files as they contain both this information. Furthermore, the clipinfo seems the important one for the subs as it determines if subs are shown or not (i've tried selectively to replace files from the original structure finding out that i need the clip file to be the original to show subs but the new one to be able to skip a chapter)

BDedit though seems not to be able to edit the clip part of the structure (or i've missed something, the save button is permenently grayed out). How can do you get a clip file (or BD structure) that shows the subtitles? Either from one of the original files editing the resolution or creating the files in a different manner like editing something of the tsremux generated files.

exroosje
27th May 2008, 10:44
I've found this link with a possible solution by hexediting playlist and clipinfo

http://forum.doom9.org/showthread.php?p=1094903#post1094903