| Author |
Message |
Chris K Member
Joined: 01 Sep 2007 Location: Europe
|
|
EDIT: 16-04-2008
AVANTI - FFmpeg/Avisynth GUI has moved...
http://forum.videohelp.com/topic343287.html#1793545
Please do not continue to post questions and/or comments at this thread.
.
Last edited by Chris K on Apr 16, 2008 21:04, edited 34 times in total
|
|
GMaq Linux Member
Joined: 17 Mar 2004 Location: Canada
|
|
Chris K Member
Joined: 01 Sep 2007 Location: Europe
|
|
| GMaq wrote: |
Hello,
I had a look at your application, pretty cool stuff, nice work! I have been using ffmpeg and AviSynth for quite a while now also, I am curious as to why there are no options for x264 or XviD in an .mp4 container? All the current ffmpeg builds natively support x264. I think adding x264 and Flash support would open up this application to a much larger audience, that's just an opinion so take it as you will. Thanks for sharing your work! |
You can add (any) codec easily yourself by overwriting the video codec field and then press enter. After that you'll probably be asked to add your so called "codec label" to the database. Read the chm help about the codecs database (Appendix first item).
I can also add it to the default options in the next version. I will make a note of it. This is just the first release.
You can also override any basic setting on the video command line, so if you put -vcodec h64 or libx64 there, the basic setting is ignored.
XviD is there as XviD (for older FFmpeg versions) and XviD (Lib) for newer. Some of the codec names are changed in the latest FFmpeg builds. There's also a XviD FourCC option.
XviD in mp4 is already there: set video codec to XviD or XviD (Lib) and the codec suffix field to PS. Then You see that the mp4 extension is automatically added.
Thanks for your reply,
Chris.
|
|
kevo777 Member
Joined: 28 Sep 2006 Location: United States
|
|
Hello,
With every version of ffmpeg I throw at it I get the "This FFmpeg version doesn't support Avisynth (AVS options disabled)" message. I am most certain that the builds I'm using support AviSynth. I've even used the same version that you mentioned in your original post (SVN-r9767) only to get the same message.
I'm confused.
Overall, this looks verrry promising!!! Thank you for all the work put into this!
|
|
Chris K Member
Joined: 01 Sep 2007 Location: Europe
|
|
| kevo777 wrote: |
Hello,
With every version of ffmpeg I throw at it I get the "This FFmpeg version doesn't support Avisynth (AVS options disabled)" message. I am most certain that the builds I'm using support AviSynth. I've even used the same version that you mentioned in your original post (SVN-r9767) only to get the same message.
I'm confused.
|
Me too! But we will see the light once.
Do you have Avisynth 2.57 or higher installed. It doesn't work with older versions although it should give a other warning then.
Give me some time to check.
Chris.
|
|
kevo777 Member
Joined: 28 Sep 2006 Location: United States
|
|
That's affirmative. AviSynth 2.57 is in use.
|
|
Chris K Member
Joined: 01 Sep 2007 Location: Europe
|
|
| kevo777 wrote: |
| That's affirmative. AviSynth 2.57 is in use. |
I unpacked the original zip and copied the contents to a test directory then copied a unrenamed fffmpeg.exe version SVN-r9767 to it and it works fine.
Do you run it in Vista? I've not been able to test it in Vista sofar and the system requirements in the help say W98, W2K and WXP.
|
|
45tripp Dolphin Blue
Joined: 21 Dec 2004 Location: Triptonia
|
|
i get the same.
xp,
avisynth 2.58
tried both ffmpeg builds mentioned.
also clicking on avisynth option returns this in the log box:
"No valid FFmpeg/Avisynth combi found. This option is disabled."
|
|
t0nee1 Member
Joined: 30 Dec 2006 Location: Here,where do you think?
|
|
Just curious, but are you guys putting ffmpeg.exe in the ffmpeg sub-folder of avanti-017 main folder...cus per instructed (btw thanks Chris K) it works for me now....
_________________ "I typed the word Google into Google. Guess what came up? Everything."
"What we've got here is failure to communicate"
|
|
Chris K Member
Joined: 01 Sep 2007 Location: Europe
|
|
| 45tripp wrote: |
i get the same.
xp,
avisynth 2.58
tried both ffmpeg builds mentioned.
also clicking on avisynth option returns this in the log box:
"No valid FFmpeg/Avisynth combi found. This option is disabled." |
In the directory where you copied the zip contents a avsystem directory exists. This has two small AVS scripts in it named version.avs and version2.avs
version.avs checks if the installed Avisynth version is equal or higher then 2.57 and version2.avs can be read by any Avisynth version. Please trow both versions on WMP to see if they give a error. They have to both show a black clip playing for about 2 minutes. The problem is that Avisynth doesn't store its version in detail somewhere in the registry so I had to use weird tricks to find out. I surely have to find a better way to check for Avisynth.
There is also a "weird" trick to fool the program by removing the line "AssumeFPS("ntsc_film")" from the version.avs script. Afaik the program then will start with Avisynth support.
|
|
45tripp Dolphin Blue
Joined: 21 Dec 2004 Location: Triptonia
|
|
scripts work fine.
removing assumefps() does nothing
|
|
Chris K Member
Joined: 01 Sep 2007 Location: Europe
|
|
| 45tripp wrote: |
scripts work fine.
removing assumefps() does nothing |
Strange that it works fine for some and fails for others?
Problem is that I can't replicate the problem because on both my machines (W2K and WXP) it works fine.
But I keep on torturing my brains to find out what goes wrong.
|
|
kevo777 Member
Joined: 28 Sep 2006 Location: United States
|
|
I'm running XP. Both scripts play fine.
Would it be easier to post a link to the magic version of ffmpeg? I'm at a loss here.
Last edited by kevo777 on Sep 05, 2007 20:47, edited 1 time in total
|
|
Chris K Member
Joined: 01 Sep 2007 Location: Europe
|
|
Is there someone with the Avisynth startup problem capable to inverstigate the registry.
at "HKEY_LOCAL_MACHINE\software" there must be a Avisynth key.
This is the dump from my machine:
[HKEY_LOCAL_MACHINE\Software\Avisynth]
@="C:\\Program Files\\AviSynth 2.5"
"plugindir2_5"="C:\\Program Files\\AviSynth 2.5\\plugins"
If this key isn't there then this causes the problem. It probably has to do with machines with different users. If you startup on a particular username and then install software (Avisynth in this case) these keys are written in HKEY_CURRENT_USER instead of HKEY_LOCAL_MACHINE. My machine always boots up on the Administrator.
Do not change anything at the registry if you are not experienced.
If I know for sure I can upload a new "Avanti-GUI.exe" which doesn't check for that key.
|
|
Soopafresh Dismember
Joined: 01 Jan 2004 Location: United States
|
|
kevo777 Member
Joined: 28 Sep 2006 Location: United States
|
|
I have two user profiles but I always log into the same one which has admin rights.
That registry key, on my machine, is located at HKEY_CURRENT_MACHINE and not under HKEY_CURRENT_USER.
Does this help?
@Soopafresh,
Thanks for the link!
|
|
Chris K Member
Joined: 01 Sep 2007 Location: Europe
|
|
| kevo777 wrote: |
I have two user profiles but I always log into the same one which has admin rights.
That registry key, on my machine, is located at HKEY_CURRENT_MACHINE and not under HKEY_CURRENT_USER.
Does this help?
|
Well, it helps but not to solve the problem
|
|
kevo777 Member
Joined: 28 Sep 2006 Location: United States
|
|
Also, I'm experiencing the exact same behavior on two separate XP machines. Very weird issue. I can try a Vista machine at work in a few hours. I'll post what happens.
|
|
Chris K Member
Joined: 01 Sep 2007 Location: Europe
|
|
| kevo777 wrote: |
| Also, I'm experiencing the exact same behavior on two separate XP machines. Very weird issue. I can try a Vista machine at work in a few hours. I'll post what happens. |
Some info about the startup procedure a the point it checks Avisynth support.
The program uses a "software pipe" to direct screen output from FFmpeg to
a buffer at the GUI. The program then at first can analize that buffer
and decide what formatted output to send to the log and report windows.
To get screen output the program simply has to run FFmpeg (in the background).
The fact that your screenshots show the FFmpeg header indicates that this
system works fine on your computer(s). You can also check if the FFmpeg
commands and formats/codecs lists are available at the (top right) Help button.
After this seems to be done correctly, the program is going to check if the
FFmpeg version can handle AVS scripts anyway. It first runs the version2.avs
script. This script is valid for all Avisynth versions so if the program gets no
valid response from FFmpeg in its buffer, this means the FFmpeg version doesn't
support Avisynth.
This is the point where it goes wrong!
If it doesn't go wrong (which means the FFmpeg version supports Avisynth),
the program is going to check which version of Avisynth is installed.
The program runs FFmpeg with the version.avs script. This script has a line
in it that is only valid for Avisynth 2.57 or higher.
This is done with exactly the same code as used for the first test. If it fails
at this point you will get the message:
"Installed Avisynth version doesn't support Avisynth AUTO options."
This means, you can use Avisynth but some advanced option are not available.
In your case this part is never reached.
Chris.
|
|
kevo777 Member
Joined: 28 Sep 2006 Location: United States
|
|
Does this not mean that it supports AviSynth? My understanding was that it means exactly that. I'm real confused with this issue. Every build of ffmpeg that I've tried on both XP machines has had "--enable-avisynth" displayed exactly as the screenshot.
|
|
bidmead Member
Joined: 27 Nov 2006 Location: United Kingdom
|
|
I don't understand how to get Avanti to do 2-pass encoding?
--
Chris
|
|
wiseant Member
Joined: 11 Jun 2007 Location: Canada
|
|
Hi Folks - I just renamed my folder from AviSynth 2.5 to AviSynth 2.5.7 and that seemed to fix the issue, now I get:
11:12:53 - Valid FFmpeg/Avisynth combi found (Avisynth AUTO options enabled).
When the folder was renamed back to AviSynth 2.5, I got this message:
11:15:08 - This FFmpeg version doesn't support Avisynth (AVS options disabled).
and back to AviSynth 2.5.7
11:16:27 - Valid FFmpeg/Avisynth combi found (Avisynth AUTO options enabled).
Hope this helps
|
|
kevo777 Member
Joined: 28 Sep 2006 Location: United States
|
|
GENIUS wiseant!!!!!
That worked! Now fingers are crossed in hopes that renaming that folder has no adverse effects on anything AviSynth-related I do from now on.
|
|
Chris K Member
Joined: 01 Sep 2007 Location: Europe
|
|
| kevo777 wrote: |
GENIUS wiseant!!!!!
That worked! Now fingers are crossed in hopes that renaming that folder has no adverse effects on anything AviSynth-related I do from now on. |
I don't know why it works this way because I don't refer to the Avisynth install direcotory in my program.
I expect some problems but it then is perhaps better to re-install Avisynth and enter this name at installaton?
I have installed Avisynth at the default path (Program files) and the directory is still named "Avisynth 2.5".
Sorry if there's some delay between my replies. I'm very busy elsewhere at the moment.
Chris.
|
|
Chris K Member
Joined: 01 Sep 2007 Location: Europe
|
|
| bidmead wrote: |
I don't understand how to get Avanti to do 2-pass encoding?
--
Chris |
These things are not predefined in the program and all left to the user. But you can make a first and a second pass template for a particular encode setting and change the command line for both like:
-passlogfile d:\mypath\myLog -pass 1
-passlogfile d:\mypath\myLog -pass 2
|
|
Chris K Member
Joined: 01 Sep 2007 Location: Europe
|
|