Re: please help me how to download a mp4 file using rtmpdump or ffmepg
ffmpeg -i "rtmp://53c7c8e287199.streamlock.net/vods3 app=vods3 playpath=mp4:amazons3/coursekart/videos/1521/topics/Introduction%%20to%%20C%%20Programming%%20and%%20A rray%%20-%%20Part%%202%%20of%%205_qtp.mp4" -c copy "test.mp4"
C:\>ffmpeg -i "rtmp://53c7c8e287199.streamlock.net/vods3 app=vods3 playpath=mp4:amazons3/coursekart/videos/1521/topics/I
ntroduction%20to%20C%20Programming%20and%20Array%2 0-%20Part%202%20of%205_qtp.mp4" -c copy "test.mp4"
ffmpeg version 3.2.2 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.4.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable
-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-li
bbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enabl
e-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-li
bopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --en
able-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable
-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zl
ib
libavutil 55. 34.100 / 55. 34.100
libavcodec 57. 64.101 / 57. 64.101
libavformat 57. 56.100 / 57. 56.100
libavdevice 57. 1.100 / 57. 1.100
libavfilter 6. 65.100 / 6. 65.100
libswscale 4. 2.100 / 4. 2.100
libswresample 2. 3.100 / 2. 3.100
libpostproc 54. 1.100 / 54. 1.100
Metadata:
trackinfo:
language eng
timescale 12800.00
length 103520768.00
sampledescription:
sampletype avc1
language eng
timescale 44100.00
length 356660800.00
sampledescription:
sampletype mp4a
audiochannels 2.00
audiosamplerate 44100.00
videoframerate 25.00
aacaot 2.00
avclevel 30.00
avcprofile 100.00
audiocodecid mp4a
videocodecid avc1
width 854.00
height 480.00
frameWidth 720.00
frameHeight 480.00
displayWidth 854.00
displayHeight 480.00
framerate 25.00
moovposition 40.00
duration 8087.56
[flv @ 03017a20] audio stream discovered after head already parsed
[flv @ 03017a20] video stream discovered after head already parsed
Input #0, flv, from 'rtmp://53c7c8e287199.streamlock.net/vods3 app=vods3 playpath=mp4:amazons3/coursekart/videos/1521/to
pics/Introduction%20to%20C%20Programming%20and%20Array% 20-%20Part%202%20of%205_qtp.mp4':
Metadata:
length : 356660800
timescale : 44100
sampletype : mp4a
audiochannels : 2
videoframerate : 25
aacaot : 2
avclevel : 30
avcprofile : 100
frameWidth : 720
frameHeight : 480
displayWidth : 854
displayHeight : 480
moovposition : 40
Duration: 02:14:47.56, start: 0.000000, bitrate: N/A
Stream #0:0: Audio: aac (LC), 44100 Hz, stereo, fltp
Stream #0:1: Video: h264 (High), yuv420p(progressive), 720x480 [SAR 427:360 DAR 427:240], 25 fps, 25 tbr, 1k tbn, 50
tbc
Output #0, mp4, to 'test.mp4':
Metadata:
length : 356660800
timescale : 44100
sampletype : mp4a
audiochannels : 2
videoframerate : 25
aacaot : 2
avclevel : 30
avcprofile : 100
frameWidth : 720
frameHeight : 480
displayWidth : 854
displayHeight : 480
moovposition : 40
encoder : Lavf57.56.100
Stream #0:0: Video: h264 (High) ([33][0][0][0] / 0x0021), yuv420p(progressive), 720x480 [SAR 427:360 DAR 427:240], q
=2-31, 25 fps, 25 tbr, 16k tbn, 1k tbc
Stream #0:1: Audio: aac (LC) ([64][0][0][0] / 0x0040), 44100 Hz, stereo
Stream mapping:
Stream #0:1 -> #0:0 (copy)
Stream #0:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 625 fps= 31 q=-1.0 size= 1120kB time=00:00:24.96 bitrate= 367.5kbits/s speed=1.25x
Last edited by j_cool : 01-03-2017 at 03:57 PM.
Reason: no spaces in playpath, url must be on one line
|