[Request] Add option to write time of frame drop to log

filigranen

New Member
Hi!

Like the title says, would it be possible (or, perhaps, is it already possible?) to get an indication in the log file when a frame was dropped?
If I record my screen for a few hours, sometimes I get a few dropped frames. Not many, but it's hard to know if it impacted video in some way.
It would help alot if I could see in the log when they happened to avoid having to check the video manually.

Today, the log looks like this:
Code:
14:53:21.404: ==== Recording Start ===============================================
14:53:21.404: [ffmpeg muxer: 'adv_file_output'] Writing file '/mnt/storage/outfile.mkv'
17:31:38.412: Stopping recording due to OutputTimer timeout
17:31:38.414: Stopping recording due to OutputTimer timeout
17:31:38.414: Stopping recording due to OutputTimer timeout
17:31:38.414: Stopping recording due to OutputTimer timeout
17:31:38.414: Stopping recording due to OutputTimer timeout
17:31:38.447: [ffmpeg muxer: 'adv_file_output'] Output of file '/mnt/storage/outfile.mkv'
17:31:38.447: Output 'adv_file_output': stopping
17:31:38.447: Output 'adv_file_output': Total frames output: 569800
17:31:38.447: Output 'adv_file_output': Total drawn frames: 569822
17:31:38.447: Video stopped, number of skipped frames due to encoding lag: 60/569820 (0,0%)
17:31:38.447: ==== Recording Stop ================================================

I would like something along the lines of:

Code:
14:53:21.404: ==== Recording Start ===============================================
14:53:21.404: [ffmpeg muxer: 'adv_file_output'] Writing file '/mnt/storage/outfile.mkv'
15:00:00.103: Dropped frame due to encoding lag at timestamp 00:07:48.100
15:10:10.500: Dropped frame due to encoding lag at timestamp 00:17:25.200
15:20:10.700: Dropped frame due to encoding lag at timestamp 00:27:15.500
17:31:38.412: Stopping recording due to OutputTimer timeout
17:31:38.414: Stopping recording due to OutputTimer timeout
17:31:38.414: Stopping recording due to OutputTimer timeout
17:31:38.414: Stopping recording due to OutputTimer timeout
17:31:38.414: Stopping recording due to OutputTimer timeout
17:31:38.447: [ffmpeg muxer: 'adv_file_output'] Output of file '/mnt/storage/outfile.mkv'
17:31:38.447: Output 'adv_file_output': stopping
17:31:38.447: Output 'adv_file_output': Total frames output: 569800
17:31:38.447: Output 'adv_file_output': Total drawn frames: 569822
17:31:38.447: Video stopped, number of skipped frames due to encoding lag: 60/569820 (0,0%)
17:31:38.447: ==== Recording Stop ================================================

(added lines to show example at line 3-5).

What do you think about this?
 
Top