localtime_r(&now, &now_tm);
char timestamp[64];
- strftime(timestamp, sizeof(timestamp), "%F-%T%z", &now_tm);
+ strftime(timestamp, sizeof(timestamp), "%F-%H%M%S%z", &now_tm);
// Use the frame number to disambiguate between two cuts starting
// on the same second.
}
stream_mux.reset(new Mux(avctx, width, height, video_codec, video_extradata, stream_audio_encoder->get_codec_parameters().get(),
- get_color_space(global_flags.ycbcr_rec709_coefficients),
- Mux::WITH_AUDIO, COARSE_TIMEBASE,
+ get_color_space(global_flags.ycbcr_rec709_coefficients), COARSE_TIMEBASE,
/*write_callback=*/nullptr, Mux::WRITE_FOREGROUND, { &stream_mux_metrics }));
stream_mux_metrics.init({{ "destination", "http" }});
}