Web radio: Difference between revisions

From Federal Burro of Information
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
== Notes ==
<pre>
<pre>


Line 25: Line 27:
http://ffmpeg.org/trac/ffmpeg/ticket/1199
http://ffmpeg.org/trac/ffmpeg/ticket/1199


how will they listen?
</pre>
1. via the web page
 
2. streaming media player
== how will they listen?==
3. mobile device. (html5 app )
 
# via the web page
# streaming media player
# mobile device. (html5 app )
 
<pre>


http://ffmpeg.org/trac/ffmpeg/wiki/StreamingGuide
http://ffmpeg.org/trac/ffmpeg/wiki/StreamingGuide
Line 40: Line 47:


./ffmpeg -re -f lavfi -i aevalsrc="sin(400*2*PI*t)" -ar 8000 -f mulaw -f rtp rtp://74.207.231.191:1234
./ffmpeg -re -f lavfi -i aevalsrc="sin(400*2*PI*t)" -ar 8000 -f mulaw -f rtp rtp://74.207.231.191:1234


http://ffmpeg.org/faq.html#Concatenating-using-the-concat-protocol-_0028file-level_0029
http://ffmpeg.org/faq.html#Concatenating-using-the-concat-protocol-_0028file-level_0029

Revision as of 17:53, 28 June 2013

Notes


most clists gets played.
forces playlist.
how many songs in total
how many songs play in a day - time a day.
user review - 
three types of peple
 a listener - who listens to a steam
 an admin - who reviews material yeah/nay
 a musicsion

 rcdlbl
research - sound cloud
http://musicians.about.com/u/ua/musicpromotion/networkingpromousersrespond.htm
https://new.myspace.com/
 http://en.wikipedia.org/wiki/Myspace

you upload the ocntent to the side , do you still own the music
 who retains the rights? the muscisian
not allowed to upload somehting you didn't write.

create an app for listenters / app for admin

http://ffmpeg.org/trac/ffmpeg/ticket/1199

how will they listen?

  1. via the web page
  2. streaming media player
  3. mobile device. (html5 app )

http://ffmpeg.org/trac/ffmpeg/wiki/StreamingGuide
 For example the following command will generate a signal, and will stream it to the port 1234 on localhost: 
  ffmpeg -re -f lavfi -i aevalsrc="sin(400*2*PI*t)" -ar 8000 -f mulaw -f rtp rtp://127.0.0.1:1234
 To play the stream with ffplay, run the command:
  ffplay rtp://127.0.0.1:1234


./ffmpeg -re -f lavfi -i aevalsrc="sin(400*2*PI*t)" -ar 8000 -f mulaw -f rtp rtp://127.0.0.1:1234

./ffmpeg -re -f lavfi -i aevalsrc="sin(400*2*PI*t)" -ar 8000 -f mulaw -f rtp rtp://74.207.231.191:1234

http://ffmpeg.org/faq.html#Concatenating-using-the-concat-protocol-_0028file-level_0029

1. Server side setup
 3 hours to:
  get play lists working.
  be able to give the streaming server a playlist and have that serve it up.

http://www.audbyte.com:8090/stat.html

admin side 3 hour
2. server 3 hours
3. 

http://www.masternewmedia.org/best-embeddable-online-video-widgets-and-playlist-creators-mini-guide/


aac mmxext mmx sse sse2 ssse3 faac network openssl pulseaudio xml

rtmp schroedinger -ssse3  theora v4l -vaapi -vdpau (-vis) -vorbis -vpx -x264 -xvid" FFTOOLS="aviocat cws2fws ffeval graph2dot ismindex pktdumper qt-faststart trasher" 0 kB


media-video/ffmpeg bzip2 encode hardcoded-tables jpeg2k mp3 threads truetype zlib -3dnow -3dnowext -X -aac -aacplus -alsa (-altivec) -amr -avx -bindist -cdio (-celt) -cpudetection -debug -dirac 
doc -faac -frei0r -gnutls -gsm -ieee1394 -jack
 -libass -libv4l -mmx -mmxext -modplug (-neon) -network -openal -openssl -oss -pic -pulseaudio -rtmp -schroedinger -sdl -speex -ssse3 -static-libs {-test} -theora -v4l -vaapi -vdpau (-vis) -vorbis -vpx
 -x264 -xvid" FFTOOLS="aviocat cws2fws ffeval graph2dot ismindex pktdumper qt-faststart trasher" 0 kB


/usr/portage/profiles/use.desc

./configure --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-libfaac --enable-libmp3lame --enable-libvorbis --enable-libx264 --enable-libvo-aacenc --enable-libxvid --disable-ffplay --enable-shared --enable-gpl --enable-postproc --enable-nonfree --enable-avfilter --enable-pthreads --extra-cflags=-fPIC --enable-asm --enable-mmx --enable-mmxext  --enable-sse  --enable-sse2  --enable-sse3  --enable-ssse3 --enable-sse4 --enable-sse42 --arch=x86_64 --enable-yasm --enable-libmp3lame --disable-libfaac --disable-libvo-aacenc --disable-libvpx --disable-libx264

./configure --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-libfaac --enable-libmp3lame --enable-libvorbis --enable-libx264 --enable-libvo-aacenc --enable-libxvid --disable-ffplay --enable-shared --enable-gpl --enable-postproc --enable-nonfree --enable-avfilter --enable-pthreads --extra-cflags=-fPIC --enable-asm --enable-mmx --enable-mmxext  --enable-sse  --enable-sse2  --enable-sse3  --enable-ssse3 --enable-sse4 --enable-sse42 --arch=x86_64 --enable-yasm --enable-libmp3lame --disable-libfaac --disable-libvo-aacenc --disable-libvpx --disable-libx264 --enable-ffplay


ffmpeg -re -f lavfi -i aevalsrc="sin(400*2*PI*t)" -f mulaw -f rtp rtp://74.207.231.191:1234
ffplay rtp://74.207.231.191:1234

ffmpeg -re -f lavfi -i aevalsrc="sin(400*2*PI*t)" -f mulaw -f rtp rtp://74.207.231.191:1234


http://74.207.231.191:8090/maid.mp3

ffmpeg -i 01_Jardin_de_Cecile.mp3 -map 0 -acodec copy http://localhost:8090/feed1.ffm

ffmpeg -re -f mp3 -i 01 -c copy -f flv rtmp://server/live/streamName

ffmpeg -re -i localFile.mp4 -c copy -f flv rtmp://server/live/streamName

http://74.207.231.191:8090/maid.mp3


http://www.XXXXXXX.com:8090/stat.html


<object width="640" height="480" id="qt" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab">
<param name="src" value="http://74.207.231.191:8090/maid.mp3">
<param name="autoplay" value="true">
<param name="controller" value="false">
<embed id="plejer" name="plejer" src="http://74.207.231.191:8090/maid.mp3" bgcolor="000000" width="640" height="480" scale="ASPECT" qtsrc="http://74.207.231.191:8090/maid.mp3"  kioskmode="true" showlogo=false" autoplay="true" controller="false" pluginspage="http://www.apple.com/quicktime/download/">
</embed></object>

    //SET THE DIV'S ID HERE
    document.getElementById("the_div_that_will_hold_the_player_object").innerHTML = output;

Beats.to

I think they use ice cast:

http://radio.beats.to/break.beats.to.pls
telnet radio.beats.to 80
GET /break.beats.to.pls HTTP/1.1
Host: radio.beats.to


[playlist]
numberofentries=3
File1=http://radio.beats.to:8000/break-mp3-hi
Title1=break.beats.to radio (MP3 192kbps)
Length1=-1
File2=http://tbone.laboratoryrodents.com:8080/break-mp3-hi
Title2=break.beats.to radio (MP3 192kbps)
Length2=-1
File3=http://flank.incognitus.org:8000/break-mp3-hi
Title3=break.beats.to radio (MP3 192kbps)
Length3=-1


[dthornton@uofg-mgmt-01 ~]$ telnet radio.beats.to 8000
Trying 216.168.115.69...
Connected to radio.beats.to.
Escape character is '^]'.
GET /break-mp3-hi HTTP/1.1
Host: radio.beats.to

HTTP/1.0 200 OK
Content-Type: audio/mpeg
icy-br:192
ice-audio-info: channels=2;samplerate=44100;bitrate=192
icy-description:break radio
icy-genre:Misc
icy-name:/break-mp3-hi
icy-pub:1
icy-url:http://radio.beats.to
Server: Icecast 2.3.3
Cache-Control: no-cache

��=^��Yd.�-��

home work