You are not logged in.
Pages: 1
Due to the fact that the x264 package in the repositories was built without AVIS support, I found myself needing to compile it myself.
Firstly, I tried to copy the build tree from the abs, and just modify the PKGBUILD. When building the package, the build fails. Here are the last four lines of output, which I presume are the ones relevant to the failure.
11R6/lib -lX11 -lm -lpthread -lvfw32 -s
/usr/bin/ld: cannot find -lvfw32
collect2: ld returned 1 exit status
make: *** [libx264.so.65] Error 1
Because of this, I tried to compile it from GIT (I actually made my own PKGBUILD for this), but it still fails at the make step, with the same error. The aforementioned PKGBUILD works fine up until that point, and I believe it will work once I've sorted out this problem, so don't hesitate to ask for it.
And just in case, I tried compiling it by hand, from git, and it still fails.
These are the flags I've been using to configure:
./configure --prefix=/usr/local --enable-pthread --enable-visualize --enable-shared --enable-avis-input --enable-pic
The package builds fine without the --enable-avis-input flag, but the whole reason I'm compiling it is to enable AVIS support.
Offline
Win32 only:
x264 > ./configure --help | grep avis
--disable-avis-input disables avisynth input (win32 only)
Offline
You can't have AviSynth support in Linux is why. If you (like me) really want AviSynth, there are solutions, namely avsproxy and avs2yuv. They do not require AviSynth support in x264, as x264 will just be reading YUV data provided to it.
And also, why are you doing --enable-pic? This will only slow x264, and is only useful for debugging purposes. Yeah, I know the x264 PKGBUILD uses it... I need to let them know...
EDIT: I may be wrong, --enable-pic may be necessary for dynamic libs... let me check...
Last edited by Ranguvar (2008-11-19 03:31:11)
Offline
I see, Win32 only.
I just demuxed an OGM, with ogmdemux, and the resulting video file was an avi, would avsproxy or avs2yuv convert this resulting avi into a format readable by x264?
Offline
I see, Win32 only.
I just demuxed an OGM, with ogmdemux, and the resulting video file was an avi, would avsproxy or avs2yuv convert this resulting avi into a format readable by x264?
avi files and AviSynth files are different things. Most avi files can be re-encoded with x264 through mencoder (from Mplayer), FFmpeg, or VLC. For that matter, using the original ogm files will work too.
Offline
AviSynth is a scripting language / framework for doing advanced filtering of audio and video of all types Not necessary at all for simple conversions.
Offline
Hmmm, it seems I have a little research to do.
I have an ogm, with one DivX video track, three Vorbis audio tracks, and two .srt subtitle tracks.
I want to convert the DivX track to H.264, and remux the whole lot into a Matroska container.
Anybody feel like giving me a hit, or a link to a guide regarding my problem?
Offline
DivX is not a format, it is a codec (encoder/decoder). The format is MPEG-4 ASP. But anyways...
I am not very experienced (yet!) with Linux multimedia tools. My process in Windoze would be to open the input in AviSynth, and use x264 to re-encode the video. I would use OGMTools to demux the other streams, and then mux to Matroska with MKVToolnix.
Since I believe the latter two apps are available on Linux, the problem is just the encoding. You could set up a Wine AviSynth solution, and that would give you oodles more power. AviDemux would work, Linux-native. It doesn't expose as many x264 options as I'd like, but it'll do for 99% of people. mencoder and ffmpeg are also worth looking into, as well as their GUIs. You could also use mencoder or ffmpeg to open the OGM and pipe the video as YUV to x264, this way staying all in Linux. mencoder has a good number of filters, too, enough for basic stuff, though not nearly the hundreds for AviSynth.
Offline
Anybody feel like giving me a hit, or a link to a guide regarding my problem?
Hint: mkvtoolnix
Offline
Yeah, I've got mkvtoolnix, know (vaguely) how to use it.
I'll look at mencoder and ffmpeg, they sound like the easiest solution.
Offline
Yeah, I've got mkvtoolnix, know (vaguely) how to use it.
I'll look at mencoder and ffmpeg, they sound like the easiest solution.
Mencoder has better support for subtitles. I only use FFmpeg so I'm not going to be much help here.
Offline
All right, thanks for all the help.
Offline
Pages: 1