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 (https://www.itv.com/itvplayer/endeavour/series-2/episode-2-nocturne) 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
biezom
08-29-2015, 03:53 PM
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 (https://www.itv.com/itvplayer/endeavour/series-2/episode-2-nocturne) 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?
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
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%)
Yes, although I tried it with this iptables set up: /sbin/iptables -v -t nat -A OUTPUT -p tcp --dport 1935 -m owner \! --uid-owner root -j REDIRECT
With your suggestion I get: 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:GIT update -->
repository: git://git.ffmpeg.org/rtmpdump
at the commit: a107cef9b392616dff54fabfd37f985ee2190a6f
branch: master
--
Regards,
Mick
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
biezom
08-29-2015, 05:12 PM
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
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
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 playpathNice one, thanks! ;)
Like this I am capturing a higher resolution:
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
biezom
08-30-2015, 06:31 AM
Nice one, thanks! ;)
Like this I am capturing a higher resolution:
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
ngrep mp4 -d wlan0>sniff-itv.txt
change wlan0 by your connected interface and edit sniff-itv.txt
part of the result
<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>.
vBulletin® , Copyright ©2000-2025, Jelsoft Enterprises Ltd.