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
  #31  
Old 06-03-2017, 05:34 PM
JNHR01 JNHR01 is offline
Junior Member
 
Join Date: Jun 2017
Posts: 2
JNHR01 is on a distinguished road
Default

Re: rtmpdump RTMP_ReadPacket, failed to read RTMP packet header


Hi.

I am trying to capture the stream from https://networkfaculty.com/es/course...-configuracion and https://networkfaculty.com/es/course...acion/playlist

I used
Quote:
rtmpdump.exe -r "rtmp://networkfaculty.com/vod/1496249546" -s "https://networkfaculty.com/static/js/jwplayer.flash.swf" -p "https://networkfaculty.com/es/courses/coursedetail/13-curso-windows-server-2012---instalacion-y-configuracion" -o "vdr.flv"
But I got

Quote:
RTMPDump 2.4 git-6230845 2011-9-25
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
Can anybody help me?
Reply With Quote
  #32  
Old 06-03-2017, 05:49 PM
hasomaso hasomaso is offline
Senior Member
 
Join Date: Apr 2011
Posts: 943
hasomaso is on a distinguished road
Default

Re: rtmpdump RTMP_ReadPacket, failed to read RTMP packet header


hi mate,

u need the secureToken
Code:
#invalidParameterException_098
Code:
rtmpdump -r "rtmp://networkfaculty.com:1935/vod/" -a "vod/" -f "WIN 25,0,0,171" -W "https://networkfaculty.com/static/js/jwplayer.flash.swf" -p "https://networkfaculty.com/es/courses/coursedetail/13-curso-windows-server-2012---instalacion-y-configuracion" -y "1496529633&ZhQ5qnQpsDh4lJfS75Von54SFWBwcVq0w" -T "#invalidParameterException_098" -o "output.flv"
Code:
D:\rtmp>rtmpdump -r "rtmp://networkfaculty.com:1935/vod/" -a "vod/" -f "WIN 25,0
,0,171" -W "https://networkfaculty.com/static/js/jwplayer.flash.swf" -p "https:/
/networkfaculty.com/es/courses/coursedetail/13-curso-windows-server-2012---insta
lacion-y-configuracion" -y "1496529633&ZhQ5qnQpsDh4lJfS75Von54SFWBwcVq0w" -T "#i
nvalidParameterException_098" -o "output.flv"
RTMPDump v2.4 GIT-2015-12-14 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: trackinfo:
INFO:   language                eng
INFO:   timescale               12800.00
INFO:   length                  543232.00
INFO: sampledescription:
INFO:   sampletype              avc1
INFO:   language                eng
INFO:   timescale               48000.00
INFO:   length                  2038781.00
INFO: sampledescription:
INFO:   sampletype              mp4a
INFO:   audiochannels           2.00
INFO:   audiosamplerate         48000.00
INFO:   videoframerate          25.00
INFO:   aacaot                  2.00
INFO:   avclevel                30.00
INFO:   avcprofile              66.00
INFO:   audiocodecid            mp4a
INFO:   videocodecid            avc1
INFO:   width                   853.00
INFO:   height                  480.00
INFO:   frameWidth              854.00
INFO:   frameHeight             480.00
INFO:   displayWidth            853.00
INFO:   displayHeight           480.00
INFO:   framerate               25.00
INFO:   moovposition            40.00
INFO:   duration                42.48
INFO:   languageTrack0          IDE5Mi4xNjguMjU1LjQyIDE0OTY1Mjk5MzExMDc=
278.587 kB / 4.84 sec (11.3%)
INFO: Metadata:
INFO: trackinfo:
INFO:   language                eng
INFO:   timescale               12800.00
INFO:   length                  543232.00
INFO: sampledescription:
INFO:   sampletype              avc1
INFO:   language                eng
INFO:   timescale               48000.00
INFO:   length                  2038781.00
INFO: sampledescription:
INFO:   sampletype              mp4a
INFO:   audiochannels           2.00
INFO:   audiosamplerate         48000.00
INFO:   videoframerate          25.00
INFO:   aacaot                  2.00
INFO:   avclevel                30.00
INFO:   avcprofile              66.00
INFO:   audiocodecid            mp4a
INFO:   videocodecid            avc1
INFO:   width                   853.00
INFO:   height                  480.00
INFO:   frameWidth              854.00
INFO:   frameHeight             480.00
INFO:   displayWidth            853.00
INFO:   displayHeight           480.00
INFO:   framerate               25.00
INFO:   moovposition            40.00
INFO:   duration                42.48
INFO:   languageTrack0          IDE5Mi4xNjguMjU1LjQyIDE0OTY1Mjk5MzE1OTk=
Reply With Quote
  #33  
Old 06-05-2017, 06:59 AM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: rtmpdump RTMP_ReadPacket, failed to read RTMP packet header


Strange, I get this simply with rtmpsuck, at least that clip from first link.

I did not try to log in on page from second link.

-y looks different for the same file in 2 different times.


Code:
rtmpdump -r "rtmp://networkfaculty.com:1935/vod/" -a "vod/" -f "WIN 25,0,0,171" -W "https://networkfaculty.com/static/js/jwplayer.flash.swf" -p "https://networkfaculty.com/es/courses/coursedetail/13-curso-windows-server-2012---instalacion-y-configuracion" -y "1496663009&s6FhVu9yb6YZsgnb9PnXRsUKgAwIZFCTB" -o "2017-06-05_12-45-09_1496663009_s6FhVu9yb6YZsgnb9PnXRsUKgAwIZFCTB.flv"
rtmpdump -r "rtmp://networkfaculty.com:1935/vod/" -a "vod/" -f "WIN 25,0,0,171" -W "https://networkfaculty.com/static/js/jwplayer.flash.swf" -p "https://networkfaculty.com/es/courses/coursedetail/13-curso-windows-server-2012---instalacion-y-configuracion" -y "1496663430&uUmmypdBUeQWt0sxQLuvBhBDEhGplvU07" -o "2017-06-05_12-50-35_1496663430_uUmmypdBUeQWt0sxQLuvBhBDEhGplvU07.flv"



RTMP Proxy Server v2.4 GIT-2015-12-14 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!
Processing connect
       app : vod/
  flashVer : WIN 25,0,0,171
    swfUrl : https://networkfaculty.com/static/js/jwplayer.flash.swf
     tcUrl : rtmp://networkfaculty.com:1935/vod/
   pageUrl : https://networkfaculty.com/es/courses/coursedetail/13-curso-windows-server-2012---instalacion-y-configuracion
      live : no
  Playpath : 1496663009&s6FhVu9yb6YZsgnb9PnXRsUKgAwIZFCTB
 Saving as : 2017-06-05_12-45-09_1496663009_s6FhVu9yb6YZsgnb9PnXRsUKgAwIZFCTB.flv
WARNING: ignoring too small audio packet: size: 0
INFO: Metadata:
INFO: trackinfo:
INFO:   language                eng
INFO:   timescale               12800.00
INFO:   length                  543232.00
INFO: sampledescription:
INFO:   sampletype              avc1
INFO:   language                eng
INFO:   timescale               48000.00
INFO:   length                  2038781.00
INFO: sampledescription:
INFO:   sampletype              mp4a
INFO:   audiochannels           2.00
INFO:   audiosamplerate         48000.00
INFO:   videoframerate          25.00
INFO:   aacaot                  2.00
INFO:   avclevel                30.00
INFO:   avcprofile              66.00
INFO:   audiocodecid            mp4a
INFO:   videocodecid            avc1
INFO:   width                   853.00
INFO:   height                  480.00
INFO:   frameWidth              854.00
INFO:   frameHeight             480.00
INFO:   displayWidth            853.00
INFO:   displayHeight           480.00
INFO:   framerate               25.00
INFO:   moovposition            40.00
INFO:   duration                42.48
INFO:   languageTrack0          IDE5Mi4xNjguMjU1LjQyIDE0OTY2NjMxMDk1NTM=
WARNING: ignoring too small video packet: size: 5
WARNING: ignoring too small audio packet: size: 0
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
Closing connection... done!

WARNING: Trying different position for client digest!
Processing connect
       app : vod/
  flashVer : WIN 25,0,0,171
    swfUrl : https://networkfaculty.com/static/js/jwplayer.flash.swf
     tcUrl : rtmp://networkfaculty.com:1935/vod/
   pageUrl : https://networkfaculty.com/es/courses/coursedetail/13-curso-windows-server-2012---instalacion-y-configuracion
      live : no
  Playpath : 1496663430&uUmmypdBUeQWt0sxQLuvBhBDEhGplvU07
 Saving as : 2017-06-05_12-50-35_1496663430_uUmmypdBUeQWt0sxQLuvBhBDEhGplvU07.flv
WARNING: ignoring too small audio packet: size: 0
INFO: Metadata:
INFO: trackinfo:
INFO:   language                eng
INFO:   timescale               12800.00
INFO:   length                  543232.00
INFO: sampledescription:
INFO:   sampletype              avc1
INFO:   language                eng
INFO:   timescale               48000.00
INFO:   length                  2038781.00
INFO: sampledescription:
INFO:   sampletype              mp4a
INFO:   audiochannels           2.00
INFO:   audiosamplerate         48000.00
INFO:   videoframerate          25.00
INFO:   aacaot                  2.00
INFO:   avclevel                30.00
INFO:   avcprofile              66.00
INFO:   audiocodecid            mp4a
INFO:   videocodecid            avc1
INFO:   width                   853.00
INFO:   height                  480.00
INFO:   frameWidth              854.00
INFO:   frameHeight             480.00
INFO:   displayWidth            853.00
INFO:   displayHeight           480.00
INFO:   framerate               25.00
INFO:   moovposition            40.00
INFO:   duration                42.48
INFO:   languageTrack0          IDE5Mi4xNjguMjU1LjQyIDE0OTY2NjM0MzYyMjk=
WARNING: ignoring too small video packet: size: 5
WARNING: ignoring too small audio packet: size: 0
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
Closing connection... done!
Reply With Quote
  #34  
Old 06-08-2017, 11:17 AM
JNHR01 JNHR01 is offline
Junior Member
 
Join Date: Jun 2017
Posts: 2
JNHR01 is on a distinguished road
Default

Re: rtmpdump RTMP_ReadPacket, failed to read RTMP packet header


Thanks for your prompt response.

I tried with what you indicated and I was able to download the video of the course presentation.

But when I login on the page to download videos from the playlist I get the following:

I tried with:
Code:
rtmpdump -r "rtmp://networkfaculty.com:1935/vod/" -a "vod/" -f "WIN 25,0,0,171" -W "https://networkfaculty.com/static/js/jwplayer.flash.swf" -p "https://networkfaculty.com/es/courses/coursedetail/13-curso-windows-server-2012---instalacion-y-configuracion/playlist" -y "1496779871&pVKsuC18P3FJZ9fh3ndhptqM2AcEAk4w1" -T "#invalidParameterException_098" -o "outputt.flv"
And I got:
Code:
INFO:   videocodecid          avc1
INFO:   width                 640.00
INFO:   height                360.00
INFO:   frameWidth            640.00
INFO:   frameHeight           360.00
INFO:   displayWidth          640.00
INFO:   displayHeight         360.00
INFO:   framerate             25.00
INFO:   moovposition          40.00
INFO:   duration              594.59
INFO:   languageTrack0        ZDExMThAbXZyaHQubmV0IDE5Mi4xNjguMjU1LjQyIDE0OTY3ODU2MjgzMjQ=
536692.075 kB / 67369.59 sec (11330.5%)
INFO: Metadata:
INFO: trackinfo:
INFO:   language              eng
INFO:   timescale             12800.00
INFO:   length                7431168.00
INFO: sampledescription:
INFO:   sampletype            avc1
INFO:   language              eng
INFO:   timescale             48000.00
INFO:   length                27868117.00
INFO: sampledescription:
INFO:   sampletype            mp4a
INFO:   audiochannels         2.00
INFO:   audiosamplerate       48000.00
INFO:   videoframerate        25.00
INFO:   aacaot                2.00
INFO:   avclevel              30.00
INFO:   avcprofile            66.00
INFO:   audiocodecid          mp4a
INFO:   videocodecid          avc1
INFO:   width                 640.00
INFO:   height                360.00
INFO:   frameWidth            640.00
INFO:   frameHeight           360.00
INFO:   displayWidth          640.00
INFO:   displayHeight         360.00
INFO:   framerate             25.00
INFO:   moovposition          40.00
INFO:   duration              594.59
INFO:   languageTrack0        ZDExMThAbXZyaHQubmV0IDE5Mi4xNjguMjU1LjQyIDE0OTY3ODU2Mjg5Njg=
537868.892 kB / 79.42 sec (13.3%)36.9%)
INFO: Metadata:
INFO: trackinfo:
INFO:   language              eng
INFO:   timescale             12800.00
INFO:   length                7431168.00
INFO: sampledescription:
INFO:   sampletype            avc1
INFO:   language              eng
INFO:   timescale             48000.00
INFO:   length                27868117.00
INFO: sampledescription:
INFO:   sampletype            mp4a
INFO:   audiochannels         2.00
INFO:   audiosamplerate       48000.00
INFO:   videoframerate        25.00
INFO:   aacaot                2.00
INFO:   avclevel              30.00
INFO:   avcprofile            66.00
INFO:   audiocodecid          mp4a
INFO:   videocodecid          avc1
INFO:   width                 640.00
INFO:   height                360.00
INFO:   frameWidth            640.00
INFO:   frameHeight           360.00
INFO:   displayWidth          640.00
INFO:   displayHeight         360.00
INFO:   framerate             25.00
INFO:   moovposition          40.00
INFO:   duration              594.59
INFO:   languageTrack0        ZDExMThAbXZyaHQubmV0IDE5Mi4xNjguMjU1LjQyIDE0OTY3ODU2NDI0ODk=
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
537876.324 kB / 67409.39 sec (11337.1%)
INFO: Connection timed out, trying to resume.


ERROR: RTMP_ReadPacket, failed to read RTMP packet header
ERROR: Failed to resume the stream


Download may be incomplete (downloaded about 11337.10%), try resuming
I need your help to download videos from the playlist.

Quote:
Originally Posted by hasomaso View Post
hi mate,

u need the secureToken
Code:
#invalidParameterException_098
Code:
rtmpdump -r "rtmp://networkfaculty.com:1935/vod/" -a "vod/" -f "WIN 25,0,0,171" -W "https://networkfaculty.com/static/js/jwplayer.flash.swf" -p "https://networkfaculty.com/es/courses/coursedetail/13-curso-windows-server-2012---instalacion-y-configuracion" -y "1496529633&ZhQ5qnQpsDh4lJfS75Von54SFWBwcVq0w" -T "#invalidParameterException_098" -o "output.flv"
Code:
D:\rtmp>rtmpdump -r "rtmp://networkfaculty.com:1935/vod/" -a "vod/" -f "WIN 25,0
,0,171" -W "https://networkfaculty.com/static/js/jwplayer.flash.swf" -p "https:/
/networkfaculty.com/es/courses/coursedetail/13-curso-windows-server-2012---insta
lacion-y-configuracion" -y "1496529633&ZhQ5qnQpsDh4lJfS75Von54SFWBwcVq0w" -T "#i
nvalidParameterException_098" -o "output.flv"
RTMPDump v2.4 GIT-2015-12-14 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: trackinfo:
INFO:   language                eng
INFO:   timescale               12800.00
INFO:   length                  543232.00
INFO: sampledescription:
INFO:   sampletype              avc1
INFO:   language                eng
INFO:   timescale               48000.00
INFO:   length                  2038781.00
INFO: sampledescription:
INFO:   sampletype              mp4a
INFO:   audiochannels           2.00
INFO:   audiosamplerate         48000.00
INFO:   videoframerate          25.00
INFO:   aacaot                  2.00
INFO:   avclevel                30.00
INFO:   avcprofile              66.00
INFO:   audiocodecid            mp4a
INFO:   videocodecid            avc1
INFO:   width                   853.00
INFO:   height                  480.00
INFO:   frameWidth              854.00
INFO:   frameHeight             480.00
INFO:   displayWidth            853.00
INFO:   displayHeight           480.00
INFO:   framerate               25.00
INFO:   moovposition            40.00
INFO:   duration                42.48
INFO:   languageTrack0          IDE5Mi4xNjguMjU1LjQyIDE0OTY1Mjk5MzExMDc=
278.587 kB / 4.84 sec (11.3%)
INFO: Metadata:
INFO: trackinfo:
INFO:   language                eng
INFO:   timescale               12800.00
INFO:   length                  543232.00
INFO: sampledescription:
INFO:   sampletype              avc1
INFO:   language                eng
INFO:   timescale               48000.00
INFO:   length                  2038781.00
INFO: sampledescription:
INFO:   sampletype              mp4a
INFO:   audiochannels           2.00
INFO:   audiosamplerate         48000.00
INFO:   videoframerate          25.00
INFO:   aacaot                  2.00
INFO:   avclevel                30.00
INFO:   avcprofile              66.00
INFO:   audiocodecid            mp4a
INFO:   videocodecid            avc1
INFO:   width                   853.00
INFO:   height                  480.00
INFO:   frameWidth              854.00
INFO:   frameHeight             480.00
INFO:   displayWidth            853.00
INFO:   displayHeight           480.00
INFO:   framerate               25.00
INFO:   moovposition            40.00
INFO:   duration                42.48
INFO:   languageTrack0          IDE5Mi4xNjguMjU1LjQyIDE0OTY1Mjk5MzE1OTk=
Reply With Quote
  #35  
Old 06-09-2017, 04:17 AM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: rtmpdump RTMP_ReadPacket, failed to read RTMP packet header


your rtmpdump is from 2011.

try adding -v switch to the command.
Reply With Quote
  #36  
Old 06-09-2017, 07:11 PM
Yelloworanges Yelloworanges is offline
Junior Member
 
Join Date: May 2017
Posts: 93
Yelloworanges is on a distinguished road
Default

Re: rtmpdump RTMP_ReadPacket, failed to read RTMP packet header


Playpath changes for the same video with every call to vload.

For your video that requires login, check the vload call and then you may use the same playpath on the wowza server in hls or hds formats instead of rtmp. The playpath expires after a little while. The unix time code you see in the playpath is the issue time.
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 10:20 PM.


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