[FFmpeg-devel] Segfault calling av_interleaved_write_frame

Nicolas George george at nsup.org
Sun Jan 19 13:52:40 EET 2020


Jonathan Noble (12020-01-19):
> I'm writing a wrapper around libav.
> https://github.com/jonno85uk/mediahandling/tree/Issue4_encoding
> I know what was causing this condition,  avformat_write_header() hadn't
> been called at that time.

Calling avformat_write_header() is not optional, writing frames before
it is not supported.

For questions about the proper usage of the API, see this mailing-list:
https://ffmpeg.org/mailman/listinfo/libav-user

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200119/4d2f992c/attachment.sig>


More information about the ffmpeg-devel mailing list