[FFmpeg-devel] AV_LOG_DEBUG Fixes Problem?
michael at niedermayer.cc
Mon Jun 19 23:00:26 EEST 2017
On Mon, Jun 19, 2017 at 04:58:44PM +0000, Rod Delay wrote:
> I have inherited a C++ project that uses FFMpeg to capture audio and video from JitsiMeet, what we have found is after about 10 minutes it stops writing to the output file. It's random anywhere from 5 to 10 minutes.
> I was able to narrow down to a problem with the following line:
> avcodec_encode_video2(videoStream->codec, &video_pkt, &videoFrame, &got_input);
> So I decided to add in some logging with the following:
> void FFRecorder::my_log_callback(void *ptr, int level, const char *fmt, va_list vargs)
> static char message;
This is not thread safe
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I have never wished to cater to the crowd; for what I know they do not
approve, and what they approve I do not know. -- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 181 bytes
Desc: Digital signature
More information about the ffmpeg-devel