Sfoglia il codice sorgente

obs-ffmpeg: Remove forced x264 and aac for RTMP

Remove code forcing x264 and ffmpeg aac encoder. People using custom
ffmpeg output should be able to use other video and audio encoders when
streaming with RTMP, given its h264 or aac.
Chris (Flaeri) 2 anni fa
parent
commit
1166e504bb
1 ha cambiato i file con 0 aggiunte e 2 eliminazioni
  1. 0 2
      plugins/obs-ffmpeg/obs-ffmpeg-output.c

+ 0 - 2
plugins/obs-ffmpeg/obs-ffmpeg-output.c

@@ -640,9 +640,7 @@ bool ffmpeg_data_init(struct ffmpeg_data *data, struct ffmpeg_cfg *config)
 	}
 	}
 #else
 #else
 	if (is_rtmp) {
 	if (is_rtmp) {
-		data->config.audio_encoder = "aac";
 		data->config.audio_encoder_id = AV_CODEC_ID_AAC;
 		data->config.audio_encoder_id = AV_CODEC_ID_AAC;
-		data->config.video_encoder = "libx264";
 		data->config.video_encoder_id = AV_CODEC_ID_H264;
 		data->config.video_encoder_id = AV_CODEC_ID_H264;
 	}
 	}
 #endif
 #endif