Newest 'x264' Questions - Stack Overflow
Les articles publiés sur le site
-
Trying to compile x264 on Synology DiskStation with PowerPC
7 septembre 2014, par CE70I'm trying to compile x264 on a Synology NAS (DS413) with powerpc cpu (e500v). However, when I try to run the configure - script, the following error occurs (in the config.log):
checking whether gcc works... no Failed commandline was: -------------------------------------------------- gcc conftest.c -Wall -I. -I$(SRCPATH) -maltivec -mabi=altivec -lm -o conftest conftest.c:1: error: AltiVec and E500 instructions cannot coexist -------------------------------------------------- Failed program was: -------------------------------------------------- int main (void) { return 0; } -------------------------------------------------- DIED: No working C compiler found.
I'm 100% certain that gcc is installed and that it works. I've googled the error and it seems that this was a bug in the configure script which should have been fixed already: link. It has something to do with altivec not present in the ppc hardware or something. The script should recognise this, but unfortunately it doesn't recognize it in my case. The x264 I tried to compile is the most recent one (cloned directly from github).
The error shows up regardless of which configuration-flags I set (I tried different ones, e.g. --prefix=/opt --enable-shared --disable-asm). I also tried to modify the configuration script with sed, i.e. changing this line:
CFLAGS="$CFLAGS -maltivec -mabi=altivec"
to simply:
CFLAGS="$CFLAGS"
but then I get this error:
checking whether gcc works... no Failed commandline was: -------------------------------------------------- gcc conftest.c -Wall -I. -I$(SRCPATH) -lm -o conftest /opt/lib/gcc/powerpc-linux-gnuspe/3.4.6/../../../../powerpc-linux-gnuspe/lib/li$ /opt/lib/gcc/powerpc-linux-gnuspe/3.4.6/../../../../powerpc-linux-gnuspe/lib/li$ /opt/lib/gcc/powerpc-linux-gnuspe/3.4.6/../../../../powerpc-linux-gnuspe/lib/li$ /opt/lib/gcc/powerpc-linux-gnuspe/3.4.6/../../../../powerpc-linux-gnuspe/lib/li$ /opt/lib/gcc/powerpc-linux-gnuspe/3.4.6/../../../../powerpc-linux-gnuspe/lib/li$ /opt/lib/gcc/powerpc-linux-gnuspe/3.4.6/../../../../powerpc-linux-gnuspe/lib/li$ collect2: ld returned 1 exit status -------------------------------------------------- Failed program was: -------------------------------------------------- int main (void) { return 0; } -------------------------------------------------- DIED: No working C compiler found.
Any help on how to compile it would be greatly appreciated!
-
Is there an easy way to use x264 presets with ffmpeg in code ?
29 août 2014, par NiorehI'm trying to encode video with ffmpeg and x264. I know ffmpeg can use x264 presets when using the program ffmpeg from command line. But is it possible to easily use these presets when encoding with ffmpeg in code?
If not, what is the best way to set the x264 parameters from ffmpeg code? Is it just using the properties of the AVCodecContext? Are all the x264 options available through this?
Thank you!
-
mp4 with pixel format yuvj420p won't play in Chrome 17, but plays in Safari, IE etc
21 août 2014, par marcaFile is from a Nikon D3s (mov) converted with ffmpeg to mp4. Working without problems with all other files (avi, flv, mp4 etc)
Please see file: http://shootitlive.s3.amazonaws.com/output.mp4 (Same non working result in Chrome when served from diffrent hosts, and always works in Safari and with flash in Firefox, Chromium)
/usr/local/bin/ffmpeg -i nonworking.MOV -acodec libfaac -ab 128k -vcodec libx264 -preset slow -crf 30 -threads 0 -s 768x576 -aspect 1.33333333333 -ar 48000 output.mp4
Cant find anything strange with (but dont really know what to look for):
ffmpeg -v 5 -i filename -f null - 2>error.log`
Any ideas?
-
Is ffmpeg a good upscaler from SD to HD ? [closed]
15 août 2014, par user3928079Is ffmpeg a good upscaler to convert SD videos to HD?
I use the AVANTI GUI. I installed it and put the ffmpeg and ffplay exe into the folder ffmpeg in the program folder. What I know is that you can only preserve the detail when you upscale from SD to HD. You don't really gain any additional information. TV companies like Samsung, Sony, LG, Panasonic, Sharp, and others refuse to think so and push the boundaries of upscaling so that additional information can be added when the image is upscaled from SD to HD and HD to 4K and so on and so forth. I've run a test through the AVANTI ffmpeg GUI.
Codec: XVID to H.264 Bitrate: 1640 kbps to 6000 kbps Resolution: 640x480 to 1440x1080 Format: AVI to M4V Audio Codec: AC3 to AAC Audio Bitrate: 192 kbps Audio Frequency: 48000 Hz Upscale method: Spline
Will this upscale method work in any way with converting SD video to HD video. There's a lot of SD content out that haven't made the transition to, or probably never will be, HD.
-
Extraction audio from video using avconv [on hold]
15 août 2014, par AMoadiI want to extract audio of a video file and process the video frames and after that combine the extracted audio with the processed frames to a video file. I examine some solutions like
Avisynth
,x264
, andavconv
. But non of them could solve my problem. Is there any solution?