[FFmpeg-user] Audio Only Fragmented MP4 - SIDX

Carl Eugen Hoyos ceffmpeg at gmail.com
Sat Nov 17 00:16:46 EET 2018


2018-11-16 0:46 GMT+01:00, Ronak <ronak2121-at-yahoo.com at ffmpeg.org>:
> I'm taking a look at moving.c and the mov_write_sidx_tags calls; I'm
> assuming this is the area of the code that is responsible for this.
>
> However, I'd have to have a way to detect the input streams are audio only;
> no video tracks. What would be the best way to do that?

I suspect the number of input streams is irrelevant, you are probably
interested in the output streams within the mov file, you can look at
mov->nb_streams or possibly mov->tracks (there may be easier ways
though).

Please avoid top-posting here, Carl Eugen


More information about the ffmpeg-user mailing list