[FFmpeg-user] debian and h264

Joana Moll joanamoll at gmail.com
Thu May 24 10:29:20 CEST 2012


I have a question regarding the use of h264 in a Debian server.
My server provider told me that libx264 is not stable in Debian, so instead
they've installed h264. As far as I'm concerned, libx264 and h264 are the
same, am I wrong?

The following command that it worked perfectly in a Freebsd server, it's
not working on a Debian one.  They say that I should use another codec that
is not h264 although it's installed (?), so I feel they are confused.

So what's the correct way to declare  -vcodec libx264 in Debian then?

$output=runExternal($ffmpeg_path."ffmpeg -y -r 7 -i ".$servpath."img%d.jpg
-r 7 -b 1000K -vcodec libx264 -flags +loop -me_method hex -g 250 -qcomp 0.6
-qmin 10 -qmax 51 -qdiff 4 -bf 3 -b_strategy 1 -i_qfactor 0.71 -cmp +chroma
-subq 8 -me_range 16 -coder 1 -sc_threshold 40 -flags2
+bpyramid+wpred+mixed_refs+dct8x8+fastpskip -keyint_min 25 -refs 3 -trellis
1  -directpred 1 -partitions -parti8x8-parti4x4-partp8x8-partp4x4-partb8x8
-threads 0 -y ".$servpath."video.mp4


Joana Moll
joanamoll at gmail.com

More information about the ffmpeg-user mailing list