|
本帖最后由 zjhsucceed_329 于 2013-1-8 22:01 编辑
我移植好ffmpeg后
执行
[root@tq2440 /]# ffserver -f /etc/ffserver.conf &
[root@tq2440 /]# ffserver version 1.1 Copyright (c) 2000-2013 the FFmpeg developers
built on Jan 8 2013 20:23:07 with gcc 4.4.3 (ctng-1.6.1)
configuration: --prefix=/home/work/ffmpeg-1.1/install --arch=armv4t --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-runtime-cpudetect --cross-prefix=arm-linux- --target-os=linux --enable-gpl --enable-static --disable-debug --disable-stripping --disable-ffplay --enable-libx264 --extra-cflags=-I/home/work/x264-snapshot-20121228-2245/install/include --extra-ldflags=-L/home/work/x264-snapshot-20121228-2245/install/lib
libavutil 52. 13.100 / 52. 13.100
libavcodec 54. 86.100 / 54. 86.100
libavformat 54. 59.106 / 54. 59.106
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 32.100 / 3. 32.100
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
/etc/ffserver.conf:360: ACL refers to invalid host or ip address 'localhost'
Tue Jan 8 21:58:35 2013 FFserver started.
[root@tq2440 /]# ffmpeg -i test.flv http://localhost:8090/feed1.ffm
ffmpeg version 1.1 Copyright (c) 2000-2013 the FFmpeg developers
built on Jan 8 2013 20:23:07 with gcc 4.4.3 (ctng-1.6.1)
configuration: --prefix=/home/work/ffmpeg-1.1/install --arch=armv4t --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-runtime-cpudetect --cross-prefix=arm-linux- --target-os=linux --enable-gpl --enable-static --disable-debug --disable-stripping --disable-ffplay --enable-libx264 --extra-cflags=-I/home/work/x264-snapshot-20121228-2245/install/include --extra-ldflags=-L/home/work/x264-snapshot-20121228-2245/install/lib
libavutil 52. 13.100 / 52. 13.100
libavcodec 54. 86.100 / 54. 86.100
libavformat 54. 59.106 / 54. 59.106
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 32.100 / 3. 32.100
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Input #0, flv, from 'test.flv':
Metadata:
metadatacreator : iku
hasKeyframes : true
hasVideo : true
hasAudio : true
hasMetadata : true
canSeekToEnd : false
datasize : 9972954
videosize : 8614051
audiosize : 1314231
lasttimestamp : 306
lastkeyframetimestamp: 305
lastkeyframelocation: 9953050
Duration: 00:05:05.62, start: 0.000000, bitrate: 261 kb/s
Stream #0:0: Video: h264 (High), yuv420p, 448x336 [SAR 1:1 DAR 4:3], 224 kb/s, 15 tbr, 1k tbn, 30 tbc
Stream #0:1: Audio: aac, 44100 Hz, stereo, fltp, 32 kb/s
[tcp @ 0x1244d20] Failed to resolve hostname localhost: Temporary failure in name resolution
http://localhost:8090/feed1.ffm: Input/output error
[root@tq2440 /]# 请问这是怎么回事?
|
|