Hi,
My problem is :
Sometimes, during a video capture, the program crashes and the video
informations are not correct (in particular the duration is not correct, it
is always 0). So, I would like to repair these files. What I do is, I open
the file, and for each decoded frame I update a value. This part is Ok. But,
I don't manage to save this information. I have tried
av_write_trailer(pFormatContext) and av_write_header(pFromatContext), but it
doesn't work.
What must I do ?

Nicolas Krieger
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to