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 > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 08-29-2015, 03:01 PM
Mick Mick is offline
Junior Member
 
Join Date: Nov 2010
Posts: 17
Mick is on a distinguished road
Default

rtmpsuck does not work with ITV Player?


Hi All,

I just tried using rtmpsuck on Linux, but it seems that it no longer works. I was trying to capture an ITV stream but it just sits there, while the stream is being played on Firefox. Is this software still working as it should?

I am running the latest version from trunk.

Can you please advise?
--
Regards,
Mick
Reply With Quote
  #2  
Old 08-29-2015, 04:53 PM
biezom biezom is offline
Senior Member
 
Join Date: Sep 2014
Posts: 1,025
biezom is on a distinguished road
Default

Re: rtmpsuck does not work with ITV Player?


Quote:
Originally Posted by Mick View Post
Hi All,

I just tried using rtmpsuck on Linux, but it seems that it no longer works. I was trying to capture an ITV stream but it just sits there, while the stream is being played on Firefox. Is this software still working as it should?

I am running the latest version from trunk.

Can you please advise?
--
Regards,
Mick
hi
did you try with rtmpsrv?

Code:
iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT &rtmpsrv

maybe you need compile the last patched version

on my debian linux with last rtmpsrv and rtmpdump patched and compiled it works

Code:
rtmpdump -r "rtmpe://cp72511.edgefcs.net:1935/ondemand" -a "ondemand?auth=??????????????????????????????????????????????????????????????????????????&aifp=v002&slist=production/" -f "LNX 17,0,0,134" -W "https://www.itv.com/mediaplayer/releases/2.16.2/ITVMediaPlayer.swf" -p "https://www.itv.com/itvplayer/endeavour/series-2/episode-2-nocturne" -y "mp4:production/priority/CATCHUP/2/1229/0007/001/2-1229-0007-001_PC011800_16X9.mp4?sessionId=????????-???????????-?????????" -o "2-1229-0007-001_PC011800_16X9.flv"
RTMPDump v2.4 KSV-05-05-2015
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 9
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:   duration                5362.04
INFO:   moovPosition            32.00
INFO:   width                   896.00
INFO:   height                  504.00
INFO:   videocodecid            avc1
INFO:   audiocodecid            mp4a
INFO:   avcprofile              100.00
INFO:   avclevel                31.00
INFO:   aacaot                  2.00
INFO:   videoframerate          25.00
INFO:   audiosamplerate         48000.00
INFO:   audiochannels           2.00
INFO: trackinfo:
INFO:   length                  134051.00
INFO:   timescale               25.00
INFO:   language                und
INFO: sampledescription:
INFO:   sampletype              avc1
INFO:   length                  257376256.00
INFO:   timescale               48000.00
INFO:   language                und
INFO: sampledescription:
INFO:   sampletype              mp4a
12140.980 kB / 73.20 sec (1.3%)
Reply With Quote
  #3  
Old 08-29-2015, 06:04 PM
Mick Mick is offline
Junior Member
 
Join Date: Nov 2010
Posts: 17
Mick is on a distinguished road
Default

Re: rtmpsuck does not work with ITV Player?


Yes, although I tried it with this iptables set up:
Code:
/sbin/iptables -v -t nat -A OUTPUT -p tcp --dport 1935 -m owner \! --uid-owner root -j REDIRECT
With your suggestion I get:
Code:
iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT &rtmpsrv
[1] 15956
RTMP Server v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935
It just hangs until I cancel it.

This is the version I have installed:
Code:
GIT update -->
   repository:               git://git.ffmpeg.org/rtmpdump
   at the commit:            a107cef9b392616dff54fabfd37f985ee2190a6f
   branch:                   master
--
Regards,
Mick
Reply With Quote
  #4  
Old 08-29-2015, 06:09 PM
Mick Mick is offline
Junior Member
 
Join Date: Nov 2010
Posts: 17
Mick is on a distinguished road
Default

Re: rtmpsuck does not work with ITV Player?


Oops! I found what I was doing wrong:

I started playing the stream in the browser BEFORE I had started rtmpsrv!

I started again and did not play the stream in the browser, until I have setup rtmpsrv.

Apologies for the noise!
--
Regards,
Mick
Reply With Quote
  #5  
Old 08-29-2015, 06:12 PM
biezom biezom is offline
Senior Member
 
Join Date: Sep 2014
Posts: 1,025
biezom is on a distinguished road
Default

Re: rtmpsuck does not work with ITV Player?


Quote:
Originally Posted by Mick View Post
Oops! I found what I was doing wrong:

I started playing the stream in the browser BEFORE I had started rtmpsrv!

I started again and did not play the stream in the browser, until I have setup rtmpsrv.

Apologies for the noise!
--
Regards,
Mick
so copy the rtmpdump code
stop rtmpsrv Ctrl +C

and
Code:
iptables -t nat -D OUTPUT -p tcp --dport 1935 -j REDIRECT
before paste the code


Nota: i have PC01800=bitrate="800000" with rtmpsrv if you want PC011800=bitrate="1800000"
change PC01800 by PC011800 in the playpath
Reply With Quote
  #6  
Old 08-30-2015, 03:34 AM
Mick Mick is offline
Junior Member
 
Join Date: Nov 2010
Posts: 17
Mick is on a distinguished road
Default

Re: rtmpsuck does not work with ITV Player?


Quote:
Originally Posted by biezom View Post
so copy the rtmpdump code

Nota: i have PC01800=bitrate="800000" with rtmpsrv if you want PC011800=bitrate="1800000"
change PC01800 by PC011800 in the playpath
Nice one, thanks!
Like this I am capturing a higher resolution:
Code:
Playing: 2-1229-0007-001_PC011800_16X9.flv
 (+) Video --vid=1 (h264)
 (+) Audio --aid=1 (aac)
AO: [pulse] 48000Hz stereo 2ch float
VO: [opengl] 896x504 yuv420p
Can I go larger? How do I calculate the corresponding resolution from the bitrate?
--
Regards,
Mick
Reply With Quote
  #7  
Old 08-30-2015, 07:31 AM
biezom biezom is offline
Senior Member
 
Join Date: Sep 2014
Posts: 1,025
biezom is on a distinguished road
Default

Re: rtmpsuck does not work with ITV Player?


Quote:
Originally Posted by Mick View Post
Nice one, thanks!
Like this I am capturing a higher resolution:
Code:
Playing: 2-1229-0007-001_PC011800_16X9.flv
 (+) Video --vid=1 (h264)
 (+) Audio --aid=1 (aac)
AO: [pulse] 48000Hz stereo 2ch float
VO: [opengl] 896x504 yuv420p
Can I go larger? How do I calculate the corresponding resolution from the bitrate?
--
Regards,
Mick
sniff the traffic with ngrep and mp4 filter

example

Code:
ngrep mp4 -d wlan0>sniff-itv.txt
change wlan0 by your connected interface and edit sniff-itv.txt

part of the result

Code:
<MediaFile delivery="Streaming" bitrate=
  "600000" base="" tkn="">.          <URL><![CDATA[mp4:production/priority/CA
  TCHUP/2/1229/0007/001/2-1229-0007-001_PC01600_16X9.mp4]]></URL>.        </M
  ediaFile>.        <MediaFile delivery="Streaming" bitrate="800000" base="" 
  tkn="">.          <URL><![CDATA[mp4:production/priority/CATCHUP/2/1229/0007
  /001/2-1229-0007-001_PC01800_16X9.mp4]]></URL>.        </MediaFile>.       
   <MediaFile delivery="Streaming" bitrate="1200000" base="" tkn="">.        
    <URL><![CDATA[mp4:production/priority/CATCHUP/2/1229/0007/001/2-1229-0007
  -001_PC011200_16X9.mp4]]></URL>.        </MediaFile>.        <MediaFile del
  ivery="Streaming" bitrate="1500000" base="" tkn="">.          <URL><![CDATA[mp4:production/pri
  ority/CATCHUP/2/1229/0007/001/2-1229-0007-001_PC011500_16X9.mp4]]></URL>.  
        </MediaFile>.        <MediaFile delivery="Streaming" bitrate="1800000
  " base="" tkn="">.          <URL><![CDATA[mp4:production/priority/CATCHUP/2
  /1229/0007/001/2-1229-0007-001_PC011800_16X9.mp4]]></URL>.        </MediaFi
  le>.      </MediaFiles>.
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 03:02 AM.


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