On 31 Jan 2010, at 13:31, Reimar D?ffinger wrote: > On Sun, Jan 31, 2010 at 12:52:50PM +0000, Carl Eugen Hoyos wrote: >> Stroller <stroller <at> stellar.eclipse.co.uk> writes: >> >>>> Please note that it is not possible to "download" rtsp streams, you >>>> have to >>>> remux them (which may or may not work with mencoder or ffmpeg) >> ^^^^^^^^^^^^^^^^^^ >>> May thanks for your reply, Carl. Is there any chance I could >>> trouble >>> you for some further hints, please? >>> >>> When I google "remux rtsp mplayer" this page >> ^^^^^^^ >>> <http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-quicktime-7.html >>>> is a top hit, with the illustrative commands: >>> >>> mplayer narnia.avi -dumpaudio -dumpfile narnia.aac >>> mplayer narnia.avi -dumpvideo -dumpfile narnia.h264 >> ^^^^^^^ >> >> To repeat myself: You can only use mplayer to "play" rtsp streams, >> downloading >> and remuxing will not work. (Allow me to add that the result of the >> remux might >> not make you happy: Both mencoder and ffmpeg will probably loose >> packets and >> some frames will be damaged.) > > While it doesn't create a strictly correct file, downloading works > with e.g. > mencoder rtsp://a2047.v1411b.c1411.g.vq.akamaistream.net/5/2047/1411/2_h264_650/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3dac194879adde0f/1001908r5ft6dswz_1_650.mov > -noskip -mc 0 -oac copy -ovc copy -fafmttag 0xA106 -o test.avi That's great, thanks! It required here the addition of the -rtsp-stream-over-tcp flag, as suggested by Carl, but I guess it was the use of `mencoder -oac copy - ovc copy` that I was floundering for. Stroller.