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

Help me pls. Video download for rtmpdump.

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

Gibberring 02-09-2012 09:35 AM

Help me pls. Video download for rtmpdump.


 
hi,

Reviewed the documents but I can NOT download video.
video site : www.acunn.com
Code:

modes: [
                        { type: "flash",
                          src: "http://isc.acunn.com/static/player/secureplayer.swf",
                          config: {
                            file: "acunn/b/yetenek-sizsiniz/1328730686.mp4",
                            image: "http://s.cdn.acunn.com/video/acunn/b/yetenek-sizsiniz/1328730686.mp4.jpg",
                            streamer: "rtmpe://main.eu.cdn.streamprovider.net:80/securestreaming",
                            provider: "rtmp"
                          }
                        },
                        { type: "html5",
                          config: {
                            file: "http://main.eu.cdn.streamprovider.net:1935/vod/_definst_/acunn/b/yetenek-sizsiniz/1328730686.mp4 /playlist.m3u8"
                          }


Example /rtmpdump -r rtmp://oxy.videolectures.net/video/ -y 2007/pascal/bootcamp07_vilanova/keller_mikaela/bootcamp07_keller_bss_01 -a video -s http://media.videolectures.net/jw-player/player.swf -w ffa4f0c469cfbe1f449ec42462e8c3ba16600f5a4b311980bb 626893ca81f388 -x 53910 -o test.flv Example

I can not set the parameters... Help me pls.

chap 02-09-2012 06:13 PM

Re: Help me pls. Video download for rtmpdump.


 
Quote:

Originally Posted by Gibberring (Post 39475)
hi,

Reviewed the documents but I can NOT download video.
video site : www.acunn.com
Code:

modes: [
                        { type: "flash",
                          src: "http://isc.acunn.com/static/player/secureplayer.swf",
                          config: {
                            file: "acunn/b/yetenek-sizsiniz/1328730686.mp4",
                            image: "http://s.cdn.acunn.com/video/acunn/b/yetenek-sizsiniz/1328730686.mp4.jpg",
                            streamer: "rtmpe://main.eu.cdn.streamprovider.net:80/securestreaming",
                            provider: "rtmp"
                          }
                        },
                        { type: "html5",
                          config: {
                            file: "http://main.eu.cdn.streamprovider.net:1935/vod/_definst_/acunn/b/yetenek-sizsiniz/1328730686.mp4 /playlist.m3u8"
                          }


Example /rtmpdump -r rtmp://oxy.videolectures.net/video/ -y 2007/pascal/bootcamp07_vilanova/keller_mikaela/bootcamp07_keller_bss_01 -a video -s http://media.videolectures.net/jw-player/player.swf -w ffa4f0c469cfbe1f449ec42462e8c3ba16600f5a4b311980bb 626893ca81f388 -x 53910 -o test.flv Example

I can not set the parameters... Help me pls.

try use ffmpeg
Code:

ffmpeg -i "http://main.eu.cdn.streamprovider.net:1935/vod/_definst_/acunn/b/yetenek-sizsiniz/1328730686.mp4+/playlist.m3u8?wowzasessionid=210329895" test.mp4

bat999 02-09-2012 06:39 PM

Re: Help me pls. Video download for rtmpdump.


 
@chap
Your FFmpeg command makes it "re-encode".
Change it to "copy", like this:-
Code:

ffmpeg -i "http://main.eu.cdn.streamprovider.net:1935/vod/_definst_/acunn/b/yetenek-sizsiniz/1328730686.mp4+/playlist.m3u8?wowzasessionid=210329895" -c copy -absf aac_adtstoasc tester.mp4

chap 02-09-2012 06:46 PM

Re: Help me pls. Video download for rtmpdump.


 
Quote:

Originally Posted by bat999 (Post 39590)
@chap
Your FFmpeg command makes it "re-encode".
Change it to "copy", like this:-
Code:

ffmpeg -i "http://main.eu.cdn.streamprovider.net:1935/vod/_definst_/acunn/b/yetenek-sizsiniz/1328730686.mp4+/playlist.m3u8?wowzasessionid=210329895" -c copy -absf aac_adtstoasc tester.mp4

thanks:cool:

Bahman 02-09-2012 11:52 PM

Re: Help me pls. Video download for rtmpdump.


 
Gibberring, in rtmpdump, you must input -p and -T parameter in order to download your video!! if you don't, will be rejected from server!!

Code:

rtmpdump -r "rtmpe://main.eu.cdn.streamprovider.net:80/securestreaming" -a "securestreaming" -W "http://isc.acunn.com/static/player/secureplayer.swf" -p "http://www.acunn.com/video/o-ses-turkiye/fatma-iscan-ben-insan-degil-miyim/390" -T "tolga" -y "mp4:acunn/b/yetenek-sizsiniz/1328730686.mp4" -o "1328730686.flv"
Code:

RTMPDump v2.4 GIT-2011-12-22 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: Trying different position for server digest!
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: trackinfo:
INFO:  timescale            25.00
INFO:  length                3935.00
INFO:  language              eng
INFO: sampledescription:
INFO:  sampletype            avc1
INFO:  timescale            48000.00
INFO:  length                7553024.00
INFO:  language              eng
INFO: sampledescription:
INFO:  sampletype            mp4a
INFO:  audiochannels        2.00
INFO:  audiosamplerate      48000.00
INFO:  videoframerate        25.00
INFO:  aacaot                2.00
INFO:  avclevel              21.00
INFO:  avcprofile            100.00
INFO:  audiocodecid          mp4a
INFO:  videocodecid          avc1
INFO:  width                540.00
INFO:  height                360.00
INFO:  moovposition          18313500.00
INFO:  duration              157.40
41.305 kB / 0.20 sec (0.1%)

Take a look here for more information if you are interested!! ;)

Gibberring 02-10-2012 01:50 AM

Re: Help me pls. Video download for rtmpdump.


 
Thanks for posts.

Thanks @Bahman

18084.187 kB / 157.36 sec (99.9%)
Download complete

:)

bat999 02-10-2012 08:15 AM

Re: Help me pls. Video download for rtmpdump.


 
So it's possible to download that acunn video using two different methods.:cool:

Chap used the http link with FFmpeg.
It's found by searching in Firefox > "View page source".:)

Bahman used RTMPDump.:)
But I don't know how the rtmpe link was found, rtmpsrv and rtmpsuck couldn't find it for me. :confused:
Aha, I've just seen Bahman's explanation here ---> ___http://stream-recorder.com/forum/acunn-com-help-t10765.html

The downloaded video is the same for both methods - 540x360 h264/aac.

Is the web page designed like this so that some browsers use rtmpe with flash and browsers that can't handle flash use http instead?

General
Code:

Complete name            : 1328730686.flv
Format                    : Flash Video
File size                : 17.7 MiB
Duration                  : 2mn 37s
Overall bit rate          : 941 Kbps

Video
Format                    : AVC
Format/Info              : Advanced Video Codec
Format profile            : High@L2.1
Format settings, CABAC    : Yes
Format settings, ReFrames : 4 frames
Codec ID                  : 7
Duration                  : 2mn 37s
Width                    : 540 pixels
Height                    : 360 pixels
Display aspect ratio      : 4:3
Frame rate mode          : Constant
Frame rate                : 25.000 fps
Color space              : YUV
Chroma subsampling        : 4:2:0
Bit depth                : 8 bits
Scan type                : Progressive

Audio
Format                    : AAC
Format/Info              : Advanced Audio Codec
Format profile            : LC
Codec ID                  : 10
Duration                  : 2mn 37s
Channel(s)                : 2 channels
Channel positions        : Front: L R
Sampling rate            : 48.0 KHz
Compression mode          : Lossy


Bahman 02-10-2012 08:44 AM

Re: Help me pls. Video download for rtmpdump.


 
Quote:

Originally Posted by bat999 (Post 39667)
Is the web page designed like this so that some browsers use rtmpe with flash and browsers that can't handle flash use http instead?

look at the webpage's source again:
Code:

modes: [
                        { type: "flash",
                          src: "http://isc.acunn.com/static/player/secureplayer.swf",
                          config: {
                            file: "acunn/b/yetenek-sizsiniz/1328730686.mp4",
                            image: "http://s.cdn.acunn.com/video/acunn/b/yetenek-sizsiniz/1328730686.mp4.jpg",
                            streamer: "rtmpe://main.eu.cdn.streamprovider.net:80/securestreaming",
                            provider: "rtmp"
                          }
                        },
                        { type: "html5",
                          config: {
                            file: "http://main.eu.cdn.streamprovider.net:1935/vod/_definst_/acunn/b/yetenek-sizsiniz/1328730686.mp4 /playlist.m3u8"

Yeah, HTML5!!

bat999 02-10-2012 08:59 AM

Re: Help me pls. Video download for rtmpdump.


 
Quote:

Originally Posted by Bahman (Post 39672)
Yeah, HTML5!!

That's cool.:cool:
Using http link with FFmpeg downloaded much quicker for me than rtmpe with RTMPDump.:)

FFmpeg for Windows is available from here ---> __http://ffmpeg.zeranoe.com/builds/
Then use command:-
Code:

ffmpeg -i "http://main.eu.cdn.streamprovider.net:1935/vod/_definst_/acunn/b/yetenek-sizsiniz/1328730686.mp4/playlist.m3u8" -c copy -absf aac_adtstoasc acunn.mp4

Bahman 02-10-2012 09:05 AM

Re: Help me pls. Video download for rtmpdump.


 
Blimey! You are an expert ffmpeg user, indeed!! Thank you!!


All times are GMT -6. The time now is 04:58 AM.