View Full Version : ffmpeg,s x264_2pass.log.*
Sirber
7th November 2010, 04:01
during a 2pass x264 encode, ffmpeg creates "264_2pass.log.temp " and "x264_2pass.log.mbtree.temp" in the same folder where it's located. I'm affraid this can trigger UAC on Vista or W7. Is there a way to make ffmpeg to create them elsewhere?
Thanks!
Dark Shikari
7th November 2010, 04:02
ffmpeg/x264 puts them in the CWD (http://en.wikipedia.org/wiki/Current_working_directory). If the CWD is in a place you're not allowed to access, you're doing it wrong.
Sirber
7th November 2010, 04:06
hum.. not sure how to set CWK in FreePascal/TProcess... looking!
Thanks!
[edit]
oCli.CommandLine := sCmd;
oCli.Priority := ppIdle;
oCli.CurrentDirectory := sTemp;
oCli.Options := [poUsePipes, poStderrToOutPut];
{$IFDEF WIN32}
oCli.Options := oCli.Options + [poNoConsole];
{$ENDIF}
oCli.Execute();
should do it :)
[edit]
works! thanks you for your quick help! :D
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.