1) Publish in el cu ffmpeg pe 1936 ,cu stream name livetv
2) nginx-rtmp sample config ( nu intru in detalii la ce folosesc parametrii aia
.... ):
( /tmp/tv2) e tmpfs . Altfel o sa mearge PROST.
==========================
rtmp {
server {
listen 1936;
wait_video on;
chunk_size 4096;
application tv {
live on;
sync 100ms;
meta copy;
wait_key on;
wait_video on;
hls on;
hls_path /tmp/tv2;
hls_fragment 15s;
record all;
record_path /Space/1tb;
record_suffix -%m-%d.mp4;
record_unique on;
record_append on;
record_interval 24h;
}
}
}
==========================
3) in html ( for pc's ) - utilizind o antichitate free de jwplayer
=======================================
<div id="tvlive"></div>
<script type="text/javascript">
var so = new SWFObject('player1.swf','mpl','400','300','9','#578DC3');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addParam('wmode','opaque');
so.addParam('type','video');
so.addParam('flashvars','type=video&file=livetv&streamer=rtmp://[REPLACE].tfm.ro/tv&fill=fill');
so.write('tvlive');
</script>
==========================================
4) Pentru device-uri ( IOS / Androide noi ) . Androidele antice nu stiu de HLS
deci alea se elimina din start.
=======================================
<video id="live" autoplay controls width=100% height=100%>
<source src="http://[REPLACE].tfm.ro/tv/livetv.m3u8" />
</video>
=======================================
5) iti mai trebuie un script de detectie de device care sa faca render la 3)
sau 4) functie de device .
Hmmmm. Cred ca ar trebui sa fac un howto complet.
Meanwhile s-ar putea sa te ajute astea:
http://mike.tfm.ro/compile-custom-version-nginx-in-ubuntu/
http://mike.tfm.ro/how-to-do-live-video-streaming/
[logos]
Mihai Moldovanu
Technical Manager
INTERNET PROTV
105 Pache Protopopescu Blvd
021409 Bucharest 2, Romania
Mobile: +40744893760
Office: +40318250216
Fax: +40318250357
Website: www.internetprotv.ro<http://www.internetprotv.ro>
[bottom]
On Ma, 2014-08-12 at 13:11 +0200, Mircea Ciocan wrote:
VLC nu are nici o problema, il folosesc aproape exclusiv pentru orice media
consumption, problema e lumea s-a invatat si vrea sa dea click si sa-i se
dechida in browser un player gen youtube ( incheiat citatul ;) care sa
mearga si pe .. si pe si pe... si userul sa nu instaleze nimic in plus fata
de ce are deja. Sadly nu multa lume are deja mplayer pe
tableta/telefon/win8 device si mai e si problemea serverului de streaming.
As you can see situatia nu e asa de simpla, nu ca nu mi-as dori sa fie but
c'est la vie.
Mircea "Scheiße, mi-a inghetat dr. Pepper in congelator :(" C.
On Tue, Aug 12, 2014 at 1:00 PM, Claudiu Nicolaie CISMARU <
[email protected]<mailto:[email protected]>> wrote:
>
> > Mircea "please keep them coming" C.
>
> Iar vlc ... are... ce problema?
>
> _______________________________________________
> RLUG mailing list
> [email protected]<mailto:[email protected]>
> http://lists.lug.ro/mailman/listinfo/rlug
>
_______________________________________________
RLUG mailing list
[email protected]<mailto:[email protected]>
http://lists.lug.ro/mailman/listinfo/rlug
Acest document apartine ProTV. Cu toate ca au fost luate masuri pentru a
controla raspandirea virusilor, acest mesaj, impreuna cu orice atasament
continut, este destinat numai pentru folosinta persoanei /persoanelor carora i
se adreseaza si poate contine informatii confidentiale, care sunt supuse
dreptului de autor sau constituie secret de marca. Daca nu sunteti destinatarul
acestui mesaj, va notificam ca este strict interzisa orice transmitere, copiere
sau distribuire a acestuia sau a oricarui atasament continut de acesta. Daca
ati primit acest mesaj din greseala, va rugam sa ne anuntati imediat printr-un
e-mail trimis la adresa [email protected]<mailto:[email protected]> si sa
stergeti continutul acestui mesaj si atasamentul sau fara a retine nicio copie.
This document originates from ProTV. Whilst we have taken steps to control the
spread of viruses, this message together with any associated files, is intended
only for the use of the individual or entity to which it is addressed and may
contain information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient of this communication you
are hereby notified that any dissemination, copying or distribution of this
message, or any files associated with this message, is strictly prohibited. If
you have received this message in error, please notify us at once mail to
[email protected]<mailto:[email protected]> and delete the original message
and any attachments without retaining any copies.
_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug