Avs scripts lack sound

vbimport

#1

Hi, my question when using the program AviSynth 2.5 I attempted to make a script for ConvertXtoDVD to fix the overscan on my TV since the subs whet off of the screen and since it’s hard subs I can’t to much to fix that other then add blocks around the video to make it fit the tv. When I try to run an avs script in xtodvd I keep getting a yellow bar telling me about a “discontinuity #1 in stream #1” and the discontinuity continues as the file converts, producing no vob files. The only way that I have found to fix this is to disable the sound, the file will then convert… but there will be no sound. Anyone know if there is an easy way to fix this without having to reconvert the whole file?

-Thanks


#2

I have the exact same problem when I use an avisynth script to add subtitles and borders (to eliminate the overscan of my tv) to my avi-files.

the avs-file looks like this :

LoadPlugin(“C:\Program Files\AviSynth 2.5\plugins\vsfilter.dll”)
AviSource(“D:…*.avi")
TextSub("D:…*
.srt”)
TextSub(“D:***.srt.style”)
AddBorders(60,33,60,33)
BilinearResize(720,400)

When I hit the convert button the conversion starts but it gives me the same yellow bar showing these errors (sorry, partly dutch) :

31/01/2007 22:20:37 informatie ********** Rapport sessie gesloten ***********
31/01/2007 22:19:24 informatie --------------Encoding end--------------
31/01/2007 22:19:23 informatie Omzetten mislukt na 00:00:13
31/01/2007 22:19:23 informatie User cancellation requested

31/01/2007 22:19:10 waarschuwing Discontinuity #9 in stream#1: 00:02:33.362 of gap. This is frequent from TV source (ADVs time)
31/01/2007 22:19:10 waarschuwing Discontinuity #8 in stream#1: 00:02:33.362 of gap. This is frequent from TV source (ADVs time)
31/01/2007 22:19:10 waarschuwing Discontinuity #7 in stream#1: 00:02:33.362 of gap. This is frequent from TV source (ADVs time)
31/01/2007 22:19:10 waarschuwing Discontinuity #6 in stream#1: 00:02:33.362 of gap. This is frequent from TV source (ADVs time)
31/01/2007 22:19:10 waarschuwing Discontinuity #5 in stream#1: 00:02:33.362 of gap. This is frequent from TV source (ADVs time)
31/01/2007 22:19:10 waarschuwing Discontinuity #4 in stream#1: 00:02:33.362 of gap. This is frequent from TV source (ADVs time)
31/01/2007 22:19:10 waarschuwing Discontinuity #3 in stream#1: 00:02:33.362 of gap. This is frequent from TV source (ADVs time)
31/01/2007 22:19:10 waarschuwing Discontinuity #2 in stream#1: 00:02:33.362 of gap. This is frequent from TV source (ADVs time)
31/01/2007 22:19:10 waarschuwing Discontinuity #1 in stream#1: 00:01:16.702 of gap. This is frequent from TV source (ADVs time)
31/01/2007 22:19:10 informatie Stream #1 Sync. delay : 0,00 ms
31/01/2007 22:19:10 informatie Stream #0 Sync. delay : 0,00 ms
31/01/2007 22:19:10 informatie Output Stream#1 - Audio: ac3, 48000 Hz, stereo, 192 kb/s
31/01/2007 22:19:10 informatie Output Stream#0 - Video: mpeg2video, yuv420p, 720x576, q=1-31, 8308 kb/s
31/01/2007 22:19:10 informatie Video Stream #0 Pulldown : 23,976 -> 25,00 Fps
31/01/2007 22:19:09 informatie Video source original frame rate: 23,98
31/01/2007 22:19:09 informatie PAL 25 FPS output format set by user
31/01/2007 22:19:09 informatie Widescreen (16:9) set automatically
31/01/2007 22:19:09 informatie Video beeldsnelheid 0/8308/8308 Kbps (min/gem/max)
31/01/2007 22:19:09 informatie Converteren "D:\Film\AviSynth scripts\24.s02e18.avs"
31/01/2007 22:19:09 informatie ----------------Titel #1----------------
31/01/2007 22:19:09 informatie Project grote 4,3 Gb. (60,7 Mb. geluid - 4,24 Gb. video)
31/01/2007 22:19:09 informatie Stream #1 - Audio: pcm_s16le, 44100 Hz, stereo, 1411 kb/s
31/01/2007 22:19:09 informatie Stream #0 - Video: rawvideo, yuv420p, 720x400, 82861 kb/s
31/01/2007 22:19:09 informatie 2 Stream(s) found - est. duration 00:44:11.735
31/01/2007 22:19:09 informatie Opening file "D:\Film\AviSynth scripts\24.s02e18.avs"
31/01/2007 22:19:09 informatie [ ] Lege ruimte tussen audio bestanden niet repareren
31/01/2007 22:19:09 informatie [ ] Software Log
31/01/2007 22:19:09 informatie Encoder kwaliteit: 100%
31/01/2007 22:19:09 informatie --------------Encoding begin--------------
31/01/2007 22:19:09 informatie --------------Menu settings end--------------
31/01/2007 22:19:09 informatie [X] Sequentiaal afspelen
31/01/2007 22:19:09 informatie [ ] Loop Afspelen
31/01/2007 22:19:09 informatie [ ] Auto start afspelen
31/01/2007 22:19:09 informatie [X] Menu
31/01/2007 22:19:09 informatie --------------Menu settings begin--------------
31/01/2007 22:19:09 informatie --------------Default burn settings end--------------
31/01/2007 22:19:09 informatie Default speed selected: 8x
31/01/2007 22:19:09 informatie Compatible media types : DVD-R, DVD-RW Seq., DVD-RW RO, DVDRAM, DVD+R, DVD+RW, CD-R, CD-RW, DL DVD+R, DL DVD-R
31/01/2007 22:19:09 informatie New Drive selected : 4:0:0 - Optiarc DVD RW AD-7173A 1-01 [E] (Scsi)
31/01/2007 22:19:09 informatie [ ] Delete files after burn complete
31/01/2007 22:19:09 informatie [ ] Don’t eject after burn complete
31/01/2007 22:19:09 informatie [ ] Prefer SAO for DVD-R
31/01/2007 22:19:09 informatie [ ] Include originals
31/01/2007 22:19:09 informatie [X] Burn result to DVD
31/01/2007 22:19:09 informatie --------------Default burn settings begin--------------

I have not tried to convert disabling the audio.

However, when I do not cancel the process and leave the program to convert the movie the final result is fine. For each frame it gives me a warning about a discontinuity but it has no effect on the conversion.

It still remains that, no matter what I change in the avs-file, I still keep getting the same error-messages. I thought that the latest release (2.1.10.209) of ConvertxtoDVD had difficulties handling aviscript and I tried to downgrade to an older version (2.1.8 ) but still got the same message.

Is there any way to avoid the error-messages ?

I hope any one can help ? :confused:

Thanks.


#3

If converted result is fine - ignore those messages. They are there just to warn user that there is something wrong with input file. CxD is trying to fix those problems, and if result is fine then it succeeded.


#4

Thanks JJ,
I wouldn’t really mind the error-messages but for one thing though :
once the conversion is on its way it appears as if CxD is not responding. When I open another window (for example an internet explorer window) and I want to go back to the CxD window, it does not open on screen when I click on the taskbarbutton although in the taskmanager its seems to be active. It only appears back on screen once the conversion is finished.

The progress bar in CxD always shows 0% or 0 minutes.

Perhaps I can try converting with the “Don’t check/fix audio discontinuities”-option enabled ?


#5

I did try that, didn’t do anything for me.

Ah, it looks as though the latest updated fixed this problem… but there is still a small glitch that i found, the % bar never moves but the video still converts as far as i know.

Thanks for the help.


#6

Yes Unlimited, same conclusion here :

this time I enabled the “Don’t check/fix audio discontinuities”-option and noticed that I got no error-messages. The final DVD output file quality is exellent. Only the progress-bar refuses. It doesn’t move an inch or show a percentage of completion.

Is there anything to be done about that ?


#7

Hi,

I just noticed that this bug has already been submitted to the VSO Bug Tracking System.

Here is the link : http://bugs.vso-software.fr/view.php?id=605

> progress bar and bitrate problem > no solution found yet

And an older on : http://bugs.vso-software.fr/view.php?id=398

> here it is suggested that it is bad timing that causes the security warnings.