|
|
|
@ -24,12 +24,12 @@ void k9Redirect::execute() {
|
|
|
|
|
KProcess *p=new KProcess();
|
|
|
|
|
*p << "mencoder";
|
|
|
|
|
*p << "-oac" << "lavc" << "-ovc" << "lavc" << "-of" << "mpeg";
|
|
|
|
|
*p << "-mpegopts" << "format=dvd" << "-vf" << "scale=720:576,harddup" << "-srate" << "48000" << "-af" << "lavcresample=48000" << "-lavcopts" << "vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:acodec=ac3:abitrate=192:aspect=16/9" << "-ofps" << "25" << "-o" << "/tmp/kde-jmp/k9copy/tmp.mpeg" << "-ss" << "00:00:00.000" << "-endpos" << "00:00:57.360" << "-really-quiet" << "/home/jmp/t.avi";
|
|
|
|
|
*p << "-mpegopts" << "format=dvd" << "-vf" << "scale=720:576,harddup" << "-srate" << "48000" << "-af" << "lavcresample=48000" << "-lavcopts" << "vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:acodec=ac3:abitrate=192:aspect=16/9" << "-ofps" << "25" << "-o" << "/tmp/tde-jmp/k9copy/tmp.mpeg" << "-ss" << "00:00:00.000" << "-endpos" << "00:00:57.360" << "-really-quiet" << "/home/jmp/t.avi";
|
|
|
|
|
p->start(KProcess::NotifyOnExit);
|
|
|
|
|
p->wait();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TQFile f("/tmp/kde-jmp/k9copy/tmp.mpeg");
|
|
|
|
|
TQFile f("/tmp/tde-jmp/k9copy/tmp.mpeg");
|
|
|
|
|
TQFile fout;
|
|
|
|
|
f.open(IO_ReadOnly );
|
|
|
|
|
fout.open(IO_WriteOnly,stdout);
|
|
|
|
|