Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 01-09-2017, 03:22 AM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

sniff RTMP stream


Simple.

Website not hiding it's stream on purpose, PRESS TV.

Courtesy of PRESS TV, firefox debugger:


<script type="text/javascript">
//var s = "http://efusion1-i.akamaihd.net/hls/live/252882/ptven/playlist.m3u8";
var s = "http://178.32.255.199:1935/live/ptven/playlist.m3u8";
//var s = "rtmp://192.99.219.222:1935/live/ptven";


I get RTMP url by guessing here ( rtmp://178.32.255.199:1935/live/ptven )
and would like to ask what is the way or utility to see RTMP url at source.

http://www.presstv.com/Default/Live

Why bother with this?

It cannot be better stream than the one at source, probably RTMP stream.

I watch a few streams on GINIKO, and when their shitty server grinds to a halt it is frustrating.



Playing:

@title PRESS
set var=rtmp://178.32.255.199:1935/live/ptven
start wmove " - %var%"
start /min ffplay.exe -i %var% -vf scale=864:480



Recording:

@title ~PRES
:START
@FOR /f %%x IN ('DT') DO @set d=%%x
set var=rtmp://178.32.255.199:1935/live/ptven
ffmpeg -i %var% -c:v h264 -c:a aac -vf scale=854:480 "c:\%d%_PRES.flv"
SLEEP 3
goto START



;wmove.au3
winwait($CmdLine[1], "", 6)
winactivate($CmdLine[1], "")
; MsgBox ( 0, 'CmdLine[1] is:', $CmdLine[1])
If WinExists($CmdLine[1]) Then
Select
Case $CmdLine[0] = 3
WinMove($CmdLine[1], "", $CmdLine[2],$CmdLine[3])
Case $CmdLine[0] = 5
WinMove($CmdLine[1], "", $CmdLine[2],$CmdLine[3],$CmdLine[4],$CmdLine[5])
EndSelect
EndIf


program DT;
{$APPTYPE CONSOLE}
uses SysUtils;
var dtime: string;
begin
dtime:= FormatDateTime('yyyy-mm-dd_hh-nn-ss', Now);
writeln(dtime);
end.


http://www.robvanderwoude.com/wait.php#SLEEP

Last edited by j_cool : 01-09-2017 at 04:07 AM.
Reply With Quote
  #2  
Old 01-09-2017, 07:59 AM
nhadatdian2311 nhadatdian2311 is offline
Junior Member
 
Join Date: Nov 2016
Posts: 15
nhadatdian2311 is on a distinguished road
Default

Re: sniff RTMP stream


Nh?* x??y dá»±ng chá??c chá??n v?* ki??n cố hiện Ä‘á??i theo Ä‘??ng phong thủy, nh?* Ä‘á??t dÄ© an 1 lá?§u 1 trệt 64m2, tổng diện t?*ch x??y dá»±ng l?* 130m2, ph??ng kh??ch, ph??ng bá??p, s??n Ä‘á»? xe, 3ph??ng ngủ, ph??ng thá»?, 2 toa l?©t, giá??ng trá»?i tho??ng m??t, Ä‘?°á»?ng tr?°á»›c nh?* 7m th?´ng tho??ng sÄ?ch Ä‘á??p, há?? tá?§ng c?? sá»? ho?*n chỉnh, an ninh tốt . -Ná»™i thá??t cao cá??p. Tay vịn cá?§u thang bá?±ng gá»— tốt, ốp gÄ?ch men v??ng quanh nh?* cao 1,2m, b??ng k?*nh chống chá?§y s?°á»›c, Ä‘?¨n chiá??u s??ng v?* Ä‘?¨n l?©t...ph??ng bá??p c?? tủ, kệ, tr?°á»›c má?·t tiá»?n nh?* ốp Ä‘?? má?§u Ä‘en v?* cá»*a quốc, k?*nh c?°á»?ng lá»±c, Ä‘iện v?* n?°á»›c m??y ri??ng biệt, m??y nÄ?ng l?°á»?ng má?·t trá»?i. - Vị tr?*. C??ch c?´ng ty k?*nh nổi v?* th?´ng dá»?ng l?* 500m, v??ng xoay an ph?? 700m, ng?? t?° chi??u li??u l?* 1km, ng?? t?° 550 l?* 2km, nh?* c?? sổ riá»?ng sang t??n ngay, bao má»?i chi ph?* sang t??n, há»— trá»? ng??n h?*ng vay 70% cÄ?n nh?*, v??i xuá??t thá??p nhá??t, nha dat di an binh duong gi?? b??n 1 tá»· 400tr sổ hồng ri??ng sang t??n ngay. Li??n hệ. 0909813807. 01655479939 Anh thanh. Ch?*nh chủ.
Reply With Quote
  #3  
Old 01-09-2017, 06:43 PM
ihryjfbd ihryjfbd is offline
Senior Member
 
Join Date: Oct 2015
Posts: 212
ihryjfbd is on a distinguished road
Default

Re: sniff RTMP stream


Quote:
Originally Posted by j_cool View Post
Simple.

Website not hiding it's stream on purpose, PRESS TV.

Courtesy of PRESS TV, firefox debugger:


<script type="text/javascript">
//var s = "http://efusion1-i.akamaihd.net/hls/live/252882/ptven/playlist.m3u8";
var s = "http://178.32.255.199:1935/live/ptven/playlist.m3u8";
//var s = "rtmp://192.99.219.222:1935/live/ptven";


I get RTMP url by guessing here ( rtmp://178.32.255.199:1935/live/ptven )
and would like to ask what is the way or utility to see RTMP url at source.

http://www.presstv.com/Default/Live

Why bother with this?

It cannot be better stream than the one at source, probably RTMP stream.

I watch a few streams on GINIKO, and when their shitty server grinds to a halt it is frustrating.



Playing:

@title PRESS
set var=rtmp://178.32.255.199:1935/live/ptven
start wmove " - %var%"
start /min ffplay.exe -i %var% -vf scale=864:480



Recording:

@title ~PRES
:START
@FOR /f %%x IN ('DT') DO @set d=%%x
set var=rtmp://178.32.255.199:1935/live/ptven
ffmpeg -i %var% -c:v h264 -c:a aac -vf scale=854:480 "c:\%d%_PRES.flv"
SLEEP 3
goto START



;wmove.au3
winwait($CmdLine[1], "", 6)
winactivate($CmdLine[1], "")
; MsgBox ( 0, 'CmdLine[1] is:', $CmdLine[1])
If WinExists($CmdLine[1]) Then
Select
Case $CmdLine[0] = 3
WinMove($CmdLine[1], "", $CmdLine[2],$CmdLine[3])
Case $CmdLine[0] = 5
WinMove($CmdLine[1], "", $CmdLine[2],$CmdLine[3],$CmdLine[4],$CmdLine[5])
EndSelect
EndIf


program DT;
{$APPTYPE CONSOLE}
uses SysUtils;
var dtime: string;
begin
dtime:= FormatDateTime('yyyy-mm-dd_hh-nn-ss', Now);
writeln(dtime);
end.


http://www.robvanderwoude.com/wait.php#SLEEP
Probably something to with Ios and mobile devices.
Reply With Quote
  #4  
Old 01-09-2017, 06:53 PM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: sniff RTMP stream


You may be right.

Set my PC to look like mobile device to their website, and maybe
my browser's debugger and sniffers would show something else. Have to figure out how to do that, maybe spoof user agent.

The fact is that I am watching their RTMP stream and cannot find rtmp url anywhere to be seen.

Default resolution of rtmp stream on my PC is 1280x720, I make it to 540 x 480, one of theirs from m3u8.



ffplay version 3.2.2 Copyright (c) 2003-2016 the FFmpeg developers
built with gcc 5.4.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-dxva2 --enable-libmfx -
-enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei
0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-li
bbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --en
able-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-li
bopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --e
nable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable
-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --e
nable-lzma --enable-decklink --enable-zlib
libavutil 55. 34.100 / 55. 34.100
libavcodec 57. 64.101 / 57. 64.101
libavformat 57. 56.100 / 57. 56.100
libavdevice 57. 1.100 / 57. 1.100
libavfilter 6. 65.100 / 6. 65.100
libswscale 4. 2.100 / 4. 2.100
libswresample 2. 3.100 / 2. 3.100
libpostproc 54. 1.100 / 54. 1.100
Metadata: : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
presetname Custom
creationdate Mon Jan 09 12:46:19 2017
videodevice Decklink Video Capture (3)
framerate 25.00
width 1280.00
height 720.00
videocodecid avc1
videodatarate 800.00
avclevel 40.00
avcprofile 66.00
videokeyframe_frequency5.00
audiodevice Decklink Audio Capture (3)
audiosamplerate 48000.00
audiochannels 1.00
audioinputvolume 75.00
audiocodecid mp4a
audiodatarate 96.00
[flv @ 04dadbc0] video stream discovered after head already parsed
[flv @ 04dadbc0] audio stream discovered after head already parsed
Input #0, flv, from 'rtmp://178.32.255.199:1935/live/ptven':f=0/0
Metadata:
author :
copyright :
description :
keywords :
rating :
title :
presetname : Custom
creationdate : Mon Jan 09 12:46:19 2017
:
videodevice : Decklink Video Capture (3)
avclevel : 40
avcprofile : 66
videokeyframe_frequency: 5
audiodevice : Decklink Audio Capture (3)
audiochannels : 1
audioinputvolume: 75
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264 (Baseline), yuv420p(tv, progressive), 1280x720 [SAR
1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn, 50 tbc
Stream #0:1: Audio: aac (LC), 48000 Hz, mono, fltp
30.15 A-V: -0.020 fd= 133 aq= 18KB vq= 72KB sq= 0B f=0/0
Reply With Quote
  #5  
Old 01-10-2017, 11:40 AM
ihryjfbd ihryjfbd is offline
Senior Member
 
Join Date: Oct 2015
Posts: 212
ihryjfbd is on a distinguished road
Default

Re: sniff RTMP stream


Well Android hasn't supported flash since ICS don't know about IOS, probably defaults back to the m3u8 stream.
Reply With Quote
  #6  
Old 01-10-2017, 12:13 PM
confused.com confused.com is offline
Senior Member
 
Join Date: Jan 2017
Posts: 165
confused.com is on a distinguished road
Default

Re: sniff RTMP stream


Quote:
Originally Posted by j_cool View Post
videodevice Decklink Video Capture (3)

https://www.blackmagicdesign.com/uk/products/decklink

DeckLink capture and playback cards are used every day in the production of television commercials,
music videos, episodic television programs and ...
Reply With Quote
  #7  
Old 01-10-2017, 12:30 PM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: sniff RTMP stream


Confused,

Is ImLive.com on TV ? It might give us PRIVATE SHOWS back door.

How to get RTMP url ?
Reply With Quote
  #8  
Old 01-12-2017, 06:36 PM
confused.com confused.com is offline
Senior Member
 
Join Date: Jan 2017
Posts: 165
confused.com is on a distinguished road
Default

Re: sniff RTMP stream


https://github.com/andreafabrizi/rtmpSnoop
Reply With Quote
  #9  
Old 03-18-2017, 03:09 AM
confused.com confused.com is offline
Senior Member
 
Join Date: Jan 2017
Posts: 165
confused.com is on a distinguished road
Default

Re: sniff RTMP stream


Quote:
Originally Posted by j_cool View Post
Confused,

Is ImLive.com on TV ?...

How to get RTMP url ?

https://github.com/streamlink/streamlink/issues/707
Reply With Quote
Reply Post New Thread
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 11:35 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons