Hello,
I've been trying to run avisynth script from FFmpeg, but failed all the times.
[Attachment 42604 - Click to enlarge]
I've tried to use both FFmpeg 32-bits & 64-bits, and also the solution from this link, but it's still not working.
https://stackoverflow.com/questions/29342030/error-using-avisynth-script-as-input-to-ffmpeg
Can anyone suggest the solution?
Thank you
+ Reply to Thread
Results 1 to 16 of 16
-
-
That's how you do it, "ffmpeg -i script.avs...". What does your script look like? Have you installed AviSynth? Can you open the script with some other program like VirtualDub?
-
Yes, I already installed Avisynth. This is how the script look like:
Can't open it using VirtualDub as wellCode:# Source file AviSource("colorbands_original.avi") # Convert to YV12 (4:2:0) using the BT.709 matrix ConvertToYV12(matrix="Rec709")
[Attachment 42605 - Click to enlarge] -
If you google "virtualdub 80040154" you'll find lots of references to that error. Do you have a VFW decoder for the codec used in the AVI file? What does MediaInfo say about the AVI file?
Also, try creating a script with just:
Can you open that in VirtualDub. That will at least verify that AviSynth is installed.Code:Version()
Last edited by jagabo; 3rd Aug 2017 at 14:22.
-
Last edited by nothingnew; 3rd Aug 2017 at 15:03.
-
It's this error.
[Attachment 42604 - Click to enlarge]
File information:
-
Are you sure that's ffmpeg 32bit binary?
Post your full ffmpeg commandline, it looks cut off in the screenshot. Just copy & paste the text, you don't need image screenshot for that
I renamed my ffmpeg x86 binary to ffmpeg32 to distinguish from the x64 version ,so you can call it from anywhere without mixing them up
If you just enter
what does ffmpeg say ?Code:ffmpeg32 -i "colorbands_709_420.avs"
-
Which file that I can rename? I tried to rename ffmpeg.exe to ffmpeg32.exe and run the code, but it didn't work. Did I rename the wrong file?Code:
C:\FFmpeg32>ffmpeg -i "colorbands_709_420.avs" ffmpeg version N-86383-g4705edb Copyright (c) 2000-2017 the FFmpeg developers built with gcc 7.1.0 (GCC) configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib libavutil 55. 63.100 / 55. 63.100 libavcodec 57. 96.101 / 57. 96.101 libavformat 57. 72.101 / 57. 72.101 libavdevice 57. 7.100 / 57. 7.100 libavfilter 6. 91.100 / 6. 91.100 libswscale 4. 7.101 / 4. 7.101 libswresample 2. 8.100 / 2. 8.100 libpostproc 54. 6.100 / 54. 6.100 colorbands_709_420.avs: Unknown error occurred
Last edited by nothingnew; 3rd Aug 2017 at 16:39.
-
That's the same error message you get, when there is a 32bit/64bit mismatch , eg. 64bit ffmpeg with 32bit avisynth, or 32bit ffmpeg with 64bit avisynth
Since 32bit vdub worked, it has to be 32bit avisynth that you have installed . So I would double check your ffmpeg binary to see if it is 32bit.
It could also be a problem with that specific binary; try downloading a different one, maybe olderLast edited by poisondeathray; 3rd Aug 2017 at 17:02.
-
Similar Threads
-
Copying audio through Avisynth script+FFMpeg encoding
By chummy02 in forum Newbie / General discussionsReplies: 3Last Post: 23rd May 2017, 12:42 -
Can I run TWO ffmpeg processes in parallel?
By pxstein in forum Newbie / General discussionsReplies: 4Last Post: 22nd Nov 2015, 02:47 -
avisynth - How to write avisynth script for rgba overlay
By moelover in forum EditingReplies: 3Last Post: 13th Apr 2014, 13:24 -
Can I run multiple instances of ffmpeg?
By pxstein in forum Newbie / General discussionsReplies: 5Last Post: 16th Sep 2013, 03:37 -
How can i Use VDub Script[.vcf] into Avisynth Script[.avs] ( Megui )
By Maskoff in forum EditingReplies: 1Last Post: 25th Jun 2013, 16:30



Quote