Log in

View Full Version : remove black bars in cce 250


pcman
9th February 2002, 11:28
i cannot remove black bars in dvd2svcd and cce 250 tried encoding in 4.3 and 16.9 but have 2.5inch bars at top and bottom on pc and standalone losing about half of screen plz help

xrv1138
9th February 2002, 11:33
[edit]

advice posted by me here was rubbish
i will repost

[edit]

pcman
9th February 2002, 11:43
used to use tempeng which let me stretch to full screen but cce quality is better and easier, if i use 4.3/16.9 button on tv then it gets even smaller tried 4.3 and 16.9 setting in cce250 but same result is it possible to remove them..

xrv1138
9th February 2002, 12:00
sorry about my last post
i was half asleep

firstly read this thread
probably worth reading it a couple of times:
http://forum.doom9.org/showthread.php?s=&threadid=5905

is your tv a 4:3 or widescreen tv ?

gerti67
9th February 2002, 12:34
Hi pcman,

as xrv1138 mentioned it is a very good idea to read this thread. And for further help it would be good to post if you have a 16:9 TV set or not (like xrv1138, i could not get it from your post either) and what aspect ratio your DVD is that you're trying to encode (e.g. 2.35:1, 1.85:1 or 4:3).

And something i haven't got also is the following: you said that you have tried the 4.3 and 16.9 setting in CCE :confused:, but you should have used the "Aspect ratio" dropdown in the "Conversion" tab and set it to "4:3" of dvd2svcd - did you? - Oh, btw. there is a little "glitch" in dvd2svcd, if you set an aspect ratio of 4:3 in the conversion tab and then you just click onto another tab dvd2svcd just reverts back to the aspect ratio it got from the *.IFO file (e.g. 16:9) so let the aspect ratio be the last setting you do right before you hit the "Go" button ;).

You can post your "AviSynth_Script_file.avs" here so we can see if it uses the "AddBorder" statement or not.

Greetings,
gerti67

@xrv1138: i read your edited posting and i think it was making sense as it could also be possible ;).

pcman
9th February 2002, 13:01
yes its 4.3 tv with 4.3/16.9 button which makes it worse

yes i know about the drop down aspect ratio which always reverts to 16.9 so i check before i hit go and even tried selecting 16.9 and revoving add borders from avs script

most of my movies are widescreen but my tv is 4.3 and svcd in widescreen looks terrible losing half of screen dont mind if its stretched a bit.

--------------------------------------------------------
- 08/02/2002 19:48:36
- DVD to SVCD Conversion
- DVD2SVCD ver. 1.0.6 build 3
--------------------------------------------------------
Initializing
Initializing finished.

--------------------------------------------------------
- 08/02/2002 19:48:38
- Analyzing subtitles
--------------------------------------------------------

Executing subtitle selection/verification.
Subtitle selection/verification accepted.
--------------------------------------------------------
- 08/02/2002 19:52:32
- Free on drive E: 11956.52 mb
- Internal rip
--------------------------------------------------------
Preparing vobfiles to be ripped:
- E:\mumret1\vobs\vts_01_1.vob
- E:\mumret1\vobs\vts_01_2.vob
- E:\mumret1\vobs\vts_01_3.vob
- E:\mumret1\vobs\vts_01_4.vob
- E:\mumret1\vobs\vts_01_5.vob
- E:\mumret1\vobs\vts_01_6.vob
- E:\mumret1\vobs\vts_01_7.vob

Ripping: E:\mumret1\vobs\vts_01_1.vob
Ripping: E:\mumret1\vobs\vts_01_2.vob
Ripping: E:\mumret1\vobs\vts_01_3.vob
Ripping: E:\mumret1\vobs\vts_01_4.vob
Ripping: E:\mumret1\vobs\vts_01_5.vob
Ripping: E:\mumret1\vobs\vts_01_6.vob
Ripping: E:\mumret1\vobs\vts_01_7.vob
Ripping finished. Speed: 9204

--------------------------------------------------------
- 08/02/2002 20:05:21
- Free on drive E: 5062.06 mb
- Extracting the subtitles.
--------------------------------------------------------

Subtitle extraction finished. Extracted these subtitles:
SVCD Stream no: 1 Language: English Num. of subs: 0

Saving Subtitles
--------------------------------------------------------
- 08/02/2002 20:12:39
- DVD2AVI
--------------------------------------------------------
Creating DVD2AVI INI file:
- C:\Program Files\DVD2SVCD_3\DVD2AVI\DVD2AVI.INI

Variable settings:
iDCT_Algorithm: 32-bit SSE MMX

Executing DVD2AVI.
Executing DVD2AVI. Commandline:
"C:\Program Files\DVD2SVCD_3\DVD2AVI\DVD2AVI.exe" -IA=1 -CS=2 -YR=1 -EXIT -OF=[E:\mumret1\DVD2AVI_Project_file] -IF=[E:\mumret1\vts_01_1.vob,E:\mumret1\vts_01_2.vob,E:\mumret1\vts_01_3.vob,E:\mumret1\vts_01_4.vob,E:\mumret1\vts_01_5.vob,E:\mumret1\vts_01_6.vob,E:\mumret1\vts_01_7.vob]
Framerate: 25000
DVD2AVI processing done.

--------------------------------------------------------
- 08/02/2002 20:17:37
- Free on drive E: 5061.54 mb
- AUDIO Extraction
--------------------------------------------------------
Found AC3 stream id: 0x80
Filename: E:\mumret1\Extracted_audio_1.ac3
Audio1 delay: 0 ms
Audio extraction finished.

--------------------------------------------------------
- 08/02/2002 20:25:21
- Free on drive E: 4720.41 mb
- AUDIO conversion
--------------------------------------------------------

Converting Audio to MP2. Filename: E:\mumret1\Extracted_audio_1.ac3
Executing BeSweet. Commandline:
"C:\Program Files\DVD2SVCD_3\BeSweet\BeSweet.exe" -core( -input "E:\mumret1\Extracted_audio_1.ac3" -output "E:\mumret1\Encoded_audio_1.mp2" -logfile "E:\mumret1\Encoded_audio_1.log" ) -azid( -L -3db -c normal ) -ota( -g max ) -2lame( -e -b 128 -m j )
Audio conversion of E:\mumret1\Extracted_audio_1.ac3 finished.

Audio conversion finished.

--------------------------------------------------------
- 08/02/2002 20:43:07
- Free on drive E: 4606.69 mb
- Converting Pictures
--------------------------------------------------------
Converting: C:\Program Files\DVD2SVCD_3\DefaultTitlepicture.bmp
Converting: C:\Program Files\DVD2SVCD_3\DefaultChangeCD.bmp
Finished converting pictures
--------------------------------------------------------
- 08/02/2002 20:43:14
- Free on drive E: 4605.73 mb
- Video Encoding
--------------------------------------------------------
Current CPU Usage: 100 %

Executing Cinema Craft Encoder.
StreamSectors: 1663691176
AudioSectors: 120780604
VideoPAPO: 23900508
ScanOffsetBytes: 279453
SeqAligningBytes: 17760791
VideoEndHeader: 8
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 900.00
PureMPEGStream: 1500969812.33
Seconds: 7448.08
CDSize: 800.00
Cut point 794.00
Variable Settings:
Frames: 186302
Anti Noise Filter: 2
Passes: 3
Image Quality: 17
VAF file creation: On
Video Encoding Mode: Multipass VBR
Min. bitrate: 300
Max. bitrate: 2590
Avg. Bitrate: 1612
Closing program
Video Encoding finished.

--------------------------------------------------------
- 09/02/2002 07:26:03
- Free on drive E: 3128.00 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD_3\bbMPEG\default.ini

Executing RunbbMPEG. Commandline:
"C:\Program Files\DVD2SVCD_3\bbMPEG\RunbbMPEG.exe" "E:\mumret1\TitlePicture.bmp.mpg"
--------------------------------------------------------
- 09/02/2002 07:26:16
- Free on drive E: 3127.96 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD_3\bbMPEG\default.ini

Executing RunbbMPEG. Commandline:
"C:\Program Files\DVD2SVCD_3\bbMPEG\RunbbMPEG.exe" "E:\mumret1\ChangeCDPicture.bmp.mpg"
--------------------------------------------------------
- 09/02/2002 07:26:21
- Free on drive E: 3127.92 mb
- Multiplexing and cutting
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD_3\bbMPEG\default.ini
Offset in Seconds: 2
Executing bbMPEG.
Variable Settings:
Movie offset: 2 seconds
Cut point: 794 mb

Executing RunbbMPEG. Commandline:
"C:\Program Files\DVD2SVCD_3\bbMPEG\RunbbMPEG.exe" "E:\mumret1\bbMPEG_Muxed_File.mpg"
Length of E:\mumret1\bbMPEG_Muxed_File00.mpg
3936 Seconds
Offset in Seconds: 3938
Executing bbMPEG.
Variable Settings:
Movie offset: 2 seconds
Cut point: 794 mb

Executing RunbbMPEG. Commandline:
"C:\Program Files\DVD2SVCD_3\bbMPEG\RunbbMPEG.exe" "E:\mumret1\bbMPEG_Muxed_File.mpg"
Multiplexing and cutting finished.

--------------------------------------------------------
- 09/02/2002 08:29:37
- Free on drive E: 8436.97 mb
- Determining length of audio
--------------------------------------------------------
Analyzing: E:\mumret1\bbMPEG_Muxed_File00.mpg
3938.496 seconds E:\mumret1\bbMPEG_Muxed_File00.mpg
Analyzing: E:\mumret1\bbMPEG_Muxed_File01.mpg
3514.152 seconds E:\mumret1\bbMPEG_Muxed_File01.mpg
Analyzing finished.

--------------------------------------------------------
- 09/02/2002 08:32:24
- Free on drive E: 8436.97 mb
- Creating CD-Images using VCDXBuild
--------------------------------------------------------
- No. of chapters to create: 1

CD image #1: CD_Image_File_CD1.bin

Executing VCDXBuild. Commandline:
"C:\Program Files\DVD2SVCD_3\VCDImager\VCDXBuild.exe" --cue-file="E:\mumret1\CD_Image_File_CD1.cue" --bin-file="E:\mumret1\CD_Image_File_CD1.bin" "E:\mumret1\VCDXBuild_Script_1.xml"
--------------------------------------------------------
- 09/02/2002 08:36:51
- Free on drive E: 7631.88 mb
- Creating CD-Images using VCDXBuild
--------------------------------------------------------
- No. of chapters to create: 1

CD image #2: CD_Image_File_CD2.bin

Executing VCDXBuild. Commandline:
"C:\Program Files\DVD2SVCD_3\VCDImager\VCDXBuild.exe" --cue-file="E:\mumret1\CD_Image_File_CD2.cue" --bin-file="E:\mumret1\CD_Image_File_CD2.bin" "E:\mumret1\VCDXBuild_Script_2.xml"
CD-Image creation finished.

--------------------------------------------------------
- 09/02/2002 08:40:56
- Free on drive E: 6826.58 mb
- SVCD Creation finished!
--------------------------------------------------------

pcman
9th February 2002, 13:11
but as i said earlier i tried removing line add borders by selecting 16.9 and adding edit script then deleting add borders but still came out ultra narrow..
LoadPlugin("C:\PROGRA~1\DVD2SV~1\MPEG2Dec\mpeg2dec.dll")
mpeg2source("E:\mumret1\DVD2AV~1.D2V")
BilinearResize(480,432)
AddBorders(0,72,0,72)
ResampleAudio(44100)

gerti67
9th February 2002, 13:40
Hi pcman,

now i got an idea of what you're trying to do ;).

If you remove the "AddBorder" statement (that's what dvd2svcd does when selecting 4:3 in aspect ratio dropdown) then you will sure loose the correct aspect ratio but as you said you don't mind.

For movies of an aspect ratio of 1.85:1 this will let the black bars disappear but not for movies that are 2.35:1.

So what you have to do is to "crop" the movie by cutting of the edges and loose some information with it. You can do that by inserting the "Crop" statement within the Avisynth script. (e.g. "Crop(4,0,352,240)") but as i'm not an expert in cropping (never done that before) this is just a starting point for you to do a search for "Crop" in the forum, visit the AviSynth website and read the script reference (http://www.math.berkeley.edu/~benrg/avisynth.html) or to wait for a more experienced user to give you some hints ;).

Greetings,
gerti67

gerti67
9th February 2002, 14:14
Me again,

Edit your AviSynth script like this:

LoadPlugin("C:\PROGRA~1\DVD2SV~1\MPEG2Dec\mpeg2dec.dll")
mpeg2source("E:\mumret1\DVD2AV~1.D2V")
Crop(72,0,576,576)
BilinearResize(480,432)
ResampleAudio(44100)

But be aware you will loose some information with this. And i'm not totally sure if this is the right way (so some "crop" experts might help with it please ;))

Greetings,
gerti67

gerti67
9th February 2002, 15:57
Ups! :o

I made a mistake. I forgot to change the height in the Resize.
So the script has to be like this, sorry pcman ;).

LoadPlugin("C:\PROGRA~1\DVD2SV~1\MPEG2Dec\mpeg2dec.dll")
mpeg2source("E:\mumret1\DVD2AV~1.D2V")
Crop(72,0,576,576)
BilinearResize(480,576)
ResampleAudio(44100)

Greetings,
gerti67

xrv1138
9th February 2002, 16:25
hmm
after thinking about this thread and re-reading the 16:9 4:3 thread i decided to have a play with an anamorphic svcd.
my tv and projector have widescreen options like pcman's.
seems i have no problems playing anamorphic svcds in correct aspect ratio on either of my systems.
so i spose i could have encoded using the 4:3 option from the beginning ;)

not going to tho
if i read the aspect ratio correctly, to get the same quality as i do now i would have to increase my max average bitrate by 33% for 1.85:1 dvds. as my present settings for cce stabilty preclude this i think ill just put off getting a widescreen tv indefinitley and stay with projector for movies (dont notice the black bars using that) :)

gerti67
9th February 2002, 16:50
Hi xrv1138,

i think you should do that (increase the bitrate) as from my short testing with the script the cropped MPEG looks worser (more noise, so i would prefer bilinear) than that with borders.

Also, i noticed some parts of the scene tend to "wobble" when the camera is moving or zooming. Perhaps this is related to the iDCT Algorithm (anybody knowing this ?) that has also to be more precise, just a guess ;).

Greetings,
gerti67

pcman
9th February 2002, 17:29
thx for your help the cropping has certainly helped its reduced the black bars by half although they are still there about 25mm top and bottom tried incresing 72,0 to 82,0 but no difference or do i have to alter all figures also tried looking for help with cropping but no real help as yet at forum or avs webpage but still looking..

xrv1138
9th February 2002, 17:35
gerti67
im going to avoid anamorphic svcds
cant increase my bitrates without harming my cce stability
and i certainly dont want to reduce my quality which im very happy with
just backed up saving private ryan, an apparently notorious dvd for average backup quality, and mine looks really nice
so
ill skip the widescreen tv and stay with projector
until plasma widescreens are cheap (as if that will ever happen)
then ill re-backup my dvds in anamorphic then

of course by then pcs will be so fast that dvd2svcd RT speeds will be about 10.5+ ;)
god know what version d2s will be up to by then
probably version 976234 build 23 which washes your laundry and cooks you dinner for you as well - tho only in beta testing of course :D

gerti67
9th February 2002, 19:11
Hi pcman,

sorry to say but it seems i made another mistake! :o I didn't take into consideration the aspect ratio and just cropped the 72 pixel (that were to be added by the "AddBorder" statement) also from the left and the right, that is a mistake :( to keep the correct aspect ratio you have to crop 90 pixels from the left and the right side! So that the (now hopefully) correct statement should read:

=> "Crop(90,0,540,576)"

This will completely cut off the black borders of an 1.85:1 movie but keep in mind that you loose many information with that.

In your case, you probably have a 2.35:1 (or so) movie that will still have black borders when using the above command (as thick as a 1.85:1 movie on a 4:3 TV). If you want to crop of these borders, too, what i really can't recommend because you will loose a lot of picture information and visual quality suffers also, you have to use the following formula:

=> "Crop(90+x,0.8*x,540-2*x,576-1.6*x)" to keep the correct aspect ratio so that for x=30 it would read:

=> "Crop(120,24,480,528)"

So try it on your own and see if it satisfies your needs. But as i already said i just got into it (mainly for curiosity reasons) and i'm not an expert at this - so be aware there still can be mistakes in these calculations and thoughts. ;)

Greetings,
gerti67

P.S. @xrv1138: what about realtime speech analysis, -translation and -synthesis, so that dvd2svcd could translate any language into another, what would sure help with some people complaining about subtitles not working for them :D - Sorry, dvd2svcd - just kidding, i really appreciate your great work.

xrv1138
10th February 2002, 00:33
gerti67
i dont doubt that it will reach that stage ;)
and similarly
this humour is soley in awe of the rapid progression of the program :)