Ole Christensen | 1 Apr 2004 10:26
Picon

Re: Vamps

admin@... wrote:
>>So, the SCR stamp is *very* essential. Players may have buffer
>>under-/overruns when the SCR is crap. That's obviously the reason Scott
>>is carefully checking the SCR in dvdauthor.
> 
> 
> If I understood previous posts, SCR is reset with every new VOB ID. So if we
> first split to individual VOB IDs (files) and then feed those files
> individually to dvdauthor, then it shouldn't complain, right?

Yes. You need to collect all cells belonging to a VOB ID, read them out 
in the correct order and this resulting MPEG-PS may be fed into vamps.

I sometime made a start for this and patched lsdvd to report the VOB-ID. 
Please ask for the patch by email if you are interested.

What needs to be done is to write a script (preferably perl ;-) which 
processes the lsdvd output and generate an .xml for dvdauthor. It should 
be somehow configurable to be able to tailor the vamps commandline and 
some other numbers.

The other thing is a program to read out specific cells or sectors from 
a DVD. libdvdread should help with this. What I havn't figured out yet 
is support for the angle stuff. If you have a multi-angle disk you 
should not read out all cells belonging to a chapter. Let me know if you 
have figured out something. Good luck!

> 
> I noticed that with every new <vob=...> tag dvdauthor creates new VOB ID, so
> it would reset SCR anaway. Of course, we might split to cells and that way
(Continue reading)

Ole Christensen | 1 Apr 2004 10:36
Picon

Re: Vamps

Scott T. Smith wrote:
> On Wed, 2004-03-31 at 03:30, Ole Christensen wrote:
> 
>>Erik Slagter wrote:
>>
>>>>I think there might be some confusion. What do you mean with "vamps does 
>>>>not recognoze the padding stream". IMHO vamps certainly deals with padding.
>>>
>>>
>>>It adds padding where necessary. On the other hand, if the input stream
>>>already contains a padding stream (which happens to be with
>>>dvdunauthored vobs; vamps_play-title apparently removes it)
>>
>>Well - seems it's a bit more complicated. The posting you made with the 
>>"handcrafted patches" shows that the program stream you feed into vamps 
>>has sectors containing padding *only*. And you are right, vamps does not 
>>expect this. But I believe this is violating the DVD spec anyway. And 
>>afaik it does not make any sense at all to have a DVD sector conaining 
>>padding only. Other oppionions?
> 
> 
> I believe a constant bitrate stream would have padding only sectors.

Well, you are right with generic MPEG (e.g. transport streams), but not 
with DVD-MPEG-PS. Padding on a DVD is only used to fill up sectors (pay 
load packets never span multiple sectors). Not to really pad the stream. 
SCR is used to throttle the bit rate instead.

> 
> The dvdauthor package uses padding only sectors to transmit palette and
(Continue reading)

admin | 1 Apr 2004 11:09

Re: Vamps

> I think Scott already responded to this. A cell does not start with
> SCR=0 in general. SCR only gets reset on a different VOB ID. I do not
> know if there is some disadvantage with resetting SCR (i.e. change VOB
> ID) if not really necessary. I guess the player has to drain its buffers
> when it encounters a new VOB ID. So it might be possible that there is a
> slight delay when a new VOB is started. But it's a guess and I do not
> really know.

Thanks Ole. I don't think player should mess with buffers unless new cell is
flagged non-seamless. The one I have definitely doesn't do this. Whenever it
encounters a non-seamless cell there is slight pause, so I'm quite certain
that doesn't happen with seamless transition to new VOB ID. I believe this
is how a player should work..

I propose this besause I still can't see the way to import foreign VOB files
into dvdauthor while preserving chapters other than:
1. split to cells (chapters)
2. if necessary join cells that belong to same chapter
3. feed all cells (chapters) as <vob=...> files to dvdauthor

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
Erik Slagter | 1 Apr 2004 11:33

Re: Vamps

> What needs to be done is to write a script (preferably perl ;-) which 
> processes the lsdvd output and generate an .xml for dvdauthor. It should 
> be somehow configurable to be able to tailor the vamps commandline and 
> some other numbers.

Funny, that's exactly what I am doing right now. I am working on two
scripts; one to rip a dvd using vamps_play-title, using requant, audio
and subtitle tracks selectable, info about palette and audio/subt
languages is retained. Then a second script (which then may be run on a
different computer) will build a top-level menu and the xml file for
dvdauthor.

It's not yet ready for "production" though ;-)

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
Scott T. Smith | 1 Apr 2004 20:00

Re: Vamps

On Thu, 2004-04-01 at 00:36, Ole Christensen wrote:
> > I believe a constant bitrate stream would have padding only sectors.
> 
> Well, you are right with generic MPEG (e.g. transport streams), but not 
> with DVD-MPEG-PS. Padding on a DVD is only used to fill up sectors (pay 
> load packets never span multiple sectors). Not to really pad the stream. 
> SCR is used to throttle the bit rate instead.

eh?  using the SCR to throttle the bit rate is EXACTLY what variable bit
rate streams are!  Try running mplex and have it output a constant
bitrate file (for DVD, it defaults to VBR).

Anyways, I repeat: I believe a constant bitrate stream would have
padding only sectors.  It has nothing to do with transport streams
specifically (program streams can have this too).  The DVD spec actually
has a field to support both VBR and CBR, but I always set it to VBR.  I
haven't actually seen a DVD use CBR (but then again I haven't looked
into very many).

That's probably why VAMPS chokes on padding sectors -- because it's
never been run in a CBR DVD, probably because they don't exist (why use
CBR when you know VBR is supported).

	Scott

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
(Continue reading)

Cyrus Patel | 2 Apr 2004 09:26
Picon
Picon

do chapters need to be on I frames of closed GOPs?


With respect to the chapters=xxx values in a <vob ...>:

1) Do chapters="nnn" positions have to be pointing to I frames?
2) Does that GOP have to be closed?
3) Does it matter if a timestamp is a bit off?
   (eg for PAL 0:00:00.039 should be 0:00:00.040)

Does anyone know of a utility that scans an elementary 
stream to determine "suitable" chapter/cell placement?

---------------------------------------------
Advice for the day:
  Always be sincere, and I mean it.

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
Erik Slagter | 2 Apr 2004 23:19

ERR: Cannot pick button masks

What does it mean if spumux says: ERR: Cannot pick button masks?

I am making a menu and I have three png's with all three colours +
transparency.

The layout is someting like this:

  button 1
  button 2
  button 3
  button 4
  button 5
  button 6
  button 7

Also I don't understand why spumux says "PNG had 256 colours" while it
only has three (verified with ImageMagick identify -verbose).

Output of spumux:

Build options: gnugetopt iconv freetype
Send bugs to <dvdauthor-users@...>

INFO: Locale=en_US.UTF-8
INFO: Converting filenames to UTF-8
INFO: PNG had 256 colors
INFO: PNG had 248 colors
INFO: PNG had 256 colors
INFO: Autodetect 0 = 51x61-121x90
INFO: Autodetect 1 = 135x69-230x90
(Continue reading)

Rolf G Nielsen | 3 Apr 2004 00:23

Re: ERR: Cannot pick button masks

Erik Slagter wrote:
> What does it mean if spumux says: ERR: Cannot pick button masks?
> 
> I am making a menu and I have three png's with all three colours +
> transparency.
> 
> The layout is someting like this:
> 
>   button 1
>   button 2
>   button 3
>   button 4
>   button 5
>   button 6
>   button 7
> 
> Also I don't understand why spumux says "PNG had 256 colours" while it
> only has three (verified with ImageMagick identify -verbose).

Has happened to me too. Use GIMP, convert the images to indexed colour 
(enter the exact number of colours the image has, 3 in your case), then 
back to RGB. When you save as PNG be sure to UNSELECT "Save background 
colour". Don't really understand why, but it works. At least it does for me.

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
(Continue reading)

Remi POISSONNIER | 3 Apr 2004 10:18
Picon

DVD-Audio

Hello,
I am using DVD-author to build my own DVD-Video.
I would try to build a DVD-Audio (putting 4 CD on on DVD-Audio). I can't find 
informations ?
Does someone has ?
Sorry if its out of topic....

-- 
Rémi POISSONNIER
89 Laroche St Cydroine
mailto : remi.poissonnier@...
Des applications Linux pour établissement scolaire :
Serveur d'intranet, Serveur Novell 3.11, Serveur NT 3.5/4.0 (en travaux ....)
http://www.chez.com/imer/index.htm

Je vous serai reconnaissant de ne pas m'envoyer de pièces jointes aux
formats Microsoft Word ou Microsoft PowerPoint.
Utilisez des formats universels et connus comme rtf ou texte. Merci.
Lisez ceci : http://www.fsf.org/philosophy/no-word-attachments.fr.html

Echelon is watching you ;-(
Hackers, Encryption, NSA

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
Erik Slagter | 3 Apr 2004 10:59

Re: ERR: Cannot pick button masks

> Has happened to me too. Use GIMP, convert the images to indexed colour 
> (enter the exact number of colours the image has, 3 in your case), then 
> back to RGB. When you save as PNG be sure to UNSELECT "Save background 
> colour". Don't really understand why, but it works. At least it does for me.

I can't do that, the menu is supposed to be auto-generated (otherwise I
could use one of the many scripts available...)

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

Gmane