RB
13th December 2002, 15:34
Hi,
I'm releasing D2SCCD v1.2 to the public, a "plugin" for DVD2SVCD if you want to call it so. Read http://forum.doom9.org/showthread.php?s=&threadid=39653 and below for more information. I hope this will be useful for someone. It is for me :) Comments welcome.
Download here: http://64.33.11.249/files/d2sccd.zip
Screenshot here: http://64.33.11.249/files/d2sccd.jpg
[EDIT:] New version and thread is at http://forum.doom9.org/showthread.php?s=&threadid=44445. Please don't post here anymore!
Here's the readme:
DVD2SVCD Change CD Picture (D2SCCD) 1.2 by RB
=============================================
Release : 1.2
Date : Thursday, January 9, 2003
1. What's this?
2. How to install
3. Settings
4. Known issues
5. Help!
6. Freeware
7. History
1. What's this?
---------------
D2SCCD is an utility you can use with DVD2SVCD (see
http://www.dvd2svcd.org) to dynamically generate "Change CD Pictures"
during DVD2SVCD's conversion process.
With D2SCCD installed, if you set up DVD2SVCD to use a Change CD
Picture, then for each (but the last, of course) CD image file DVD2SVCD
builds, D2SCCD will create a Change CD Picture from either the last
movie frame on the current CD or the first movie frame on the next CD
(see 2. How to install). It will also put some configurable text on that
picture. All you need to do is to install D2SCCD as described below,
configure it, and your CD image files created by DVD2SVCD will use this
"movie based" Change CD Picture.
To make a long story short, the visual effect of this is that at the
time the current CD has finished playing, the movie pauses and your
custom "Need next CD" text is being displayed.
This is something I wanted for my SVCDs for a long time. It's a pity we
have to change CDs most of the time, I think this makes it a little more
bearable :-)
D2SCCD can also "fix" DVD2SVCD's handling of Title and Last CD pictures
and add audio to your Title pictures, see "3. Settings", below.
2. How to install
-----------------
First, create a subdirectory for D2SCCD in your DVD2SVCD installation
folder, like 'C:\Program Files\dvd2svcd\d2sccd'. The name of the
directory doesn't matter, but it must be in the DVD2SVCD installation
folder.
Next, unzip all the files in the ZIP file to this directory (you don't
need the 'Source' directory, though) and run d2sccd.exe to configure it.
If there are any missing files, you'll get a warning.
3. Settings
-----------
---Preview---
The Preview frame provides a preview as to how a a dynamically
generated Change CD picture with text will look like.
---Text Settings---
Enter the text you want to place on each generated Change CD picture.
Note that as shown in the default Text Setting, you can use the %d
token to insert the next CD number at runtime. For instance, for a 3 CD
movie, if you enter "Need CD %d, please..." in the Text box, you'll see
Need CD 2, please...
Need CD 3, please...
on your screen when you play the movie and it's time to change CDs. If
the text is too long to fit into a single line, it will be wrapped
automatically. You can force a line break using an '\n' in your text
(example: Please insert disk %d...\n\nCome on, get up!)
Click "Font..." to choose a different font for the text, check "Drop
Shadow" to add a drop shadow effect to the text.
---Picture Frame---
Select which frame from the film to use for the Change CD pictures.
This can be either the last frame on the current CD or the first on the
next CD. If you want to use the latter, you should uncheck "CD Overlap
seconds" on the bbMPEG tab in DVD2SVCD, otherwise the "movie paused"
effect is gone when the Change CD picture is displayed because the
picture will be actually a few frames back.
If you want a specific first/last picture frame, just use Frame
Selection in DVD2SVCD and split at the desired frame.
Note that D2SCCD will generate Change CD pictures only if you actually
check "ChangeCD pic." on the CD Image tab in DVD2SVCD.
---Configuration---
[ ] Integrate with DVD2SVCD
This needs to be checked for D2SCCD to be called by DVD2SVCD during
the CD image creation process so D2SCCD can do its work. If you put
D2SCCD in the wrong directory (i.e. not a directory inside the
DVD2SVCD folder), this option will be unavailable.
Checking this option will actually change the 'VCDXBuild' path on
DVD2SVCD's CD Image tab to point at D2SCCD. D2SCCD does it's work
and then in turn calls VCDXBuild to generate images. As you may
guess, this also means that D2SCCD is only useful if you mark the
'VCDXBuild' radio button in DVD2SVCD - CD Image tab.
[ ] Handle Title Picture/Handle Last CD Picture
This is a "fix" for DVD2SVCD's somewhat strange handling of Title
and LastCD pictures. DVD2SVCD does some resizing and adds borders
around the pictures which most of the times screws up the pictures
aspect ratio and well, looks not so well. So if you check "Title
picture" and/or "LastCD pic." on DVD2SVCD's CD Image tab and check
the appropriate boxes in D2SCCD, D2SCCD will also take over the
task of generating the Title/LastCD MPEG stills from the pictures
you pointed at in DVD2SVCD. For best results, use 768x576 pictures
for PAL SVCDs and 640x480 pictures for NTSC SVCDs. Images should be
true color and must be in the Windows Bitmap (.BMP) format.
[ ] Add Audio to Title Picture
This let's you play an MPEG-2 audio file while the Title picture is
being displayed. While the audio plays, press either Next, Play,
Return or key 1 on your remote to start the main movie. By default,
the audio is played once and then after a 5 seconds delay the main
movie starts automatically.
For this to work, 'Title picture' has to be checked in DVD2SVCD on
the CD Image tab and the audio file name must exist with the same
file name as the Title picture, but an .MP2 extension. For example,
if your Title picture in DVD2SVCD is C:\Program
Files\DVD2SVCD\DefaultTitlePicture.bmp, then the expected audio
file name is C:\Program Files\DVD2SVCD\DefaultTitlePicture.mp2. It
doesn't harm if you check this option but the audio file doesn't
exist, just audio won't be added to the Title picture then.
Note that the audio file needs to be really an MP2 (MPEG Layer 2
Audio) file, it cannot be some other format renamed to *.mp2. You
can use BeSweet that comes with DVD2SVCD to convert your favorite
audio file to MP2.
You may want to lower the CD sizes on DVD2SVCD's Bitrate tab a
little bit (just type it in) if you plan on using larger audio
files (~ more than 500 kB) because DVD2SVCD is unaware of the audio
file addition which may result in slightly too large CD image
files.
[ ] Loop infinitely
As you may guess, this plays the title audio forever in a loop.
Press either Next, Play, Return or key 1 on your remote to
start the main movie.
---MPEG Stills Quality (kB)---
This controls the maximum size (and thus quality) of the various
Title/Last CD/Change CD MPEG "picture" stills generated by D2SCCD
(still frames on SVCDs are not really pictures but special MPEG Still
Picture streams). Leave this at maximum quality (200 kB) unless you get
slightly too large CD image files. The MPEG stills will be usually
smaller, but never larger than what you specify here.
Click OK to save your custom settings. Of course you can re-configure
D2SCCD this way at any time.
D2SCCD will log it's activities to file D2SCCD_MJPEGTools_log.txt in the
directory where the bin/cue files are created. Tile/Change CD/Last CD
Pictures (converted to JPEG) generated by D2SCCD can be found in the
'Muxed' folder of the current encode.
4. Known issues
---------------
- D2SCCD will only work properly when you use DVD2SVCD to create
SVCDs, NOT VCDs.
- picture quality will not be optimal for Win9x/ME users. Sorry, no fix
for this unless I find some free high quality image resizing code so
I no longer have to use StretchBlt() (Win9x/ME does not support the
HALFTONE stretch blit mode which produces high quality images in
NT/2000/XP).
- tested with PAL movies only so far, but designed to work with both
PAL and NTSC.
5. Help!
--------
For suggestions, bug reports and general discussion, please register at
http://forum.doom9.org and post to the following thread:
http://forum.doom9.org/showthread.php?s=&threadid=40374
If you feel like you absolutely need to contact me directly, again
register at http://forum.doom9.org and send member RB (me) a private
message.
6. Freeware
-----------
D2SCCD is freeware. No strings attached. D2SCCD was basically written by
"plugging it into" the DVD2AVI source code and also uses Smalleranimal's
free jpeglib library (http://www.smalleranimals.com/jpegfile.htm).
Source code for D2SCCD is included and released under GPL. The
MJPEGTools included with D2SCCD are not written by me, they are a Win32
compilation of the MJPEG/Linux tools
(http://sourceforge.net/projects/mjpeg), the binaries included here can
be found at ftp://ftp.vcdimager.org/pub/mjpegtools/.
7. History
----------
01/09/2003 v1.2
- Added: Title audio looping is now optional
- Added: Change CD Text can now be multiple lines
- Added: warning when title audio file cannot be found
- Changed: Title audio file is now expected in non-multiplexed
MP2 format (*.mp2)
12/17/2002 v1.1
- Added: handling of Title/Last CD pictures
- Added: option to add audio to Title picture
- Added: MPEG Stills quality setting
- Added: Integrate with DVD2SVCD option (you no loner need to
change the VCDXBuild path in DVD2SVCD manually)
- Fixed: %d token was sometimes replaced by the number 2 in the
.INI file when clicking OK
- Fixed: preview was sometimes not properly repainted
12/13/2002 v1.0
- First release on Friday the 13th... :-)
________________________________________________________________________________
Germany, January 2003
I'm releasing D2SCCD v1.2 to the public, a "plugin" for DVD2SVCD if you want to call it so. Read http://forum.doom9.org/showthread.php?s=&threadid=39653 and below for more information. I hope this will be useful for someone. It is for me :) Comments welcome.
Download here: http://64.33.11.249/files/d2sccd.zip
Screenshot here: http://64.33.11.249/files/d2sccd.jpg
[EDIT:] New version and thread is at http://forum.doom9.org/showthread.php?s=&threadid=44445. Please don't post here anymore!
Here's the readme:
DVD2SVCD Change CD Picture (D2SCCD) 1.2 by RB
=============================================
Release : 1.2
Date : Thursday, January 9, 2003
1. What's this?
2. How to install
3. Settings
4. Known issues
5. Help!
6. Freeware
7. History
1. What's this?
---------------
D2SCCD is an utility you can use with DVD2SVCD (see
http://www.dvd2svcd.org) to dynamically generate "Change CD Pictures"
during DVD2SVCD's conversion process.
With D2SCCD installed, if you set up DVD2SVCD to use a Change CD
Picture, then for each (but the last, of course) CD image file DVD2SVCD
builds, D2SCCD will create a Change CD Picture from either the last
movie frame on the current CD or the first movie frame on the next CD
(see 2. How to install). It will also put some configurable text on that
picture. All you need to do is to install D2SCCD as described below,
configure it, and your CD image files created by DVD2SVCD will use this
"movie based" Change CD Picture.
To make a long story short, the visual effect of this is that at the
time the current CD has finished playing, the movie pauses and your
custom "Need next CD" text is being displayed.
This is something I wanted for my SVCDs for a long time. It's a pity we
have to change CDs most of the time, I think this makes it a little more
bearable :-)
D2SCCD can also "fix" DVD2SVCD's handling of Title and Last CD pictures
and add audio to your Title pictures, see "3. Settings", below.
2. How to install
-----------------
First, create a subdirectory for D2SCCD in your DVD2SVCD installation
folder, like 'C:\Program Files\dvd2svcd\d2sccd'. The name of the
directory doesn't matter, but it must be in the DVD2SVCD installation
folder.
Next, unzip all the files in the ZIP file to this directory (you don't
need the 'Source' directory, though) and run d2sccd.exe to configure it.
If there are any missing files, you'll get a warning.
3. Settings
-----------
---Preview---
The Preview frame provides a preview as to how a a dynamically
generated Change CD picture with text will look like.
---Text Settings---
Enter the text you want to place on each generated Change CD picture.
Note that as shown in the default Text Setting, you can use the %d
token to insert the next CD number at runtime. For instance, for a 3 CD
movie, if you enter "Need CD %d, please..." in the Text box, you'll see
Need CD 2, please...
Need CD 3, please...
on your screen when you play the movie and it's time to change CDs. If
the text is too long to fit into a single line, it will be wrapped
automatically. You can force a line break using an '\n' in your text
(example: Please insert disk %d...\n\nCome on, get up!)
Click "Font..." to choose a different font for the text, check "Drop
Shadow" to add a drop shadow effect to the text.
---Picture Frame---
Select which frame from the film to use for the Change CD pictures.
This can be either the last frame on the current CD or the first on the
next CD. If you want to use the latter, you should uncheck "CD Overlap
seconds" on the bbMPEG tab in DVD2SVCD, otherwise the "movie paused"
effect is gone when the Change CD picture is displayed because the
picture will be actually a few frames back.
If you want a specific first/last picture frame, just use Frame
Selection in DVD2SVCD and split at the desired frame.
Note that D2SCCD will generate Change CD pictures only if you actually
check "ChangeCD pic." on the CD Image tab in DVD2SVCD.
---Configuration---
[ ] Integrate with DVD2SVCD
This needs to be checked for D2SCCD to be called by DVD2SVCD during
the CD image creation process so D2SCCD can do its work. If you put
D2SCCD in the wrong directory (i.e. not a directory inside the
DVD2SVCD folder), this option will be unavailable.
Checking this option will actually change the 'VCDXBuild' path on
DVD2SVCD's CD Image tab to point at D2SCCD. D2SCCD does it's work
and then in turn calls VCDXBuild to generate images. As you may
guess, this also means that D2SCCD is only useful if you mark the
'VCDXBuild' radio button in DVD2SVCD - CD Image tab.
[ ] Handle Title Picture/Handle Last CD Picture
This is a "fix" for DVD2SVCD's somewhat strange handling of Title
and LastCD pictures. DVD2SVCD does some resizing and adds borders
around the pictures which most of the times screws up the pictures
aspect ratio and well, looks not so well. So if you check "Title
picture" and/or "LastCD pic." on DVD2SVCD's CD Image tab and check
the appropriate boxes in D2SCCD, D2SCCD will also take over the
task of generating the Title/LastCD MPEG stills from the pictures
you pointed at in DVD2SVCD. For best results, use 768x576 pictures
for PAL SVCDs and 640x480 pictures for NTSC SVCDs. Images should be
true color and must be in the Windows Bitmap (.BMP) format.
[ ] Add Audio to Title Picture
This let's you play an MPEG-2 audio file while the Title picture is
being displayed. While the audio plays, press either Next, Play,
Return or key 1 on your remote to start the main movie. By default,
the audio is played once and then after a 5 seconds delay the main
movie starts automatically.
For this to work, 'Title picture' has to be checked in DVD2SVCD on
the CD Image tab and the audio file name must exist with the same
file name as the Title picture, but an .MP2 extension. For example,
if your Title picture in DVD2SVCD is C:\Program
Files\DVD2SVCD\DefaultTitlePicture.bmp, then the expected audio
file name is C:\Program Files\DVD2SVCD\DefaultTitlePicture.mp2. It
doesn't harm if you check this option but the audio file doesn't
exist, just audio won't be added to the Title picture then.
Note that the audio file needs to be really an MP2 (MPEG Layer 2
Audio) file, it cannot be some other format renamed to *.mp2. You
can use BeSweet that comes with DVD2SVCD to convert your favorite
audio file to MP2.
You may want to lower the CD sizes on DVD2SVCD's Bitrate tab a
little bit (just type it in) if you plan on using larger audio
files (~ more than 500 kB) because DVD2SVCD is unaware of the audio
file addition which may result in slightly too large CD image
files.
[ ] Loop infinitely
As you may guess, this plays the title audio forever in a loop.
Press either Next, Play, Return or key 1 on your remote to
start the main movie.
---MPEG Stills Quality (kB)---
This controls the maximum size (and thus quality) of the various
Title/Last CD/Change CD MPEG "picture" stills generated by D2SCCD
(still frames on SVCDs are not really pictures but special MPEG Still
Picture streams). Leave this at maximum quality (200 kB) unless you get
slightly too large CD image files. The MPEG stills will be usually
smaller, but never larger than what you specify here.
Click OK to save your custom settings. Of course you can re-configure
D2SCCD this way at any time.
D2SCCD will log it's activities to file D2SCCD_MJPEGTools_log.txt in the
directory where the bin/cue files are created. Tile/Change CD/Last CD
Pictures (converted to JPEG) generated by D2SCCD can be found in the
'Muxed' folder of the current encode.
4. Known issues
---------------
- D2SCCD will only work properly when you use DVD2SVCD to create
SVCDs, NOT VCDs.
- picture quality will not be optimal for Win9x/ME users. Sorry, no fix
for this unless I find some free high quality image resizing code so
I no longer have to use StretchBlt() (Win9x/ME does not support the
HALFTONE stretch blit mode which produces high quality images in
NT/2000/XP).
- tested with PAL movies only so far, but designed to work with both
PAL and NTSC.
5. Help!
--------
For suggestions, bug reports and general discussion, please register at
http://forum.doom9.org and post to the following thread:
http://forum.doom9.org/showthread.php?s=&threadid=40374
If you feel like you absolutely need to contact me directly, again
register at http://forum.doom9.org and send member RB (me) a private
message.
6. Freeware
-----------
D2SCCD is freeware. No strings attached. D2SCCD was basically written by
"plugging it into" the DVD2AVI source code and also uses Smalleranimal's
free jpeglib library (http://www.smalleranimals.com/jpegfile.htm).
Source code for D2SCCD is included and released under GPL. The
MJPEGTools included with D2SCCD are not written by me, they are a Win32
compilation of the MJPEG/Linux tools
(http://sourceforge.net/projects/mjpeg), the binaries included here can
be found at ftp://ftp.vcdimager.org/pub/mjpegtools/.
7. History
----------
01/09/2003 v1.2
- Added: Title audio looping is now optional
- Added: Change CD Text can now be multiple lines
- Added: warning when title audio file cannot be found
- Changed: Title audio file is now expected in non-multiplexed
MP2 format (*.mp2)
12/17/2002 v1.1
- Added: handling of Title/Last CD pictures
- Added: option to add audio to Title picture
- Added: MPEG Stills quality setting
- Added: Integrate with DVD2SVCD option (you no loner need to
change the VCDXBuild path in DVD2SVCD manually)
- Fixed: %d token was sometimes replaced by the number 2 in the
.INI file when clicking OK
- Fixed: preview was sometimes not properly repainted
12/13/2002 v1.0
- First release on Friday the 13th... :-)
________________________________________________________________________________
Germany, January 2003