View Full Version : I-frame error in bbMPEG


The_Grinch
18th August 2002, 02:17
Hi all,
This is my first post in this very usefull forum, so please do not bite my head off :scared:
I've been using DVD2SVCD for about 1 1/2 month and encoded about 85 Movies and now lately I get this much discussed I-Frame error as well.
As I'm writing this I've just finished 'Dark Stories' and got that error again, back to back actually. The previous movie I did today was 'Dracula'.
I guess I'm just venting my frustration about this BUG.
Nobody in this forum or other forums seems to have a real solution or clue why this error happens.
Well maybe one of you guys can give it another shot and maybe find out what's going on and how to solve this eventually.
Well here's my Log file maybe that's of some help.

Key found: C0002371DF
--------------------------------------------------------
- 8/17/2002 10:10:15 PM
- DVD to SVCD Conversion
- DVD2SVCD ver. 1.0.9 build 3
--------------------------------------------------------
Initializing
Initializing finished.

--------------------------------------------------------
- 8/17/2002 10:10:16 PM
- Free on drive H: 16728.54 mb
- vStrip
--------------------------------------------------------
Preparing vobfiles to be ripped:
- I:\VIDEO_TS\VTS_01_1.vob
- I:\VIDEO_TS\VTS_01_2.vob
- I:\VIDEO_TS\VTS_01_3.vob
- I:\VIDEO_TS\VTS_01_4.vob
- I:\VIDEO_TS\VTS_01_5.vob

Saving the vStrip filelist:
- H:\VCDtoSVCD\Movie\vStrip.lst

Executing vStrip. Commandline:
"D:\Program Files\DVD2SVCD\vStrip\vStrip.exe" @"H:\VCDtoSVCD\Movie\vStrip.lst" -i"H:\VCDtoSVCD\Movie\VTS_01_0.IFO" -j1 -$1024 -p0 -o"H:\VCDtoSVCD\Movie\VTS_01.vob"
--------------------------------------------------------
- 8/17/2002 10:19:37 PM
- DVD2AVI
--------------------------------------------------------
Creating DVD2AVI INI file:
- D:\Program Files\DVD2SVCD\DVD2AVI\DVD2AVI.INI

Variable settings:
iDCT_Algorithm: 32-bit SSE MMX

Executing DVD2AVI.
Executing DVD2AVI. Commandline:
"D:\Program Files\DVD2SVCD\DVD2AVI\DVD2AVI.exe" -CS=2 -YR=1 -EXIT -OF=[H:\VCDtoSVCD\Movie\DVD2AVI_Project_file] -IF=[H:\VCDtoSVCD\Movie\VTS_01_1.vob,H:\VCDtoSVCD\Movie\VTS_01_2.vob,H:\VCDtoSVCD\Movie\VTS_01_3.vob,H:\VCDtoSVCD\Movie\VTS_01_4.vob]
Analyzing DVD2AVI Project file
Hybrid Film activated. IVTC will be applied and will slow down the entire process!
Framerate: 29970
DVD2AVI processing done.

--------------------------------------------------------
- 8/17/2002 10:21:59 PM
- Free on drive H: 12691.48 mb
- AUDIO Extraction
--------------------------------------------------------
Found AC3 stream id: 0x80
Filename: H:\VCDtoSVCD\Movie\Extracted_audio_1.ac3
Audio1 delay: -67 ms
Audio extraction finished.

--------------------------------------------------------
- 8/17/2002 10:26:28 PM
- Free on drive H: 12577.75 mb
- AUDIO conversion
--------------------------------------------------------

Converting Audio to MP2. Filename: H:\VCDtoSVCD\Movie\Extracted_audio_1.ac3
Executing BeSweet. Commandline:
"D:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "H:\VCDtoSVCD\Movie\Extracted_audio_1.ac3" -output "H:\VCDTOS~1\Movie\Encoded_audio_1.mp2" -logfile "H:\VCDTOS~1\Movie\Encoded_audio_1.log" ) -azid( -L -3db -c normal -g max ) -ota( -d -67 ) -2lame( -e -b 128 -m s )
Audio conversion of H:\VCDtoSVCD\Movie\Extracted_audio_1.ac3 finished.

Audio conversion finished.

--------------------------------------------------------
- 8/17/2002 10:34:05 PM
- Free on drive H: 12501.93 mb
- Converting Pictures
--------------------------------------------------------
Converting: D:\Program Files\DVD2SVCD\DefaultChangeCD.bmp
Finished converting pictures
--------------------------------------------------------
- 8/17/2002 10:34:10 PM
- Free on drive H: 12501.14 mb
- Video Encoding using TMPGEnc
--------------------------------------------------------
- Encoding H:\VCDtoSVCD\Movie\ChangeCDPicture.bmp.avs
Executing TMPGEnc. Commandline:
"E:\APPZ\TMPGEnc Plus-2.56.39.143\TMPGEnc.exe" "H:\VCDtoSVCD\Movie\TMPGEnc_Project_file.tpr" /Encode /Close
Video Encoding finished.

- Encoding H:\VCDtoSVCD\Movie\AviSynth_Script_file.avs
StreamSectors: 1666479976
AudioSectors: 80719492
VideoPAPO: 24564276
ScanOffsetBytes: 107215
SeqAligningBytes: 6814122
DVDBytes: 0
VideoEndHeader: 8
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 300.00
PureMPEGStream: 1554274863.20
Seconds: 4977.64
CalcMPEGStream: 1554274863.20
Frames: 119128
CDSize: 800.00
Cut point 795.00
Aspect Ratio: 4:3 (No borders, encoded as 4:3)

---AVS Begin---
LoadPlugin("D:\PROGRA~1\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
LoadPlugin("D:\PROGRA~1\DVD2SVCD\INVERS~1\DONALD~1\decomb.dll")
mpeg2source("H:\VCDTOS~1\Movie\DVD2AV~1.D2V")
Telecide()
Decimate(5)
BicubicResize(480,480,0,0.75)
----AVS End----

Executing TMPGEnc. Commandline:
"E:\APPZ\TMPGEnc Plus-2.56.39.143\TMPGEnc.exe" "H:\VCDtoSVCD\Movie\TMPGEnc_Project_file.tpr" /Encode /Close
Video Encoding finished.

--------------------------------------------------------
- 8/18/2002 2:39:08 AM
- Free on drive H: 11079.56 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: D:\Program Files\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 8/18/2002 2:39:11 AM
- Free on drive H: 11079.56 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: D:\Program Files\DVD2SVCD\bbMPEG\default.ini

Executing RunbbMPEG. Commandline:
"D:\Program Files\DVD2SVCD\bbMPEG\RunbbMPEG.exe" "H:\VCDtoSVCD\Movie\ChangeCDPicture.bmp.mpg"
--------------------------------------------------------
- 8/18/2002 2:39:14 AM
- Free on drive H: 11079.53 mb
- Multiplexing and cutting
--------------------------------------------------------
Saving bbMPEG settings: D:\Program Files\DVD2SVCD\bbMPEG\default.ini
Offset in Seconds: 0
Executing bbMPEG.
Variable Settings:
Movie offset: 0 seconds
Cut point: 795 mb

Executing RunbbMPEG. Commandline:
"D:\Program Files\DVD2SVCD\bbMPEG\RunbbMPEG.exe" "H:\VCDtoSVCD\Movie\bbMPEG_Muxed_File.mpg"
Length of H:\VCDtoSVCD\Movie\bbMPEG_Muxed_File00.mpg
2579 Seconds
Offset in Seconds: 2579
Executing bbMPEG.
Variable Settings:
Movie offset: 0 seconds
Cut point: 795 mb

Executing RunbbMPEG. Commandline:
"D:\Program Files\DVD2SVCD\bbMPEG\RunbbMPEG.exe" "H:\VCDtoSVCD\Movie\bbMPEG_Muxed_File.mpg"
Multiplexing and cutting finished.

--------------------------------------------------------
- 8/18/2002 2:50:45 AM
- Free on drive H: 9549.70 mb
- Determining length of audio
--------------------------------------------------------
Analyzing: H:\VCDtoSVCD\Movie\bbMPEG_Muxed_File00.mpg
2581.968 seconds H:\VCDtoSVCD\Movie\bbMPEG_Muxed_File00.mpg
Analyzing: H:\VCDtoSVCD\Movie\bbMPEG_Muxed_File01.mpg
2389.200 seconds H:\VCDtoSVCD\Movie\bbMPEG_Muxed_File01.mpg
Analyzing finished.

--------------------------------------------------------
- 8/18/2002 2:51:53 AM
- Free on drive H: 9549.70 mb
- Creating CD-Images using VCDXBuild
--------------------------------------------------------
- No. of chapters to create: 3

CD image #1: CD_Image_File_CD1.bin

Executing VCDXBuild. Commandline:
"D:\Program Files\DVD2SVCD\VCDImager\VCDXBuild.exe" --verbose --cue-file="H:\VCDtoSVCD\Movie\CD_Image_File_CD1.cue" --bin-file="H:\VCDtoSVCD\Movie\CD_Image_File_CD1.bin" "H:\VCDtoSVCD\Movie\VCDXBuild_Script_1.xml"
--------------------------------------------------------
- 8/18/2002 2:54:26 AM
- Free on drive H: 8743.96 mb
- Creating CD-Images using VCDXBuild
--------------------------------------------------------
- No. of chapters to create: 4

CD image #2: CD_Image_File_CD2.bin

Executing VCDXBuild. Commandline:
"D:\Program Files\DVD2SVCD\VCDImager\VCDXBuild.exe" --verbose --cue-file="H:\VCDtoSVCD\Movie\CD_Image_File_CD2.cue" --bin-file="H:\VCDtoSVCD\Movie\CD_Image_File_CD2.bin" "H:\VCDtoSVCD\Movie\VCDXBuild_Script_2.xml"
CD-Image creation finished.

--------------------------------------------------------
- 8/18/2002 2:56:45 AM
- Free on drive H: 7998.55 mb
- SVCD Creation finished!
--------------------------------------------------------

Thanks for any replies in this matter in advance.
I'm grateful for any input and suggestions.

The Grinch

Kryzzle
21st August 2002, 07:21
I am experiencing exactly the same problem.

Switched to TMPGENC since CCE constantly crashed. Now TMPGENC runs fine, but bbmpeg is complaining about "Could not find User Data at I-frame 4728 in file bbmpeg_muxed_file00.mpg". I changed the rate control mode from CQ to 2-pass VBR without achieving better results.
I am running out of ideas now. Used to convert ~200 DVDs using DVD2SVCD without any major problem, but since four weeks, I am not able to convert a single AVI file.
:confused:

The_Grinch
21st August 2002, 12:43
Hi there,
Well, I've got so frustrated with the I-Frame errors and nothing seemed to solve it. I even reset the bitrate settings back to default, which only solved the problem temporarely, still get the error every now and then.
I switched to CCE two days ago, did 4 Movies (2 on the Pc and 2 on my laptop) and so far no problems and no errors.
Keeping my fingers crossed that it'll stay that way.

To the quality difference between CQ and VBR 2 in TMPGenc, there is no significant difference noticeable, at least not on my Setup:
Pioneer DV 545S and a Hitachi CL43WP910TAN 16:9 Rearprojection TV.
I have just always preferred VBR 2 'cause it calculates the bitrate, thus final CD size (cutting point) more accurately.

Ps.:
Thanks to the Mods for the warm welcome I've recieved in this forum.:rolleyes:

badbert
22nd August 2002, 05:39
I also have this problem and have posted...Are we all using version 2.57.41.146?

The_Grinch
23rd August 2002, 01:32
I was using 2.56 and thought that switching to 2.57 might clear the problem but it didn't.
Now, that I'm using CCE, it's all good and I hope it stays that way :D

deadpac
23rd August 2002, 22:11
I registered with this forum just so I could solve this exact problem. I saw on another thread how a moderator fixed the problem by going into the BBMpeg tab in DVD2SVCD and clicked the Advanced Settings (bbMPEG Output Settings) arrow and he....

unchecked the box next to

Add SVCD scan offsets //produces I-frame error

[ ]Add SVCD scan offsets //no error

Still trying to find that thread using the search button but no luck.

Before I stumbled upon that post I had encoded Dragon: The Bruce Lee Story 5 times before that error went away and I thought there has to be a better way than to just keep re-encoding the movie over and over again until the error disappears, so I decided to check doom9's forums because so many people said it was a good place to solve problems when it came to DVD ripping/encoding.....etc

here is a link to that post
That post (http://forum.doom9.org/showthread.php?s=&threadid=24618&highli)

hawk1309
24th August 2002, 20:48
Originally posted by deadpac
I registered with this forum just so I could solve this exact problem. I saw on another thread how a moderator fixed the problem by going into the BBMpeg tab in DVD2SVCD and clicked the Advanced Settings (bbMPEG Output Settings) arrow and he....

unchecked the box next to

Add SVCD scan offsets //produces I-frame error

[ ]Add SVCD scan offsets //no error

Still trying to find that thread using the search button but no luck.

Before I stumbled upon that post I had encoded Dragon: The Bruce Lee Story 5 times before that error went away and I thought there has to be a better way than to just keep re-encoding the movie over and over again until the error disappears, so I decided to check doom9's forums because so many people said it was a good place to solve problems when it came to DVD ripping/encoding.....etc

here is a link to that post
That post (http://forum.doom9.org/showthread.php?s=&threadid=24618&highli)

Please do not disable SVCD scan offsets, otherwise fast forwarding and reversing won't work correctly on your DVD player.

What worked for me was the following procedure when the error occures:

Click on OK in het message box.
Click on OK in BBMPEG, so it exits.
Wait and you will notice that DVD2SVCD gui will kick in after a few seconds and scans the file.
After scanning it will process the next file or continue with authoring.

If you look at the error and the info in the info box, it is always the last I-Frame BBMPEG can't find. For instance there are 4235 I-Frames to scan and it can't find 4234, the last one ( 0 -> 4234 = 4235 I-Frames. ). I tested the above procedure and my movies played okay.

I know this is annoying,as mentioned in another thread I changed the BBMpeg code slightly so it won't pop-up the error, thus stopping the process, but instead just display the error in the info field and continue.

By the way after switching to CCE 2.50 I haven't seen the error anymore.

Regards,

Hawk

deadpac
25th August 2002, 00:30
Please do not disable SVCD scan offsets, otherwise fast forwarding and reversing won't work correctly on your DVD player. -hawk1309
The SVCDs and CVDs I have done since unchecking that box have had no problem with FF & RW and chapters worked correctly in the two DVD players that I use to play my DVD Rips; an Apex AD660 and Pioneer DV444.
Click on OK in het message box.
Click on OK in BBMPEG, so it exits.
Wait and you will notice that DVD2SVCD gui will kick in after a few seconds and scans the file.
After scanning it will process the next file or continue with authoring.-hawk1309

I did that and yes the video and audio play just fine but when I turned on subtitles I noticed that the subs were out of sync with the actor's voices by a large amount of time; ie actor would say line and >1 minute later the sub for that line would come up. After unchecking the "Add SVCD scan offsets" box my subs played correctly.

I know this is annoying,as mentioned in another thread I changed the BBMpeg code slightly so it won't pop-up the error, thus stopping the process, but instead just display the error in the info field and continue. .-hawk1309
hawk1309 you the author of BBmpeg and would upgrading to a recent version of bbMPEG solve the I-frame problem?

Regards,
dpac

hawk1309
25th August 2002, 07:21
Originally posted by deadpac

The SVCDs and CVDs I have done since unchecking that box have had no problem with FF & RW and chapters worked correctly in the two DVD players that I use to play my DVD Rips; an Apex AD660 and Pioneer DV444.


That is what I read in the forums regarding Scan Offsets, I am no expert to SVCDs and or video/audio encoding.



hawk1309 you the author of BBmpeg and would upgrading to a recent version of bbMPEG solve the I-frame problem?



Sorry I'm not the author of BBMpeg, it is verry hard to understand the source code, since it is not well documented.

Did you have the problem using CCE also?

Regards,

Hawk