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 02-18-2014, 09:24 PM
ee7stream ee7stream is offline
Junior Member
 
Join Date: Feb 2014
Posts: 2
ee7stream is on a distinguished road
Default

Intriguing inconvenient using 'rtmpdump'


Hi! I'm new at the forum and I suffer from a little inconvenient using rtmpdump. I hope you can help me

I want to download the following video: http://elu24.postimees.ee/2699700/el...andra-nurmsalu

In order to do that I searched out the rtmp path of the video
Code:
rtmp://egress.cdn.mind.ee/postimees_vod/_definst_/mp4:vod/postimees/18.02.13.band_sandra.mp4
There is no problem if I reproduce the video with mplayer
Code:
$ mplayer rtmp://egress.cdn.mind.ee/postimees_vod/_definst_/mp4:vod/postimees/18.02.13.band_sandra.mp4
MPlayer SVN-r36498-snapshot-4.8.2 (C) 2000-2013 MPlayer Team
206 audio & 433 video codecs
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing rtmp://egress.cdn.mind.ee/postimees_vod/_definst_/mp4:vod/postimees/18.02.13.band_sandra.mp4.
libavformat version 55.19.104 (internal)
Using network protocols without global network initialization. Please use avformat_network_init(), this will become mandatory later.
Using network protocols without global network initialization. Please use avformat_network_init(), this will become mandatory later.
libavformat file format detected.
[flv @ 0x7f8cb971fa60]Stream discovered after head already parsed
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0
VIDEO:  [H264]  640x360  0bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
 audiochannels: 2
 videoframerate: 25
 aacaot: 2
 avclevel: 30
 avcprofile: 77
 frameWidth: 640
 frameHeight: 360
 displayWidth: 640
 displayHeight: 360
 moovposition: 775074715
Could not find a UTF-8 locale, some keys will not be handled.
Failed to open VDPAU backend libvdpau_i965.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 55.39.100 (internal)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 0.0 kbit/0.00% (ratio: 0->384000)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
[VD_FFMPEG] Trying pixfmt=0.
[VD_FFMPEG] XVMC-accelerated MPEG-2.
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
[VD_FFMPEG] Trying pixfmt=0.
[VD_FFMPEG] XVMC-accelerated MPEG-2.
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 640x360 => 640x360 Planar YV12 
A:   4.1 V:   3.8 A-V:  0.352 ct:  0.125   0/  0  4%  0% 11.8% 1 0
But when I try to download it with rtmpdump the command fail :c
Code:
$ rtmpdump -v -r "rtmp://egress.cdn.mind.ee/postimees_vod/_definst_/mp4:vod/postimees/18.02.13.band_sandra.mp4" -o "test.mp4"
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: Closing connection: NetStream.Play.StreamNotFound
Code:
$ rtmpdump -v -r "rtmp://egress.cdn.mind.ee/postimees_vod/_definst_/" -p "http://elu24.postimees.ee/2699700/elu24-live-kulas-on-salaparane-sandra-nurmsalu" -y "mp4:18.02.13.band_sandra.mp4" -o "test.mp4"
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: Closing connection: NetStream.Play.StreamNotFound
So I would like to know why mplayer works but rtmpdump doesn't :c ... what am I doing wrong with the command? and how a working rtmpdump command looks like for this video in particular?

Thanks in advanced! c:

PD1: I'm a completely beginner in the stream world
PD2: Excuse my English :x
Reply With Quote
  #2  
Old 02-19-2014, 09:30 AM
ee7stream ee7stream is offline
Junior Member
 
Join Date: Feb 2014
Posts: 2
ee7stream is on a distinguished road
Default

Re: Intriguing inconvenient using 'rtmpdump'


hasomaso thank you so much! ... the -W flag made the trick

I really thought that the -W flag was optional (actually I've been able to download other videos without it).

I know that it's not part of the original question but, in order to understand a little bit more, what is the purpose of the -W flag?

Thank you again for the help!
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 11:31 AM.


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