mjpegtools to dvdauthor (was Re: [Mjpeg-users] Too late?)

2004-08-26 Thread Selva Nair
On Thu, 26 Aug 2004, Anne Wilson wrote:

> On Thursday 26 Aug 2004 19:10, Selva Nair wrote:

> > The moment of truth is when it plays on your standalone dvd player.
> > Then you will have something to tell everyone :)
> >
> But I need dvdauthor for that - right?  I managed it once, with a small
> stream, before my box had a melt-down, but I haven't got to grips with it
> again yet.  I will, though.

For basic dvd you only need to do

$ cd where-the-mpg-files-reside

$ dvdauthor -x my-dvd.xml

where my-dvd.xml looks like

   
  
   
 

  
 
   


That will layout the dvd file structure in
the directory ./my-dvd/ Make sure that ./my-dvd
is either empty or does not exist: dvdauthor keeps
appending titles to the destination directory,
so it is important to start from a clean state.

Check the authoring using xine (version 0.9.2x if possible :)

$ xine dvd:/$PWD/my-dvd/
(the trailing / is important)

Make an raw disk image using mkisofs

$ mkisofs -dvd-video -o my-dvd.raw ./my-dvd
 
( - you need a recent version of mkisofs for -dvd-video support
version >= 2.0 ?
  - you can combine this step with the burning step below to save
disk space and typing, but for the first try its better to
make the raw image and then burn. )

Burn my-dvd.raw to a dvd+/-rw disk using dvd+rw tools
or dvdrecord/cdrecord as appropriate for your dvd drive.

For +RW (recent versions of growisofs are supposed to with -RW too,
I haven't tried)

$ dvd+rw-format /dev/scd0

$ growisofs -dvd-compat -Z /dev/scd0=my-dvd.raw

( - replace /dev/scd0 by the appropriate device
  - need permission to write to /dev/scd0 
  - avoid gui front ends that tie you to a mouse and spoil all fun :)
  - not -dvd-compat is needed or not )

For -RW with dvdrecord

$ dvdrecord -dao dev=0,0,0 -v my-dvd.raw
 
 The resulting dvd should play main.mpg followed by ending.mpg with no
menus or other frills. It gets authored as two chapters corresponding to
the two sources as a single title. The playback may not be seamless
between the two sources, so it is recommended that you encode and mplex
the source for each title as a single file.

Make sure you have enough free disk space before you start -- the above
procedure with raw image saved requires free space of a little over twice
the size of all mpeg files being authored.

Selva




---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: mjpegtools to dvdauthor (was Re: [Mjpeg-users] Too late?)

2004-08-27 Thread Anne Wilson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 26 Aug 2004 20:52, Selva Nair wrote:
>
> For basic dvd you only need to do
>
I'm either blind or just plain stupid.  I built my-dvd.xml like this:



 



 


but when I attempted to use it I got

dvdauthor -x ../my-dvd.xml
DVDAuthor::dvdauthor, version 0.6.8.  Build options: gnugetopt magick
Send bugs to <[EMAIL PROTECTED]>

../my-dvd.xml:6: parser error : Opening and ending tag mismatch: vob line 0 
and pgc

  ^
ERR:  Error in parsing XML

What have I missed?

Anne
- -- 
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBLv1TkFAvMr/nNX8RAnU2AJ9UvouQPvPjW0lDOZxD5mKeqXnSjQCdHg/v
Nb/WPMREQjbrFur0ouJNivM=
=kuD3
-END PGP SIGNATURE-


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: mjpegtools to dvdauthor (was Re: [Mjpeg-users] Too late?)

2004-08-27 Thread Axel Philipsenburg
Hi!

On Friday 27 August 2004 11:22, Anne Wilson wrote:
> On Thursday 26 Aug 2004 20:52, Selva Nair wrote:
> but when I attempted to use it I got
>
> dvdauthor -x ../my-dvd.xml
> DVDAuthor::dvdauthor, version 0.6.8.  Build options: gnugetopt magick
> Send bugs to <[EMAIL PROTECTED]>
>
> ../my-dvd.xml:6: parser error : Opening and ending tag mismatch: vob line 0
> and pgc
> 
>   ^
> ERR:  Error in parsing XML
> What have I missed?
There's a little syntax error in the XML file. Instead of

it should be

(Note the dash _outside_ the quotes).
Otherwise it should be fine.

See ya,

Axel 'Anterion' Philipsenburg


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: mjpegtools to dvdauthor (was Re: [Mjpeg-users] Too late?)

2004-08-27 Thread Selva Nair
On Fri, 27 Aug 2004, Anne Wilson wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On Thursday 26 Aug 2004 20:52, Selva Nair wrote:
> >
> > For basic dvd you only need to do
> >
> I'm either blind or just plain stupid.  I built my-dvd.xml like this:
> 
> 

Be sure that /Data/Movies is empty and clean. It would be
better to use a project specific directory name /Data/Movies/coda
for book-keeping.

>   
>
>   
>   

   
Misplaced quote.  That line above should be 

>   
>
> 
> 
> but when I attempted to use it I got
> 
> dvdauthor -x ../my-dvd.xml
> DVDAuthor::dvdauthor, version 0.6.8.  Build options: gnugetopt magick
> Send bugs to <[EMAIL PROTECTED]>
> 
> ../my-dvd.xml:6: parser error : Opening and ending tag mismatch: vob line 0 
> and pgc
> 
>   ^
> ERR:  Error in parsing XML

May be we should move this thread to dvdauthor..

Selva




---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: mjpegtools to dvdauthor (was Re: [Mjpeg-users] Too late?)

2004-08-27 Thread Anne Wilson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday 27 Aug 2004 14:49, Selva Nair wrote:
>
> Be sure that /Data/Movies is empty and clean. It would be
> better to use a project specific directory name /Data/Movies/coda
> for book-keeping.
>
That's OK - It was a clean directory, and will be cleaned again before another 
write.  I created it just for that purpose.

> Misplaced quote.  That line above should be 
>
Thanks, yes - Axel pointed it out to me.

> May be we should move this thread to dvdauthor..
>
No - it worked perfectly.  I burned the -q 8 version and it plays on my 
stand-alone player.  QED.  Now I go for the new, improved version of my 
production ;-)  Thanks for all the help.

Anne
- -- 
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBL1hMkFAvMr/nNX8RAo3nAJ9Xc/GqKLgd9vGM3bvZ+5Ad9xxEQQCfdgkq
990bZ5eIrYzbNsTZI9rm4zw=
=rRm5
-END PGP SIGNATURE-


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47&alloc_id808&op=click
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: mjpegtools to dvdauthor (was Re: [Mjpeg-users] Too late?)

2004-08-27 Thread Selva Nair

Hi Anne,

> > May be we should move this thread to dvdauthor..
> >
> No - it worked perfectly.  I burned the -q 8 version and it plays on my 
> stand-alone player.  QED.  

Wonderful !

>Now I go for the new, improved version of my 
> production ;-)  Thanks for all the help.

Good luck.

Selva



---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: mjpegtools to dvdauthor (was Re: [Mjpeg-users] Too late?)

2004-08-27 Thread Anne Wilson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 26 Aug 2004 20:52, Selva Nair wrote:
> For basic dvd you only need to do
>

>
> That will layout the dvd file structure in
> the directory ./my-dvd/ Make sure that ./my-dvd
> is either empty or does not exist: dvdauthor keeps
> appending titles to the destination directory,
> so it is important to start from a clean state.
>
As useful skeleton, saved for future use, thanks.

> Check the authoring using xine (version 0.9.2x if possible :)
>
> $ xine dvd:/$PWD/my-dvd/
> (the trailing / is important)
>
Despite the fact that xine could not play the .mpg properly it had no problems 
at all with this.

> Make an raw disk image using mkisofs
>
> $ mkisofs -dvd-video -o my-dvd.raw ./my-dvd
>
> ( - you need a recent version of mkisofs for -dvd-video support
> version >= 2.0 ?
>   - you can combine this step with the burning step below to save
> disk space and typing, but for the first try its better to
> make the raw image and then burn. )
>
> Burn my-dvd.raw to a dvd+/-rw disk using dvd+rw tools
> or dvdrecord/cdrecord as appropriate for your dvd drive.
>
Sadly my dvd-rw disks are -R - and they are not read by my player, so I had to 
burn a full DVD+R to prove the point.

> For +RW (recent versions of growisofs are supposed to with -RW too,
> I haven't tried)
>
> $ dvd+rw-format /dev/scd0
>
> $ growisofs -dvd-compat -Z /dev/scd0=my-dvd.raw
>
> ( - replace /dev/scd0 by the appropriate device
>   - need permission to write to /dev/scd0
>   - avoid gui front ends that tie you to a mouse and spoil all fun :)
>   - not -dvd-compat is needed or not )
>
I've never used growisofs before, but it was entirely painless.

> For -RW with dvdrecord
>
> $ dvdrecord -dao dev=0,0,0 -v my-dvd.raw
>
>  The resulting dvd should play main.mpg followed by ending.mpg with no
> menus or other frills. It gets authored as two chapters corresponding to
> the two sources as a single title. The playback may not be seamless
> between the two sources, so it is recommended that you encode and mplex
> the source for each title as a single file.
>
I haven't encoded the long file yet.  I'm going to rebuild the coda, 
interlaced, before I do that.  However, I'm pleased to report that the 
resulting dvd plays perfectly on my stand-alone player.

> Make sure you have enough free disk space before you start -- the above
> procedure with raw image saved requires free space of a little over twice
> the size of all mpeg files being authored.
>
I'll bear that in mind, thanks.

Anne
- -- 
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBLy+fkFAvMr/nNX8RAkACAJ9DwXRQP1gLb0BamDzxIbdzzJpWtQCeIfKL
BV9pPuzAPDQktwBGIyF3VOo=
=/qqb
-END PGP SIGNATURE-


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: mjpegtools to dvdauthor (was Re: [Mjpeg-users] Too late?)

2004-08-28 Thread Selva Nair
On Fri, 27 Aug 2004, Anne Wilson wrote:

> 
> > Check the authoring using xine (version 0.9.2x if possible :)
> >
> > $ xine dvd:/$PWD/my-dvd/
> > (the trailing / is important)
> >
> Despite the fact that xine could not play the .mpg properly it had no problems 
> at all with this.

!!

> > Burn my-dvd.raw to a dvd+/-rw disk using dvd+rw tools
> > or dvdrecord/cdrecord as appropriate for your dvd drive.
> >
> Sadly my dvd-rw disks are -R - and they are not read by my player, so I had to 
> burn a full DVD+R to prove the point.

Get an RW disk supported by your player. Get a decent brand, you wont
regret it.

> 
> > For +RW (recent versions of growisofs are supposed to with -RW too,
> > I haven't tried)
> >
> > $ dvd+rw-format /dev/scd0
> >
> > $ growisofs -dvd-compat -Z /dev/scd0=my-dvd.raw
> >
> > ( - replace /dev/scd0 by the appropriate device
> >   - need permission to write to /dev/scd0
> >   - avoid gui front ends that tie you to a mouse and spoil all fun :)
> >   - not -dvd-compat is needed or not )
> >
> I've never used growisofs before, but it was entirely painless.
 
If it was on linux, I think whatever you used before must have  
invoked growisofs behind the hoods.. There is indeed a way that does not
use growisofs -- "mksiofs .. | dd /dev/scd0" but I doubt any of the front
ends out there really do that.

Selva
 



---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: mjpegtools to dvdauthor (was Re: [Mjpeg-users] Too late?)

2004-08-28 Thread Anne Wilson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 28 Aug 2004 16:50, Selva Nair wrote:
>
> Get an RW disk supported by your player. Get a decent brand, you wont
> regret it.
>
I shall do that.  In the first instance I was assured that most hardware 
players support DVD-R.  That may be so, but it turns out that mine don't, so 
I had bought both -R and -RW disks that will probably be fine for data, but 
no good at all for this job.  I've got a pack of +R disks now, and I'll get 
some +RW ones.

> >
> > I've never used growisofs before, but it was entirely painless.
>
> If it was on linux, I think whatever you used before must have
> invoked growisofs behind the hoods.. There is indeed a way that does not
> use growisofs -- "mksiofs .. | dd /dev/scd0" but I doubt any of the front
> ends out there really do that.
>
I knew that it was used by the gui burners, but I've never used it from the 
CLI before.  In fact I have hardly done any dvd burning at all.  The one 
short video dvd that I burned was done with k3b, but somehow I can't get 
comfortable with k3b.  I use xcdroast for my data backups.  I shall have to 
learn more about growisofs, I expect, but for this purpose at least I will 
stick to the CLI.

Anne
- -- 
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBMK0ZkFAvMr/nNX8RAqFrAJwJk7cB7KsLYg3rZahJba7krmeDxQCfVCYs
izONGVbXvBdkPl+se1q6t1w=
=019v
-END PGP SIGNATURE-


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47&alloc_id808&op=click
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: mjpegtools to dvdauthor (was Re: [Mjpeg-users] Too late?)

2004-08-29 Thread Anne Wilson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday 27 Aug 2004 17:06, Selva Nair wrote:
> >Now I go for the new, improved version of my
> > production ;-)  Thanks for all the help.
>
> Good luck.
>
Hi, Selva.  Hopefully this is the last question -

My xml fille looks like this:



 





 


Building it gives me:

dvdauthor -x ../my-dvd.xml
DVDAuthor::dvdauthor, version 0.6.8.  Build options: gnugetopt magick
Send bugs to <[EMAIL PROTECTED]>

INFO: dvdauthor creating VTS
STAT: Picking VTS 01

STAT: Processing intro.mpg...

INFO: Video pts = 0.184 .. 5.504
INFO: Audio[8] pts = 0.184 .. 5.461

STAT: Processing cottingley.mpg...
STAT: VOBU 3107 at 1720MB, 1 PGCS
INFO: Video pts = 0.184 .. 1856.104
INFO: Audio[8] pts = 0.184 .. 1856.001

STAT: Processing codaDVD.mpg...
STAT: VOBU 3197 at 1754MB, 1 PGCS
INFO: Video pts = 0.184 .. 113.624
INFO: Audio[8] pts = 0.184 .. 113.529
STAT: VOBU 3200 at 1754MB, 1 PGCS
INFO: Generating VTS with the following video attributes:
INFO: MPEG version: mpeg2
INFO: TV standard: pal
INFO: Aspect ratio: 4:3
INFO: Resolution: 720x576
INFO: Audio ch 0 format: mp2/2ch, 20bps

STAT: fixed 3200 VOBUS
INFO: dvdauthor creating table of contents
scanning /Data/Movies//VIDEO_TS/VTS_01_0.IFO

VIDEO_TS lists as:
VIDEO_TS.BUP  VTS_01_0.BUP  VTS_01_1.VOB
VIDEO_TS.IFO  VTS_01_0.IFO  VTS_01_2.VOB

Is this what you would expect?  The two files seem to be split purely because 
of size.  I have tried each separately and the content of all three files is 
there.

Now I need to check the structure.  Either there is a problem,or I can't get 
the xine command right.  Which directory should I be in to run the xine 
command?  I'm sorry, I must be totally thick!  This worked perfectly well 
with the short one yesterday but I keep getting error messages - can't find 
the mrl, and no plugin to handle dvd.  We know this is rubbish - it worked 
yesterday - so it has to be me.

Anne

- -- 
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBMgpGkFAvMr/nNX8RAoLYAJ92qMkv447Tg3KA3XBWhNM52QNZnwCfeXDa
9eGKiLzEjfZoDZ4HEJPNHao=
=GKwJ
-END PGP SIGNATURE-


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47&alloc_id808&op=click
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: mjpegtools to dvdauthor (was Re: [Mjpeg-users] Too late?)

2004-08-29 Thread Selva Nair
On Sun, 29 Aug 2004, Anne Wilson wrote:

> 
> VIDEO_TS lists as:
> VIDEO_TS.BUP  VTS_01_0.BUP  VTS_01_1.VOB
> VIDEO_TS.IFO  VTS_01_0.IFO  VTS_01_2.VOB
> 
> Is this what you would expect?  The two files seem to be split purely because 

Yes. You have the three mpg files authored as a single title so everything
goes into VTS_01_x.VOB (x= 1 to 9) split into 1GB chunks as necessary.

> of size.  I have tried each separately and the content of all three files is 
> there.
> 
> Now I need to check the structure.  Either there is a problem,or I can't get 
> the xine command right.  Which directory should I be in to run the xine 
> command?  I'm sorry, I must be totally thick!  This worked perfectly well 
> with the short one yesterday but I keep getting error messages - can't find 
> the mrl, and no plugin to handle dvd.  We know this is rubbish - it worked 
> yesterday - so it has to be me.

xine sometimes acts up for me too.. The command for your case would be

$ xine dvd:/Data/Movies/

Does n't matter where you run it from if you specify the full-path to the
directory that contains VIDEO_TS and AUDIO_TS as above. Include the
trailing slash.

Selva




---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users