天嵌 ARM开发社区

 找回密码
 注册
查看: 2451|回复: 0

ffserver流媒体服务器

[复制链接]
zjhsucceed_329 发表于 2013-1-8 22:01:19 | 显示全部楼层 |阅读模式
本帖最后由 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 /]# 请问这是怎么回事?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-9-28 04:20 , Processed in 1.024453 second(s), 18 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表