PDA

View Full Version : how restream using ffmpeg/rtmpdump and token?


cooldude101
07-05-2014, 08:56 AM
Hi

How can I do this?

Can you tell me the code that will work? I searched on here and all the examples with the info i found from rtmpdumphelper together does not work.

for example:

rtmpdump -r "rtmp://IPADDRESSHERE:1935/live playpath=ss1ss swfUrl=http://www.SWFSITE.co/PLAYER.swf live=1 pageUrl=http://www.PAGEURL/embed.php?live=STREAM&vw=620&vh=490" | ffmpeg -i - -vcodec copy -acodec copy -f flv "rtmp://addresshere/stream"

This doesnt work

Thanks

mckv
07-05-2014, 09:26 AM
not really a rtmpdump issue, try using a named pipe or domain socket and play around with the buffers, maybe that helps.

P3T3
07-05-2014, 10:21 AM
It is your pipe config try bellow!
Enjoy :)

rtmpdump -r "rtmp://IPADDRESSHERE:1935/live playpath=ss1ss swfUrl=http://www.SWFSITE.co/PLAYER.swf live=1 pageUrl=http://www.PAGEURL/embed.php?live=STREAM&vw=620&vh=490" | avconv -i pipe:0 -y -v:v info -vcodec copy -acodec copy -f flv rtmp://localhost/rtmp/name"

cooldude101
07-06-2014, 06:56 AM
Hi

Thanks for reply.

Can you give me exact code for cricfree.eu for example? to restream it?

also where to put the token and what it is.

thanks