亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 3843 | 回復(fù): 0
打印 上一主題 下一主題

How to stream from a file using ffserver ,ffmpeg and mplayer [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2007-07-26 12:52 |只看該作者 |倒序瀏覽
What I do is :
1. ffserver -f ffserver.conf&
2. ffmepg -r 30 -s 320x240 -an -i ~/test/dvd.avi http://localhost:8090/feed1.ffm
3. mplayer http://localhost:8090/test.asf
but the ffmpeg exit after a few seconds
==========================
Output #0, ffm, to 'http://localhost:8090/feed1.ffm':
  Stream #0.0: Audio: adpcm_ima_wav, 22050 Hz, mono, 88 kb/s
  Stream #0.1, 30.00 fps(c): Video: mpeg4, yuv420p, 320x240, q=3-31,
1024 kb/s
Stream mapping:
  Stream #0.1 -> #0.0
  Stream #0.0 -> #0.1
Press [q] to stop encoding
[mpeg4 @ 0x83347e8]rc buffer underflow
[mpeg4 @ 0x83347e8]Error at MB: 1022ime=1.9 bitrate=1185.9kbits/s
[mpeg4 @ 0x83347e8]concealing 251 DC, 251 AC, 251 MV errors
[mpeg4 @ 0x83347e8]Error at MB: 1022ime=1.9 bitrate=1185.9kbits/s
[mpeg4 @ 0x83347e8]concealing 251 DC, 251 AC, 251 MV errors
frame=  240 q=20.3 Lsize=    1044kB time=1.9 bitrate=4619.8kbits/s
video:137kB audio:20kB global headers:0kB muxing overhead 566.294376%
===============================
the problem is that the mplayer client show:
==========
...
Cache size set to 1355 KBytes
Cache fill:  0.04% (563 bytes) =====>here ,some cache had filled .!!!.
ASF file format detected.
ASF: No video stream found.
ASF: No audio stream found -> no sound.
No stream found.
=======
.
here is  the the ffserver.conf
========
Port 8090
BindAddress 0.0.0.0
MaxClients 10
MaxBandwidth 4096
CustomLog -
NoDaemon

<Feed feed1.ffm>
File /tmp/feed1.ffm
FileMaxSize 2M
ACL allow 127.0.0.1
</Feed>

<Stream test.asf>
Feed feed1.ffm
Format asf
AudioSampleRate 22050
AudioChannels 1
AudioCodec adpcm_ima_wav
VideoCodec mpeg4
VideoFrameRate 30
VideoSize 320x240
VideoBitRate 1024
VideoGopSize 15 #30
AudioBitRate 88 #64
StartSendOnKey
</Stream>

<Stream stat.html>
Format status
ACL allow localhost
ACL allow 192.168.0.0 192.168.255.255
</Stream>

<Redirect index.html>
URL http://ffmpeg.sourceforge.net/
=======

Thanks very much.
B.R.
DaVinci
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP