@@ -104,7 +104,6 @@ void VideoExporter::updateObjectContent(map<int,shared_ptr<PatchObject>> &patchO
104104
105105 if (this ->inletsConnected [0 ] && static_cast <ofTexture *>(_inletParams[0 ])->isAllocated () && filepath != " none" && bang){
106106 if (!recorder.isRecording ()){
107- recorder.setVideoCodec (" hevc" );
108107 recorder.setBitRate (20000 );
109108 recorder.startCustomRecord ();
110109 recButtonLabel = " STOP" ;
@@ -278,7 +277,6 @@ void VideoExporter::drawObjectNodeConfig(){
278277 }else {
279278 if (!recorder.isRecording ()){
280279 recorder.setBitRate (20000 );
281- recorder.setVideoCodec (" hevc" );
282280 recorder.startCustomRecord ();
283281 recButtonLabel = " STOP" ;
284282 ofLog (OF_LOG_NOTICE," START EXPORTING VIDEO" );
@@ -304,7 +302,6 @@ void VideoExporter::drawObjectNodeConfig(){
304302 filepath += " .avi" ;
305303 }
306304 recorder.setOutputPath (filepath);
307- recorder.setVideoCodec (" hevc" );
308305 // prepare blank video file
309306 recorder.startCustomRecord ();
310307 recorder.stop ();
@@ -317,7 +314,6 @@ void VideoExporter::drawObjectNodeConfig(){
317314 filepath += " .mp4" ;
318315 }
319316 recorder.setOutputPath (filepath);
320- recorder.setVideoCodec (" hevc" );
321317 // prepare blank video file
322318 recorder.startCustomRecord ();
323319 recorder.stop ();
0 commit comments