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-15-2012, 10:27 AM
zvhotboxru zvhotboxru is offline
Junior Member
 
Join Date: Jan 2012
Posts: 2
zvhotboxru is on a distinguished road
Default

rtmpdump - repeats in resulting audio(+)


First of all i'd like to thanks author for the great program!

My problem is:

Code:
rtmpdump -r "rtmp://stream.samurai.fm:1935/vods3" -a "vods3" -f "LNX 11,1,102,55" -W "http://samurai.fm/flash/sfm_soundmanager2c.swf?serverUrl=stream.samurai.fm&pollInterval=250" -p "http://samurai.fm/" -y "mp4:amazons3/origin.samurai.fm/media/d1c632cb/jeff.m4a" -o jeff.flv
its from http://samurai.fm/jeff-b/jeff-b-new-...lk-in-the-park

the resulting audio have repeating parts, like someone pushes rewind for 2-3 secs back (example: http://zv.hotbox.ru/jeff.flv)

output looks like:
Code:
RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
ERROR: RTMP_HashSWF: couldn't open /home/z/.swfinfo for writing, errno 13 (Permission denied)
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: trackinfo:
INFO:   timescale             44100.00
INFO:   length                178449030.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            mp4a
INFO:   audiochannels         2.00
INFO:   audiosamplerate       44100.00
INFO:   aacaot                2.00
INFO:   audiocodecid          mp4a
INFO:   moovposition          40.00
INFO:   duration              4046.46
133.444 kB / 14.21 sec (0.3%)
INFO: Metadata:
INFO: trackinfo:
INFO:   timescale             44100.00
INFO:   length                178449030.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            mp4a
INFO:   audiochannels         2.00
INFO:   audiosamplerate       44100.00
INFO:   aacaot                2.00
INFO:   audiocodecid          mp4a
INFO:   moovposition          40.00
INFO:   duration              4046.46
309.415 kB / 15.12 sec (0.3%)
INFO: Metadata:
INFO: trackinfo:
INFO:   timescale             44100.00
INFO:   length                178449030.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            mp4a
INFO:   audiochannels         2.00
INFO:   audiosamplerate       44100.00
INFO:   aacaot                2.00
INFO:   audiocodecid          mp4a
INFO:   moovposition          40.00
INFO:   duration              4046.46
411.808 kB / 16.00 sec (0.3%)
INFO: Metadata:
INFO: trackinfo:
INFO:   timescale             44100.00
INFO:   length                178449030.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            mp4a
INFO:   audiochannels         2.00
INFO:   audiosamplerate       44100.00
INFO:   aacaot                2.00
INFO:   audiocodecid          mp4a
INFO:   moovposition          40.00
INFO:   duration              4046.46
602.232 kB / 23.96 sec (0.5%)
INFO: Metadata:
INFO: trackinfo:
INFO:   timescale             44100.00
INFO:   length                178449030.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            mp4a
INFO:   audiochannels         2.00
INFO:   audiosamplerate       44100.00
INFO:   aacaot                2.00
INFO:   audiocodecid          mp4a
INFO:   moovposition          40.00
INFO:   duration              4046.46
793.392 kB / 31.95 sec (0.7%)
INFO: Metadata:
INFO: trackinfo:
INFO:   timescale             44100.00
INFO:   length                178449030.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            mp4a
INFO:   audiochannels         2.00
INFO:   audiosamplerate       44100.00
INFO:   aacaot                2.00
INFO:   audiocodecid          mp4a
INFO:   moovposition          40.00
INFO:   duration              4046.46
988.127 kB / 39.91 sec (0.9%)
INFO: Metadata:
INFO: trackinfo:
INFO:   timescale             44100.00
INFO:   length                178449030.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            mp4a
INFO:   audiochannels         2.00
INFO:   audiosamplerate       44100.00
INFO:   aacaot                2.00
INFO:   audiocodecid          mp4a
INFO:   moovposition          40.00
INFO:   duration              4046.46
^CCaught signal: 2, cleaning up, just a second...
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
1084.841 kB / 47.88 sec (1.1%)
Download may be incomplete (downloaded about 1.10%), try resuming
using -v optin sometime helps, but takes too long time (like if you would listen for hole show)

What can I do?
Reply With Quote
  #2  
Old 01-15-2012, 10:42 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: rtmpdump - repeats in resulting audio(+)


using (-v | --live) switch is your only option to correctly download data from such misbehaving servers. and yeah it will take some extra time to download.
Reply With Quote
  #3  
Old 01-15-2012, 10:50 AM
Bahman Bahman is offline
t.A.T.u.'s fan forever
 
Join Date: Sep 2011
Location: Tehran, Iran
Posts: 381
Bahman is on a distinguished road
Default

Re: rtmpdump - repeats in resulting audio(+)


^Hey, look at error, if he input hash and size, it will be dl'ed correctly!!
Code:
rtmpdump -r "rtmp://stream.samurai.fm:1935/vods3" -a "vods3" -f "LNX 11,1,102,55" --swfUrl "http://samurai.fm/flash/sfm_soundmanager2c.swf?serverUrl=stream.samurai.fm&pollInterval=250" --swfsize "21808" --swfhash "4acba1208379780d5db7cf30446ab326d80c07b0510c9340b70aacd5ba5677cd" -p "http://samurai.fm/" -y "mp4:amazons3/origin.samurai.fm/media/d1c632cb/jeff.m4a" -o jeff.flv
Code:
RTMPDump v2.4 GIT-2011-12-22 (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:   timescale             44100.00
INFO:   length                178449030.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            mp4a
INFO:   audiochannels         2.00
INFO:   audiosamplerate       44100.00
INFO:   aacaot                2.00
INFO:   audiocodecid          mp4a
INFO:   moovposition          40.00
INFO:   duration              4046.46
238.698 kB / 23.08 sec (0.5%)
Also use rtmpdump 2.4!!

(Dunno, maybe in Linux is diff!! )
Reply With Quote
  #4  
Old 01-15-2012, 11:18 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: rtmpdump - repeats in resulting audio(+)


it has nothing to do with swf verification. it's a known problem with some servers. using -v switch disables RTMP_LF_BUFX hack which causes this weird behavior with some servers.
Reply With Quote
  #5  
Old 01-15-2012, 11:40 AM
Bahman Bahman is offline
t.A.T.u.'s fan forever
 
Join Date: Sep 2011
Location: Tehran, Iran
Posts: 381
Bahman is on a distinguished road
Default

Re: rtmpdump - repeats in resulting audio(+)


Thanks so much for explaining!!
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:13 PM.


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