And what about you, VM?. You were also testing it.
But I'm afraid you don't have the time... :lol: |
After successful compilation of mencoder in mingw I decided to implement Avisynth support directly to mplayer/mencoder. You can download it from http://ffdshow.sf.net/mencoderAVS.rar. This time it contains avisynth_c.dll too. It isn't compiled with DirectX support therefore mplayer is not very usable.
Limitations: audio isn't supported and errors aren't checked at all. No seeking. I tested it with one simple avs script with all colorspaces (YV12, YUY2, RGB24, RGB32). I'm sure you'll give it much better testing :) |
This is gerat, Milan! :D :D :D 8) I can't wait to test it. 8)
|
thank you so much milan! will try it out tonight! :D
question: is this build optimized for a certain CPU type yet? |
I compiled it on P4, without any arguments to ./configure. I don't know mplayer build process much and I'm not sure if resulting binary can be used on older CPUs.
|
:ole: milan
I'm at work now, and tonight on duty. But tomorrow I'll run and test it. :bugeyes: What about speed?, does it slow down as using makeAVIS? You da'man :bowdown: :wink: |
I've never used makeAVIS with mencoder so I can't tell (actually only recently I learned that this combination is possible), but I guess it should be faster.
|
hi milan.
your mencoder build crashes whenever I start it on my Athlon XP. Do you want me to post the windows error log? (it's long...) :roll: |
Output from
mencoder.exe -v -v xx.avs .... would be helpful. It's quite possible, that this build requires SSE2. |
hmmm how do I save the output. there's no crash using these arguments, however the window is closed quite fast. :oops:
I could read something like "head_check failed". Sorry for being no big help on this issue. :roll: |
Quote:
Could please release the sources or reconfigure with: Code:
./configure --enable-largefiles --enable-static --confdir=mplayer/ --enable-win32 --enable-runtime-cpudetection --enable-win32 enables the use of win32 decoders, you ca ndrop this if it causes problems. --enable-static ensures that that you only need cygwin1.dll (and no other DLL) if you're using cygwin to compile --enable-largefiles adds support to files greater than 2 Gb. Thanks! :D |
Quote:
The file crash.log should display what happened. -kwag |
Quote:
wrap your command into a .bat & put a 'pause' at the very and. maybe, it helps :-) (some screen output can't be redirected, anyway) the bests y |
it's been a long time since working with DOS. Thanks kwag and yaz... 8)
|
Maybe first report. P4, 1.6 GHZ XP Home. Using directly MencodeMe give multiple "duplicate 1 frame(s)!" errors - file size is 0 KB. Runing the same from CLI give the same. I tried to put ConvertToYUY2() at the end of script (I don't know why I thought it will cure) and the error gone, but it shows every time (99%) :? Stoped it. Every attempt to repeat it gave me this duplicate frame error - as the encoder received only the first frame and discard it when received again (I think) :? The script included RemoveDirt and HybridFupp (704,576, preset="very high"). Aim - 1/3 DVD (file size).
|
Hi Milan,
It's always great to see you around :wink: If you can show us how to include the avs support we'll provide the compilations here at the forum and we will be forever gratefull :bowdown: Not to mention that each one of us will buy you a pack of beer :rotf: so you can do it like we do while we wait for our encodings are finished :drink: Thanks buddy. Cheers |
I compiled mplayer/mencoder using suggested configure options and updated http://ffdshow.sf.net/mencoderAVS.rar.
@Abond Please could you send me that avisynth script and mencoder command line used? As I wrote before, I tested mencoderAVS with very simple avs file and libavcodec's mpeg4 codec. @rds_correia I'll release sources soon, but first I'd like to wait for Abond's answer. |
Hi Milan,
I just tested with this script: Code:
Avisource("D:\Videos\mymovie.avi",false) My include file: Code:
of=rawvideo=1 Code:
D:\Temp\mencodeme>Mencoder.exe -include temp.conf -lavcopts vbitrate=977:vpass=2 "D:\Temp\video\Movie0.avs" -o "D:\Temp\video\Movie0a.mpv" |
After downloading 6 missing filters, I was able to test your script with same result as you: output file seemed to be OK, but mencoder crashed on exit. I'm just guessing what could cause this. For me it reports error in xvidVFW.dll, but I'm not sure if it's really crashing there. Please try some huffYUV source, this didn't crash for me.
And as I wrote before, I don't know how to release AVS_ScriptEnvironment variable. So even if this doesn't causes crash, it'd still cause resources leak. BTW I implemented seeking support in demux_avisynth. |
Quote:
Quote:
|
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.