Log in

View Full Version : Audio Sync... bbMpeg bug?


kdmackey
1st May 2002, 18:22
My problem is that my Audio is out of sync for any PAL R4 DVD I convert to SVCD using DVDSVCD 1.101b1 thru 1.108b1. Let me specify my async problem. Specifically, my audio is 2-3 seconds faster than my video through each of the entire SVCD discs I create. It is consistanty off for PAL movies while NTSC are OK. I have R1 DVDs I bought in U.S. when I lived there and also have R4 DVDs that I bought in Australia (where I currently live). I have been troubleshooting the problem with test, after test, after test for the last 3 months.

Under the bbmpeg setting tab of DVD2SVCD; I have used various values of Movie Offset (Seconds) > 0 (including 0). Values I have tried are 0, 1, 2, 3, 4, 5 ... 10. As indicated these change the point at which the Audio comes in when the video starts. However, none these values have had the correct sync effect. Audio is always slightly faster or slower - BUT NEVER sync'd (yes.... it's noticably out of sync). And, usually when I use values less than 1 and greater than 4 then then sync problems are REALLY BAD. I have found that if I change the default from 2 -> 1 I come close to in-sync, but still not right.

NOW here is the wierd part. I've tracked the problem to bbmpeg. By confirming that the MPG file muxed by bbmpeg is out of whack. When I play the file: bbMPEG_Muxed_File00.mpg (created using DVD2SVCD processing) using my PC based VCD/SVCD player like STHSVCD or HeroSoft DVD the audio is out of sync just as it would be if I played with stand-alone player. I have a XMS DVD player (Chinese) multi-zone DVD/VCD/SVCD/CD/MP3 player. (of course I can't play MPG files direclty on player I have to use VCDGear to convert MPG to .BIN/.CUE file or VCDImager. Point is I verified the audio is out of sync on stand alone player with source .MPG converted to .BIN - that happens to also display audio out of sync (exactly the same) when played with STHSVCD. So... it is the .MPG file. HOWEVER - NOW - THE WIERD PART.... If I play the same file: bbMPEG_Muxed_File00.mpg with Windows Media player or PowerDVD - I GET NO AUDIO SYNC PROBLEMS with the MPG????? STHVCD gives one result and PowerDVD / Windows Media Player / ZoomPlayer give another???? I don't understand?

Ok as for other settings in DVD2SVCD I have tried internal RIP routines and vStrip process. I haven't bothered trying SmartRipper because I believe that would just probably create more variables/problems.


What I have done though is to take the file: bbMPEG_Muxed_File00.mpg
and re-mux it with TMPENC 2.53.35-130. I do this by using the TMPENC> MPEG TOOLS> Multiplex> dialogue. Basically, I let DVD2SVCD go through full processing then take the resulting file: bbMPEG_Muxed_File00.mpg use as TMPENC audio input and video input and select output file: bbMPEG_Muxed_File00-NEW-TMPENCODED.MPG this gives me a nearly perfectly Audio Sync'd MPEG file when played with STHSVCD and on stand alone player. I say nearly perfect because it is about 250-500 ms off audio video sync. So this tells me that bbmpeg has not muxed the original file correctly? IS this possible?


-------------------------------

What I AM looking for:

I love DVD2SVCD - its a fantastic program!!!!!! :>)
I only wish the author would except PAYPAL donations (the kind used with Ebay - no PAL pun intended). I would love to donate some money to the DVD2SVCD cause (I have sent e-mail to the author with this suggestion already). Paypal maybe soon?

Sorry to digress... what I am looking for is a simple process to fix this async problem so that I don't have to muck around with post processing (REMUXING) my audio and video after DVD2SVCD / bbMpeg is finished converting my PAL R4 DVDs.


-------------------------------

Example results of test DVDs I've converted with DVD2SVCD:

Star Wars - Phantom Menace NTSC R1 - perfect no sync problems
Blade Runner - NTSC R1 - perfect no sync problems

Robbie Williams - one night Royal Albert Hall - PAL R4 Audio 2-3 secs fast than video
Repplicant - PAL R4 - Audio 2-3 secs fast than video
Captain Correlli's Mandolin - PAL R4 - Audio 2-3 secs fast than video


-------------------------------

My system is:
AMD 1600+
Gigabyte MotherBoard
256MB DDR RAM
2 x 40GB Ultra IDE seagate HDs
Gigibyte G630A Video Card
AOPEN DVD16x
AOPEN 2040 CDRW
WinME Full
CCE 2.5
TMPENC 2.53.35-130



Read DVD2SVCD FAQ
with special attention to the following questions:
Q24
Q48
Q52


None of these seem to apply to me...

----------
Also Read various posts:

with attention to:

Doom9's MPEG Forum > VCD & SVCD > DVD2SVCD Basic Topics > Movie offset seconds

Audio Sync problems.... etc. etc... etc..


again, none of these seemed to relate to my EXACT problem.

----------

I was hoping the following post was the answer, but I haven't been able to figure how I can get DVD2SVCD to use a value of 230ms with bbmpeg???



----------
quote:

The Solution To Svcd Sync!!!!.. For Real!!!

I have finally found the answer to get a SVCD sync on a standalone DVD player!!!....

I have a Nintaus and this player was supposed to play anything, but I had huge problems with SVCD

BUT HERE IS THE SOLUTION TO ALL OF YOU HAVING THE SAME STUPID PROBLEM!!

The solution is to mux it right with bbMPEG..

I have just burned 60 min on a CD, and my player still only shows 40 min... BUT THE MOVIE STAYS SYNCED....

the secret is:

set the startup delay to 230 in video and audio in the bbMPEG setting, and your SVCD will be forever synced...

This is a solution I think many of you will be glad to see!!!


Now you think "yeah right, but then it is out of sync on my computer" NO IT'S NOT

I ran the movie on my DVD player, and at the same time on my computer, and they stayed exactly the same!!!.....


This is just to awsome!!...

I do not know why this solve the problem, and why it works with 230 or maybe more!!!.. BUT IT DOES...

xabat
---------


My files (using Captain Corelli's Mandolin - PAL R4 as a sample):

dvd2svcd_log.txt
dvd2svcd project file.d2s
DVD2AVI_PROJECT_FILE.d2v
AviSynth_Script_file.avs

are concatenated and labeled in the attached txt file:
my-dvd2svcd-files.txt
:( :confused: :scared:

markrb
1st May 2002, 18:55
If the SVCD plays correctly in PowerDVD then it is probably synced correctly. Those other players may not read the SVCD flags correctly and may start the audio early or late.

It has been stated on this board that your other Software players do have occasional issues with sync. What is a bit wierd is that Windows Media Player is actually in sync. That is notorious for being out of sync.

Have you played with the BBmpeg startup delay for the video or audio? Not the movie offset. In DVD2SVCD 1.08.1 to find it you need to put DVD2SVCD into advanced mode on the Misc tab and then click on the BBmpeg settings dropdown on the BBmpeg tab. There you can adjust the startup delay of the audio or video and not the combined video which is what you are doing if you change the movie offset. When you do this put Movie Offest back to 2.

Why your NTSC videos are in sync and not the PAL videos is a little strange. Do you use the NTSC->PAL checkbox or leave it as NTSC and have your video equipment do the conversion?

Post your DVD2SVCD_log.txt file for a movie that is out of sync. Don't attach it use cut and paste.

Mark

dvd2svcd
1st May 2002, 21:43
I wonder, what is wrong with Kagi (http://order.kagi.com/?8XD). Paypal imho sux when you don't live in the US, which I don't. Besides, Kagi accepts a multitude of ways to donate, be it creditcard, check or cash. Anyway, if you want to donate you can also use Amazon on which I have a wishlist (http://www.amazon.co.uk/exec/obidos/registry/27RJ4XCOKJ78Q/202-0889962-7397400) ;)

Thanks for your consideration :D

As markrb already have made the same answer as I would have I'll stop here.

morci
2nd May 2002, 03:36
i also used to have sync issues, i have the OMNI SPL2000KD which is some kind of chinese brand. I had tried many many times to get it so sync, even changing the bbmeg advanced settings to 230 even 250 didnt help. This sync issue was at random i also have different region movies, some worked others didnt.

I tried to have my own logo in my movie rips. At 1st all of them had my logo when ripping but when i tested it with NO LOGO = it WORKED 100% EVERYTIME - so i had to be content with NO LOGO.

If you havent tried this already, REMOVE the start up smiley face logo or your own, if this works, then you will just have to rip and NOT include a START logo.

try this and see what happens. You have two options here
1) Upgrade the XMS player firmware if it exists, on some units you can do this - maybe you can, on mine i cant, so no LOGO for me.
2) Dont use a smiley face LOGO, you can still use the change CD logo, it works for me

hope this helps
Morci
PIII500Mhz, 512MB RAM, SCSI 10K 18GB Disk for dvd2svcd, CDRWin, DaemonTools, PowerDVD XP

Patjen
2nd May 2002, 20:52
I noticed this problem on a friend's DAEWOO DVD standalone also (don't know the exact type).

Conversions with the startup-logo and chapters gradually got out of sync, those without logo are played perfect...those with startup-logo and no chapters were ok (but that's lousy in case one needs to FF or REW :-)

I myself own a Pioneer DV535 and this machine played them all correctly in sync, with or without startup-logo...

greetz,

Patjen

kdmackey
4th May 2002, 17:28
Thanks to all those that have posted suggestions thus far.

I tried it again without the CD Title picture (the smiley face)... No good. Still out of sync. I really thought this was it. Because I made a special (custom) title pic image. I thought this was what had thrown me out of wack. NOPE... that's not it. Still out of sync even when I run without title pic.

However,
I have not yet tried the advanced settings in bbmpeg. I did find the place to adjust the level. I'm just not sure which values to change and what to try first. (There is a big warning in RED at the bottom of the bbmpeg dialogue - that says you can 'really mess things up'. I guess I'm looking for direction.

Also yet to try turning off the chapters.

As for which players cause me the problems. YES as mentioned when I play the MPEG file: bbMPEG_Muxed_File00.mpg this is the file that will be converted to .bin. using:
Window Media Player - plays in-sync
PowerDVD - plays in-sync
STHSVCD - plays out-of-sync

Still out of sync with Audio to fast for video. It is pretty consistent all the way through the picture... although after a closer look I think it may be drifing ever so slightly through the picutre so that it IS worse toward the end of each CD.

NOW I DO UNDERSTAND that the HeroSoft DVD or STHSVCD player may not be perfect, BUT ... these players play out of sync exactly the way that my stand-alone player plays out of sync. IT is what I have been using as a double check of how the SVCD will actually play.

I am going to try DAEMON tools to mount SVCD images and test with PowerDVD, but unfortunately I still will only know how they play on my stand-alone player by burning to CD. I've got so many CD coasters/frisbies I'm starting to think I could have a big party.

I am posting my log file... I'm sorry I did not realise before that attachments were no good.

If anyone can help I will be VERY VERY appreciative...

Cheers,
kd

:confused: :scared: :eek:

--------------------------------------------------------
- 04/05/02 7:10:00 AM
- DVD to SVCD Conversion
- DVD2SVCD ver. 1.0.8 build 1
--------------------------------------------------------
Initializing
Initializing finished.

--------------------------------------------------------
- 04/05/02 7:10:03 AM
- DVD2AVI
--------------------------------------------------------
Creating DVD2AVI INI file:
- C:\Program Files\DVD2SVCD\DVD2AVI\DVD2AVI.INI

Variable settings:
iDCT_Algorithm: 32-bit SSE MMX

Executing DVD2AVI.
Executing DVD2AVI. Commandline:
"C:\Program Files\DVD2SVCD\DVD2AVI\DVD2AVI.exe" -CS=2 -YR=1 -EXIT -OF=[C:\Program Files\DVD2SVCD\Movie\DVD2AVI_Project_file] -IF=[C:\Movies\Movie_Capt\VTS_01_1.vob,C:\Movies\Movie_Capt\VTS_01_2.vob,C:\Movies\Movie_Capt\VTS_01_3.vob,C:\Movies\Movie_Capt\VTS_01_4.vob,C:\Movies\Movie_Capt\VTS_01_5.vob]
Framerate: 25000
DVD2AVI processing done.

--------------------------------------------------------
- 04/05/02 7:29:50 AM
- Free on drive C: 7847.63 mb
- AUDIO Extraction
--------------------------------------------------------
Found AC3 stream id: 0x80
Filename: C:\Program Files\DVD2SVCD\Movie\Extracted_audio_1.ac3
Audio1 delay: 0 ms
Audio extraction finished.

--------------------------------------------------------
- 04/05/02 7:52:07 AM
- Free on drive C: 7508.31 mb
- AUDIO conversion
--------------------------------------------------------

Converting Audio to MP2. Filename: C:\Program Files\DVD2SVCD\Movie\Extracted_audio_1.ac3
Executing BeSweet. Commandline:
"C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "C:\Program Files\DVD2SVCD\Movie\Extracted_audio_1.ac3" -output "C:\PROGRA~1\DVD2SVCD\MOVIE\Encoded_audio_1.mp2" -logfile "C:\PROGRA~1\DVD2SVCD\MOVIE\Encoded_audio_1.log" ) -azid( -L -3db -c normal -g max ) -ssrc( --rate 44100 ) -2lame( -e -b 192 -m s )
Audio conversion of C:\Program Files\DVD2SVCD\Movie\Extracted_audio_1.ac3 finished.

Audio conversion finished.

--------------------------------------------------------
- 04/05/02 8:24:01 AM
- Free on drive C: 7338.47 mb
- Converting Pictures
--------------------------------------------------------
Converting: C:\Program Files\DVD2SVCD\DefaultChangeCD.bmp
Finished converting pictures
--------------------------------------------------------
- 04/05/02 8:24:08 AM
- Free on drive C: 7337.44 mb
- Video Encoding using Cinema Craft
--------------------------------------------------------

Executing Cinema Craft Encoder.
StreamSectors: 1666479976
AudioSectors: 180456276
VideoPAPO: 23019300
ScanOffsetBytes: 222349
SeqAligningBytes: 14131527
DVDBytes: 0
VideoEndHeader: 8
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 300.00
PureMPEGStream: 1448650515.87
Seconds: 7418.64
CalcMPEGStream: 1448650515.87
Frames: 185291
CDSize: 800.00
Cut point 795.00
Variable Settings:
Frames: 185291
Anti Noise Filter: 2
Passes: 4
Image Quality: 17
VAF file creation: On
Video Encoding Mode: Multipass VBR
Min. bitrate: 300
Max. bitrate: 2530
Avg. Bitrate: 1562
Closing program
CCE Max Speed: 1.150
Video Encoding finished.

--------------------------------------------------------
- 04/05/02 5:23:36 PM
- Free on drive C: 5903.78 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 04/05/02 5:23:38 PM
- Free on drive C: 5903.69 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini

Executing RunbbMPEG. Commandline:
"C:\Program Files\DVD2SVCD\bbMPEG\RunbbMPEG.exe" "C:\Program Files\DVD2SVCD\Movie\ChangeCDPicture.bmp.mpg"
--------------------------------------------------------
- 04/05/02 5:23:45 PM
- Free on drive C: 5903.41 mb
- Multiplexing and cutting
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
Offset in Seconds: 2
Executing bbMPEG.
Variable Settings:
Movie offset: 2 seconds
Cut point: 795 mb

Executing RunbbMPEG. Commandline:
"C:\Program Files\DVD2SVCD\bbMPEG\RunbbMPEG.exe" "C:\Program Files\DVD2SVCD\Movie\bbMPEG_Muxed_File.mpg"
Length of C:\Program Files\DVD2SVCD\Movie\bbMPEG_Muxed_File00.mpg
3659 Seconds
Offset in Seconds: 3661
Executing bbMPEG.
Variable Settings:
Movie offset: 2 seconds
Cut point: 795 mb

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

--------------------------------------------------------
- 04/05/02 6:03:10 PM
- Free on drive C: 4315.28 mb
- Determining length of audio
--------------------------------------------------------
Analyzing: C:\Program Files\DVD2SVCD\Movie\bbMPEG_Muxed_File00.mpg
3661.531 seconds C:\Program Files\DVD2SVCD\Movie\bbMPEG_Muxed_File00.mpg
Analyzing: C:\Program Files\DVD2SVCD\Movie\bbMPEG_Muxed_File01.mpg
3750.818 seconds C:\Program Files\DVD2SVCD\Movie\bbMPEG_Muxed_File01.mpg
Analyzing finished.

--------------------------------------------------------
- 04/05/02 6:09:34 PM
- Free on drive C: 4315.13 mb
- Creating CD-Images using VCDXBuild
--------------------------------------------------------
- No. of chapters to create: 12

CD image #1: CD_Image_File_CD1.bin

Executing VCDXBuild. Commandline:
"C:\Program Files\DVD2SVCD\VCDImager\VCDXBuild.exe" --cue-file="C:\Program Files\DVD2SVCD\Movie\CD_Image_File_CD1.cue" --bin-file="C:\Program Files\DVD2SVCD\Movie\CD_Image_File_CD1.bin" "C:\Program Files\DVD2SVCD\Movie\VCDXBuild_Script_1.xml"
--------------------------------------------------------
- 04/05/02 6:18:45 PM
- Free on drive C: 3509.16 mb
- Creating CD-Images using VCDXBuild
--------------------------------------------------------
- No. of chapters to create: 11

CD image #2: CD_Image_File_CD2.bin

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

--------------------------------------------------------
- 04/05/02 6:27:57 PM
- Free on drive C: 2705.09 mb
- SVCD Creation finished!
--------------------------------------------------------