[FFmpeg-user] how to include h264 support for ffserver (Unknown VideoCodec: h264)

Soho Soho123 soho123.2012 at gmail.com
Wed Mar 20 09:40:12 CET 2013


> You don't have to include libx264 to decode h264
> (x264 does not contain a h264 decoder), if you
> want to encode to h264, you have to include
> libx264 into your FFmpeg build.
>
>

then, in ffserver.conf,
"Videocodec h264", as my understanding, it means : tell ffserver the
encoder that video data used, right?

and ,
"Format asf", it means : tell ffserver to mux video data in asf format
then send out to remote client, right?

So,
my problem,  the output below:
I can see h264 has been include, but it still can not work.
Do you have idea?
# ffmpeg -codecs|grep 264
ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers
  built on Mar 20 2013 15:33:55 with gcc 4.4.5-1.5.5p4 (GCC)
  configuration: --enable-cross-compile --cross-prefix=sdk-linux-
--arch=mips --target-os=linux --disable
-doc --disable-htmlpages --disable-manpages --disable-podpages
--disable-txtpages --disable-mips32r2 --dis
able-ffplay --disable-postproc --disable-runtime-cpudetect
--disable-swscale-alpha --disable-mipsdspr1 --d
isable-mipsdspr2 --disable-mipsfpu --enable-small
--prefix=/ffmpeg/romfs --bindir=/ffmpeg/romfs --disable-bsfs
--disable-filters --enable-filter='aformat,aresample,copy
,format,fps,framestep,resample' --disable-encoders
--enable-encoder=h264 --enable-encoder=yuv4 --enable-en
coder=mjpeg --disable-decoders --enable-decoder=mjpeg
--enable-decoder=h264 --enable-decoder=mpegvideo --e
nable-decoder=mpeg2video --enable-decoder=yuv4 --disable-hwaccels
--disable-muxers --enable-muxer=ffm --en
able-muxer=avi --enable-muxer=asf --enable-muxer=asf_stream --enable-
libavutil      52. 18.100 / 52. 18.
100
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.104 / 54. 63.104
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 42.103 /  3. 42.103
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
 D.V.LS h264


More information about the ffmpeg-user mailing list