Try with
LWLibavVideoSource(........) instead of AviSource(.............)
+ Reply to Thread
Results 61 to 88 of 88
Thread
-
I've tried the LWLibavVideoSource . But I still get the same error. I also tried it on virtualdub2 and got this error message. Thanks.
-
But both AviSource and LWLibavVideoSource seem to work in the OP's AvsPmod. Strange.....
Does the simple script
Code:version()
Edit: Yes, it seems like Avidemux cannot dierctly open avs scripts. I probably have something installed on my PC which I don't even remember what it is, in order to make it work. But VirtualDub2 should be working in any case. I just retested on my small notebook here.Last edited by Sharc; 14th Mar 2023 at 16:46.
-
Thanks davexnet & Sharc. I tried version() and get the same error message with Avidemux. Virtualdub2 loads the script however when I select file>save & open as AVI I get an error message also. Thanks.
-
-
Last edited by Sharc; 15th Mar 2023 at 06:35.
-
With VirtualDub2 be sure to use File -> Open Video File (or drag/drop an AVS script), not File -> Run Script. The latter is for VirtualDub2's own scripting language, not AviSynth scripts. And when using 32 bit AviSynth you must use 32 bit VirtualDub2; when using 64 bit AviSynth you must use 64 bit VirtualDub2.
-
So maybe better forget Avidemux for now and focus on VirtualDub2, which always worked here.
Code:ffmpeg.exe -i script.avs -c:v libx264 -crf 17 -preset slow -aspect 4:3 -c:a aac -b:a output.mp4
-
Last edited by Sharc; 15th Mar 2023 at 11:11.
-
Correct, bad editing on my side
-
Also, your commandline encodes and flags the interlaced output as progressive which is probably not quite what we want, no?
For interlaced encoding and flagging:
Code:ffmpeg.exe -i script.avs -c:v libx264 -crf 17 -preset slow -flags +ilme+ildct -aspect 4:3 -c:a aac -b:a 128k "output.mp4"
-
Also, your commandline encodes and flags the interlaced output as progressive which is probably not quite what we want, no?
For interlaced encoding: -
-
Anyway, discussions go on with or without GUI, it seems
BTW, OP had some help 1 year ago for his (same) capture. including deinterlacing: https://www.digitalfaq.com/forum/video-capture/12805-first-video-capture.html, and also about encoding: https://www.digitalfaq.com/forum/video-capture/12805-first-video-capture.html#post85085
the same some months later: https://www.digitalfaq.com/forum/video-restore/12856-avisynth-plugin-virtualdub.html
Apparently now he's is in your clan of no-deinterlace, I thought it was still using initial approach. In any case you're right, with his script in this thread my command line encoding is wrong.
-
Thanks Sharc, jagabo & lollo. I've finally been able to open a script in vdub2! I've installed vdub2 32-bit. I can open them with file> open video file or Tools > script editor and also drag/drop method which is fantastic. I've installed Avidemux 2.7.4 32-bit (they don't seem to have version 2.8.1 in 32-bit) but it gives an error message see attached.
I have attached the new virtualdub2 encoded video and hopefully there aren't any chroma issues? Thanks. -
Yes, chroma motion is correct now IMO. It is in synchronism with the luma motion.
Glad it works now for you with VirtualDub2, and you can process and encode Avisynth scripts via VirtualDub. You have now the full potential of Avisynth available for processing your videos.
As I wrote, after some tests I gave up trying to open Avisynth scripts in Avidemux. Sometimes it worked, sometimes it failed for no obvious reason.Last edited by Sharc; 15th Mar 2023 at 13:45.
-
It seems to work here for YV12() 4:2:0 sources only. It fails however for the 4:2:2 YUY2 (huffyuv) captures. Hence these must be converted with ConvertToYV12(.....) in the script.
No warranty though, but this seems to be the rule here to let Avidemux open .avs scripts. -
AviDemux doesn't work for YV12 scripts here. I also tried YV24, YV16, YUY2, RGB24 and RGB32. All give the same "Cannot find a demuxer..." error that SkyBlues2021 is reporting. It may be because I use it as a portable application (it's never been "installed" on this computer). Maybe there's something in the installation procedure that is needed to enable AviSynth import.
-
Thanks Sharc & jagabo. I will stick with the Virtualdub2 encoded, which seems to have done a good job. Thank you for researching the Avidemux encoder for me, I had hoped to use it as a just in case, however it seems a bit temperamental. Thanks.
Similar Threads
-
AVStoDVD AddBorders issue
By defbiz in forum Authoring (DVD)Replies: 4Last Post: 15th Sep 2022, 18:40 -
Need help with automated trimming and cropping
By burattino in forum Video ConversionReplies: 0Last Post: 28th Apr 2022, 22:36 -
multiAVCHD AviSynth error .AddBorders()
By pises in forum Authoring (Blu-ray)Replies: 3Last Post: 30th Jun 2021, 21:40 -
best software for trimming videos without rendering?
By deama in forum EditingReplies: 7Last Post: 20th Oct 2019, 03:08 -
Cropping multiple videos
By Kracov in forum EditingReplies: 6Last Post: 20th Mar 2019, 18:18