Yes I am calling av_write_trailer() when I stop recording.

Sincerely,
Kevin J. Brooks
Senior Software Engineer
R2C Support Services

On 8/20/2015 2:17 PM, Carl Eugen Hoyos wrote:
Kevin J. Brooks <kbrooks@...> writes:

avformat_alloc_output_context2(&m_oc, m_fmt, NULL, filePath.c_str());

Then when I want to stop recording the video,
I use this function to free it:

avformat_free_context(m_oc);
Are you calling av_write_trailer()?

Unrelated:

A non-text attachment was scrubbed...
Name: sdvosb.png
Type: image/png
Size: 145202 bytes
I consider this huge / too big.
This is a significantly smaller alternative:
http://netdes.com/uploads/images/sdvosb_1.jpg

I strongly believe the png you used has been
a jpg in the past...

Carl Eugen

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to