Log in

View Full Version : AviSynth / Linux


bnshrdr
8th August 2009, 23:56
I tried to search and didn't come up with any helpful results.

What I am trying to do is encode some videos with x264 and as you all know, it only likes input of either YUV4MPEG 4:2:0 or an AviSynth script.

With ffmpeg, i can convert my video to YUV4MPEG 4:2:0, but it is about 1 GB for every 30 seconds of video; not so doable with my longer videos.

I know that AviSynth 3.0 was released for linux, but the link on the website for the binaries are down, and I am having trouble compiling the source (saying my nasm is too old even though it is the newest).

Here is what I am asking
If there is an active group maintaining an AviSynth alternative, a way to get AviSynth compiled, or any other solution!

Thanks!!!

Edit: Also, I am not a fan of Wine.

thewebchat
9th August 2009, 00:02
Well, suck it up, because you'll have to either use AviSynth/x264 in Windows or use STDIN/STDOUT.

bnshrdr
9th August 2009, 00:15
What do you mean by stdin/stdout? Like piping the data through something?

Edit: Oh got it, haha, clever. Thanks. I didn't even think of that.

Problem is I tried that, and to describe what I get, I get an almost side scrolling color distorted movie.

Am I doing this right?
ffmpeg -i part.vob -an -f yuv4mpegpipe - | x264 --qp 10 - -o out.264 720x480
Same results if I tell x264 --fps and --sar

Edit #2: Okay, I get better results when I use rawvideo instead of yuv4mpegpipe, but the video is still in slow motion. Any ideas?

thewebchat
9th August 2009, 00:44
--fps

bnshrdr
9th August 2009, 00:53
The source video is 23.97 fps and I have specified --fps 23.97 and --fps 24 and it is still in slow motion.

Edit: Ah figured it out. ffmpeg wasn't preserving the frame rate and changed it to 59.94 fps. Thanks!