View Full Version : AVI 2 XXX fails (at some point). What can I do? (UPDATED 20/07/04)
dvd2svcd
14th April 2003, 21:51
If you have problems with audio sync, or audio/video cut out unexpectedly, try this.
Download VDubMod (http://prdownloads.sourceforge.net/virtualdubmod/VirtualDubMod_1_5_10_1_All_inclusive.zip?download) Unpack VDubMod and run it.
Load your avi file - if you get an error asking about rewriting the header, CLICK NO!!!
Go to the "VIDEO" menu and select "DIRECT STREAM COPY"
Go to the "FILE" menu and select "SAVE AS AVI". Select a new filename.
When VirtualDUB has saved the AVI, close it and use the new AVI file in DVD2SVCD
If you get an avisynth error "AVISource could not find a decompressor for ...." or you get jerky playback, as long as original file plays OK in Media Player, try this.
NB It only works with Avisynth 2.54 or later.
Open Avisynth.ini (you will find it in your D2S installation folder) in Notepad. Ensure DVD2SVCD is NOT running.
In the Global section of avisynth.ini, replace
AVIReader=AVISource(!filename,audio=false)
with
AVIReader=DirectShowSource(!filename,^framerate,audio=false)
and resave.
Now launch DVD2SVCD, load up your AVI and try a preview.
If it works, do a conversion.
phidauex
15th April 2003, 02:09
I've been having problems on and off with a recent batch of AVIs. The files all check out with VDub, but some of them would just randomly fail, usually during the encoding process. Sometimes a file fails over and over, and sometimes it would work on the second try. So far this beta has done one file successfully, and I'll report back about the success of the other files as it goes along.
I'm using CCE 2.66.17, with EclCCE, and had been using DVD2SVCD 1.1.3 build 2 before trying this new beta.
Thanks a lot for posting this! I visited the forums looking for relief for the problem, and lo and behold, I see this post at the very top. Your hard work is really appreciated! :D
Peace,
Sam
ElectronicGuru
30th April 2003, 20:24
Hello my friends,
I wanted to share my first test result with the newest version of AVI2SVCD with you. I am trying to convert an AVI file (DIVX4, with 32KHz MP3 sound). When converting with AVI2SVCD it produces a sound file which plays way too fast. Here is the log file of Besweet:
BeSweet v1.5b16 by DSPguru.
--------------------------
Using Shibatch.dll v0.24 by Naoki Shibata & DSPguru (shibatch.sourceforge.net).
Using MP2enc.dll v1.129 (23/5/2002), Engine 1.129 <http://www.cdex.n3.net>.
Logging start : 04/30/03 , 21:17:38.
C:\Programme\DVD2SVCD\BeSweet\BeSweet.exe -core( -input D:\DVD\audio\Encoded_audio_1.mp2.wav -output D:\DVD\audio\Encoded_audio_1.mp2 -logfile D:\DVD\audio\Encoded_audio_1.log ) -ota( -g max ) -shibatch( --rate 48000 ) -2lame( -e -b 192 -m s )
[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : D:\DVD\audio\Encoded_audio_1.mp2.wav
[00:00:00:000] | Output: D:\DVD\audio\Encoded_audio_1.mp2
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] | Overall Track Gain: 3.509dB
[00:00:00:000] +------ Shibatch -----
[00:00:00:000] | Source Sample-Rate: 32.0KHz
[00:00:00:000] | Dest. Sample-Rate: 48.0KHz
[00:00:00:000] | Attenuation : 0.0db
[00:00:00:000] +------- MP2ENC ------
[00:00:00:000] | Bitrate method : CBR
[00:00:00:000] | MP2 bitrate : 192
[00:00:00:000] | Channels Mode : Stereo
[00:00:00:000] | Error Protection: Yes
[00:00:00:000] +---------------------
[00:11:54:888] Conversion Completed !
[00:11:54:888] Actual Avg. Bitrate : 48kbps
[00:00:26:000] <-- Transcoding Duration
Logging ends : 04/30/03 , 21:18:04.
The .wav file plays in correct speed, wheras the mp2 file is too fast. The fix which worked was to load the AVI in VDUB and resample the audio to 44.1 kHz.
Sorry for the bad report, keep up the good work D2S!
This post assumes you have tried encoding with avi2svcd and failed due to audio conversion or audio sync issues. It also assumes you have tried the suggestion from Dvd2SVCD above re vdub. This is another alternative to try after those.
Anybody with a problem DIVX/XVID/or other strange weird format Avi please try this and report back. I think this will fix you all up, but not for sure until you folks test and report.
1> Open avi in VDub and verify plays in sync.
2> In Video select Direct Stream Copy
3> In Audio:
--a> Select Full Processing Mode
--b> Select Compression><No compression (PCM)>
--c> Select Conversion and make sure 48k/16bit, Check High Quality
--d> Boost volume if you need to
4> Save new Avi off to HD (PCM audio will make it much bigger so make sure you have the HD space).
5> Load saved avi back into VDub and play. Check if audio is in sync. If so goto next (6), if not stop and go to interleaving tab in audio and try to make adjustments in the delay section until in sync and then re-save as in (4)
6> Encode this new Avi as normal in Avi2SVCD.
Please let us know if it encodes with no problem and whether the final SVCD it is in sync when played on TV or a proper SVCD software player that you absolutely KNOW handles SVCD properly from past experience. If you do post a reply here, post correct and concise information or wear your flame-proof under-ware :)
onisama
19th May 2003, 19:27
OK, this was my first attempt at writing a conversion guide (at least for anything other than my actual job), so here it is. Feel free to use it in any way you see fit. It probably needs a different title.
.Ogg/Ogm/Vorbis -> .wav audio conversion
If you have an .avi file with ogg/vorbis audio and DVD2Svcd won't open it, here's what you do:
Software needed (freeware):
-- 1. VirtualDubMod - can be obtained at http://virtualdubmod.sourceforge.net/ or from the doom9 downloads section (I used version 1.5.1.1a for this guide).
-- 2. Goldwave Audio editor- can be obtianed at http://www.goldwave.com/gwave504.exe
1.) Open Goldwave:
-- a.) Select "File" -> "Batch Processing..."
-- b.) Select "Add Files..." and add your .avi file
-- c.) On the "Convert" tab:
---- 1. check "Convert files to this format:"
---- 2. Slect "Wave" and "PCM signed 16bit, stereo" for save type and attributes
-- d.) Click "Begin"
In a few minutes you will have a .wav file created in the same directory as your .avi file
2.) Open VirtualDubMod (1.5.1.1a was used here):
-- a.) Select "File" -> "Open video file..."
-- b.) Select your .avi file and click "Open"
-- c.) Select "Streams" -> "Stream list"
-- d.) In the "Available streams" window: Disable the source .ogm audio file by highlighting it and clicking "Disable"
-- e.) Select "Video" -> "Direct stream copy"
-- f.) Select "File" -> "Save As..." and save the .avi file as 'no_audio.avi' or something similar
3.) Open 'no_audio.avi' in VirtualDubMod
-- a.) Select "Streams" -> "Stream list"
-- b.) In the "Available streams" window: Select "Add" and add the wave file you created with Goldwave
-- c.) Select "Video" -> "Direct stream copy"
-- e.) Select "File" -> "Save As..." and save your new .avi file as 'audio_mux.avi' or something similar
4.) Check 'audio_mux.avi' for synch problems (there shouldn't be any) in whatever media player you use, I prefer Divx Player
5.) Load 'audio_mux.avi' into DVD2SVCD and let it go
gunnm
20th August 2003, 00:06
I am reporting that DDog's solution worked for me! Before that, I tried the beta version of DVD2SVCD, the simple VDub "remux", and messing with the command-line parameters for BeSweet (found info in other posts here). None of those other solutions worked. Using GSpot, I found out my source has 56kb/s CBR 24kHz Mpeg-2 (typo in GSPot?) layer 3 audio. I think it was the 24kHz part that was goofing BeSweet up. My BeSweet would crash during the audio encoding process on this avi every time. After the VirtualDub audio re-encode suggested above, everything worked fine though (and I didn't have any sync issues). Thanks :)
DDogg
18th November 2003, 21:28
Sh0dan (DaMan) was kind enough to add raw PCM audio wrap into MAKEAVIS (http://cultact-server.novi.dk/kpo/avisynth/avs_cvs.html) (cutdown version should be fine for this). This adds a lot of new possibilities for use with AVI2SVCD.VCD.DVD (called A2x from now on). A2x can now read the fake AVI file directly. What this means is that you could use VDub or the Avisynth Avisource command to do some action on your AVIs and then serve them directly into A2x as raw video and audio. Should be very compatible so long as VDub can play the files and you can hear the audio.
So, say we had 3 AVI's we wanted to combine, cut out a few parts, add some filters, and then feed to A2x. (This assumes VDub will load and append the additional segments.)
1> Goto the VDub directory, run the Auxsetup and click on the install handler button.
2> Run VDub, load your AVI file/files and get them ready in VDub the way you want them. Make sure VDub will play both audio and video.
3> In the VDub file menu select "start frame server" and accept the first filename offered. Make the second filename "mymovie.VDR" and press return. VDub should go away and be replaced with the frameserver dialog.
4> Make a simple avisynth script with: Avisource("mymovie.VDR") and save as "mymovie.VDUB.avs"
5> Check and make sure it plays in WMPlayer. Not to worry if jerky or upside-down.
6> Run MakeAVIS.exe in the ffVFW directory, or in start>programs>ffVFW. In the top requester load your "mymovie.VDUB.avs" file. In the second requester name it "mymovie.VDUB.avs.avi". Very importantly, select "store uncompressed audio". Now press the create button. You should end up with a file called "mymovie.VDUB.avs.avi". This is a frame-serving signpost for video with the audio actually attached as PCM.
7> Check and make sure it plays in WMPlayer.
8> Run A2x as usual and use "mymovie.VDUB.avs.avi" as your source as if it were just a standard AVI file.
A variant without VDub would just be using Avisynth and multiple Avisource or SegmentedAVISource commands to load all your segments. Use MakeAVIS to create the fake AVI file from your script. Instead of MakeAVIS, you can also use Link2 (costs a 15 bucks) with RAW audio checked (Link2 will load the VDR directly without the intermediate avisynth script outlined above for MAKEAVIS). Also the VFAPI converter with READAVS installed will read and serve the VDS directly (RGB24 only).
BTW, for those of you that use an NLE and Satish's www.Debugmode.com pluginpak frameserver, if you select the PCM raw audio option you can serve directly from your supported NLE into A2x.
Hope these instructions are clear enough for everybody to play around with this. Good luck!
anth6000
26th February 2005, 10:07
Myself and many other have been getting this error:
DVDAuthor::dvdauthor, version 0.6.10.
Build options: gnugetopt iconv freetype
Send bugs to <dvdauthor-users@lists.sourceforge.net>
INFO: Locale=C
INFO: Converting filenames to US-ASCII
INFO: dvdauthor creating VTS
STAT: Picking VTS 01
STAT: Processing C:\Program Files\DVD2SVCD\Movie\MPlex_Muxed_File00.mpg...
ERR: Error opening C:\Program Files\DVD2SVCD\Movie\MPlex_Muxed_File00.mpg: No such file or directory
It can't seem to find the muxed file is it trying to open DVD Author before it has made the muxed file? If so is there a way I can change this order? There isnt any muxed files in my movie folder; however I can select don't make images of course and it makes the muxed files. There has been an on going thread regarding this "DVD Author Problem & no one seems to know how to fix it" Any help would greatly be appreciated.
Thanks
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.