@@ -104,7 +104,6 @@ void VideoExporter::updateObjectContent(map<int,shared_ptr<PatchObject>> &patchO
104
104
105
105
if (this ->inletsConnected [0 ] && static_cast <ofTexture *>(_inletParams[0 ])->isAllocated () && filepath != " none" && bang){
106
106
if (!recorder.isRecording ()){
107
- recorder.setVideoCodec (" hevc" );
108
107
recorder.setBitRate (20000 );
109
108
recorder.startCustomRecord ();
110
109
recButtonLabel = " STOP" ;
@@ -278,7 +277,6 @@ void VideoExporter::drawObjectNodeConfig(){
278
277
}else {
279
278
if (!recorder.isRecording ()){
280
279
recorder.setBitRate (20000 );
281
- recorder.setVideoCodec (" hevc" );
282
280
recorder.startCustomRecord ();
283
281
recButtonLabel = " STOP" ;
284
282
ofLog (OF_LOG_NOTICE," START EXPORTING VIDEO" );
@@ -304,7 +302,6 @@ void VideoExporter::drawObjectNodeConfig(){
304
302
filepath += " .avi" ;
305
303
}
306
304
recorder.setOutputPath (filepath);
307
- recorder.setVideoCodec (" hevc" );
308
305
// prepare blank video file
309
306
recorder.startCustomRecord ();
310
307
recorder.stop ();
@@ -317,7 +314,6 @@ void VideoExporter::drawObjectNodeConfig(){
317
314
filepath += " .mp4" ;
318
315
}
319
316
recorder.setOutputPath (filepath);
320
- recorder.setVideoCodec (" hevc" );
321
317
// prepare blank video file
322
318
recorder.startCustomRecord ();
323
319
recorder.stop ();
0 commit comments