DSP

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

2019-07-13 15:31发布

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