Re: [FFmpeg-user] Parse environment variables in command line

2015-04-20 Thread Phil Turmel
On 04/20/2015 04:06 AM, Nicolas George wrote: > Le primidi 1er floréal, an CCXXIII, Phil Turmel a écrit : >> ps gets its information from the files in /proc/ where you can find a >> variety of information on running processes. Among them is each >> processes' 'environ' file, containing its environ

Re: [FFmpeg-user] Parse environment variables in command line

2015-04-20 Thread Moritz Barsnick
On Mon, Apr 20, 2015 at 10:23:15 +0500, Илья Мельников wrote: > User can't read environment variables of other user processes. > > This is enough for me. > ffmpeg process which record IP-cam stream runs as user 'backup'. > Interactive users can not see its environment. Still that would require ff

Re: [FFmpeg-user] Parse environment variables in command line

2015-04-20 Thread Nicolas George
Le primidi 1er floréal, an CCXXIII, Phil Turmel a écrit : > ps gets its information from the files in /proc/ where you can find a > variety of information on running processes. Among them is each > processes' 'environ' file, containing its environment. So the > 'security' you are asking for is no

Re: [FFmpeg-user] Parse environment variables in command line

2015-04-19 Thread Илья Мельников
Hello. On Monday 20 April 2015 01:17:05 Phil Turmel wrote: > ps gets its information from the files in /proc/ where you can find a > variety of information on running processes. Among them is each > processes' 'environ' file, containing its environment. So the > 'security' you are asking for is

Re: [FFmpeg-user] Parse environment variables in command line

2015-04-19 Thread Phil Turmel
On 04/19/2015 10:59 PM, Илья Мельников wrote: > Hello. > > В сообщении от Sunday 19 April 2015 05:03:41 Denis Mysenko dus...@mail.ru: >> If you use environment variable (like you proposed) or any shell/UNIX 'hack >> (eg. -i `cat url.txt`), at the moment of execution a plain-text password >> will b

[FFmpeg-user] Parse environment variables in command line

2015-04-19 Thread Илья Мельников
Hello. В сообщении от Sunday 19 April 2015 05:03:41 Denis Mysenko dus...@mail.ru: > If you use environment variable (like you proposed) or any shell/UNIX 'hack > (eg. -i `cat url.txt`), at the moment of execution a plain-text password > will be inserted anyway. And 'ps' will show what really was l

Re: [FFmpeg-user] Parse environment variables in command line

2015-04-19 Thread Denis Mysenko
Hi there This is not really related to FFmpeg, and I'm afraid there is no quick solution. If you use environment variable (like you proposed) or any shell/UNIX 'hack' (eg. -i `cat url.txt`), at the moment of execution a plain-text password will be inserted anyway. And 'ps' will show what reall

[FFmpeg-user] Parse environment variables in command line

2015-04-19 Thread Ilya Melnikov
Hello. ffmpeg records video stream from IP-cam. IP-cam has authentiation. ffmpeg \ -t $DT_SECONDS_TO_RECORD \ -i rtsp://$SRC_USER:$SRC_PASS@$SRC_ADDR/stream1.sdp \ -vcodec copy \ -acodec copy \ $DST_FILE ffmpeg starts from cron script by unpriviledged user. At the same host can be log