PDA

View Full Version : Need of rtmpdump expert help


beowluf
07-25-2012, 10:40 AM
hi;

could anyone find the rtmpdump syntax for this link which i find difficult to find.it's a live streaming.
http://playtv.fr/television/liberty-tv/

Thanks for helping me

KSV
07-25-2012, 11:12 AM
use PlayTV script from my repo.

https://github.com/K-S-V/Scripts

beowluf
07-25-2012, 11:26 AM
thanks KSV BUT I don't know nothing aout scripts neither how to use it
Could you find the rtmpdump syntax

KSV
07-25-2012, 11:52 AM
these streams use dynamic token so there isn't any static command you can use.

beowluf
07-25-2012, 11:58 AM
so can you help me how to use your script step by step and what software I need please

KSV
07-25-2012, 12:04 PM
see last section for installing PHP in this wiki (https://github.com/K-S-V/Scripts/wiki) and then from command line use
php PlayTV.php

also make sure rtmpdump is in the same folder and VLC is installed.

beowluf
07-27-2012, 07:41 AM
I've follow all the steps you recommand and I've found
C:\USER>php PlayTV.php
Could not open input file: PlayTV.php

help me please

PayNow
07-27-2012, 08:47 AM
whr did u put the file ? in C:\USER ?
go to the directory whr did u put the file like

C:\Users\Username\Desktop\PlayTv\

then do php PlayTv.php

beowluf
07-27-2012, 09:23 AM
I've put play tv in PHP and when i open a command with cmd
C:\PHP>php PlayTv.php
I find this message

<dl class="keyboard-mappings">
<dt>u</dt>
<dd>Back to issues</dd>
</dl>
<dl class="keyboard-mappings">
<dt>/</dt>
<dd>Focus issues search</dd>
</dl>
div>
v>


lass="js-hidden-pane" style='display:none'
class="rule"></div>

KSV
07-27-2012, 10:06 AM
it seems that you don't have download the script file properly. use this link (https://github.com/K-S-V/Scripts/zipball/master) to download the whole repo in zip format.

beowluf
07-27-2012, 11:18 AM
I've tried
C:\PHP>php PlayTV.php

but I get this

'chcp' is not recognized as internal command
or external, operable program or batch file.

AND WHEN i type a number it's also another error

Enter Channel Number : 5
Retrieving html . . .
RTMP Url : rtmpe://149.6.160.22/tvplayer
Playpath : cctv-f_hi
Auth : d08cfc9d08174ee9a3e6426575d2c54011be20be3a6cc426dd ba179aa021b3efaeb3d
60d565ff26d314de3c5d9969e93e26d5411641bba35e6762cf eddecb72d330666fbc5b9b4e720205
97e29dbcfe4012ba699d8cea8b2ecad2f1b2503eb172c1d875 7082825e5eb1bd9b61ced1b005ff1c
ad5ed626f22
Command : rtmpdump -r "rtmpe://149.6.160.22/tvplayer" -a "tvplayer" -s "http://
static.playtv.fr/swf/tvplayer.swf" -p "http://playtv.fr/television" -C S:d08cfc9
d08174ee9a3e6426575d2c54011be20be3a6cc426ddba179aa 021b3efaeb3d60d565ff26d314de3c
5d9969e93e26d5411641bba35e6762cfeddecb72d330666fbc 5b9b4e72020597e29dbcfe4012ba69
9d8cea8b2ecad2f1b2503eb172c1d8757082825e5eb1bd9b61 ced1b005ff1cad5ed626f22 --live
-y "cctv-f_hi" | "C:\Program Files\VideoLAN\VLC\vlc.exe" --meta-title "CCTV F"
-

Fatal error: Class 'COM' not found in C:\PHP\PlayTV.php on line 404

KSV
07-27-2012, 11:32 AM
in PHP 5.4.5 they have disabled the COM class by default. it wasn't the case with earlier versions. you can enable it by adding following line to your PHP.ini.
extension=php_com_dotnet.dll

as far as "chcp not found" error is concerned chcp is a system utility available on all windows versions. i am not sure why it's not available on your system although it doesn't matter much.

beowluf
07-27-2012, 12:04 PM
I want to download the live streaming with rtmpdump could you help me?

beowluf
08-31-2012, 08:30 AM
Could Any One Help Me To Record This Stream Not Just Watch It Alive

karlo2105
09-02-2012, 11:04 AM
Could Any One Help Me To Record This Stream Not Just Watch It Alive
In VLC click on CTRL+R once stream is started and it will record in My documents folder.

peterpan
12-25-2013, 09:20 PM
Resurrecting this thread: Looks like playtv may have changed something... this command no longer work:

c:\php>php PlayTV.php --url "http://playtv.fr/television/i24-news/"

KSV PlayTV Downloader

Retrieving html....

Notice: Undefined offset: 1 in C:\php\PlayTV.php on line 481
Unable to retrieve initialization parameters

c:\php>

Can someone please help...?

Thank You!

chap
12-26-2013, 12:53 AM
php PlayTV.php --url 6vta48Yk93
http://savepic.ru/5006721m.png (http://savepic.ru/5006721.htm)
$options = array(
0 => array(
'help' => 'displays this help',
'list' => 'display formatted channels list and exit',
'print' => 'only print the base rtmpdump command, don\'t start anything',
'quiet' => 'disables unnecessary output'
),
1 => array(
'proxy' => 'use proxy to retrieve channel information',
'url' => 'use specified url without displaying channels list'

peterpan
12-26-2013, 03:10 AM
Thanks chap!!! Worked like a charm! Do you know if there is a librtmp.dll build out there that has this playtv patch? Cheers!