[Libav-user] insert empty frames

Selmeci, Tamás tselmeci at open-st.eu
Tue Oct 7 16:11:17 CEST 2014


My program muxes audio and video frames into MPEG-TS stream and in
certain cases I'd need to inject empty audio/video frames. The frames
should be empty (packet.size = 0), therefore the associated codec is
also not important. The only relevant fields are DTS, PTS and duration.
These frames would fill in some gap between regular frames.

Can I legally create and mux such frames with ffmpeg libs?

Selmeci Tamás

More information about the Libav-user mailing list