Log in

View Full Version : x264 lavf input


bob0r
20th April 2006, 10:51
Mr mukund (http://www.mukund.org) was so kind to come to #x264 and share us his "x264 ffmpeg input patch":
http://www.mukund.org/temp/x264-ffmpeg-3.patch requires configure fixes -lavutil -lz
http://www.mukund.org/temp/x264-ffmpeg-4.patch requires pkg-config .pc files

We should call it the "lib audio video format patch".
This patch allows you to input many formats directly into x264.

todo:
- auto detect libraries via configure
- --seek is ignored

Download test file (used patch 4): http://files.x264.nl/x264.r504.lavf.input.exe (just rename to x264.exe and yes its 3.5mb)

usage example:
x264.exe --crf 26 --analyse p8x8,b8x8,i4x4 --progress --output test.mp4 the.island.trailer.1080p.ts

Known extensions (file types) that do not work:
.pva (plays in mplayer, because mplayer has pva demuxer)

Please test!

Updated:
todo
patch 4
patch info

celtic_druid
20th April 2006, 10:54
Why not just use ffmpeg?

hellfred
20th April 2006, 12:49
Why not just use ffmpeg?
Is ffmpeg able to do multipass with x264? I have no build to test this feature right away. If ffmpeg is not able to do so, you should ask: Why not just use mencoder?
Maybe some ppl. have guis that are tuned for x264.exe cli options but not for ffmpeg/mencoder cli options? Those could benefit from not having to stream the frames via avisynth to x264 any more if they want to reencode some clips without further procssing. I would certaninly welcome such a possibility for processing my intermediat files from analog capturing. OK, i could use mencoder for that, too. But having a choice is always welcome.

Hellfred