I have a video encoded in mpeg-dash (*. Mpd, init segments, video segments) The task is to replace one of the video segments with a segment generated by me. And the video can still be played.
I read the properties of one segment (combining the init segment and the video segment) with
avformat_open_input
avformat_find_stream_info
1) I tried using a dash muxer to create a new segment.
avformat_alloc_output_context2(&avFormatContext, NULL, "dash", filename)
But the problem is that it creates the manifest mpd and other segments. So how to make it create one segment?
2) When I parsed the segment, I noticed that it has the format "QuickTime / MOV".
avformat_alloc_output_context2(&avFormatContext, NULL, "mov", filename);
, "mov". , ( , , ).
, init? init.
- mpeg-dash ?