On 6/9/07, Thiago Costa <[EMAIL PROTECTED]> wrote: > Em Sexta 08 Junho 2007 23:41, Leo Garcia "Getz" escreveu: > > Joao Rocha Braga Filho escreveu: > > > Preciso montar rapidamente um servidor de streaming de vídeo e som. > > > > > > Alguém conhece alguma receita de bolo? Alguém já fez isto? Também > > > estou olhando no ports para ver as opções fáceis. > > > > > > > > > Grato desde já, > > > João Rocha. > > > > Vai la Rocha! > > > > Port: ffmpeg-0.4.9.p1_7 > > Path: /usr/ports/multimedia/ffmpeg > > Info: Hyper fast realtime audio/video encoder/converter, streaming server > > Maint: [EMAIL PROTECTED] > > B-deps: gettext-0.16.1_3 gmake-3.81_2 libiconv-1.9.2_2 perl-5.8.8 > > texi2html-1.76_1,1 > > R-deps: > > WWW: http://ffmpeg.sourceforge.net/ > > > > Abs! > > > > ------------------------- > > Histórico: http://www.fug.com.br/historico/html/freebsd/ > > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd > > Fiz um shellscript meia boca que faz isso: > > #!/bin/sh > > if [ $# != 2 ]; then > echo "USAGE: $0 <file> <port>" > exit 1 > fi > > while [ 1 ]; do > (cat <<EOF & cat $1) | nc -l $2 > HTTP/1.0 200 OK > Content-Type: video/mpeg > > EOF > > done > > exit 0
Este script é para uma conexão só não? Mas eu quero algo que possa transmitir ao vivo e coisas já previamente gravadas. E parece que o WMP tem problemas com mpeg: http://ffmpeg.mplayerhq.hu/ffserver-doc.html#SEC1 http://ffmpeg.mplayerhq.hu/ffserver-doc.html#TOC5 " WARNING: trying to stream test1.mpg doesn't work with WMP as it tries to transfer the entire file before starting to play. The same is true of AVI files. " João Rocha. > > > -- > THIAGO DE SOUZA COSTA > > e-mail: [EMAIL PROTECTED] > voip: 55-11-4063-5729 ou 1-503-334-0602 > jid: [EMAIL PROTECTED] > fotolog: http://fotolog.com/thiagodk > ------------------------- > Histórico: http://www.fug.com.br/historico/html/freebsd/ > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd > -- "Sempre se apanha mais com as menores besteiras. Experiência própria." [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.goffredo.eti.br ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd

