Log in

View Full Version : PgcDemux CLI Whole DVD (Single Cell, Cid, Chapters Extract and Rename) (Solved)


Nexin
25th January 2014, 16:19
I have looked at many tools recently and none seem to do what I need except PgcDemux. But it is repetitive for what should be simple tasks for PgcDemux.

I am trying to use PgcDemux for Single Cell extract complete dvd for all chapters and streams for each Title.

Problem that makes the task repetitive is that I'm unable to instruct Single Cell to Extract all tracks (radio button list) for that Title. Meaning each one has to be extracted one at a time and then each chapter file has the same name so need to rename those each time.

I have tried to use PgcEdit also with cli but I cannot work out how to extract more than one Single Cell for example for Title 01 on a dvd

pgcdemux.exe -nocellt -nolog -cid 01 01 to 10 dvd_path output_path
OR
pgcdemux.exe -nocellt -nolog -cid 01 01-10 dvd_path output_path
OR
pgcdemux.exe -nocellt -nolog -cid 01 01, 02, 02, 04, 05, 06, 07, 08, 09, 10 dvd_path output_path



Stumbles on which chapters to extract 01 to 10 (or more) which have tried various ways, always only one chapter is extracted from Title 01

Also would need a way for PgcDemux to rename all the files it extracts stream demux all chapters, so the files are rename like so.

Title_01_Chapter01_.m2v
Title_01_Chapter01_.m2a
Title_01_Chapter01_.ac3
Title_01_Chapter01_.wav
Title_01_Chapter01_.dts
Title_01_Chapter01_subtitle.ext


Title_01_Chapter02_.m2v
Title_01_Chapter02_.m2a
Title_01_Chapter02_.ac3
Title_01_Chapter02_.wav
Title_01_Chapter02_.dts
Title_01_Chapter02_subtitle.ext


Title_02_Chapter01_.m2v
Title_02_Chapter01_.m2a
Title_02_Chapter01_.ac3
Title_02_Chapter01_.wav
Title_02_Chapter01_.dts
Title_02_Chapter01_subtitle.ext
etc..

Each file difference is only the file extension for each chapter. This is so PgcDemux doesn't overwrite each extracted Title single cell/s files (chapters) that are extracted. As often they always are extracted with the same name.

Needing a script to make this a one time process for each dvd. To simplify and make PgcDemux cli use to extracting of all Single Cell for all titles for the whole dvd.

Nexin
26th January 2014, 18:44
Solved: work with demuxed vob files instead..

VobBalnker

Load .ifo (to load and parse a dvd)

1: VobBlanker UI Upper Panel
Highlight VTS_Number#_*.vob [select a Title # number]

VobBlanker UI Lower Panel
Highlight PGC # [select a PGC #]

Right Mouse on PGC # [select Cell List]
or
Double Click on PGC #

Cells In Title [The window opened after above]

Select ExtAllMult [mouse over this button shows: Extract all Cells: One file per cell]

Select Output File [window will open]

Navigate where you want the files saved. Rename as needed making sure 001.vob remain at end of the name. VobBlanker during save will auto increment the 001 to next 002 etc for each new cells saved such as..

FileName - Title 01 - Chapter 001.vob
FileName - Title 01 - Chapter 002.vob

For other Titles Go to to 1: above and repeat until all Titles Cells you need are demuxed. Or continue reading below..


For the video and audio stream in each vob we need to demux them

I used BatchDemux v0.14 found here below. Download (if needed) unpack to where you want it. then navigate to bbdemux\bin\ folder and delete mpgtx.exe after that will be ok to run bbdemux..
[code]http://www.videohelp.com/tools/BatchDemux]

Make sure you have bbdemux engine selected at bottom of the tool

Open Directory [choose location you have saved the .vob files]

Run Demux [to start demuxing the .vob files]

Browse For Folder [location to save the demuxed files, faster demux if save to another hard drive]


This process works also I have hex compared these output files. Against PgcDemux Single Cells for a whole Title, all compared exactly the same.

Update: Unknown if bbdemux will crash again it is very old 2002. With that in mind the process above could do with a better or more reliable batch demuxer for vob files. Or a batch demux that can do more than vob files.

If you know of a good batch demux gui that is reliable please past a link to it here ;)