Newest 'x264' Questions - Stack Overflow
Les articles publiés sur le site
-
error while compiling x264 in linux
14 avril 2011, par kartulHey all I'm trying to compile x264 under linux (x64). But it keeps throwing me an error. I've googled around but found nothing. Here's the commandline history:
spin@around:~/x264$ git clone git://git.videolan.org/x264.git Cloning into x264... remote: Counting objects: 13539, done. remote: Compressing objects: 100% (4416/4416), done. remote: Total 13539 (delta 11005), reused 11225 (delta 9082) Receiving objects: 100% (13539/13539), 3.29 MiB | 2.79 MiB/s, done. Resolving deltas: 100% (11005/11005), done. spin@around:~/x264/x264$ ./configure Found no assembler Minimum version is yasm-0.7.0 If you really want to compile without asm, configure with --disable-asm. spin@around:~/x264/x264$ ./configure --disable-asm Platform: X86_64 System: LINUX asm: no avs: no lavf: no ffms: no gpac: no gpl: yes thread: posix filters: crop select_every debug: no gprof: no PIC: no shared: no visualize: no bit depth: 8 You can run 'make' or 'make fprofiled' now. spin@around:~/x264/x264$ make gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -s -fomit-frame-pointer -fno-tree-vectorize -c -o x264.o x264.c In file included from common/common.h:864, from x264.c:33: common/rectangle.h: In function āx264_macroblock_cache_rectā: common/rectangle.h:84: error: āv4siā undeclared (first use in this function) common/rectangle.h:84: error: (Each undeclared identifier is reported only once common/rectangle.h:84: error: for each function it appears in.) common/rectangle.h:84: error: expected ā;ā before āv16ā common/rectangle.h:86: error: ā__m128ā undeclared (first use in this function) common/rectangle.h:86: error: expected ā;ā before āv16ā common/rectangle.h:87: error: expected ā;ā before āv16ā common/rectangle.h:89: error: expected ā;ā before āv16ā common/rectangle.h:90: error: expected ā;ā before āv16ā make: *** [x264.o] Error 1 spin@around:~/x264/x264$
and here is the file, from line 83 to 91:
#if HAVE_VECTOREXT && defined(__SSE__) v4si v16 = {v,v,v,v}; M128( d+s*0+0 ) = (__m128)v16; M128( d+s*1+0 ) = (__m128)v16; if( h == 2 ) return; M128( d+s*2+0 ) = (__m128)v16; M128( d+s*3+0 ) = (__m128)v16; #else
-
open source examples of use of x264 lib with directshow mobile ?
6 avril 2011, par BlenderWhere to find open source examples of use of x264 (or any other h264 encoding lib) with directshow on windows mobile? (for example to record video from camera in the mobile phone where h264 is not supported by default into h264)
-
mencoder -> x264 : FPS problem : Video is 2x faster at the output
28 mars 2011, par Julien PalardI got an input video, ffmpeg says about it : 29.96FPS 59.75 tbr 1k tbn 59.83 tbc My process to encode is :
$ mencoder input_video -vf dsize=480:320:0,scale=0:0,expand=480:320,dsize=1.5,format=i420 -of rawvideo -ofps 25 -ovc raw -nosound -o output.yuv $ x264 input_video --profile baseline --fps 25 [blahblah] -o output $ MP4Box -add output.yuv -fps 25 output.mp4
Im'simplificating a lot here to let you parse less as I'm encoding the audio apart and merging the result using mp4box.
ffmpeg -i output says that the vid is : 25 FPS 25 tbr 25 tbn 50 tbc
And while playing the video, the audio is normal, the video is 2x faster than input, so the video ends at the half of the audio track (compared to the input, the audio is good, it's just the video running 2x faster)
Any idea about my problem ?
-
video streaming - mp4 file (x264) - and skip to location
14 mars 2011, par RaoulPreviously I was using apache to serve .flv files which an embedded player on an intranet page was playing.
Is it possible to stream mp4 files (x264 encoded) in a similar manner? Are there any open source scripts/solutions for doing proper streaming (e.g. people can skip to skip to a part of the video without having to download the parts they've skiped over)?
If anyone is doing someting similar I'd love to hear from them
Thanks
-
redhat - compile ffmpeg - how to link with liblame/x264 when they're installed locally
23 février 2011, par RaoulI've managed to install ffmpeg, a basic build using
./configure --disable-debug --disable-network --disable-ffserver --disable-ffplay --prefix=/export/home/userid/bin/ffmpeg
Now I've installed liblame and x264 to /export/home/userid/bin and tried to compile ffmpeg as follows:
./configure --disable-debug --disable-network --disable-ffserver --disable-ffplay --prefix=/export/home/userid/bin/ffmpeg --enable-libmp3lame --enable-libx264 --enable-gpl
And I get the error
ERROR: libmp3lame not found
How can I tell configure to look for things in /export/home/bin?
Thanks