Marc Manthey
2007-Oct-19 14:40 UTC
[Icecast] Live Streaming and embeding into webpage on OSX
hello free streamers, after i had not much luck with " Darwin streaming server" ( because of a lack of NAT implementation ) i got a hint from a Wireless mailing list to try OGG/Theora streaming. I ?ve found a great site here <http://www.oddsock.org/guides/video.php> and downloadet and installed "icecast" and the theora libs with success on my macintosh mini , after i want to go forward i have some questions , because i am not that experienced with commandline stuff and compiling , but i am willing to learn. :-P My goal is i want to install a " live video streaming server " on one of my macintosh with OSX behind a NAT Then i want to embed the stream into a webpage with the "cortado java plugin" <http://www.flumotion.net/cortado/>. Is there a way to capture video from a camera or build in tv card and use it as a source ? Are there any people on macintosh that have done this with success ? i dont know what i can do with this line > % grabfromwebcam | ffmpeg2theora - -o /dev/stdout | ezstream -c ezstream_stdin.xml thanks for any hints and pointers marc -- "Imagination is more important than Knowledge". http://www.let.de READY FOR A CHANGE http://int.piratenpartei.de/List_of_Pirateparties -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/icecast/attachments/20071019/79903ce0/attachment.html
Thomas B. Ruecker
2007-Oct-20 00:36 UTC
[Icecast] Live Streaming and embeding into webpage on OSX
Marc Manthey schrieb:> hello free streamers, > > after i had not much luck with " Darwin streaming server" ( because of > a lack of NAT implementation ) > > i got a hint from a Wireless mailing list to try OGG/Theora streaming. > > I ?ve found a great site here <http://www.oddsock.org/guides/video.php> > > and downloadet and installed "icecast" and the theora libs with > success on my macintosh mini , > after i want to go forward i have some questions , > because i am not that experienced with commandline stuff and compiling > , but i am willing to learn. :-P > > My goal is i want to install a " live video streaming server " on one > of my macintosh with OSX behind a NATThere is no way around this: you will have to forward one TCP port from the NAT-box to the box where icecast is running. Usually this is not a problem if you have access to the NAT box configuration.> Then i want to embed the stream into a webpage with the "cortado java > plugin" <http://www.flumotion.net/cortado/>.I'm not sure if this works with icecast but chances are it does.> Is there a way to capture video from a camera or build in tv card and > use it as a source ? Are there any people on macintosh that have done > this with success ?Didn't try this on OSX. You might want to check if VLC can capture those sources on OSX. If it does you're almost there. Either you can use vlc to stream that to icecast or find a different tool that grabs those sources.> i dont know what i can do with this line > > > % grabfromwebcam | ffmpeg2theora - -o /dev/stdout | ezstream -c > ezstream_stdin.xmlI guess "grabfromwebcam" means you are supposed to find an commandline application that can capture your source and feed it into a pipe towards ffmpeg2theora. hth Thomas PS: You could also try and join #icecast on the freenode IRC network.
Marc Manthey
2007-Oct-20 05:13 UTC
[Icecast] Live Streaming and embeding into webpage on OSX
On Oct 20, 2007, at 9:34 AM, Thomas B. Ruecker wrote:> Marc Manthey schrieb: >> hello free streamers, >> >> after i had not much luck with " Darwin streaming >> server" ( because of a lack of NAT implementation ) >> >> i got a hint from a Wireless mailing list to try OGG/Theora >> streaming. >> >> I ?ve found a great site here <http://www.oddsock.org/guides/ >> video.php> >> >> and downloadet and installed "icecast" and the theora libs with >> success on my macintosh mini , >> after i want to go forward i have some questions , >> because i am not that experienced with commandline stuff and >> compiling , but i am willing to learn. :-P >> >> My goal is i want to install a " live video streaming server " on >> one of my macintosh with OSX behind a NAThi thomas. all guess i should workout the NAT stuff without problems , but i run into another issue i installed "icecast" with "darwin ports" on osx after ./configure make make install mini:/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_i cecast2/work/icecast-2.3.1 mini$ make make all-recursive Making all in src Making all in avl make[3]: Nothing to be done for `all'. Making all in thread make[3]: Nothing to be done for `all'. Making all in httpp make[3]: Nothing to be done for `all'. Making all in net make[3]: Nothing to be done for `all'. Making all in log make[3]: Nothing to be done for `all'. Making all in timing make[3]: Nothing to be done for `all'. source='auth_url.c' object='auth_url.o' libtool=no \ depfile='.deps/auth_url.Po' tmpdepfile='.deps/auth_url.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -ffast-math -fsigned-char -I/ usr/include/libxml2 -I/opt/local/include -D_THREAD_SAFE -I/opt/local/ include -O2 -c `test -f 'auth_url.c' || echo './'`auth_url.c auth_url.c: In function 'auth_get_url_auth': auth_url.c:521: error: 'CURLOPT_PASSWDFUNCTION' undeclared (first use in this function) auth_url.c:521: error: (Each undeclared identifier is reported only once auth_url.c:521: error: for each function it appears in.) auth_url.c: At top level: auth_url.c:534: fatal error: opening dependency file .deps/ auth_url.TPo: Permission denied compilation terminated. make[3]: *** [auth_url.o] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 marc-mantheys-mac-mini:/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_i cecast2/work/icecast-2.3.1 mini$ make install Making install in src Making install in avl make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making install in thread make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making install in httpp make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making install in net make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making install in log make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making install in timing make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. source='auth_url.c' object='auth_url.o' libtool=no \ depfile='.deps/auth_url.Po' tmpdepfile='.deps/auth_url.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -ffast-math -fsigned-char -I/ usr/include/libxml2 -I/opt/local/include -D_THREAD_SAFE -I/opt/local/ include -O2 -c `test -f 'auth_url.c' || echo './'`auth_url.c auth_url.c: In function 'auth_get_url_auth': auth_url.c:521: error: 'CURLOPT_PASSWDFUNCTION' undeclared (first use in this function) auth_url.c:521: error: (Each undeclared identifier is reported only once auth_url.c:521: error: for each function it appears in.) auth_url.c: At top level: auth_url.c:534: fatal error: opening dependency file .deps/ auth_url.TPo: Permission denied compilation terminated. make[2]: *** [auth_url.o] Error 1 make[1]: *** [install-recursive] Error 1 make: *** [install-recursive] Error 1 marc-mantheys-mac-mini:/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_i cecast2/work/icecast-2.3.1 mini$ sudo make install Password: Making install in src Making install in avl make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making install in thread make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making install in httpp make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making install in net make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making install in log make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making install in timing make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. source='auth_url.c' object='auth_url.o' libtool=no \ depfile='.deps/auth_url.Po' tmpdepfile='.deps/auth_url.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -ffast-math -fsigned-char -I/ usr/include/libxml2 -I/opt/local/include -D_THREAD_SAFE -I/opt/local/ include -O2 -c `test -f 'auth_url.c' || echo './'`auth_url.c auth_url.c: In function 'auth_get_url_auth': auth_url.c:521: error: 'CURLOPT_PASSWDFUNCTION' undeclared (first use in this function) auth_url.c:521: error: (Each undeclared identifier is reported only once auth_url.c:521: error: for each function it appears in.) make[2]: *** [auth_url.o] Error 1 make[1]: *** [install-recursive] Error 1 then start with # icecast -b -c /conf/icecast.xml does not do anything <http://localhost:8000/> sorry if this sound like a "beginner" problem thanks again marc> hth > > Thomas > > PS: You could also try and join #icecast on the freenode IRC network.