ffmpeg ffmpeg 音频采集发送命令,以及播放的结果-----错误

本文介绍了使用FFserver进行音视频流服务配置的过程,并展示了如何通过ffserver与ffmpeg结合使用来实现音视频流的推送。文章中包含了具体的命令行操作实例,如配置文件的编辑、服务启动等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

sudo gedit ffserver.conf
[sudo] password for huzia:
huzia@huzia-laptop:~/ffmpeg$ ffserver -f ffserver.conf & ffmpeg -f oss -i /dev/dsp http://192.168.0.1:8090/feed1.ffm
FFserver version git-60ff1c3, Copyright (c) 2000-2010 the FFmpeg developers
built on Apr 21 2010 20:39:20 with gcc 4.3.3
configuration:
libavutil 50.14. 0 / 50.14. 0
libavcodec 52.66. 0 / 52.66. 0
libavformat 52.61. 0 / 52.61. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.10. 0 / 0.10. 0
[1] 32232
FFmpeg version git-60ff1c3, Copyright (c) 2000-2010 the FFmpeg developers
built on Apr 21 2010 20:39:20 with gcc 4.3.3
configuration:
libavutil 50.14. 0 / 50.14. 0
libavcodec 52.66. 0 / 52.66. 0
libavformat 52.61. 0 / 52.61. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.10. 0 / 0.10. 0
[oss @ 0x8d9e420]Estimating duration from bitrate, this may be inaccurate
Input #0, oss, from '/dev/dsp':
Duration: N/A, start: 1272498302.174061, bitrate: N/A
Stream #0.0: Audio: pcm_s16le, 44100 Hz, 1 channels, s16, 705 kb/s
http://192.168.0.1:8090/feed1.ffm: Input/output error
huzia@huzia-laptop:~/ffmpeg$ Thu Apr 29 07:45:02 2010 FFserver started.
Thu Apr 29 07:45:32 2010 Codec for stream 0 does not use global headers but container format requires global headers
Thu Apr 29 07:45:32 2010 Codec for stream 1 does not use global headers but container format requires global headers
Thu Apr 29 07:45:32 2010 192.168.0.110 - - [GET] "/test.asf HTTP/1.1" 200 1010
Thu Apr 29 07:45:32 2010 Codec for stream 0 does not use global headers but container format requires global headers
Thu Apr 29 07:45:32 2010 Codec for stream 1 does not use global headers but container format requires global headers
Thu Apr 29 07:45:32 2010 192.168.0.110 - - [GET] "/test.asf HTTP/1.1" 200 1010

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值