rtmpdump to play streams?

Re: rtmpdump to play streams?

Postby Sekator500 » 11 Feb 2012, 21:56

I'm tested this script with Bast Castle firmware only, but it must works on any other firmware. Here is an standalone rtmpdump statically linked with ssl, please try it and don't forget to set permissions on that file.

rtmpdump.rar
(533.16 KiB) Downloaded 268 times
User avatar
Sekator500
 
Posts: 457
Joined: 11 Nov 2010, 00:13
Location: Киев

Re: rtmpdump to play streams?

Postby pyro1000 » 12 Feb 2012, 06:13

I have the rtmpdump copied to /usr/local/etc/dvdplayer/ and set chmod 755

and in the program part -Internet TV- , I call this link:
Code: Select all
/usr/local/etc/dvdplayer/rtmpdump -v -q -r rtmp://cp108341.live.edgefcs.net/live/pro7_1_800@43051 -x 927444 -w 6c1be1765187eae0bc9af07d858fae59a0effd3c5b803d08db261ced2c55

but the same - cannot play the File-

what am I doing wrong
Asus O!PLAY HD2 - HDP-R1 - FLY 201 HD - MoS3 - r8_HD2
my Post: Software for IPTV and Web Radio - POHD & HD2 Skin - Softwaredownload: Software Direct Download
User avatar
pyro1000
 
Posts: 126
Joined: 12 Sep 2011, 20:35
Location: Thailand

Re: rtmpdump to play streams?

Postby FarVoice » 12 Feb 2012, 08:30

pyro1000 wrote:I have the rtmpdump copied to /usr/local/etc/dvdplayer/ and set chmod 755

and in the program part -Internet TV- , I call this link:
Code: Select all
/usr/local/etc/dvdplayer/rtmpdump -v -q -r rtmp://cp108341.live.edgefcs.net/live/pro7_1_800@43051 -x 927444 -w 6c1be1765187eae0bc9af07d858fae59a0effd3c5b803d08db261ced2c55

but the same - cannot play the File-

what am I doing wrong

it's a not a link :) For use rtmpdump you must to create a wrapper like a viewtopic.php?p=23825#p23825
ASUS O!Play R1 (amp_r12_vrtn), xTreamer Pro (amp_r12_vrt), xTreamer Prodigy (iNeXT 2.14 r2), IconBIT HDR12L (amp_r12_vrt), 3Q F425HW (xds42gl_7725_r3), MyGica A11 (mygica_m3_20121222)
User avatar
FarVoice
Администратор
 
Posts: 8572
Joined: 03 Sep 2010, 01:27
Location: Russia, Moscow

Re: rtmpdump to play streams?

Postby pyro1000 » 12 Feb 2012, 10:39

I've been tested x times, but it did not work
everytime come - cannot play the file
Unfortunately I'm still a beginner, please explain it to me

where I need to copy the file rtmp.cgi ?
where I need to copy the file rtmpdump ?
all files with chkmode 755 ?
what program do I call it the link to ?


rtpm.cgi
Code: Select all
#!/bin/sh

cat <<EOF
Content-type: video/mp4

EOF

exec /usr/local/sbin/rtmpdump -v -q -r $QUERY_STRING --swfsize 927444 --swfhash 6c1be1765187eae0bc9af07d858fae59a0effd3c5b803d08db261ced2c55
fi


link for call
Code: Select all
http://127.0.0.1/cgi-bin/other/rtmp.cgi?rtmp://cp108341.live.edgefcs.net/live/pro7_1_800@43051


thank you to mutch
Asus O!PLAY HD2 - HDP-R1 - FLY 201 HD - MoS3 - r8_HD2
my Post: Software for IPTV and Web Radio - POHD & HD2 Skin - Softwaredownload: Software Direct Download
User avatar
pyro1000
 
Posts: 126
Joined: 12 Sep 2011, 20:35
Location: Thailand

Re: rtmpdump to play streams?

Postby FarVoice » 12 Feb 2012, 11:58

copy trmp.cgi to /tmp_orig/www/cgi-bin
copy rtmpdump to /usr/local/sbin
of course both files must have 755 attributes

and link will be a
Code: Select all
http://127.0.0.1/cgi-bin/rtmp.cgi?rtmp://cp108341.live.edgefcs.net/live/pro7_1_800@43051
ASUS O!Play R1 (amp_r12_vrtn), xTreamer Pro (amp_r12_vrt), xTreamer Prodigy (iNeXT 2.14 r2), IconBIT HDR12L (amp_r12_vrt), 3Q F425HW (xds42gl_7725_r3), MyGica A11 (mygica_m3_20121222)
User avatar
FarVoice
Администратор
 
Posts: 8572
Joined: 03 Sep 2010, 01:27
Location: Russia, Moscow

Re: rtmpdump to play streams?

Postby pyro1000 » 19 Feb 2012, 13:00

it does not work
and not in the playlists are RSSEX2 rtmp links in which

can it be that the HD2, rtmp generally does not work?
Asus O!PLAY HD2 - HDP-R1 - FLY 201 HD - MoS3 - r8_HD2
my Post: Software for IPTV and Web Radio - POHD & HD2 Skin - Softwaredownload: Software Direct Download
User avatar
pyro1000
 
Posts: 126
Joined: 12 Sep 2011, 20:35
Location: Thailand

Re: rtmpdump to play streams?

Postby Sekator500 » 20 Feb 2012, 23:35

Try to open this url (don't forget to change IP to real address) from your PC in web browser or vlc player. We must be sure that translation works correctly.
User avatar
Sekator500
 
Posts: 457
Joined: 11 Nov 2010, 00:13
Location: Киев

Re: rtmpdump to play streams?

Postby pyro1000 » 21 Feb 2012, 05:38

works 100% with VLC as Batch-File

Code: Select all
call flv -v -q -r "rtmp://cp108341.live.edgefcs.net/live/pro7_1_800@43051" --swfsize "927444" --swfhash "6c1be1765187eae0bc9af07d858fae59a0effd3c5b803d08db261ced2c5512bb" | vlc -

I'll buy another player and try again, perhaps my player has a defective

But I've started a new project, I read this from the homepage of FreeIPTV.be

http://moservices.org/forum/viewtopic.php?f=12&t=1401

gruß Gerhard
Asus O!PLAY HD2 - HDP-R1 - FLY 201 HD - MoS3 - r8_HD2
my Post: Software for IPTV and Web Radio - POHD & HD2 Skin - Softwaredownload: Software Direct Download
User avatar
pyro1000
 
Posts: 126
Joined: 12 Sep 2011, 20:35
Location: Thailand

Re: rtmpdump to play streams?

Postby Sekator500 » 21 Feb 2012, 10:23

I mean url like this
Code: Select all
http://real_IP/cgi-bin/rtmp.cgi?rtmp://cp108341.live.edgefcs.net/live/pro7_1_800@43051
User avatar
Sekator500
 
Posts: 457
Joined: 11 Nov 2010, 00:13
Location: Киев

Re: rtmpdump to play streams?

Postby pyro1000 » 21 Feb 2012, 14:04

@Sekator500

In VLC I get this error
Code: Select all
access_http error: cannot connect to 192.168.2.105:80
access_mms error: cannot read data 2
access_mms error: header size == 0
main error: open of `http://192.168.2.105/cgi-bin/rtmp.cgi?rtmp://cp108341.live.edgefcs.net/live/pro7_1_800@43051' failed: (null)

and mosttimes in the browser, the background changes to gray and not more
sometime reports of the browser - vlc plugin crashed

:?: :?: :?:
Asus O!PLAY HD2 - HDP-R1 - FLY 201 HD - MoS3 - r8_HD2
my Post: Software for IPTV and Web Radio - POHD & HD2 Skin - Softwaredownload: Software Direct Download
User avatar
pyro1000
 
Posts: 126
Joined: 12 Sep 2011, 20:35
Location: Thailand

PreviousNext

Return to About moServices

Who is online

Users browsing this forum: No registered users and 26 guests

cron