Ask Your Question

shaowangzhen's profile - activity

2016-11-07 07:55:19 -0500 asked a question now videostab create a *.avi resource ,but I want to get *.mp4 so how to do?
     if (!outputPath.empty())
    {
        if (!writer.isOpened())
            writer.open(outputPath, VideoWriter::fourcc('X','V','I','D'),
                        outputFps, stabilizedFrame.size());
        writer << stabilizedFrame;
    }