Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [libx264]

The tag has no usage guidance.

0
votes
0answers
12 views

Failed to compile x264 library for android, error description: clang:error no such file or directory

I'm tring Static compilation x264 for android. But unfortunately I failed. This is the shell script content: ANDROID_NDK=/Users/Project/devtools/android-sdk-macosx/android-ndk-r16b SYSROOT=$...
1
vote
0answers
17 views

FFmpeg Two-Pass Encoding in Android [migrated]

According to the documentation for using Two-Pass method we have to run ffmpeg twice like this: ffmpeg -y -i input -c:v libx264 -b:v 2600k -pass 1 -an -f mp4 /dev/null && \ ffmpeg -i input -c:...
0
votes
1answer
183 views

height not divisible by 2 (176x99)

I am trying to convert a .avi file into a .mp4 one using FFMPEG using the libx264 codec. This is the command I am running: ffmpeg -i filename.avi -c:v libx264 -crf 19 -strict experimental ...
0
votes
0answers
393 views

ffmpeg WebM to MP4: awful video quality

I'm trying to convert a WebM video coming from a webcam to an MP4 x264 format. I tried to use this ffmpeg command: ffmpeg -stats -nostdin -y -flags global_header -i "/home/Foto/incoming-video/2017-05-...
0
votes
1answer
2k views

ffmpeg settings for high quality youtube videos

I am trying to record short video of my desktop and upload it to youtube. The problem is that every time when I upload it to youtube or even dropbox (as video), the quality is much worse. My ffmpeg ...
1
vote
0answers
100 views

FFMPeg + x264 install. Pthreads not workng? “libpthread.a” errors

Nothing I've tried so far works. x264 is already installed. OpenSSL and FDKaac are also installed. Configure line for FFMPeg: PKG_CONFIG_PATH="$HOME/ffmpeg/lib/pkgconfig" ./configure --prefix="$...
2
votes
2answers
2k views

“height not divisible by 2” with “min”

Using this command: ffmpeg -loop 1 -r 1 -i q.jpg -t 5 -pix_fmt yuv420p -vf 'scale=-2:min(1080\,ih)' z.mp4 I get this message: [libx264 @ 00000000004d0ec0] height not divisible by 2 (954x953) I can ...
0
votes
0answers
66 views

ffmpeg libx264 optimization

Suppose I have a computer with 16 cores and a large number of videos to convert (say 100) What is the optimal number of videos to convert at one time? eg: 16 cores per video, 1 file at a time 8 ...