VideoHelp Forum

+ Reply to Thread
Page 3 of 3
FirstFirst 1 2 3
Results 61 to 88 of 88
Thread
  1. Try with
    LWLibavVideoSource(........) instead of AviSource(.............)
    Quote Quote  
  2. Member
    Join Date
    Sep 2021
    Location
    United Kingdom
    Search Comp PM
    Thanks Sharc. I will try that .Thanks.
    Quote Quote  
  3. Member
    Join Date
    Sep 2021
    Location
    United Kingdom
    Search Comp PM
    I've tried the LWLibavVideoSource . But I still get the same error. I also tried it on virtualdub2 and got this error message. Thanks.
    Quote Quote  
  4. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    I don't think avs scripts open in Avidemux; there used to be a proxy that worked, but haven't seen it in a while
    Vdub2 shouldn't have any issues though
    Quote Quote  
  5. But both AviSource and LWLibavVideoSource seem to work in the OP's AvsPmod. Strange.....

    Does the simple script
    Code:
    version()
    open in Vdub and/or Avidemux?

    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.
    Quote Quote  
  6. Member
    Join Date
    Sep 2021
    Location
    United Kingdom
    Search Comp PM
    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.
    Image Attached Thumbnails Click image for larger version

Name:	Version.avs save page.JPG
Views:	9
Size:	75.6 KB
ID:	69801  

    Click image for larger version

Name:	version vd2 error message.JPG
Views:	13
Size:	62.1 KB
ID:	69802  

    Quote Quote  
  7. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    You're doing something wrong. Just drag the avs script into vdub2.
    Regarding version(), you can't save it, it's not a video
    Image Attached Thumbnails Click image for larger version

Name:	drag.jpg
Views:	7
Size:	109.6 KB
ID:	69803  

    Quote Quote  
  8. ^ this,
    or Save & Refresh..... (F5), rather than Save & Open as avi (F7)
    Quote Quote  
  9. Originally Posted by davexnet View Post
    Regarding version(), you can't save it, it's not a video
    It creates an RGB24 video and you can save it. No point though.

    By the say, I can't open AVS script in AviDemux. Though, if you look through its settings there are references to AviSynth.
    Quote Quote  
  10. Member
    Join Date
    Sep 2021
    Location
    United Kingdom
    Search Comp PM
    Thanks. Does that mean that with Avidemux an avs. must be converted to an AVI file before it can only be opened? meaning I will have to save a intermediate file? I will try the vdub2 suggestions when I get home from work. Thanks.
    Quote Quote  
  11. Originally Posted by SkyBlues2021 View Post
    Does that mean that with Avidemux an avs. must be converted to an AVI file before it can only be opened? meaning I will have to save a intermediate file?
    I made a few more tests but I didn't find the conditions when Avidemux succeeds in opening .avs scripts and when it fails. Weird.

    So maybe better forget Avidemux for now and focus on VirtualDub2, which always worked here.
    Last edited by Sharc; 15th Mar 2023 at 06:35.
    Quote Quote  
  12. 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.
    Quote Quote  
  13. Captures & Restoration lollo's Avatar
    Join Date
    Jul 2018
    Location
    Italy
    Search Comp PM
    So maybe better forget Avidemux for now and focus on VirtualDub2, which always worked here.
    Even better, forget all these useless GUIs and encode the AviSynth script with a simple command line:

    Code:
    ffmpeg.exe -i script.avs -c:v libx264 -crf 17 -preset slow -aspect 4:3 -c:a aac -b:a output.mp4
    It would have saved lot of energy, time and discussion
    Quote Quote  
  14. Originally Posted by lollo View Post
    So maybe better forget Avidemux for now and focus on VirtualDub2, which always worked here.
    Even better, forget all these useless GUIs and encode the AviSynth script with a simple command line:

    Code:
    ffmpeg.exe -i script.avs -c:v libx264 -crf 17 -preset slow -aspect 4:3 -c:a aac -b:a output.mp4
    It would have saved lot of energy, time and discussion
    Yes, provided we don't forget to specify the bitrate for the audio .....
    Code:
    ffmpeg.exe -i script.avs -c:v libx264 -crf 17 -preset slow -aspect 4:3 -c:a aac -b:a 128k output.mp4
    or delete the -b:a to leave it at its default
    Last edited by Sharc; 15th Mar 2023 at 11:11.
    Quote Quote  
  15. Captures & Restoration lollo's Avatar
    Join Date
    Jul 2018
    Location
    Italy
    Search Comp PM
    Correct, bad editing on my side
    Quote Quote  
  16. 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"
    Quote Quote  
  17. Captures & Restoration lollo's Avatar
    Join Date
    Jul 2018
    Location
    Italy
    Search Comp PM
    Also, your commandline encodes and flags the interlaced output as progressive which is probably not quite what we want, no?
    For interlaced encoding:
    Originally, OP wanted to deinterlace his video. We helped him n the past with QTGMC on the same footage (he had a QTGMC() command in his script)!
    Quote Quote  
  18. Originally Posted by lollo View Post
    Also, your commandline encodes and flags the interlaced output as progressive which is probably not quite what we want, no?
    For interlaced encoding:
    Originally, OP wanted to deinterlace its video. We helped him n the past with QTGMC on the same footage (he had a QTGMC() command in his script)!
    Maybe, but neither the script nor your commandline deinterlaces.
    Anyway, discussions go on with or without GUI, it seems
    Quote Quote  
  19. Captures & Restoration lollo's Avatar
    Join Date
    Jul 2018
    Location
    Italy
    Search Comp PM
    Anyway, discussions go on with or without GUI, it seems
    Yes

    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.
    Quote Quote  
  20. Member
    Join Date
    Sep 2021
    Location
    United Kingdom
    Search Comp PM
    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.
    Image Attached Thumbnails Click image for larger version

Name:	Finally!.JPG
Views:	9
Size:	204.4 KB
ID:	69810  

    Click image for larger version

Name:	Cannot find demuxer.JPG
Views:	8
Size:	70.9 KB
ID:	69811  

    Image Attached Files
    Quote Quote  
  21. 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.
    Quote Quote  
  22. Member
    Join Date
    Sep 2021
    Location
    United Kingdom
    Search Comp PM
    Thanks Sharc. I'm so relieved and grateful for everyone's help. I will try again with the Avidemux encoder but I also need to try and read and cross reference the chroma/luma to better understand it as I'm clueless. Thanks.
    Quote Quote  
  23. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    I couldn't get Avidemux to open Avisynth scripts at all, but it kind of works if you run Avsproxy from the command line,
    then in Avidemux file/connect to avsproxy.
    Image Attached Thumbnails Click image for larger version

Name:	avsproxy.jpg
Views:	11
Size:	76.9 KB
ID:	69813  

    Quote Quote  
  24. Member
    Join Date
    Sep 2021
    Location
    United Kingdom
    Search Comp PM
    Thanks davexnet. I wonder if frequent Avidemux users have to save the script as an AVI before opening. Thanks.
    Quote Quote  
  25. I bet the typical Avidemux user does not use Avisynth scripts at all. He opens his sources directly in Avidemux and does the rest with the tools which are provided by the GUI. And eventually lives with what the GUI offers to him. That's the purpose of such GUIs.
    Quote Quote  
  26. Originally Posted by davexnet View Post
    I couldn't get Avidemux to open Avisynth scripts at all, .....
    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.
    Quote Quote  
  27. 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.
    Quote Quote  
  28. Member
    Join Date
    Sep 2021
    Location
    United Kingdom
    Search Comp PM
    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.
    Quote Quote  



Similar Threads