Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

Capture rtmp-stream

(http://stream-recorder.com/forum/showthread.php?t=22508)

rawrz 11-06-2016 12:56 PM

Capture rtmp-stream


 
Hey,

I've been bashing my head against my desk in regard to recording streamed vids from a private website. Private meaning subscription based, I'd love to archieve the vids for personal use only - as I keep moving forward and on occasion would like to check them again.

I've been using OBS to record my screen for now but that is really bothersome and I'd like an easier solution. I've tried various out-of-the box software, unfortunately with bad results.

So I turned to rtmpdump as a last resort, but just cannot get it to work.It always results in:
ERROR: rtmp server sent error
ERROR: rtmp server requested close

Code:

<script src="flow_player/flowplayer-3.2.13.min.js"></script>
<script src="flow_player/flowplayer.playlist-3.2.11.min.js"></script>
<script src="flow_player/flowplayer.bitrateselect-3.2.11.min.js"></script>
<script>
$f('player', 'flow_player/flowplayer-3.2.18.swf', {
           
        key: '#$60d09ad27168d3561eb',

        clip: {
            //urlResolvers: 'bwcheck',
            urlResolvers: 'bitrateselect',
                        scaling: 'fit',
            provider: 'hddn',
            autoplay: true
        },

        playlist: [
                                            {
                    bitrates: [
                        { url: 'mp4:videos/Videos/No News/Subject with Stuff and Things/Lesson 1/part1-240.mp4', bitrate: 350, width: 428, label: '240p' },
                        { url: 'mp4:videos/Videos/No News/Subject with Stuff and Things/Lesson 1/part1-480.mp4', bitrate: 700, width: 854, label: '480p', isDefault: true },
                        { url: 'mp4:videos/Videos/No News/Subject with Stuff and Things/Lesson 1/part1.mp4', bitrate: 1200, width: 1920, label: '1080p' },                                               
                    ],
                    title: "PART 1",
                },
                                            {
                    bitrates: [
                        { url: 'mp4:videos/Videos/No News/Subject with Stuff and Things/Lesson 1/part2-240.mp4', bitrate: 350, width: 428, label: '240p' },
                        { url: 'mp4:videos/Videos/No News/Subject with Stuff and Things/Lesson 1/part2-480.mp4', bitrate: 700, width: 854, label: '480p', isDefault: true },
                        { url: 'mp4:videos/Videos/No News/Subject with Stuff and Things/Lesson 1/part2.mp4', bitrate: 1200, width: 1920, label: '1080p' },                                               
                    ],
                    title: "PART 2",
                },                         
                    ],

        plugins: {
            hddn: {
                url: 'flow_player/flowplayer.rtmp-3.2.13.swf',
                netConnectionUrl: "rtmp://teq.website.com:1935/redirect/vod",
            },

            controls: {
                playlist: true
            },
                       
                        /*
            bwcheck: {
                url: 'flow_player/flowplayer.bwcheck-3.2.13.swf',
                serverType: 'wowza',
                dynamic: false,
                netConnectionUrl: "rtmp://teq.website.com:1935/redirect/vod",
            }
                        */
                       
                        bitrateselect: {
                                url: 'flow_player/flowplayer.bitrateselect-3.2.14.swf',
                                hdButton: {
                                        place: 'none',
                                        splash: false
                                }
                        }
        }

    }).playlist("div.clips:first", {loop:true}).bitrateselect('#options');

I've tried using the below options for rtmpdump, without success..
Code:

rtmpdump -r "rtmp://teq.website.com:1935/redirect/vod"
-a "redirect/vod"                                                                                                      <- with and without this option
-y "mp4:videos/Videos/No News/Subject with Stuff and Things/Lesson 1/part1.mp4"  <- with and without .mp4
-W "https://www.website.com/flow_player/flowplayer.rtmp-3.2.13.swf"                      <- with and without this option
-p "https://www.website.com/watchLesson.php?type=st&id=286"                            <- with and without this option
-o video.flv

I've uploaded the swf file here:
http://www.megafileupload.com/c4ez/f...tmp-3.2.13.swf

I've seen other examples where tokens were involved, however I cannot seem to find any when looking through the generated source-code.
Any help would be greatly appreciated...

Denn1s 11-11-2016 11:03 AM

Re: Capture rtmp-stream


 
As usual, sorry for my bad english.
I think is almost impossible to help when there is a subscription based service. I received your PM and reading this post I am not sure why you think you should decompress the SWF as you wrote me...
Maybe is better to start from the befin: have you tried rtmpdumphelper along with rtmpdump?

[EDIT]someone here gave the same advice for the (probably) same site --> http://stream-recorder.com/forum/dow...lc-t20104.html

dienmaynhattao.com 11-11-2016 10:07 PM

Re: Capture rtmp-stream


 
Si??u thị Ä?iện M??y Nhá?*t Tá??o chuá?©n bị khai tr?°??ng nhá?±m Ä‘em Ä‘á??n c??c má?·t h?*ng Ä?iện M??y chá??t l?°á»?ng, gi?? cá?? há»?p t??i tiá»?n ng?°á»?i Việt, bá??o Ä‘á??m h?*ng ch?*nh h??ng.
Má»?i chi tiá??t cá»§a trang tá??i: http://DienMayNhatTao.com

nguyenvulan5 11-12-2016 09:47 PM

Quote:

Originally Posted by rawrz (Post 88525)
Hey, I've been bashing my head against my desk in regard to recording streamed vids from a private website. Private meaning subscription based, I'd love to archieve the vids for personal use only - as I keep moving forward and on occasion would like to check them again. I've been using OBS to record my screen for now but that is really bothersome and I'd like an easier solution. I've tried various out-of-the box software, unfortunately with bad results. So I turned to rtmpdump as a last resort, but just cannot get it to work.It always results in: ERROR: rtmp server sent error ERROR: rtmp server requested close
Code:

&lt;script src=&quot;flow_player/flowplayer-3.2.13.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;flow_player/flowplayer.playlist-3.2.11.min.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;flow_player/flowplayer.bitrateselect-3.2.11.min.js&quot;&gt;&lt;/script&gt; &lt;script&gt; $f('player', 'flow_player/flowplayer-3.2.18.swf', { key: '#$60d09ad27168d3561eb', clip: { //urlResolvers: 'bwcheck', urlResolvers: 'bitrateselect', scaling: 'fit', provider: 'hddn', autoplay: true }, playlist: [ { bitrates: [ { url: 'mp4:videos/Videos/No News/Subject with Stuff and Things/Lesson 1/part1-240.mp4', bitrate: 350, width: 428, label: '240p' }, { url: 'mp4:videos/Videos/No News/Subject with Stuff and Things/Lesson 1/part1-480.mp4', bitrate: 700, width: 854, label: '480p', isDefault: true }, { url: 'mp4:videos/Videos/No News/Subject with Stuff and Things/Lesson 1/part1.mp4', bitrate: 1200, width: 1920, label: '1080p' }, ], title: &quot;PART 1&quot;, }, { bitrates: [ { url: 'mp4:videos/Videos/No News/Subject with Stuff and Things/Lesson 1/part2-240.mp4', bitrate: 350, width: 428, label: '240p' }, { url: 'mp4:videos/Videos/No News/Subject with Stuff and Things/Lesson 1/part2-480.mp4', bitrate: 700, width: 854, label: '480p', isDefault: true }, { url: 'mp4:videos/Videos/No News/Subject with Stuff and Things/Lesson 1/part2.mp4', bitrate: 1200, width: 1920, label: '1080p' }, ], title: &quot;PART 2&quot;, }, ], plugins: { hddn: { url: 'flow_player/flowplayer.rtmp-3.2.13.swf', netConnectionUrl: &quot;rtmp://teq.website.com:1935/redirect/vod&quot;, }, controls: { playlist: true }, /* bwcheck: { url: 'flow_player/flowplayer.bwcheck-3.2.13.swf', serverType: 'wowza', dynamic: false, netConnectionUrl: &quot;rtmp://teq.website.com:1935/redirect/vod&quot;, } */ bitrateselect: { url: 'flow_player/flowplayer.bitrateselect-3.2.14.swf', hdButton: { place: 'none', splash: false } } } }).playlist(&quot;div.clips:first&quot;, {loop:true}).bitrateselect('#options');
I've tried using the below options for rtmpdump, without success..
Code:

rtmpdump -r &quot;rtmp://teq.website.com:1935/redirect/vod&quot; -a &quot;redirect/vod&quot; &lt;- with and without this option -y &quot;mp4:videos/Videos/No News/Subject with Stuff and Things/Lesson 1/part1.mp4&quot; &lt;- with and without .mp4 -W &quot;https://www.website.com/flow_player/flowplayer.rtmp-3.2.13.swf&quot; &lt;- with and without this option -p &quot;https://www.website.com/watchLesson.php?type=st&amp;id=286&quot; &lt;- with and without this option -o video.flv
I've uploaded the swf file here: http://www.megafileupload.com/c4ez/f...tmp-3.2.13.swf I've seen other examples where tokens were involved, however I cannot seem to find any when looking through the generated source-code. Any help would be greatly appreciated...



THIá??T Ká?? WEB Tá?*I THIETKEWEBCHUYEN .COM THEO Y?ŠU Cá?¦U TRá»?N G?“I CHá»? 1.990.000 VND -?€€0986.184.211 (VIBER-ZALO) (Mr. Ngá»?c)

Trang web sá?? thiá??t ká?? giao diện theo y??u cá?§u ri??ng, há»?p sá»? th?*ch, phong thá»§y, vá?*n mệnh… Ä‘á»? giá»›i thiệu sá??n phá?©m, dịch vá»?, c?´ng ty, cá»*a h?*ng … Ä‘á»? bá??n ph??t triá»?n kinh doanh kh?´ng ngừng.

TRANG WEB Sá?? Ä???á»?C Bá??O H?€NH VĨNH VIỄN


C??C DỊCH VỤ KH??C:

Quá??n l?? ná»™i dung Fanpage: 900,000 VNÄ?/ Th??ng
Quá??n l?? ná»™i dung Webstie: 700,000 VNÄ?/ Th??ng
Seo google adword
RAO Vá?¶T TRá»?N G?“I CHá»? VỚI 2,000,000 / TH??NG
Vá»›i 2,000,000 bá??n sá?? c??:

- Ä?Ä?ng 1000 nh??m facebook/th??ng (má»—i nh??m từ 5,000 -> 100,000 th?*nh vi??n).

- Ä?Ä?ng 1000 tin/th??ng web rao vá?·t v?* diá»…n Ä‘?*n lá»›n

- Ä?Ä?ng 1000nh??m/th??ng google plus (má»—i nh??m từ 1000 -> h??n 10,000 th?*nh vi??n)


H??y li??n hệ th?´ng tin b??n d?°á»›i ( kh?´ng b?¬nh luá?*n v?*o b?*i viá??t n?*y v?¬ m?¬nh kh?´ng xem lá??i tin nhá??n tá??i Ä‘??y)

+ 0986.184.211 (VIBER-ZALO) (Mr. Ngá»?c) ( bá??n c?? thá»? nhá??n tin Ä‘á»? y??u cá?§u gá»?i lá??i miá»…n ph?*) - 0902.836.561
+ Email: NgocTran@ThietKeWebChuyen.com - SKYPE: confirmdnt
+ Website: ThietKeWebChuyen. com


All times are GMT -6. The time now is 03:59 AM.