Log in

View Full Version : bin/cue file to large


sberg43
16th November 2003, 00:55
Hello. I'm trying to convert a dvd to svcd, but have a problem with the size of the last image.

I use Dvd2svcd 1.2.1 build3, avisynth 2.52, and TMPGEnc 2.5. on win2000 sp4, P3 933. Under the "bitrate"-tab, all CD-size entities have been set to 800 and on the encoder-tab tmpgenc's "constant bitrate CBR" have been selected.

The size of the first bin-file, CD_Image_File_CD1.bin, is 805 MB and the length is 79:51.58 (according to Nero 6.0.0.19). The second file, CD_Image_File_CD2.bin, is 807 MB with a length of 80:03.15. And thats my problem, it's sligthy to large whitout haveing to overburn the cd.

Dvd2svcd reports the length of the video to be 01:59:00, but when I open the vob-files in media player classic the total length is 1:59:06. Is this differance something to pay attention to?

Here is my dvd2svcd_log.txt
WNASPI32.DLL 4.6.0.1021
--------------------------------------------------------
- 12.11.2003 04:58:45
- DVD to SVCD Conversion
- DVD2SVCD ver. 1.2.1 build 3
--------------------------------------------------------
Initializing
- L:\VIDEO_TS\VTS_02_0.IFO
- L:\VIDEO_TS\VTS_02_1.vob
- L:\VIDEO_TS\VTS_02_2.vob
- L:\VIDEO_TS\VTS_02_3.vob
- L:\VIDEO_TS\VTS_02_4.vob
- L:\VIDEO_TS\VTS_02_5.vob
Initializing finished.

--------------------------------------------------------
- 12.11.2003 04:58:48
- Free on drive E: 24896.50 mb
- Internal rip
--------------------------------------------------------
Preparing vobfiles to be ripped:
- L:\VIDEO_TS\VTS_02_1.vob
- L:\VIDEO_TS\VTS_02_2.vob
- L:\VIDEO_TS\VTS_02_3.vob
- L:\VIDEO_TS\VTS_02_4.vob
- L:\VIDEO_TS\VTS_02_5.vob

Ripping: L:\VIDEO_TS\VTS_02_1.vob
Ripping: L:\VIDEO_TS\VTS_02_2.vob
Ripping: L:\VIDEO_TS\VTS_02_3.vob
Ripping: L:\VIDEO_TS\VTS_02_4.vob
Ripping: L:\VIDEO_TS\VTS_02_5.vob
Framerate: 25000
Ripping finished. Speed: 6757

--------------------------------------------------------
- 12.11.2003 05:09:52
- DVD2AVI
--------------------------------------------------------
Creating DVD2AVI INI file:
- C:\video\DVD2SVCD\DVD2AVI\DVD2AVI.INI

Variable settings:
iDCT_Algorithm: 32-bit SSE MMX

Executing DVD2AVI.
Executing DVD2AVI. Commandline:
"C:\video\DVD2SVCD\DVD2AVI\DVD2AVI.exe" -CS=2 -YR=1 -EXIT -OF=[E:\Download\temp\DVD2SVCD\DVD2AVI_Project_file] -IF=[E:\Download\temp\DVD2SVCD\VTS_02_1.vob,E:\Download\temp\DVD2SVCD\VTS_02_2.vob,E:\Download\temp\DVD2SVCD\VTS_02_3.vob,E:\Download\temp\DVD2SVCD\VTS_02_4.vob,E:\Download\temp\DVD2SVCD\VTS_02_5.vob]
Framerate: 25000
DVD2AVI processing done.

--------------------------------------------------------
- 12.11.2003 05:15:31
- Free on drive E: 20345.13 mb
- AUDIO Extraction
--------------------------------------------------------
Found AC3 stream id: 0x80
Filename: E:\Download\temp\DVD2SVCD\Extracted_audio_1.ac3
Audio1 delay: 0 ms
Framerate: 25000
Audio extraction finished.

--------------------------------------------------------
- 12.11.2003 05:23:34
- Free on drive E: 20181.72 mb
- AUDIO conversion
--------------------------------------------------------

Encoding Audio. Filename: E:\Download\temp\DVD2SVCD\Extracted_audio_1.ac3
Executing BeSweet. Commandline:
"C:\video\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "E:\Download\temp\DVD2SVCD\Extracted_audio_1.ac3" -output "E:\Download\temp\DVD2SVCD\Encoded_audio_1.mp2" -logfile "E:\Download\temp\DVD2SVCD\Encoded_audio_1.log" ) -azid( -L -3db -l 0db -c normal -s surround -g max ) -shibatch( --rate 44100 ) -2lame( -e -b 192 -m s )
Audio conversion of E:\Download\temp\DVD2SVCD\Extracted_audio_1.ac3 finished.

Audio conversion finished.

--------------------------------------------------------
- 12.11.2003 06:07:56
- Free on drive E: 19271.56 mb
- Video Encoding using TMPGEnc
--------------------------------------------------------
- Encoding E:\Download\temp\DVD2SVCD\AviSynth_Script_file.avs
StreamSectors: 1667869728
AudioSectors: 174030416
VideoPAPO: 23140368
ScanOffsetBytes: 160818
SeqAligningBytes: 10220896
DVDBytes: 0
VideoEndHeader: 8
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 1.00
PureMPEGStream: 1460317221.30
Seconds: 7154.48
CalcMPEGStream: 1460317221.30
Frames: 178687
CDSize: 800.00
Number of CDs: 2
Cut point 795.00
Bitrate: 1632.90
Executing TMPGEnc. Commandline:
"C:\Program Files\Pegasys Inc\TMPGEnc Plus 2.5\TMPGEnc.exe" "E:\Download\temp\DVD2SVCD\TMPGEnc_Project_file.tpr" /Encode /Close
Video Encoding finished.

--------------------------------------------------------
- 13.11.2003 07:52:33
- Free on drive E: 21022.06 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\video\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 13.11.2003 07:52:37
- Free on drive E: 21022.06 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\video\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 13.11.2003 07:52:39
- Free on drive E: 21022.06 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\video\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 13.11.2003 07:52:42
- Free on drive E: 21022.06 mb
- Multiplexing and cutting
--------------------------------------------------------
Saving bbMPEG settings: C:\video\DVD2SVCD\bbMPEG\default.ini
Offset in Seconds: 2
Executing bbMPEG.
Variable Settings:
Movie offset: 2 seconds
Cut point: 795 mb

Executing RunbbMPEG. Commandline:
"C:\video\DVD2SVCD\bbMPEG\RunbbMPEG.exe" "E:\Download\temp\DVD2SVCD\bbMPEG_Muxed_File.mpg"
Length of E:\Download\temp\DVD2SVCD\bbMPEG_Muxed_File00.mpg
3567 Seconds
Offset in Seconds: 3569
Executing bbMPEG.
Variable Settings:
Movie offset: 2 seconds
Cut point: 795 mb

Executing RunbbMPEG. Commandline:
"C:\video\DVD2SVCD\bbMPEG\RunbbMPEG.exe" "E:\Download\temp\DVD2SVCD\bbMPEG_Muxed_File.mpg"
Multiplexing and cutting finished.

--------------------------------------------------------
- 13.11.2003 08:05:25
- Free on drive E: 19430.34 mb
- Determining length of audio
--------------------------------------------------------
Analyzing: E:\Download\temp\DVD2SVCD\bbMPEG_Muxed_File00.mpg
3569.685 seconds E:\Download\temp\DVD2SVCD\bbMPEG_Muxed_File00.mpg
Analyzing: E:\Download\temp\DVD2SVCD\bbMPEG_Muxed_File01.mpg
3578.018 seconds E:\Download\temp\DVD2SVCD\bbMPEG_Muxed_File01.mpg
Analyzing finished.

--------------------------------------------------------
- 13.11.2003 08:06:49
- Free on drive E: 19430.31 mb
- Creating CD-Images using VCDXBuild
--------------------------------------------------------
- No. of chapters to create: 8

CD image #1: CD_Image_File_CD1.bin

Executing VCDXBuild. Commandline:
"C:\video\DVD2SVCD\VCDImager\VCDXBuild.exe" --verbose --cue-file="E:\Download\temp\DVD2SVCD\CD_Image_File_CD1.cue" --bin-file="E:\Download\temp\DVD2SVCD\CD_Image_File_CD1.bin" "E:\Download\temp\DVD2SVCD\VCDXBU~1.XML"
--------------------------------------------------------
- 13.11.2003 08:09:22
- Free on drive E: 18624.44 mb
- Creating CD-Images using VCDXBuild
--------------------------------------------------------
- No. of chapters to create: 8

CD image #2: CD_Image_File_CD2.bin

Executing VCDXBuild. Commandline:
"C:\video\DVD2SVCD\VCDImager\VCDXBuild.exe" --verbose --cue-file="E:\Download\temp\DVD2SVCD\CD_Image_File_CD2.cue" --bin-file="E:\Download\temp\DVD2SVCD\CD_Image_File_CD2.bin" "E:\Download\temp\DVD2SVCD\VCDXBU~2.XML"
Image creation finished.

--------------------------------------------------------
- 13.11.2003 08:11:48
- Free on drive E: 17816.66 mb
- Conversion done!
--------------------------------------------------------

ralphthedog
16th November 2003, 02:13
2MB is pretty close..........what are you complaining about!:D

I think the course of action is to use a RW disc and try to overburn (I think Nero has a checkbox somewhere). If that's no good try VCDEasy (thats what I use, and it does have a overburn checkbox). If your burner won't let you overburn, then you will just have to set the disc sizes in DVD2SVCD to 795 or so and re-encode.

Try to encode VBR instead of CBR though, you should get a better result (I think CQ or 2 pass VBR in TMPGEnc?). Most people seem to prefer Cinemacraft Encoder (CCE) for SVCD, you might want to give that a try too, I use CCE 2.67.

Give the search button a go and you might find some better info. on the subject from the brainy types around here.

r6d2
16th November 2003, 06:21
@ralphthedog,
:goodpost: :helpful:

Originally posted by sberg43
Dvd2svcd reports the length of the video to be 01:59:00, but when I open the vob-files in media player classic the total length is 1:59:06. Is this differance something to pay attention to?
No, not really.
:goodpost: too!

mteunissen
20th November 2003, 11:46
Hi,

I have the same problem on the last image. Sometimes it's only 2 MB, wich I can overburn, but other times it's 80 Mb oversized. Allready tried to set the disc size to 750 but it looks like that on the last image it doesn't matter what you put in there, cause the size of the image stays the same.

This only happens with the last image! It doesn't make any difference if I make a SVCD with 2, 3 or 4 CD's. It's always the last one that's too big.

Someone has any idea?


PS.
Sorry, don't have a log file at this moment. I'm at work (LOL)

jsoto
20th November 2003, 23:27
This only happens with the last image!
Pretty obvious. Total mpg length is not accurated, but cutting points are always 795 (really CD size-5), so the last CD is the one where the length differences (estimated and real) are shown.

I suppose you are using TMPGENc in CQ mode, which is almost unpredictable in size, but IMHO the best quality of this encoder. So you can minimize this effect using a lower value in CQ value factor. In this way, you are going to have (usually) a not completely filled CD, but only occasionally an oversized one (saving you a new encode).

jsoto

EDIT:
I forgot to mention you can give a try to kru's plugin. I didn't do it personally, but it looks fine for TMPGENc users.
http://forum.doom9.org/showthread.php?s=&threadid=65203

mteunissen
21st November 2003, 08:54
Originally posted by jsoto
I suppose you are using TMPGENc in CQ mode

I also used it with the canopus and the cinema craft coders, but all with the same result. B.t.w. it only happens with the latest versions of DVD2SVCD!?, with older versions I never had any trouble.

doGMan
21st November 2003, 15:23
i'm having the exact same problem as mteunissen.

The last cd image is always oversized, ranging from 6mb upto 50mb. i use cce 2.67 with tylo's d2sroba plugin. This only started with the new release of dvd2svcd.

mteunissen
24th December 2003, 14:37
Well it seems that I have to use an older version of D2S, cause no-one seems to know why this is???

r6d2
24th December 2003, 16:28
Originally posted by mteunissen
Well it seems that I have to use an older version of D2S, cause no-one seems to know why this is???
As jsoto pointed out, with DVD2SVCD (even the last version) you generally get an undersized last image if using with VBR. With Costant Quantization modes, whatever encoder, it's unpredictable.

If you are always having the same problem, there must be something weird in your settings. Please :logfile: to help you better.

Siliconhell
5th January 2004, 19:42
Dear Gurus,

My bin files are also too large, Im sure it was ok before using D2SRoba

My Roba log file is below



Regards

Mike ...

Siliconhell.com (http://www.siliconhell.com)

--------------------------------------------------------
D2SRoBa v3.1.2, by Tylo
--------------------------------------------------------
- WIN_XP - AutoIt 3.0.81.0
- 2004-01-04 23:46:41
--------------------------------------------------------
Settings:
- Output type : SVCD
- CD size : 800
- Number of CD's : ?
- Sample percent : 2.0
- Auto Q / Max Q : 40 / 100
- Adjust Q : 0.6
- Sizing pass : Yes (if opv sz < 2.0%, or > 1.0% from target sz, or Q > 40)
- Audio after video : Yes (10% of video, min 128 kbps)
- Adjust max br : Yes (total: 2754, max avg offset: 300 kbps)
- Batch prepare : No
- Clean previous : Yes
- Crash recover : No
--------------------------------------------------------
- Waiting for CCE window ...
- Detected a CCE encode window
- Detected the CCE main movie encode window... trying to kill it.
- Finished shutdown of CCE and D2S
--------------------------------------------------------
- Movie length : 01:46:31 (153231 frames, 23.976 fps)
- D2S audio brate : (128 + 0) kbps
- D2S video estim. : 1911 kbps, 2 CDs
- Select Ranges : every 750, select 15 frames
- Sample frames : 3075
--------------------------------------------------------
Calculations:
- 1 CD: video_br=884 (884) audio1_br=128 video_sz=706207270 fill=100.0% cbr=0
- 2 CD: video_br=1847 (1847) audio1_br=192 video_sz=1475525823 fill=100.0% cbr=0
- 3 CD: video_br=2530 (2843) audio1_br=224 video_sz=2021158815 fill=89.9% cbr=1
--------------------------------------------------------
Computing target number of CDs:
- Using max bitrate=2626 for auto sample (adjusted for 1 CDs)
- Estim. mpv BR : 499 (Q=100, err=?%, size=399382674, sample sz=8014708)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 1
- Target mpv BR : 884 (max 2626) kbps, size=706207270 bytes
--------------------------------------------------------
Search for Q:
- Estim. mpv BR : 1149 (Q=26, err=30.0%, size=918175101, sample sz=18425700)
- Estim. mpv BR : 878 (Q=39, err=-0.7%, size=701684564, sample sz=14081224)
- Determined Q : 38 = round(39 - 0.6 + (-0.7)/2.4)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 2
- Target mpv BR : 1847 (max 2562) kbps, size=1475525823 bytes
--------------------------------------------------------
Search for Q:
- Estim. mpv BR : 1990 (Q=9, err=7.7%, size=1590457053, sample sz=31916880)
- Estim. mpv BR : 1942 (Q=10, err=5.1%, size=1551457945, sample sz=31134256)
- Estim. mpv BR : 1832 (Q=12, err=-0.8%, size=1463912266, sample sz=29377412)
- Determined Q : 11 = round(12 - 0.6 + (-0.8)/3.0)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 3
- Target mpv BR : 2530 (max 2530) kbps, size=2021158815 bytes
--------------------------------------------------------
========================================================
- Selected num CDs : 2 (Q=11)
--------------------------------------------------------
- Encoding Movie
- 2004-01-05 08:05:24
- Actual mpv file size:
05/01/2004 08:52 1458595084 Encoded_Video_CCE_NTSC.mpv
- OPV pass result: 98.9% on target ( 1458595084 / 1475525823) CCE 2.50 speed: 2.28
--------------------------------------------------------
- Executing: C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe -core( -input "D:\Movies\Films\enc\Encoded_audio_1.mp2.wav" -output "D:\Movies\Films\enc\Encoded_audio_1.mp2" -logfile "D:\Movies\Films\enc\Encoded_audio_1.log" ) -ota( -g max ) -2lame( -e -b 192 -m s )
--------------------------------------------------------
- Recover:
- 2004-01-05 08:58:00

r6d2
6th January 2004, 02:59
This one is odd indeed. I'm not sure if Tylo is reading this thread. Please post a pointer on the D2Sroba thread to have him look at it.

BTW, how large are the image files?

Siliconhell
6th January 2004, 09:43
I think the first CD was 820mb and the 2nd CD was 802mb

I know this is a daft question, but I'll ask it anyway! "What do the CD Size options equate to, eg 800, 800 what?

I will indeed post a pointer to here in the other forum.

Many Thanks

Mike ...
Siliconhell.com (http://www.siliconhell.com)

r6d2
6th January 2004, 15:31
Originally posted by Siliconhell
[B]I think the first CD was 820mb and the 2nd CD was 802mb

[quote]I know this is a daft question, but I'll ask it anyway! "What do the CD Size options equate to, eg 800, 800 what?
That's an easy one: 800-MB. ;)

Make sure you understand the difference between 1-MB and 1.000.000 bytes.

The sizes you expressed seem to be in millions of bytes, not in megabytes. Try using windows explorer to tell you how many MB. Last image is usually smaller that the previous ones. This is normal. If the difference is bigger than, say, 5-MB or so, it might be an issue Tylo may want to look at.

Siliconhell
6th January 2004, 15:52
OK thanks for the info.

I will run the job again tonight and make an exact note of the image sizes.

My reason for asking about CD Size is that Im using 700mb CD but there doesnt seem to be an option for that.

Thanks again

Mike ...
Siliconhell (http://www.siliconhell.com)

r6d2
6th January 2004, 15:55
Originally posted by Siliconhell
My reason for asking about CD Size is that Im using 700mb CD but there doesnt seem to be an option for that.
You have some homework to do. :)

700-MB CDs are actually 800-MB in SVCD. :readguid:

Siliconhell
6th January 2004, 16:03
700-MB CDs are actually 800-MB in SVCD.

Sory I didnt know that :eek: I did try and search the forum but couldnt find the relevant info. (The forum search did not let me search for CD 700 mb)

Believe it or not I am a Techie (networks and OS's) and thought that you could only fit 700MB of data on a CD regardless of what format you use :confused:

I will read the guides :D

Thanks

Mike ...

r6d2
6th January 2004, 17:32
Originally posted by Siliconhell
and thought that you could only fit 700MB of data on a CD regardless of what format you use :confused:
That's the magic of MPEG-2 compression. :D:D:D

Just kidding. It has to do with a special burning mode of the media which uses error correction destined space. Go ahead with your homework and you'll get the joke. ;)