[FFmpeg-trac] #3159(FFmpeg:new): -y Overwrite output files without asking is not working with CreateProcess
FFmpeg
trac at avcodec.org
Thu Nov 21 15:21:33 CET 2013
#3159: -y Overwrite output files without asking is not working with CreateProcess
-------------------------------------+-------------------------------------
Reporter: sgan | Type: defect
Status: new | Priority: normal
Component: FFmpeg | Version:
Keywords: overwrite | unspecified
-y createprocess | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug: On windows (7/64), when I execute ffmpeg.exe with
CreateProcess, ffmpeg "-y" option is not working. Ffmpeg ask for overwrite
confirmation.
With ShellExecuteEx, everything is working fine.
How to reproduce:
{{{
ffmpeg.exe -y -i F:\1.wav -map_channel 0.0.0 left.wav -map_channel 0.0.1
right.wav
Play 2 times this function.
ffmpeg version
built on Aug 8 2013 21:37:55 with gcc 4.7.3 (GCC)
}}}
STARTUPINFO StartInfo;
PROCESS_INFORMATION ProcInfo;
ZeroMemory(&StartInfo, sizeof(STARTUPINFO));
StartInfo.dwFlags=STARTF_USESHOWWINDOW;
StartInfo.wShowWindow=SW_NORMAL;
BOOL bRes=CreateProcess(WS_PathNameffmpeg.c_bstr(),
WS_CommandLine.c_bstr(),
NULL, NULL, true, 0, NULL, WS_DestDir.c_bstr(), &StartInfo,
&ProcInfo);
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/3159>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list