[rtmpdump] Location of .swfinfo on Windows

Howard Chu hyc at highlandsun.com
Fri Mar 12 20:09:19 CET 2010

PLTK wrote:
> Hello.
> I would like to add one minor suggestion regarding the location of
> .swfinfo on Windows.
> According to the manpage:
> |Also the information is cached in a .swfinfo file in the user's home
> directory, so that it
> |doesn't need to be retrieved and recalculated every time rtmpdump is run.
> On Windows I noticed that the .swfinfo file is saved in the current directory.
> A more "canonical" path would be something along the lines of:
> %APPDATA%\rtmpdump
> Whereas the home directory of the user is given by the environmental variable:

I guess we could use HOMEPATH. I'm not keen on APPDATA since this is actually 
a feature of the library, and I expect that librtmp is going to be adopted by 
XBMC and mplayer soon. So associating the data with a single app would be 
wrong, and certainly misleading.

More information about the rtmpdump mailing list