[rtmpdump] Special characters in playlist names.

bat guano batguano999 at hotmail.com
Mon May 2 16:48:32 CEST 2011




----------------------------------------
> From: cyril.zorin at gmail.com
> Date: Fri, 29 Apr 2011 12:31:38 -0400
> To: rtmpdump at mplayerhq.hu
> Subject: Re: [rtmpdump] Special characters in playlist names.
>
> Quoting and character interpretation is done by the shell, not by the programs it runs. Ergo all input must be properly escaped at the shell prior to running the program.
>
> On 2011-04-29, at 4:11 AM, bat guano  wrote:
>
> >
> > Hi
> > Using Ubuntu Linux I tried to download a video with this command:-
> > rtmpdump -r "rtmpe://cp3547.edgefcs.net:1935/ondemand?ovpfv=2.1.4" -a "ondemand?ovpfv=2.1.4" -f "LNX 10,1,102,64" -W "http://media.mtvnservices.com/player/release/?v=4.13.0" -p "http://www.cmt.com/videos/aaron-lewis/643964/country-boy-live-from-nashville.jhtml" -C Z: -y "mp4:mtvnshrdstor/_!/mtvi/bands/l/lewis_aaron/cm_country_boy_live_full_512x288_750_m30.mp4" -o cm_country_boy_live_full_512x288_750_m30.flv
> >
> > But I got an error message:-
> > bash: !/mtvi/bands/l/lewis_aaron/cm_country_boy_live_full_512x288_750_m30.mp4": event not found
> >
> > Then I tried again on a Windows machine and it downloaded OK.
> >
> > It's because ! is a special character in bash.
> > So I had to put the -y name in 'single quotes' instead of "double quotes".
> > Then it downloaded OK in Linux.
> >
> > I won't fall for that again, lol.
> >
> > But could the rtmpsrv program be modified so that it always used single quotes in playpath names?
> > Or would it cause other complications?
> >
> > _______________________________________________


I've tested this again.
With Windows XP cmd shell 'single quotes' doesn't work in playpath names.
So best to leave things as they are with "double quotes".
 		 	   		  


More information about the rtmpdump mailing list