Selur's Little Message Board

Full Version: Avisynth setup under linux
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8
What happens if you call:
Code:
/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" -
in a command line?
Does:
Code:
/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" -
work?
Sorry, both fail see attached
ARGH,.... seems like the current package contains an older avs2yuv binary.
Redownload avisynthExtension_180310 (I updated the package) and try again.

Cu Selur
Finally it works !
Does opening the source file (not the avs script) now work as it should too?
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"
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,...
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"
Okay, seems like replacing slashs with backslashes was Not the right call.
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.
Pages: 1 2 3 4 5 6 7 8