Questions tagged [libx264]

9 questions
11
votes
1 answer

What is the different of h264 and libx264

I notice there is argument available for --enable-encoder=h264,libx264 suppose I am converting the video looselessly Which one default ffmpeg will use? h264 or libx264? And how about the quality different beteen this 2? I don't care about file size…
Med Lexo
  • 131
6
votes
3 answers

"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 avoid the error like this: ffmpeg -loop 1 -r 1 -i…
Zombo
  • 1
3
votes
1 answer

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-01-122614.webm" -c:v libx264 -preset slower -crf…
liv913
  • 53
2
votes
1 answer

FFMpeg Segment MP4 Negative Audio PTS

I'm trying to split an mp4 file into segments and each segment should start with near to zero a/v pts. I'm also re-encoding the mp4 file for different bitrates. This is the command I used; ffmpeg -i "input.mp4" -c:a libfdk_aac -b:a 128k -c:v libx264…
2
votes
1 answer

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 execution: ffmpeg -f x11grab -s 1366x768 -r 30…
pb.
  • 167
  • 2
  • 7
1
vote
1 answer

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 filenameAvi.mp4 I sometimes get the following…
1
vote
0 answers

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="$HOME/ffmpeg" --extra-cflags="-I$HOME/ffmpeg/include"…
0
votes
0 answers

How to enable libx264 in ffmpeg in openwrt

when I run 'ffmpeg -encoders=libx264', it shows: Unknown encoder 'libx264' I have installed 'ffmpeg' on Openwrt. How i can enable this. Please guide me
0
votes
0 answers

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 cores per video, 2 files at a time 4 cores per video,…
aCuria
  • 691