|
@@ -670,9 +670,12 @@ static int ffmpeg_mux_init_context(struct ffmpeg_mux *ffm)
|
|
|
ffm->params.printable_file.array);
|
|
|
return FFM_ERROR;
|
|
|
}
|
|
|
+
|
|
|
+#ifdef ENABLE_FFMPEG_MUX_DEBUG
|
|
|
printf("info: Output format name and long_name: %s, %s\n",
|
|
|
output_format->name ? output_format->name : "unknown",
|
|
|
output_format->long_name ? output_format->long_name : "unknown");
|
|
|
+#endif
|
|
|
|
|
|
ret = avformat_alloc_output_context2(&ffm->output, output_format, NULL,
|
|
|
ffm->params.file);
|
|
@@ -835,7 +838,9 @@ static inline bool read_change_file(struct ffmpeg_mux *ffm, uint32_t size,
|
|
|
}
|
|
|
filename->buf[size] = 0;
|
|
|
|
|
|
+#ifdef ENABLE_FFMPEG_MUX_DEBUG
|
|
|
fprintf(stderr, "info: New output file name: %s\n", filename->buf);
|
|
|
+#endif
|
|
|
|
|
|
int ret;
|
|
|
char *argv1_backup = argv[1];
|