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. |
12th October 2005, 19:32 | #1 | Link |
Registered User
Join Date: Jan 2004
Location: Brazil
Posts: 74
|
Mencoder - Cannot initialize video driver
Hello to all,
I've downloaded mencoder from http://oss.netfarm.it/mplayer-win32.php . When I try to encode an avs script, it returns me the following information: [mpeg2video @ 00A2F938]MPEG1/2 does not support 2997/125 fps Could not open codec. FATAL: Cannot initialize video driver. VDecoder init failed :( Cannot find codec matching selected -vo and video format 0x32315659. At that url above, I've downloaded [Needed libs - Common] files and [Needed libs - Mencoder] files and I extracted them to Mencoder's folder, at Mencoder folder I got: - mencoder.exe, mplayer.exe, script.avs - bin, codecs, include, lib, man, mplayer, pkgconfig & share sub-folders. I also tried to encode with MCBatch, downloaded at http://rapidshare.de/files/6181192/M..._0.0.2.7z.html, with the same results. I also downloaded Windows essential codecs at http://www4.mplayerhq.hu/homepage/design7/codecs.html and tried all folders structures according to readme.txt but the results were the same. I am using AviSynth 2.5.6 RC2 under W2k. The original file from the script.avs - AviSource("C:\Captured.Avi") - was captured under XviD codec 1.1.0 beta2 version. I've tried with 23.976 and 29.970 fps avi files. I am sure I am missing something, I just don't know WHAT... I couldn't find these one at the forums... please someone help me... Thank you very much, TheCreamCrackerBoy. Last edited by TheCreamCrackerBoy; 12th October 2005 at 23:42. |
12th October 2005, 23:34 | #3 | Link | |
Registered User
Join Date: Jan 2004
Location: Brazil
Posts: 74
|
Quote:
Doesn't seem to be an AVS problem. Tks, TheCreamCrackerBoy. |
|
13th October 2005, 06:00 | #4 | Link |
Registered User
Join Date: Oct 2005
Posts: 106
|
@TheCreamCrackerBoy
Download mplayer from this addres , it's mencoder compiles by Celtic Druid and I used mencoder.exe from there for testing with MCbatch without any problems... Addres: http://www.aziendeassociate.it/cd.asp?dir=/mplayer Last edited by dancho; 13th October 2005 at 06:05. |
13th October 2005, 16:18 | #5 | Link | |
Registered User
Join Date: Jan 2004
Location: Brazil
Posts: 74
|
Quote:
Got any other suggestions? Thanks! TheCreamCrackerBoy |
|
13th October 2005, 18:01 | #6 | Link |
Registered User
Join Date: Apr 2005
Posts: 1,339
|
Apologies for putting this in the Mpeg section, but I don't have time to modify the output for mpeg2. Still, this batch file works with Mencoder from Celtic_Druid - you can try it on your script just to determine if your syntax is correct.
mencoder.exe -vf pp=dr -force-avi-aspect 1.8 -ovc xvid -xvidencopts vhq=1:bitrate=2200:nopacked:nogmc:noqpel:nocartoon:bvhq=0:max_bframes=2:quant_type=mpeg -nosound -o "D:\4-S1-Xvid.avi" "D:\4.avs" |
13th October 2005, 18:13 | #7 | Link |
Registered User
Join Date: Oct 2005
Posts: 106
|
Maybe I'm wrong but I think that mencoder recognize this framerates:
< 24000/1001 | 24 | 25 | 30000/1001 | 30 | 50 | 60000/1001 | 60 > and I think there is the problem because he got this message -->[mpeg2video @ 00A2F938]MPEG1/2 does not support 2997/125 fps Could not open codec. FATAL: Cannot initialize video driver. VDecoder init failed Cannot find codec matching selected -vo and video format 0x32315659.<-- |
14th October 2005, 01:13 | #10 | Link | |
Registered User
Join Date: Jan 2004
Location: Brazil
Posts: 74
|
Quote:
I've tried adding this command line in my AVS script: ChangeFPS(23.976) But it doesn't work. Could it be an Mencoder bug...? The same script opens ok at VirtualDub, VirtualDubMod and Media Player Classic. Anyway, I'll add -ofps to all my Batches... Thank you, Dancho and Pookie, again. []s TheCreamCrackerBoy. Last edited by TheCreamCrackerBoy; 14th October 2005 at 01:16. |
|
26th October 2005, 11:17 | #12 | Link | |
Registered User
Join Date: Jan 2004
Location: Brazil
Posts: 74
|
Quote:
[]s TheCreamCrackerBoy. |
|
|
|