Definition at line 630 of file mainIDo.cpp. References Exec(), GetCurCmdArg(), GetCurCmdNrArgs(), mDoShotIndex, mExtra2, mSetName, mShotOpt, mSrcOpt, mSrcOpt1, and mSrcOpt2. Referenced by HandleCmd(). 00631 { 00632 String srcOpt1("lavcwriteidx"); 00633 String srcOpt2("lavc"); 00634 if (! mSrcOpt.empty()) 00635 { 00636 srcOpt1 = mSrcOpt; 00637 srcOpt2 = mSrcOpt; 00638 } 00639 if (! mSrcOpt1.empty()) 00640 srcOpt1 = mSrcOpt1; 00641 if (! mSrcOpt2.empty()) 00642 srcOpt2 = mSrcOpt2; 00643 for (int i=0 ; i<GetCurCmdNrArgs() ; i++) 00644 { 00645 String arg = GetCurCmdArg(i); 00646 if (arg == "--noIndex") 00647 mDoShotIndex = false; 00648 else 00649 mShotOpt += arg + " "; 00650 } 00651 Exec("vidset", "shotsegmenter " + mSetName + " --report 500 --src " + 00652 srcOpt1 + " " + mShotOpt); 00653 if (mShotOpt.find("SSNoMpeg7") != String::npos) 00654 mDoShotIndex = false; 00655 if (mDoShotIndex) 00656 { 00657 Exec("vidset", "indexsegmentation " + mSetName + 00658 " --stepSize 10000000 --src " + srcOpt2, 1); 00659 } 00660 if (mExtra2 == "yes") 00661 { 00662 Exec("vidset", "selectframes " + mSetName + 00663 " keysExtra2.tab 2 --src " + srcOpt2 + 00664 " --segmentation --iFrames --report 100", 1); 00665 } 00666 }
Here is the call graph for this function: ![]()
|