I gave his answer 1 but I think an answer should be such that it is a full solution for the question, so I'm writing my own answer.Īnyway, here's the combination that worked for me (I hope posting URLs is OK):įFMPEG 32-bit version 2.5.2 (downloaded from )Īvisynth 2.5.8 (downloaded from official build) Rogerdpack's remark is what made me systematically try old versions of ffmpeg etc. it seems it was a matter of versions after all. I'd appreciate help with this - This is part of a larger and very important project (automatically scanning a folder with hundreds of video files, sharpening and re-encoding them to another folder with the same filenames). I find this confusing as ffmpeg is configured with -enable-avisynth. Going to the command line and running RUN_FILE.bat works as expected, however running RUN_AVS.bat I get the following error (see screenshot): If I try loading the avisynth script with an external program such as media player classic it works fine (and sharpens the video frames). The text within SCRIPT.avs (3 lines): LoadPlugin("D:\MSharpen.dll") The text within RUN_AVS.bat: ffmpeg -i "SCRIPT.avs" -c:v libx264 -crf 24 -c:a libmp3lame -aq 2 OUT.mp4 The text within RUN_FILE.bat: ffmpeg -i "IN.mp4" -c:v libx264 -crf 24 -c:a libmp3lame -aq 2 OUT.mp4 MSharpen.dll (sharpening filter for avisynth).RUN_FILE.bat and RUN_AVS.bat batch files.IN.mp4 (video codec - AVC, audio codec - PCM).I have the following files in the same folder: I hope this question does not come off as a duplicate. I've searched the internet and haven't found a solution.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |