Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
Thread Tools | Search this Thread | Display Modes |
5th January 2014, 21:37 | #1 | Link |
Registered User
Join Date: Sep 2013
Posts: 2
|
xvid_encraw cannot open AVS; directshowsource.dll compatibility?
Hi.
I am trying to re-encode a video file that has MKV={H.264 720p, DTS, subtitles} into a AVI={Xvid 480p, AC3} Problem is, xvid_encraw can't seem to understand the AVS input file. I'll walk through the steps from the beginning, hopefully somebody can spot something I'm doing wrong. First, I created the AVS file using MeGUI's "AVS script creator". I just set it to resize the video frames from 1200*500 down to 640*272. The directshow source preview shows the resulting video perfectly. Here's my AVS file: ----Begin AVS file---- LoadPlugin("C:\MeGUI\tools\avs\directshowsource.dll") DirectShowSource("c:\MyVideo.mkv", fps=23.976, audio=false, convertfps=true).AssumeFPS(24000,1001) #deinterlace #crop LanczosResize(640,272) # Lanczos (Sharp) #denoise ----End AVS file---- Actually I did try using the "One click encoder" that came with MeGUI and it always: - completed generating a DQA file - completed auto-deinterlacing - failed at the first pass of Xvid encoding. which is what led me to examine xvid_encraw's behavior. Second, I tried running the command: xvid_encraw.exe -i MyVideo.avs -type 2 -w 640 -h 272 -avi MyVideo.avi -pass1 MyVideo.pass1 -turbo -threads 4 And it always fails with message: xvid [error]: Can't open avi/avs file MyVideo.avs And yes, I quintuple-checked, the AVS file is there, readable, writable, etc. Same for the DLL file referenced inside the AVS. I then tried several variations of the command, such as: xvid_encraw.exe -type 2 -i MyVideo.avs -w 640 -h 272 -avi MyVideo.avi -pass1 MyVideo.pass1 -turbo -threads 4 xvid_encraw.exe -type 2 -w 640 -h 272 -avi MyVideo.avi -pass1 MyVideo.pass1 -turbo -threads 4 < MyVideo.avs None of the above worked; I guess it must be something about my AVS file. Could there be an incompatibility between the "directshowsource.dll" that came with MeGUI, and the frame-serving API expected by xvid_encraw? |
8th January 2014, 23:45 | #4 | Link |
Registered User
Join Date: Aug 2009
Location: Ukraine, Kovel
Posts: 7
|
Try this program:
http://code.google.com/p/xvid4psp/downloads/list http://www.youtube.com/watch?v=yMQTIn6eww0 http://sendfile.su/919673 C:\Program Files (x86)\XviD4PSP 5\apps\xvid_encraw\ xvid_encraw.exe & xvidcore.dll (Can put any version of 1.3 - 1.4 "xvid_encraw.exe+xvidcore.dll"; Do not change anything in the folder 1.2.2)
__________________
I use translate.google.com |
Tags |
h.264, megui, x264, xvid, xvid_encraw |
Thread Tools | Search this Thread |
Display Modes | |
|
|