Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
9th June 2018, 00:52 | #1 | Link |
Registered User
Join Date: Jul 2016
Posts: 5
|
AviSynth pipe to Linux ffmpeg?
I'm trying to my avs expose scripts to ffmpeg so I could encode them to vp9 video on linux.
I've tried using avs2pipemod, but ffmpeg can't seem to detect/understand the video data being piped so either it's not supposed to work through Wine and pipe video data to ffmpeg, or I'm doing something wrong. I've also seen that avs2yuv can be used for this, but I wanted to be able to encode RGB video. Does anyone know of any alternatives? Or perhaps a way to encode my avs scripts to VP9 video under Wine? |
9th June 2018, 06:37 | #2 | Link | |||
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,259
|
Never tried avs2pipemod, but I can confirm that avs2yuv works fine (with YV12, YV16, YV24).
Quote:
Also you did read this from the help of avs2pipemod? Quote:
Quote:
Cu Selur Ps.: may be switch to Vapoursynth and drop wine,.. |
|||
9th June 2018, 11:27 | #3 | Link | |||
Registered User
Join Date: Jul 2016
Posts: 5
|
Quote:
Code:
$ wine ~/.wine/drive_c/avs2pipemod.exe -rawvideo ./test.avs | ffmpeg -i pipe: -c:v libvpx-vp9 -lossless 1 output.webm [...] avs2pipemod[info]: writing 3438 frames of 1920x1080 BGR-packed-8bit rawvideo. pipe:: Invalid data found when processing input avs2pipemod[info]: finished, wrote 0 frames [0%]. avs2pipemod[info]: total elapsed time is 0.160 sec. avs2pipemod[error]: only wrote 0 of 3438 frames. Quote:
Quote:
I think I'll go down this path, thanks. |
|||
9th June 2018, 14:06 | #4 | Link | |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,259
|
Quote:
If you feed ffmpeg with raw video you need set resolution, format, etc. before the input otherwise how should ffmpeg know what that data is that you feed to it. something similar to: Code:
.. | ffmpeg -pix_fmt yuv422p -s 640x352 -f rawvideo -i - ... Last edited by Selur; 9th June 2018 at 14:10. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|