Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   rtmpdump (http://stream-recorder.com/forum/forumdisplay.php?f=54)
-   -  

rtmpdump - repeats in resulting audio(+)

(http://stream-recorder.com/forum/showthread.php?t=10829)

zvhotboxru 01-15-2012 09:27 AM

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?

KSV 01-15-2012 09:42 AM

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.

Bahman 01-15-2012 09:50 AM

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!! :confused: )

KSV 01-15-2012 10:18 AM

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.

Bahman 01-15-2012 10:40 AM

Re: rtmpdump - repeats in resulting audio(+)


 
Thanks so much for explaining!!;)


All times are GMT -6. The time now is 05:41 AM.