This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Avisynth setup under linux
#61
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" -
in a command line?
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" -
work?
Reply
#62
Sorry, both fail see attached


Attached Files Thumbnail(s)
       
Reply
#63
ARGH,.... seems like the current package contains an older avs2yuv binary.
Redownload avisynthExtension_180310 (I updated the package) and try again.

Cu Selur
Reply
#64
Finally it works !


Attached Files Thumbnail(s)
   
Reply
#65
Does opening the source file (not the avs script) now work as it should too?
Reply
#66
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"


Attached Files Thumbnail(s)
       
Reply
#67
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,...
Reply
#68
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"
Reply
#69
Okay, seems like replacing slashs with backslashes was Not the right call.
Reply
#70
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.


Attached Files Thumbnail(s)
       
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)