[Libav-user] File does not seem to close

Kevin J. Brooks kbrooks at r2c-ss.com
Thu Aug 20 21:32:20 CEST 2015


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 at ...> 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
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20150820/8f6d7971/attachment.html>


More information about the Libav-user mailing list