开发者

DSS won't stream 3GP's encoded with FFMPEG

I have setup Darwin Streaming Server which s开发者_开发知识库treams the included sample 3GP files pretty well. However when I try to encode my own 3GPs using FFMPEG and stream them, it doesn't work. (I test the streaming using VLC Player).

Here is the command I use for encoding:

ffmpeg -i test.flv -acodec aac -ar 22050 -ab 128kb -vcodec mpeg4 -b 256k -mbd 2 -flags +4mv+aic -trellis 1 -cmp 1 -y test.3gp

Do I need a special way to encode the 3gp's for streaming?


DSS has no idea about file content. So, you have to "hint" (or give an idea to the server how to stream your file) media file. You can use M4Box for hinting - http://gpac.sourceforge.net/doc_mp4box.php


On the following link you can find how to configure a DSS server

http://www.howtoforge.com/apples-darwin-streaming-server-on-centos-5.2

The second page describe how to convert files with FFMPEG and MP4 creator to hint the vodeo to be streamed. The link can be find at the bottom of the page before the comments.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜