Avisynth setup under linux - Printable Version +- Selur's Little Message Board (https://forum.selur.net) +-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html) +--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html) +--- Thread: Avisynth setup under linux (/thread-381.html) |
RE: Avisynth setup under linux - Selur - 24.04.2018 What happens if you call: /usr/bin/wine "/root/.wine/drive_c/windows/syswow64/avs2yuv.exe" "\tmp\convert\ntsc-vob-test-1a.avs" -csp I420 -o - | "/usr/bin/x264" --preset superfast --crf 18.00 --profile high --level 4.1 --ref 3 --direct auto --qcomp 0.5 --rc-lookahead 40 --partitions i4x4,p8x8,b8x8 --no-fast-pskip --me hex --subme 5 --aq-mode 0 --vbv-maxrate 62500 --vbv-bufsize 78125 --sar 1:1 --non-deterministic --range tv --colormatrix bt470bg --demuxer y4m --fps 30000/1001 --output "/tmp/14_22_11_8310_01.264" - Does: /usr/bin/wine "/root/.wine/drive_c/windows/syswow64/avs2yuv.exe" "/tmp/convert/ntsc-vob-test-1a.avs" -csp I420 -o - | "/usr/bin/x264" --preset superfast --crf 18.00 -profile high --level 4.1 --ref 3 --direct auto --qcomp 0.5 --rc-lookahead 40 --partitions i4x4,p8x8,b8x8 --no-fast-pskip --me hex --subme 5 --aq-mode 0 --vbv-maxrate 62500 --vbv-bufsize 78125 --sar 1:1 --non-deterministic --range tv --colormatrix bt470bg --demuxer y4m --fps 30000/1001 --output "/tmp/14_22_11_8310_01.264" - RE: Avisynth setup under linux - zigbay03 - 24.04.2018 Sorry, both fail see attached RE: Avisynth setup under linux - Selur - 24.04.2018 ARGH,.... seems like the current package contains an older avs2yuv binary. Redownload avisynthExtension_180310 (I updated the package) and try again. Cu Selur RE: Avisynth setup under linux - zigbay03 - 24.04.2018 Finally it works ! RE: Avisynth setup under linux - Selur - 24.04.2018 Does opening the source file (not the avs script) now work as it should too? RE: Avisynth setup under linux - zigbay03 - 25.04.2018 I am a little puzzled why you asked for this. Anyway attached are the results. The first try using your code but substituting a vob for the avs The second, is slightly modified by calling x264 direct not via avs2yuv The following two code examples work: ffmpeg -i "/tmp/convert/ntsc-1.VOB" -target film-dvd "/tmp/convert/ntsc-1.mpg" ffmpeg -i "/tmp/convert/ntsc-3.VOB" -c:v libx264 -tune film -preset slow -crf 18 -c:a copy "/tmp/convert/ntsc-ffmpeg-x264.mkv" RE: Avisynth setup under linux - Selur - 26.04.2018 Okay, I meant in Hybrid assuming you also wanted to use Hybrid, since you posted in the Hybrid-support section of the forum and not in A/V Talk,... RE: Avisynth setup under linux - zigbay03 - 26.04.2018 Hybrid can import the vob as previously so rhere is no change there, but also as before, still no avisynth filter preview is possible. Error "Avisynth preview error: wine: cannot find \root\.wine\drive_c\windows\syswow64\avsViewer.exe" RE: Avisynth setup under linux - Selur - 26.04.2018 Okay, seems like replacing slashs with backslashes was Not the right call. RE: Avisynth setup under linux - zigbay03 - 30.04.2018 Good News! The following code which I previously reported as not working, actually does work. The reason, is a hyphen right at the end which was missing apparently from the previous test that I made. Screenshot attached. /usr/bin/wine "/root/.wine/drive_c/windows/syswow64/avs2yuv.exe" "\tmp\convert\ntsc-vob-test-1a.avs" -csp I420 -o - | "/usr/bin/x264" --preset superfast --crf 18.00 --profile high --level 4.1 --ref 3 --direct auto --qcomp 0.5 --rc-lookahead 40 --partitions i4x4,p8x8,b8x8 --no-fast-pskip --me hex --subme 5 --aq-mode 0 --vbv-maxrate 62500 --vbv-bufsize 78125 --sar 1:1 --non-deterministic --range tv --colormatrix bt470bg --demuxer y4m --fps 30000/1001 --output "/tmp/14_22_11_8310_01.264" - Hybrid, lists the tools FFMPEG_32, Mplayer_32 and Mencoder_32 and I saw somewhere that apparently these may be required by Avisynth for encoding. Are these to be Linux or win32 versions?? I have FFMPEG and Mplayer in a wine folder but Hybrid refuses to save the locations of the executeables. This slightly modified version without paths to the executable also works: wine avs2yuv.exe "/tmp/convert/ntsc-vob-test-1a.avs" -csp I420 -o - | x264 --preset superfast \ --crf 18.00 --profile high --level 4.1 --ref 3 --direct auto --qcomp 0.5 --rc-lookahead 40 \ --partitions i4x4,p8x8,b8x8 --no-fast-pskip --me hex --subme 5 --aq-mode 0 --vbv-maxrate 62500 \ --vbv-bufsize 78125 --sar 1:1 --non-deterministic --range tv --colormatrix bt470bg --demuxer y4m \ --fps 30000/1001 --output "/tmp/14_22_11_8310_01.264" - For calls to tools like DGIndex however it is necessary to use the full path because it is in the avisynthPlugins folder unless wine path is configured differently. |