PDA

View Full Version : Error using AVSynth when trying to remove Time Delay


AGx
07-19-2007, 08:10 PM
Hello,

I had the issue where the time would delay the further into the video. Reading up here in the forums noted that you use the AVSynth profile. When I try this, the session fails with:
avs @ 00ACBEA0]AVIFileOpen failed with error -2147221164

The original AVI file works properly when played in media player. The console log is below. Any help would be appreciated.

AG

------------------------------------------------------------------
EXEC: C:\Program Files\Red Kawa\Video Converter\Tools\MediaInfo\mediainfobatch.bat "C:\Program Files\Red Kawa\Video Converter\Tools\MediaInfo\MediaInfo.exe" "C:\Program Files\Red Kawa\Video Converter\Tools\MediaInfo\parameters.txt" "C:\Temp\Series\New Folder\Spooks S05E01 Xvid WS.avi"

PlayTime=00:58:16.600

Width=720

Height=404

AspectRatio=1.782

FrameRate=25.000
MediaInfo Command line, MediaInfoLib - v0.7.4.5
MSG - OS - Version: Microsoft Windows NT 5.1.2600 Service Pack 2
MSG - Converter - Version: 2.25
MSG - Converter - Profile: MPEG4 QVGA 768kbps Stereo/128kbps AviSynth
MSG - MediaInfo - Length: 3496s
MSG - MediaInfo - Width: 720 pixels
MSG - MediaInfo - Height: 404 pixels
MSG - MediaInfo - Aspect Ratio: 1.782
MSG - MediaInfo - Framerate: 25 fps
MSG - Converter - Automatically Generating Framerate
WRITE: C:\Temp\Series\New Folder\Converted\Spooks S05E01 Xvid WS.avs
Line 1: DirectShowSource("C:\Temp\Series\New Folder\Spooks S05E01 Xvid WS.avi", fps=25)
MSG - Converter - Automatically Resizing Resolution
MSG - Converter - New Width:320 | New Height: 178
MSG - Converter - Automatically Generating Framerate
EXEC: C:\Program Files\Red Kawa\Video Converter\Tools\FFmpeg\ffmpeg.exe -y -i "C:\Temp\Series\New Folder\Converted\Spooks S05E01 Xvid WS.avs" -f mp4 -title "Spooks S05E01 Xvid WS" -timestamp "2007-07-20 09:45:30" -vcodec mpeg4 -s 320x178 -b 768k -bufsize 2500k -maxrate 2500k -g 250 -acodec aac -ac 2 -ab 128k "C:\Temp\Series\New Folder\Converted\Spooks S05E01 Xvid WS.mp4"

FFmpeg version SVN-r9133, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-liba52 --enable-avisynth --enable-libamr-nb --enable-libamr-wb --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libogg --enable-libtheora --enable-libvorbis --enable-x264 --enable-xvid --cpu=i686 --enable-memalign-hack --extra-ldflags=-static --enable-dirac
libavutil version: 49.4.0
libavcodec version: 51.40.4
libavformat version: 51.12.1
built on May 27 2007 19:45:44, gcc: 4.2.0
[avs @ 00ACBEA0]AVIFileOpen failed with error -2147221164C:\Temp\Series\New Folder\Converted\Spooks S05E01 Xvid WS.avs: Error while opening file
DELETE: C:\Temp\Series\New Folder\Converted\Spooks S05E01 Xvid WS.avs

Midiman
07-19-2007, 09:48 PM
Whomever created the avi messed up the aspect ratio and you're suffering some of the consequenses. It should be 1.778... not 1.782... and should get resized to 320x176 instead of 320x178.

msopnet
07-20-2007, 09:28 AM
Are you sure you installed AVISynth with Videora (it's an option to select)?

You can try using AVS Maker (below) to see if your file will play through AVISynth. just load your video see if it will play...