Log in

View Full Version : PgcDemux 1.0.0.2 released


CoNS
25th October 2004, 19:41
PgcDemux by jsoto can be found here: http://www.iespana.es/jsoto.
(Scroll down this thread to see the change log)
____________

jsoto, thanks for another great tool. I'm sure it'll come in handy. However, I have three nOOb questions regarding the program:
I can't remember if it was you or 2COOL, but one of you wrote in another thread that VobEdit shouldn't be used for demuxing. I didn't catch the reason for this (?), but PgcDemux does the job, then?
The output file extension for the video stream is .mpv. Is this exactly the same format as .m2v used when authoring with IfoEdit and ReJig? (can you just rename the .mpv file to .m2v and use it in those programs?)
What's the "Create a PGC VOB" option for?And then a suggestion: The "Output Folder" field cannot be left blank in the current version. Since there're no file overwriting issues due to the different extensions, perhaps you could set the default output folder to "\." (same directory as input directory) if the field is left blank?

2COOL
25th October 2004, 20:00
@jsoto

I just tried out your PgcDemux briefly. I got something to report.

When selecting...

R Demux video stream
R Create a PGC VOB

... PgcDemux forever hangs at the end of progress bar. Do I supposed to have a confirmation dialog that process is over? It's not like you to not put one in.

Also, the video stream is still present when viewing the VOB in VobEdit. I tried stripping the audio too and it's still present in the new VOB. I assume it was a stripped out version but it's not. :confused:

UPDATE: The new PGC VOB seems to be the same size as my original. I assumed again that it was just a rebuilt copy. But when I play the new VOB, playback is horrible! :eek: I got blocks all over the place! I hate to say it but...it definitely got butchered!

P.S. What's with the mpv file?

Tobii
25th October 2004, 21:04
@ jsoto

I think there is a problem with PgcDemux.

Settings in PgcDemux:

- Demuxe video stream is on
- Demuxe audio stream is on
- Create a Pgc VOB is on

after demux:

- Videostream (mpv) alone worked and can play
- Audiostream (ac3) alone worked and can play
- The new VOB doesn't work (The player shows me a resolution of 1063x576 and playback is horrible)

Sometimes the VOB doesn't have the same size as the original either.

jsoto
25th October 2004, 22:39
Sorry guys, I didn't test the produced VOB, because I was focussed on the elementary streams, and yes, there is a stupid bug in the VOB generation. I'll fix it inmediatly and also I'll add a confirmation box when finish, and change the video extension.

Just some additional clarifications:
- PGC VOB: It should be an "isolated PGC" VOB. That means, if your VTS is a single pgc one (assuming there is no unreferenced material in it) the resulting VOB must be the same than the original. PgcDemux is able to "demux" but it does not do any kind of "stripping" in the VOB. If the original set of VOBs is a multi-PGC one, the generated VOB will be smaller, including only the selected PGC.

- Checking any box means create the corresponding elementary stream file/s.

jsoto
PS: I didn't expect so interest. You can do what PgcDemux does with a lot of free tools. I wrote the app just to learn how extract the subpictures in sup format.

jsoto
25th October 2004, 23:21
Done and uploaded.
Vers 1.0.0.2 (25-10-2004)
- BugFix: Bug in VOB generation.
- Changed: Extension of videofile to m2v
- Added: MessageBox confirmation at the end of the process.

jsoto

2COOL
26th October 2004, 05:06
Thanks for the quick fix! :D Looks good so far.

CoNS
26th October 2004, 07:59
jsoto, did you see my post above? :)

jsoto
26th October 2004, 11:15
@CoNS
Yes, and I'm assuming it was answered in my previous post..
Anyway, to be more specific:

I can't remember if it was you or 2COOL, but one of you wrote in another thread that VobEdit shouldn't be used for demuxing. I didn't catch the reason for this (?), but PgcDemux does the job, then?
Yes. it does, but it is still in an early stage, so some bugs can be inside. Be careful
The output file extension for the video stream is .mpv. Is this exactly the same format as .m2v used when authoring with IfoEdit and ReJig? (can you just rename the .mpv file to .m2v and use it in those programs?)Done in 1.0.0.2
What's the "Create a PGC VOB" option for?Already explained (if you need more clarifications, please ask)
And then a suggestion: The "Output Folder" field cannot be left blank in the current version. Since there're no file overwriting issues due to the different extensions, perhaps you could set the default output folder to "\." (same directory as input directory) if the field is left blank? No. Selecting "Create a PGC VOB" output file name can be the same than the originals.

@ALL
It is my intention to add:
- Menu domain support
- Celltimes extraction
- Audio/video delay info in a logfile
- Multiangle support. (ILV cells should be already supported, but I didnīt test it).

jsoto

katjarella
26th October 2004, 11:27
Originally posted by jsoto
- Menu domain support
- Celltimes extraction
jsoto [/B]

ooohhh Yes !!!

Then still another PgcMultiplex (http://forum.doom9.org/showthread.php?s=&threadid=83785) Product :) and I am very lucky.

CoNS
26th October 2004, 11:58
@jsoto: Yes, could you clarify further what the "PGC VOB" option does?

jsoto
26th October 2004, 12:34
@katjarella
Demux is easy. Mux is not. (at least to me)

@CoNS
Did you see a multi-PGC VOB?

A VOB is composed by several Cells. But the IFO has the info about how the cells have to be played, that is:
- A the PGC (Program Chain) is a succession of Cells.
- Usually one VTS (a set of VOBs) has more than one PGC.
- Each PGC can have different streams active, and the different PGCs audios can have different audio/video delays

So, if you try to demux a VOB without getting the info of the PGCs (from the IFO), sure you will have problems. (Unless you are going to demux a single cell.)

i.e: think in the following example:
PGC # 1 has one audio streams (0x81)
PGC # 2 has three audio streams (0x80 , 0x81 & 0x82)
PGC # 3 has one audio stream (0x82)

But, using VOBEdit, you do not know nothing about the PGCs, so the extracted files audio_80.ac3, audio_81.ac3 and audio_82.ac3 cannot be in synch with the video.


"Create a PGC VOB", just keeps the selected PGC in the output VOB, but does not copy the other PGCs. In this way, you can use VobEdit on the output VOB (because it is a single-PGC one).


jsoto

CoNS
3rd November 2004, 15:15
( This thread is continued here: http://forum.doom9.org/showthread.php?s=&threadid=84778 )