VLC: Streaming Server: Difference between revisions

From OnnoCenterWiki
Jump to navigationJump to search
Onnowpurbo (talk | contribs)
Onnowpurbo (talk | contribs)
No edit summary
Line 1: Line 1:
Stream a file with VLC
Stream sebuah file dengan VLC


  % vlc -vvv video1.xyz --sout udp:192.168.0.42 --ttl 12
  # vlc -vvv video1.xyz --sout udp:192.168.0.42 --ttl 12
# vlc -vvv video1.xyz --sout udp:192.168.0.42 --ttl 12 --loop


where:
dimana:


* video1.xyz is the file you want to stream,
* video1.xyz adalah file yang akan di stream
* 192.168.0.42 is either:
* 192.168.0.42 adalah
        the IP address of the machine you want to unicast to;
** IP address mesin yang akan dikirimi stream
        or the DNS name the machine you want to unicast to;
** DNS / hostname dari mesin yang akan dikirimi stream
        or a multicast IP address.
** IP address multicast kalau mau
* 12 is the value of the TTL (Time To Live) of your IP packets (which means that the stream will be able to cross 11 routers).  
* 12 adalah nilai dari TTL (Time To Live) dari paket IP yang dikirim (konsekuensinya hanya bisa melewati 11 router).


If you want to stream the file continuously, add the --loop option.
Jika anda ingin stream sebuah file terus menerus kita bisa menambahkan option --loop
 
Of course, you can add more options (like transcoding, or streaming to a TCP port, etc.), but this should get you started.


Tentunya kita dapat menambahkan berbagai option, seperti transcoding, stream ke TCP port dll, tapi perintah di atas sudah cukup untuk beroperasi.





Revision as of 22:50, 12 July 2012

Stream sebuah file dengan VLC

# vlc -vvv video1.xyz --sout udp:192.168.0.42 --ttl 12
# vlc -vvv video1.xyz --sout udp:192.168.0.42 --ttl 12 --loop

dimana:

  • video1.xyz adalah file yang akan di stream
  • 192.168.0.42 adalah
    • IP address mesin yang akan dikirimi stream
    • DNS / hostname dari mesin yang akan dikirimi stream
    • IP address multicast kalau mau
  • 12 adalah nilai dari TTL (Time To Live) dari paket IP yang dikirim (konsekuensinya hanya bisa melewati 11 router).

Jika anda ingin stream sebuah file terus menerus kita bisa menambahkan option --loop

Tentunya kita dapat menambahkan berbagai option, seperti transcoding, stream ke TCP port dll, tapi perintah di atas sudah cukup untuk beroperasi.


Referensi

Pranala Menarik