Log in

View Full Version : avi2vcd problems-> audio cutoff and excessive borders (detailed report)


emazur
29th September 2004, 17:34
Hello, first I'd like to thank the authors of DVD2SVCD for their excellent free software. I've used it many times for DVD to VCD conversions and it's worked great, and I've recommended it to others. Recently I've been doing alot of lossless tv captures and converting them with the (very slow) TMPEGenc into vcd quality. But I'm hoping to take advantage of the speed of cce and the automation that DVD2SVCD offers, but have run into some problems (I've read the avi2xxx sticky and applied it's advice). I've split the report in 2 cases in order hopefully make it easier for you. I'm using build 1.2.2b3 with cce 2.5, desired end result is vcd mpeg with 48 khz audio (final destination-> DVD)

CASE 1
Source file is 720x480 picvideo mjpeg quality 18 with 48khz pcm audio which was captured with Virtual VCR (no dropped frames, plays back perfectly in windows, about 20 mins). For audio I've chosen internal extraction b/c vfw craps out after only a few mintues. After conversion there are 2 big problems:
1) Left and right boarders are excessively wide (didn't happen with DVD2SVCD 1.2.1b3)
2) Audio is in sync but cuts off at the last 60 seconds or so

CASE 2
I took the advice of the sticky and fed the avi (direct stream copy) to vdub before opening with DVD2SVCD. Don't know if this means anything, but D2S initialized several seconds quicker while opening this 'processed' avi compared to the original file. Anyway, I got the "could not decompress" message in avisynth, so I altered the avisynth.ini according to the sticky and it worked. Results:
1) same border problem as case 1
2) audio is not at all extracted properly (got a 93.7KB wav file), so of course is not processed properly.

I've posted the logs below which hopefully will help you.

CASE 1: DVD2SVCD LOG

WNASPI32.DLL 4.71.2.0
--------------------------------------------------------
- 9/29/2004 11:35:02 PM
- AVI to SVCD Conversion
- AVI2VCD ver. 1.2.2 build 3
--------------------------------------------------------
Initializing
- C:\pvcrwork\capture (2004-09-28 at 11-38-25).avi
Initializing finished.

--------------------------------------------------------
- 9/29/2004 11:35:04 PM
- Free on drive C: 13604.30 mb
- AUDIO Extraction
--------------------------------------------------------
AVIFileSize:=4080547328

Audio extraction finished.

--------------------------------------------------------
- 9/29/2004 11:37:55 PM
- Free on drive C: 13399.03 mb
- AUDIO conversion
--------------------------------------------------------
--------------------------------------------------------
- 9/29/2004 11:37:58 PM
- Free on drive C: 13399.02 mb
- AUDIO conversion
--------------------------------------------------------

Encoding Audio. Filename: C:\Program Files\DVD2SVCD\Movie\Extracted_audio_1.wav
Executing BeSweet. Commandline:
"C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "C:\Program Files\DVD2SVCD\Movie\Extracted_audio_1.wav" -output "C:\PROGRA~1\DVD2SVCD\Movie\Encoded_audio_1.mp2" -logfile "C:\PROGRA~1\DVD2SVCD\Movie\Encoded_audio_1.log" ) -ota( -g max ) -shibatch( --rate 48000 ) -2lame( -e -b 224 -m s )
Audio conversion of C:\Program Files\DVD2SVCD\Movie\Extracted_audio_1.wav finished.

Audio conversion finished.

--------------------------------------------------------
- 9/29/2004 11:39:05 PM
- Free on drive C: 13369.08 mb
- Video Encoding using Cinema Craft
--------------------------------------------------------

Executing Cinema Craft Encoder.
StreamSectors: 771537788
AudioSectors: 33247144
VideoPAPO: 11436516
ScanOffsetBytes: 0
SeqAligningBytes: 0
DVDBytes: 0
VideoEndHeader: 4
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 0.00
PureMPEGStream: 726854124.00
Seconds: 1171.53
CalcMPEGStream: 726854124.00
Frames: 34901
CDSize: 740.00
Number of CDs: 1
Cut point 736.00
Variable Settings:
Frames: 34901
Anti Noise Filter: Off
Passes: 5
Image Quality: 17
VAF file creation: On
Video Encoding Mode: CBR
Avg. Bitrate: 1150
Aspect Ratio: 4:3 (No borders, encoded as 4:3)

---AVS Begin---
LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\Mpeg2dec\MPEG2D~1.DLL")
AVISource("C:\pvcrwork\CAPTUR~1.AVI",audio=false)
ConvertToYUY2()
BicubicResize(298,240,0.0,0.6)
AddBorders(27,0,27,0)
Import("C:\Program Files\DVD2SVCD\Movie\ResampleAudio.avs")
ResampleAudio(44100)
----AVS End----

Closing program
CCE Max Speed: 1.550
Video Encoding finished.

--------------------------------------------------------
- 9/29/2004 11:52:22 PM
- Free on drive C: 13200.87 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 9/29/2004 11:52:25 PM
- Free on drive C: 13200.86 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 9/29/2004 11:52:27 PM
- Free on drive C: 13200.86 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 9/29/2004 11:52:30 PM
- Free on drive C: 13200.86 mb
- Multiplexing and cutting
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
Offset in Seconds: 0
Executing bbMPEG.
Variable Settings:
Movie offset: 0 seconds
Cut point: 736 mb

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

Image creation finished.

--------------------------------------------------------
- 9/29/2004 11:54:00 PM
- Free on drive C: 13007.51 mb
- Conversion done!
--------------------------------------------------------

SVCDInfo.txt

GENERAL INFO
- Source: AVI (MJPG)
- Movie Offset: 0 sec
- CD Overlap seconds: No
- Startup delays: Video: 344 ms Audio 1: 344 msAudio 2: 344 ms
- Video format: NTSC
- Length: 00:19:24
- CD Images: 1

IMDB INFO:
Movie title:
User rating:
Directed by:
Writing credits:
Genre:
Tagline:
Plot outline:

VIDEO INFO:
- Encoder: Cinema Craft Encoder 2.50.1.0
- Encoding mode: CBR
- Bitrate: 1150
- Bias: 20
- Image Quality Prio: 17
- Antinoise filter: No
- Linear quant. scale: Yes
- Zigzag scan order: Yes
- Upper field first: No
- Progressive frames: Yes
- iDCT Algorithm:
- NTSC Field Operation:
- Deinterlace: None
- Pulldown: No
- Width: 352
- Height: 240
- Matrix:
Intra:
8 16 19 22 26 27 29 34
16 16 22 24 27 29 34 37
19 22 26 27 29 34 34 38
22 22 26 27 29 34 37 40
22 26 27 29 32 35 40 48
26 27 29 32 35 40 48 58
26 27 29 34 38 46 56 69
27 29 35 38 46 56 69 83
Non-Intra:
16 17 18 19 20 21 22 23
17 18 19 20 21 22 23 24
18 19 20 21 22 23 24 25
19 20 21 22 23 24 26 27
20 21 22 23 25 26 27 28
21 22 23 24 26 27 28 30
22 23 24 26 27 28 30 31
23 24 25 27 28 30 31 33

AVISYNTH SCRIPT:
LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\Mpeg2dec\MPEG2D~1.DLL")
AVISource("C:\pvcrwork\CAPTUR~1.AVI",audio=false)
ConvertToYUY2()
BicubicResize(298,240,0.0,0.6)
AddBorders(27,0,27,0)
Import("C:\Program Files\DVD2SVCD\Movie\ResampleAudio.avs")
ResampleAudio(44100)


AUDIO INFO:
- Audiostreams:
- Audio 1 Language: Unspecified
- Audio 1 Bitrate: 224
- Audio 1 Sample freq: 48000
- Audio 1 Mode: Stereo
- Audio 1 Besweet: "C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "C:\Program Files\DVD2SVCD\Movie\Extracted_audio_1.wav" -output "C:\PROGRA~1\DVD2SVCD\Movie\Encoded_audio_1.mp2" -logfile "C:\PROGRA~1\DVD2SVCD\Movie\Encoded_audio_1.log" ) -ota( -g max ) -shibatch( --rate 48000 ) -2lame( -e -b 224 -m s )

SUBTITLE INFO:
- Subtitlestreams: 0
- Type:
- Sub. 1 Language:
- Sub. 2 Language:
- Sub. 3 Language:
- Sub. 4 Language:

AUTHORING INFO:
- CD Image program:

Encoded_audio_1.log

BeSweet v1.5b26 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 : 09/29/04 , 23:38:01.

C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe -core( -input C:\Program Files\DVD2SVCD\Movie\Extracted_audio_1.wav -output C:\PROGRA~1\DVD2SVCD\Movie\Encoded_audio_1.mp2 -logfile C:\PROGRA~1\DVD2SVCD\Movie\Encoded_audio_1.log ) -ota( -g max ) -shibatch( --rate 48000 ) -2lame( -e -b 224 -m s )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : C:\Program Files\DVD2SVCD\Movie\Extracted_audio_1.wav
[00:00:00:000] | Output: C:\PROGRA~1\DVD2SVCD\Movie\Encoded_audio_1.mp2
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] +------- MP2ENC ------
[00:00:00:000] | Bitrate method : CBR
[00:00:00:000] | MP2 bitrate : 224
[00:00:00:000] | Channels Mode : Stereo
[00:00:00:000] | Error Protection: Yes
[00:00:00:000] +---------------------
[00:18:41:047] Conversion Completed !
[00:18:41:047] Actual Avg. Bitrate : 224kbps
[00:00:59:000] <-- Transcoding Duration

Logging ends : 09/29/04 , 23:39:00.


CASE 2: DVD2SVCD LOG


WNASPI32.DLL 4.71.2.0
--------------------------------------------------------
- 9/30/2004 12:11:50 AM
- AVI to SVCD Conversion
- AVI2VCD ver. 1.2.2 build 3
--------------------------------------------------------
Initializing
- C:\pvcrwork\vdubbed.avi
Initializing finished.

--------------------------------------------------------
- 9/30/2004 12:11:53 AM
- Free on drive C: 13007.48 mb
- AUDIO Extraction
--------------------------------------------------------
AVIFileSize:=4071785084
Audio extraction finished.

--------------------------------------------------------
- 9/30/2004 12:11:53 AM
- Free on drive C: 13007.39 mb
- AUDIO conversion
--------------------------------------------------------
--------------------------------------------------------
- 9/30/2004 12:11:55 AM
- Free on drive C: 13007.39 mb
- AUDIO conversion
--------------------------------------------------------

Encoding Audio. Filename: C:\ripped\Extracted_audio_1.wav
Executing BeSweet. Commandline:
"C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "C:\ripped\Extracted_audio_1.wav" -output "C:\ripped\Encoded_audio_1.mp2" -logfile "C:\ripped\Encoded_audio_1.log" ) -ota( -g max ) -shibatch( --rate 48000 ) -2lame( -e -b 224 -m s )
Audio conversion of C:\ripped\Extracted_audio_1.wav finished.

Audio conversion finished.

--------------------------------------------------------
- 9/30/2004 12:12:04 AM
- Free on drive C: 13007.37 mb
- Video Encoding using Cinema Craft
--------------------------------------------------------

Executing Cinema Craft Encoder.
StreamSectors: 771537788
AudioSectors: 33249468
VideoPAPO: 11436480
ScanOffsetBytes: 0
SeqAligningBytes: 0
DVDBytes: 0
VideoEndHeader: 4
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 0.00
PureMPEGStream: 726851836.00
Seconds: 1171.60
CalcMPEGStream: 726851836.00
Frames: 34903
CDSize: 740.00
Number of CDs: 1
Cut point 736.00
Variable Settings:
Frames: 34903
Anti Noise Filter: Off
Passes: 5
Image Quality: 17
VAF file creation: On
Video Encoding Mode: CBR
Avg. Bitrate: 1150
Aspect Ratio: 4:3 (No borders, encoded as 4:3)

---AVS Begin---
LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\Mpeg2dec\MPEG2D~1.DLL")
DirectShowSource("C:\pvcrwork\vdubbed.avi",29.970,audio=false)
ConvertToYUY2()
BicubicResize(298,240,0.0,0.6)
AddBorders(27,0,27,0)
Import("C:\ripped\ResampleAudio.avs")
ResampleAudio(44100)
----AVS End----

Closing program
CCE Max Speed: 1.460
Video Encoding finished.

--------------------------------------------------------
- 9/30/2004 12:26:02 AM
- Free on drive C: 12839.14 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 9/30/2004 12:26:05 AM
- Free on drive C: 12839.13 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 9/30/2004 12:26:07 AM
- Free on drive C: 12839.13 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 9/30/2004 12:26:10 AM
- Free on drive C: 12839.13 mb
- Multiplexing and cutting
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
Offset in Seconds: 0
Executing bbMPEG.
Variable Settings:
Movie offset: 0 seconds
Cut point: 736 mb

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

Image creation finished.

--------------------------------------------------------
- 9/30/2004 12:26:47 AM
- Free on drive C: 12645.53 mb
- Conversion done!
--------------------------------------------------------
WNASPI32.DLL 4.71.2.0

Nick
29th September 2004, 18:09
There is currently a problem with converting files of this input resolution.

Basically, it is common practice, when converting DVD movies to DivX or similar, to use square pixels - ie a 4:3 file would be converted to 320x240, 640x480 etc, multiples of 4:3. Not so long ago, there were a lot of posts here from people converting these files back to DVD-R, because these files did not resize correctly.

Meanwhile, people doing captures at DVD or S(VCD) target resolution were quietly getting on with life because their AVI's resized fine!

Anyway, the latest build of DVD2SVCD is corrected for these square-pixel AVI's. However, the capture guys who were previously quiet are now considerably more rowdy as it no longer works for them! One of the things on the author's "to do" list for the next build is to find a solution to please everyone. :)

So, what to do about it...
Well, you could go back to an older build...
Another solution would be to create a "fill frame" script.

Add this to the end of avisynth.ini with copy and paste:

[AVISYNTH_FillFrameBicubic]
0=BicubicResize(^TargetWidth+^BorderLeft+^BorderRight,^TargetHeight+^BorderTop+^BorderBottom,^b_value,^c_value)
^b_value=0.0
^c_value=0.6

NB - ensure DVD2SVCD is NOT running at the time!

Now launch DVD2SVCD and choose this instead of BiCubicResize in the Frameserver tab. Load up your avi and do a preview - it should work.


Ok, so onto the audio problem. Out of interest, is this peculiar to the new build or does the older version bomb on audio extraction too?

As for a solution, can you extract the audio correctly in vDub? By this I mean load your avi into vdub, go to the Streams menu, select Streams List, select the stream and click Save WAV. Does the resultant file play right to the end?

If so, run your AVI through DVD2SVCD but shut it down when BeSweet launches (only a couple of minutes into the process). Now rename your vDub-extracted wav to
Extracted_audio_1.wav
and copy it to your DVD2SVCD output folder, overwriting the one DVD2SVCD extracted. Now relaunch DVD2SVCD and crash recover (Misc. tab) from audio encoding.

The process should work correctly from there.

HTH
Nick

emazur
30th September 2004, 04:38
Thanks for the quick reply. Your fillframe method worked to get rid of the borders, and since correctly resizing is on the "to do" list I guess I can shut up about that for now.

Extracting the audio with vdub and using that wav during crash recovery also fixed the audio cutoff problem. Even so, it's a nuisance to do so manually, and I hope the authors can fix this problem in the near future (if there's something I can do to help or test, please let me know). And to answer your question, the previous build I was using also had audio problems (that build didn't yet have the new internal routines. audio was OK was for about 5~6 mins, then got way outta sync, then cut off).

Before I go, I have a suggestion and another question.

My suggestion is that when using dvd2svcd for the first time, and preparing to make a vcd mpeg (vcd settings are already loaded), TMPEGenc is the default encoder, but if you switch to CCE, you also have to manually select from VBR to CBR or it won't work. My advice is to make it automatically select CBR in this case.

And my other question concerns cropping. Capturing the output of my cable box gives me garbage on the left and bottom. Getting rid of that in TMPEGenc is easy (just go to 'cropping', and use the arrows to crop the bottom and left pixels by the desired amount, checking the results in the preview window). If I crop using D2S, is the correct way to go to framserver tab and change to this?:
0=Crop(16, 0, 0, -8)
1=BicubicResize(^TargetWidth+^BorderLeft+^BorderRight,^TargetHeight+^BorderTop+^BorderBottom,^b_value,^c_value)
^b_value=0.0
^c_value=0.6

I did this after I successfully got the audio problems sorted out, and it worked. But I want to make sure I'm not throwing things out of whack by doing so (I don't know a whole lot about avisynth or how it interacts with d2s). Are there any plans to make it like TMPEGenc where you can see the preview window and crop from there? And if I wanted to add other filters, for example:

# * This is a comb filter, meant to get rid of rainbows, dot crawl, and shimmering in stationary parts of an image.
# LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\GuavaComb.dll")
# GuavaComb(Mode = "NTSC", Recall = 85, MaxVariation = 30, Activation = 60)

is this the correct way:

0=Crop(16, 0, 0, -8)
1=LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\GuavaComb.dll")
2=GuavaComb(Mode = "NTSC", Recall = 85, MaxVariation = 30, Activation = 60)
3=BicubicResize(^TargetWidth+^BorderLeft+^BorderRight,^TargetHeight+^BorderTop+^BorderBottom,^b_value,^c_value)
^b_value=0.0
^c_value=0.6

Nick
30th September 2004, 18:56
As for correcting this in D2S, it isn't a commonly reported problem (except for twice yesterday :rolleyes: ) so it's a difficult one to tackle. If you are using lossless codecs when you capture I'm guessing your AVI files are huge. If you could find some non-copyright footage, eg VHS home movie or something, and upload a reasonably sized file to your webspace I could maybe take a look.

With regards your avisynth scripting - not bad!
The only things I would add are
1. If you crop from your source then resize back to full frame there will be some change in aspect ratio. If this is not noticeable, then carry on as you were. But when using
Crop(16,0,0,-8)
you could pehaps add
Addborders(8,4,8,4)
before the resize line to overcome this.

2. Adding this filter is fine. If you perhaps want more contol over the parameters, you could make your own variables eg,

GuavaComb(Mode = "NTSC", Recall = ^Recall, MaxVariation = ^MaxV, Activation = ^Activ)

then at the bottom of the entry, put
^Recall=85
^MaxV=30
^Activ=60

Then you can change these parameters for each encode if you wish.

HTH
Nick

emazur
7th October 2004, 16:23
I was also wondering about how audio and trimming come into play. For instance I've got an hour capture long capture on my hd at 13.7 gig. Looking at the analog capture guide, I see that vdubmod can give me the trim parameters for avs such as:
AviSource("c:\lopez-Jenny_from_the_bronx.avi")
Trim(0,3) ++ Trim(8,31) ++ Trim(43,101)

But if I load this into D2S, surely the audio extraction and processing will ignore the avs script, right? So what would be best to do?
I've considered some possible options:
1) direct stream copy, and then as a new trimmed avi, load new avi into D2S. BIG downside to this is the space required to hold 2 lossloss avi's, which I just don't have right now
2) trim, than save as wav, and use this wav during D2S process. But it seems vdubmod cannot save as wav, unlike vdub? So just use vdub, you might say, but then I lose the script editor from vdubmod which I need to trim the video during D2S process!

Maybe there's a "special" modified vdub out there for me. or maybe someone has a better idea. what do you recommend?

Nick
7th October 2004, 21:03
Why can't you save the wav from vDubMod? AFAIK the option is identical: Streams menu > Streams List > Save WAV button.

Alternatively you could wrap your avisynth script using VFAPI Converter.
It is bundled with DVD2SVCD.
D2S installation folder > VFAPI > Reader > VFAPIConv-EN.exe

Write an avisynth script in notepad

Directshowsource("whatever.avi",<framerate>)
Trim(whatever parameters)

and save it. NB Framerate of your capture is 29.97 - insert this in the first line.

Launch VFAPI and drag and drop your avs file into the window. Click convert and it creates a smallish signpost file with an avi extension which D2S can then use. Internal routines should extract the audio fine from this. They did with the avi you sent me.

Cheers
Nick

emazur
8th October 2004, 04:34
Actually it's not identical, vanilla vdub has no streams menu, so you do file-> save wav.
But now I know how to do it in vdubmod, thanks. But I think I'll give your vfapi method a try when I come home from work. Vdubmod took about 15 mins to extract the trimmed audio from an approximately 1 hr capture, which seemed somewhat excessive to me. After all, one of the reasons I'm trying to learn DVD2SVCD better is so that I can stop using that slow TMPEGenc.
Also, if anyone has advice/examples on the filters they use in avisynth for analog tv captures using DVD2SVCD, I'd like to hear it. Or do you recommend strictly following the avisynth portion of doom9's capture guide?

Nick
8th October 2004, 16:24
Actually it's not identical, vanilla vdub has no streams menu, so you do file-> save wav.

My mistake. Just checked and you are of course right. Must have been a while since I last used good old vDub :)

emazur
10th October 2004, 14:08
So, no one's got the guts to tell me how to better use avisynth in D2S, eh:devil:
Well, I followed the doom9 analog capture guide and managed to conjure up this, please feel free to criticize it, or better yet, give me your good examples for analog tv captures:

0=Trim(2155,58642) ++ Trim(62784,74846) ++ Trim(78458,91135) ++ Trim(94732,115285) ++ Trim(118978,124282)
1=ChromaShift(C=-6)
2=GuavaComb(Mode = "NTSC", Recall = 75, MaxVariation = 25, Activation = 40)
3=PeachSmoother()
4=BicubicResize(^TargetWidth+^BorderLeft+^BorderRight,^TargetHeight+^BorderTop+^BorderBottom,^b_value,^c_value)
^b_value=0.0
^c_value=0.6

Actually this was the original script I made, but for some reason the CNR2 function crashes CCE . Anyone know why and/or what I should do about it? If I open this avs in media player it plays OK


0=Trim(2155,58642) ++ Trim(62784,74846) ++ Trim(78458,91135) ++ Trim(94732,115285) ++ Trim(118978,124282)
1=Cnr2("xxx", 4, 5, 255)
2=ChromaShift(C=-6)
3=GuavaComb(Mode = "NTSC", Recall = 75, MaxVariation = 25, Activation = 40)
4=PeachSmoother()
5=BicubicResize(^TargetWidth+^BorderLeft+^BorderRight,^TargetHeight+^BorderTop+^BorderBottom,^b_value,^c_value)
^b_value=0.0
^c_value=0.6

b10
20th October 2004, 20:09
Hi,

I've got a comparable problem regarding the audio issue. In every (!) case [edit: concerning avi files] the sound extraction quits at 9:24 min (filesize appr. 95 MB). Using Nick's workaround solves the problem and the encoding process continues correctly. Strange, but I couldn't figure out the reason yet.

emazur
22nd October 2004, 02:29
Well I guess that makes 3 reports in the last few weeks. Anyway, I have a question for anyone out there regarding D2Sroba. Is it appropriate for tv captures? By that, I mean gradually accumulate and convert 4 to 5 45-min captures (or a higher number of 24-min caps) to dvd or vcd format. From what I've understood of the readme/faq it's not to be used for such a purpose (rather, for filling up all the space on a disc), but I thought I'd best ask to be sure I'm not misunderstanding.

emazur
28th October 2004, 18:18
Originally posted by Nick

Alternatively you could wrap your avisynth script using VFAPI Converter.
It is bundled with DVD2SVCD.
D2S installation folder > VFAPI > Reader > VFAPIConv-EN.exe


I finally got around to trying this method and as far as I can tell the audio was extracted properly. But the a/v sync was off. Anybody know what's the deal? One interesting thing I noticed was that when using the vfapi method, the Extracted_audio_1.wav would not play in any of my software, but the corresponding mp2 would