Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > (HD) DVD, Blu-ray & (S)VCD > IFO/VOB Editors

Reply
 
Thread Tools Search this Thread Display Modes
Old 8th November 2004, 22:48   #421  |  Link
jsoto
Just a Member
 
Join Date: Nov 2002
Location: Spain
Posts: 2,067
Quote:
I wonder if that's what jsoto used to control DVD2AVI, although I think I remember he used Windows SendMessage...
Yes, I'm using SendMessage.
Quote:
. If you can call a C++ program from tcl/tk, then we could replicate jsoto's windows messages solution by having a small program forward calls from tcl/tk to windows... Pretty ugly but hey, as long as it does the job...
Yes, it can be done easily. Just an exe with the parameters to be used in SendMessage. And, also yes, pretty ugly...

jsoto
__________________
Web sites with my tools
http://download.videohelp.com/jsoto
http://jsoto.posunplugged.com/
jsoto is offline   Reply With Quote
Old 8th November 2004, 23:00   #422  |  Link
lamster
Registered User
 
Join Date: Nov 2003
Posts: 299
Quote:
Originally posted by jsoto
Yes, I'm using SendMessage.
Yes, it can be done easily. Just an exe with the parameters to be used in SendMessage. And, also yes, pretty ugly...
Since there's supposedly a DLL-caller extension (although the link it points at appears dead), might it be less ugly if you just loaded USER32.dll and called SendMessage directly? (Sorry if this is a dumb question; as I said, I'm not familiar with Tcl.)
lamster is offline   Reply With Quote
Old 8th November 2004, 23:12   #423  |  Link
jeanl
Registered User
 
jeanl's Avatar
 
Join Date: Sep 2004
Location: California, USA
Posts: 2,079
If that works, that's a very good suggestion! One fewer intermediate steps. PgcEdit could use the same modified DVD2AVI that jsoto came up with and talk to it via windows messages, the same way vobblanker talks to it...
Suddenly PgdEdit preview does not seem so out of reach

EDIT: I also saw an extension of tcl called "CWind" that allows sending windows messages from tcl...
http://www.interq.or.jp/japan/s-imai/tcltk/cwind.html
Jeanl

Last edited by jeanl; 8th November 2004 at 23:25.
jeanl is offline   Reply With Quote
Old 8th November 2004, 23:20   #424  |  Link
2COOL
PGC Navigator in Training
 
2COOL's Avatar
 
Join Date: Oct 2002
Location: NTSC Land
Posts: 3,552
Quote:
Originally posted by jeanl
If that works, that's a very good suggestion! One fewer intermediate steps. PgcEdit could use the same modified DVD2AVI that jsoto came up with and talk to it via windows messages, the same way vobblanker talks to it...
Suddenly PgdEdit preview does not seem so out of reach

Jeanl
"Without vision, we are blind to opportunity."
__________________
2COOL
2COOL is offline   Reply With Quote
Old 9th November 2004, 01:35   #425  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,469
Thanks to everybody here helping to implement a preview in PgcEdit. Great!
For your information, as this is not a programming thread, we are currently exchanging PMs and mails on this matter. I will keep you informed of the progress of the Preview...
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 9th November 2004, 03:08   #426  |  Link
DMagic1
Registered User
 
DMagic1's Avatar
 
Join Date: Dec 2002
Posts: 507
Great work.
DMagic1 is offline   Reply With Quote
Old 9th November 2004, 04:29   #427  |  Link
2COOL
PGC Navigator in Training
 
2COOL's Avatar
 
Join Date: Oct 2002
Location: NTSC Land
Posts: 3,552
@r0lZ

When we choose to "Jump to Target" in our menu buttons viewer, we can see the jump on the main window in the background. Can you have it so we do click on this button, the viewer would automatically close too? When I want to jump to the target, I "want" to jump to the target.
__________________
2COOL
2COOL is offline   Reply With Quote
Old 9th November 2004, 04:36   #428  |  Link
blutach
Country Member
 
blutach's Avatar
 
Join Date: Sep 2004
Location: is everything!
Posts: 6,499
Fabulous, as usual, rolz. Just fantastic.

All the best
__________________
Les

Only use genuine Verbatim or Taiyo Yuden media.
blutach is offline   Reply With Quote
Old 9th November 2004, 12:18   #429  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,469
Quote:
Originally posted by 2COOL
@r0lZ

When we choose to "Jump to Target" in our menu buttons viewer, we can see the jump on the main window in the background. Can you have it so we do click on this button, the viewer would automatically close too? When I want to jump to the target, I "want" to jump to the target.
OK. Done.
Note that the viewer is not closed if the target is not found, or if the target is within the same PGC (for example, when the command is a LinkCN). In this latter case, the right cell is automatically selected and shown in the viewer.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 9th November 2004, 12:20   #430  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,469
@DMagic, blutach and everybody
Thanks for your kind words.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 9th November 2004, 19:30   #431  |  Link
2COOL
PGC Navigator in Training
 
2COOL's Avatar
 
Join Date: Oct 2002
Location: NTSC Land
Posts: 3,552
Quote:
Originally posted by r0lZ
OK. Done.
Note that the viewer is not closed if the target is not found, or if the target is within the same PGC (for example, when the command is a LinkCN). In this latter case, the right cell is automatically selected and shown in the viewer.
  • CC
__________________
2COOL
2COOL is offline   Reply With Quote
Old 10th November 2004, 00:43   #432  |  Link
2COOL
PGC Navigator in Training
 
2COOL's Avatar
 
Join Date: Oct 2002
Location: NTSC Land
Posts: 3,552
@r0lZ

Enhancement request

When using the SetSTN command in Command Editor, I'm envisioning the languages next to the stream number in slidebar. Beats having to check the stream attributes on the side to figure out which to pick. No ()'s will work too.



Also, I'm sure you can get the total number of streams,in question, in PGC to set/match the number of streams in slide bar too. So, if I only had 3 audios, my slide bar would only go up to 3.

This would make life easier, don't you think?
__________________
2COOL

Last edited by 2COOL; 10th November 2004 at 01:28.
2COOL is offline   Reply With Quote
Old 10th November 2004, 01:42   #433  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,469
Quote:
Originally posted by 2COOL
@r0lZ

Enhancement request

When using the SetSTN command in Command Editor, I'm envisioning the languages next to the stream number in slidebar. Beats having to check the stream attributes on the side to figure out which to pick. No ()'s will work too.



Also, I'm sure you can get the total number of streams,in question, in PGC to set/match the number of streams in slide bar too. So, if I only had 3 audios, my slide bar would only go up to 3.

This would make life easier, don't you think?
IMHO, you are taking things in the wrong order. The streams assignments you make in the PGC Selector (called stream status in IfoEdit) are directly referencing the streams in the VOB. There is no way for me to know what language there are supposed to be. Then, the domain stream attributes are referencing those assignments, and give them the language attributes.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 10th November 2004, 01:54   #434  |  Link
2COOL
PGC Navigator in Training
 
2COOL's Avatar
 
Join Date: Oct 2002
Location: NTSC Land
Posts: 3,552
Quote:
Originally posted by r0lZ
Then, the domain stream attributes are referencing those assignments, and give them the language attributes.
I'm a little confused. You can't use code snippets of the language attributes dialog to set the slide bars? The dialog can get the languages so why can't the command editor. I'm sure you can up with some variables to store this.

Edit: We are already know what PGC we are in since it's still selected in the PGC Selector.
__________________
2COOL

Last edited by 2COOL; 10th November 2004 at 01:58.
2COOL is offline   Reply With Quote
Old 10th November 2004, 02:14   #435  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,469
It's not a programming problem. It just doesn't make sense.
I'll try to explain again:

In your VOB, say you have 4 subpic streams:
0: English, widescreen
1: English, letterbox
2: French, widescreen
3: French, letterbox

In the PGC, you will probably have something like that:
Subpic 0: use VOB streams 0, 1, 1, 0
Subpic 1: use VOB streams 2, 3, 3, 2

In the domain stream attribs, you FINALLY have the description of the streams assignments made in the PGC:
Subpic 0: en
Subpic 1: fr

So, when you change the assignments in the PGC editor, you cannot say what are the languages of the physical streams in the VOB by looking at the domain stream attribs. And it's also impossible to say how many physical streams are in the VOB.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 10th November 2004, 07:18   #436  |  Link
jeanl
Registered User
 
jeanl's Avatar
 
Join Date: Sep 2004
Location: California, USA
Posts: 2,079
This post is in reference to the problem northwind reported around here
http://forum.doom9.org/showthread.ph...&pagenumber=17

This is slightly off topic, but the problem emerged when northwind started using PgcEdit.

northwind was able to prepare a small version of the problem DVD, which I was able to download for testing. I'm stumped! Here's what I'm seeing:
- The *original* DVD as made by northwind plays find in PowerDVD.
- But if I burn it on a DVD-RW, and try to play it from PowerDVD, PowerDVD reports an error and stops!

* I've tried 3 different discs, same result.
* I've tried to load it in IFOEdit and do a Get VTS Sector. Same result!

I'm puzzled. There's something wrong with the DVD to begin with, but I'm not sure what it is.
Does anybody have an idea what's going on here?
Jeanl

EDIT: Even more weird! The same DVD-RW that PowerDVD can't play will play on my sampo settop DVD player!

Last edited by jeanl; 10th November 2004 at 07:23.
jeanl is offline   Reply With Quote
Old 10th November 2004, 08:05   #437  |  Link
2COOL
PGC Navigator in Training
 
2COOL's Avatar
 
Join Date: Oct 2002
Location: NTSC Land
Posts: 3,552
Quote:
Originally posted by r0lZ
It's not a programming problem. It just doesn't make sense.
I'll try to explain again:

In your VOB, say you have 4 subpic streams:
0: English, widescreen
1: English, letterbox
2: French, widescreen
3: French, letterbox

In the PGC, you will probably have something like that:
Subpic 0: use VOB streams 0, 1, 1, 0
Subpic 1: use VOB streams 2, 3, 3, 2

In the domain stream attribs, you FINALLY have the description of the streams assignments made in the PGC:
Subpic 0: en
Subpic 1: fr

So, when you change the assignments in the PGC editor, you cannot say what are the languages of the physical streams in the VOB by looking at the domain stream attribs.
OK, little fuzzy but it'll come to me eventually.
Quote:
And it's also impossible to say how many physical streams are in the VOB.
I won't say it's impossible. You can parse the VOB streams using vStrip using a CLI command like this.

C:\vstrip\vStrip.exe c:\dvd_video\video_ts\VTS_01_1.VOB

Of course, it won't tell you any languages.

Oh BTW, I've read that the default setting for gprm(1) is 16, not 15. It's in my Ralph LaBarge book.
__________________
2COOL
2COOL is offline   Reply With Quote
Old 10th November 2004, 10:08   #438  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,469
Quote:
I won't say it's impossible. You can parse the VOB streams using vStrip using a CLI command like this.
Of course, you can analyse the VOB. What I mean is that it's not possible to know how many subpic streams are in the VOBs only by looking in the domain stream attributes section (in VMGM_MAT/VTSI_MAT).

Quote:
Oh BTW, I've read that the default setting for gprm(1) is 16, not 15. It's in my Ralph LaBarge book.
Seems strange, since the value for 'not set' is 15. Anyway, I'll test that on my player immediately...

[EDIT:] The default for gprm(1) is 15, not 16. Ralph LaBarge is wrong. Confirmed with soft players, Sony and KISS.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV

Last edited by r0lZ; 10th November 2004 at 10:21.
r0lZ is offline   Reply With Quote
Old 10th November 2004, 19:49   #439  |  Link
2COOL
PGC Navigator in Training
 
2COOL's Avatar
 
Join Date: Oct 2002
Location: NTSC Land
Posts: 3,552
Quote:
Originally posted by r0lZ
The default for gprm(1) is 15, not 16. Ralph LaBarge is wrong. Confirmed with soft players, Sony and KISS.
__________________
2COOL
2COOL is offline   Reply With Quote
Old 10th November 2004, 23:01   #440  |  Link
M!ro
Registered User
 
Join Date: Sep 2003
Location: Croatia
Posts: 34
there is a minor bug in pgcedit. in command editor menu, when the "value" option is selected, if the box is empty (no number entered), when you click the "B" button you get
Code:
application error: can't use empty string as operand of "/"
i think you first have to test if textbox isn't empty and then divde with 1024
M!ro is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 13:35.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.