ShellExecute调用外部程序无效,是不是哪里写错了?
HINSTANCEret=ShellExecute(NULL,L"open",L"D:\\mencoder.exe",L"mencoderD:\\mtv.3gp-oD:\...
HINSTANCE ret=ShellExecute(NULL,L"open",L"D:\\mencoder.exe",L"mencoder D:\\mtv.3gp -o D:\\out.3gp -of lavf -lavfopts format=3gp -oac lavc -lavcopts acodec=libopencore_amrnb:abitrate=10200 -af lavcresample=8000,channels=1 -ovc x264 -x264encopts global_header:keyint=25:keyint_min=25:bitrate=40 -vf scale=320:240,harddup -ofps 5 -ss 0 -endpos 999999",NULL,SW_SHOW);
展开
3个回答
展开全部
多了一个mencoder ,试试
HINSTANCE ret=ShellExecute(NULL,L"open",L"D:\\mencoder.exe",L" D:\\mtv.3gp -o D:\\out.3gp -of lavf -lavfopts format=3gp -oac lavc -lavcopts acodec=libopencore_amrnb:abitrate=10200 -af lavcresample=8000,channels=1 -ovc x264 -x264encopts global_header:keyint=25:keyint_min=25:bitrate=40 -vf scale=320:240,harddup -ofps 5 -ss 0 -endpos 999999",NULL,SW_SHOW);
你这么多参数,对不对啊
HINSTANCE ret=ShellExecute(NULL,L"open",L"D:\\mencoder.exe",L" D:\\mtv.3gp -o D:\\out.3gp -of lavf -lavfopts format=3gp -oac lavc -lavcopts acodec=libopencore_amrnb:abitrate=10200 -af lavcresample=8000,channels=1 -ovc x264 -x264encopts global_header:keyint=25:keyint_min=25:bitrate=40 -vf scale=320:240,harddup -ofps 5 -ss 0 -endpos 999999",NULL,SW_SHOW);
你这么多参数,对不对啊
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询