Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Embedding a player and swfhash code.. rtmpHey people,
I hope this is the right place to post this. I have tried on about 6 forums already and nobody could help me yet or was bothered answering my question So again, my question is as follows: I have a batch file which I can use to watch certain live streams. When I type in "1" to wath stream 1, It opens the stream in vlc media player and lets me watch it. So It looks like this in notepad: @echo off if defined ProgramFiles(x86) ( FOR /F "tokens=1 delims=[" %%A IN ('VER') DO ECHO %%A^(64-bits^) >nul set vlc=c:\progra~2\videolan\vlc\vlc >nul ) else ( FOR /F "tokens=1 delims=[" %%A IN ('VER') DO ECHO %%A^(32-bits^) >nul set vlc=c:\progra~1\videolan\vlc\vlc >nul ) set "swfsize=927444" set "swfhash=6c1be1765187eae0bc9af07d858fae59a0effd3c5 b803d08db261ced2c5512bb" :PRIMUS title Pacha Streams cls echo =========================================== echo Choose Channel: echo ============================================== echo. echo (1) = Stream1 echo. set /p "Scelta=>" IF "%Scelta%"=="1" GOTO UNO echo. echo. echo Scegli tra 1 e 49... echo. ping localhost -n 3 >nul goto PRIMUS :UNO cls echo. echo Avvio dello streaming in corso... call flv -v -r rtmp://cp108475.live.edgefcs.net/live/stream_1_800@45494 --swfsize "%swfsize%" --swfhash "%swfhash%" -q | %vlc% - goto PRIMUS As I said, this is batch language. Now what I am trying to do is put the livestream onto my website, embeding it into a player (doesnt matter which one). I hope that somebody can give me a script that will help me do it so, maybe an embed code would be GREAT... that I and other people can watch the stream direktly from my site without opening the batch file from my pc |
#2
|
|||
|
|||
Re: Embedding a player and swfhash code.. rtmpYou can play RTMP streams in your browser.
This program will generate the code for you. http://www.4shared.com/get/fQcSSEFMba/RTMP_pplayer.html |
Tags: batch, embed, player, rtmp, streams, swfhash, vlc |
Thread Tools | |
Display Modes | |
|
|