exeldro/obs-source-record

Source record doesn't generate recordings properly (OBS 28)

silverkx2000 opened this issue · 3 comments

Source Record works, but an issue arises when saving recordings to a specific folder.

The file records, but the filter has to be activated again for the file to populate the folder.

For example:
I have source record on two different sources. My Camera and my Gameplay. I use a filter trigger using stream deck to activate both filters at the same time. When I deactivate the filter, only one of the files populate in the designated folder that I set them too while the other one doesn't populate. Upon hitting the trigger again, the other file populates.

Let me know if a log file would help you fix this issue.

Logfile Added

20:56:28.313: warning: The selected preset is deprecated. Use p1 to p7 + -tune or fast/medium/slow.
20:56:28.749: ---------------------------------
20:56:28.749: warning: The selected preset is deprecated. Use p1 to p7 + -tune or fast/medium/slow.
20:56:28.749: [FFmpeg aac encoder: 'Source Record'] bitrate: 128, channels: 2, channel_layout: 3
20:56:28.749: 
20:56:28.762: [ffmpeg muxer: 'Source Record'] Writing file 'E:/BACKUP_RECORDINGS/CAM_RECORDS/CAM_2022-09-04 20-56-28.mp4'...
20:56:28.982: ---------------------------------
20:56:28.982: [FFmpeg aac encoder: 'Source Record'] bitrate: 128, channels: 2, channel_layout: 3
20:56:28.982: 
20:56:28.991: [ffmpeg muxer: 'Source Record'] Writing file 'E:/BACKUP_RECORDINGS/GAME_RECORDS/GAME_2022-09-04 20-56-28.mp4'...
20:57:52.226: obs-browser: heart_beat_check_server_client_callback 5e254077fcd0f20082f17b0b (source: https://obs.blerp.com/pwn/5e254077fcd0f20082f17b0b:543)
20:59:27.225: obs-browser: heart_beat_check_server_client_callback 5e254077fcd0f20082f17b0b (source: https://obs.blerp.com/pwn/5e254077fcd0f20082f17b0b:543)
21:00:25.554: [ffmpeg muxer: 'Source Record'] Writing file 'E:/BACKUP_RECORDINGS/CAM_RECORDS/CAM_2022-09-04 21-00-25.mp4'...
21:00:25.558: [NVIDIA NVENC H.264 (FFmpeg) encoder: 'Source Record'] Encoding queue duration surpassed 5 seconds, terminating encoder
21:00:25.558: Error encoding with encoder 'Source Record'
21:00:25.561: [NVIDIA NVENC H.264 (FFmpeg) encoder: 'Source Record'] Encoding queue duration surpassed 5 seconds, terminating encoder
21:00:25.561: Error encoding with encoder 'Source Record'
21:00:25.562: [ffmpeg muxer: 'Source Record'] Writing file 'E:/BACKUP_RECORDINGS/GAME_RECORDS/GAME_2022-09-04 21-00-25.mp4'...
21:00:25.567: [ffmpeg muxer: 'Source Record'] Output of file 'E:/BACKUP_RECORDINGS/GAME_RECORDS/GAME_2022-09-04 20-56-28.mp4' stopped21:00:25.567: [ffmpeg muxer: 'Source Record'] Output of file 'E:/BACKUP_RECORDINGS/CAM_RECORDS/CAM_2022-09-04 20-56-28.mp4' stopped

21:00:25.567: Output 'Source Record': stopping
21:00:25.567: Output 'Source Record': stopping
21:00:25.567: Output 'Source Record': Total frames output: 811
21:00:25.567: Output 'Source Record': Total frames output: 797
21:00:25.567: Output 'Source Record': Total drawn frames: 14208
21:00:25.567: Output 'Source Record': Total drawn frames: 14194
21:00:25.596: [ffmpeg muxer: 'Source Record'] Output of file 'E:/BACKUP_RECORDINGS/CAM_RECORDS/CAM_2022-09-04 21-00-25.mp4' stopped
21:00:25.596: Output 'Source Record': stopping
21:00:25.596: Output 'Source Record': Total frames output: 0
21:00:25.596: Output 'Source Record': Total drawn frames: 2
21:00:25.604: [ffmpeg muxer: 'Source Record'] Output of file 'E:/BACKUP_RECORDINGS/GAME_RECORDS/GAME_2022-09-04 21-00-25.mp4' stopped
21:00:25.604: Output 'Source Record': stopping
21:00:25.604: Output 'Source Record': Total frames output: 0
21:00:25.604: Output 'Source Record': Total drawn frames: 3
21:00:25.604: warning: 2 frames left in the queue on closing
21:00:25.605: warning: 2 frames left in the queue on closing
21:01:02.223: obs-browser: heart_beat_check_server_client_callback 5e254077fcd0f20082f17b0b (source: https://obs.blerp.com/pwn/5e254077fcd0f20082f17b0b:543)
21:01:11.070: ---------------------------------
21:01:11.070: [FFmpeg NVENC encoder: 'Source Record'] settings:
21:01:11.070: 	encoder:      NVIDIA NVENC H.264 (FFmpeg)
21:01:11.070: 	rate_control: CBR
21:01:11.070: 	bitrate:      10000
21:01:11.070: 	cqp:          0
21:01:11.070: 	keyint:       250
21:01:11.070: 	preset:       hq
21:01:11.070: 	profile:      high
21:01:11.070: 	width:        1920
21:01:11.070: 	height:       1080
21:01:11.070: 	2-pass:       true
21:01:11.070: 	b-frames:     2
21:01:11.070: 	psycho-aq:    1
21:01:11.070: 	GPU:          0
21:01:11.070: 
21:01:11.070: warning: The selected preset is deprecated. Use p1 to p7 + -tune or fast/medium/slow.
21:01:11.086: ---------------------------------
21:01:11.086: [FFmpeg NVENC encoder: 'Source Record'] settings:
21:01:11.086: 	encoder:      NVIDIA NVENC H.264 (FFmpeg)
21:01:11.086: 	rate_control: CBR
21:01:11.086: 	bitrate:      10000
21:01:11.086: 	cqp:          0
21:01:11.086: 	keyint:       250
21:01:11.086: 	preset:       hq
21:01:11.086: 	profile:      high
21:01:11.086: 	width:        1920
21:01:11.086: 	height:       1080
21:01:11.086: 	2-pass:       true
21:01:11.086: 	b-frames:     2
21:01:11.086: 	psycho-aq:    1
21:01:11.086: 	GPU:          0
21:01:11.086: 
21:01:11.295: ---------------------------------
21:01:11.295: warning: The selected preset is deprecated. Use p1 to p7 + -tune or fast/medium/slow.
21:01:11.295: [FFmpeg aac encoder: 'Source Record'] bitrate: 128, channels: 2, channel_layout: 3
21:01:11.295: 
21:01:11.308: [ffmpeg muxer: 'Source Record'] Writing file 'E:/BACKUP_RECORDINGS/CAM_RECORDS/CAM_2022-09-04 21-01-10.mp4'...
21:01:11.535: ---------------------------------
21:01:11.535: [FFmpeg aac encoder: 'Source Record'] bitrate: 128, channels: 2, channel_layout: 3
21:01:11.535: 
21:01:11.546: [ffmpeg muxer: 'Source Record'] Writing file 'E:/BACKUP_RECORDINGS/GAME_RECORDS/GAME_2022-09-04 21-01-10.mp4'...
21:01:39.547: [ffmpeg muxer: 'Source Record'] Writing file 'E:/BACKUP_RECORDINGS/CAM_RECORDS/CAM_2022-09-04 21-01-39.mp4'...
21:01:39.555: [ffmpeg muxer: 'Source Record'] Writing file 'E:/BACKUP_RECORDINGS/GAME_RECORDS/GAME_2022-09-04 21-01-39.mp4'...
21:01:39.599: [NVIDIA NVENC H.264 (FFmpeg) encoder: 'Source Record'] Encoding queue duration surpassed 5 seconds, terminating encoder
21:01:39.599: Error encoding with encoder 'Source Record'
21:01:39.602: [ffmpeg muxer: 'Source Record'] Output of file 'E:/BACKUP_RECORDINGS/CAM_RECORDS/CAM_2022-09-04 21-01-10.mp4' stopped
21:01:39.602: Output 'Source Record': stopping
21:01:39.602: Output 'Source Record': Total frames output: 0
21:01:39.602: Output 'Source Record': Total drawn frames: 1698
21:01:39.606: [ffmpeg muxer: 'Source Record'] Output of file 'E:/BACKUP_RECORDINGS/CAM_RECORDS/CAM_2022-09-04 21-01-39.mp4' stopped
21:01:39.606: Output 'Source Record': stopping
21:01:39.606: Output 'Source Record': Total frames output: 0
21:01:39.606: Output 'Source Record': Total drawn frames: 4
21:01:39.606: warning: 2 frames left in the queue on closing
21:01:39.833: [NVIDIA NVENC H.264 (FFmpeg) encoder: 'Source Record'] Encoding queue duration surpassed 5 seconds, terminating encoder
21:01:39.833: Error encoding with encoder 'Source Record'
21:01:39.836: [ffmpeg muxer: 'Source Record'] Output of file 'E:/BACKUP_RECORDINGS/GAME_RECORDS/GAME_2022-09-04 21-01-10.mp4' stopped
21:01:39.836: Output 'Source Record': stopping
21:01:39.836: Output 'Source Record': Total frames output: 0
21:01:39.836: Output 'Source Record': Total drawn frames: 1698
21:01:39.839: [ffmpeg muxer: 'Source Record'] Output of file 'E:/BACKUP_RECORDINGS/GAME_RECORDS/GAME_2022-09-04 21-01-39.mp4' stopped
21:01:39.839: Output 'Source Record': stopping
21:01:39.839: Output 'Source Record': Total frames output: 0
21:01:39.839: Output 'Source Record': Total drawn frames: 17
21:01:39.840: warning: 2 frames left in the queue on closing

Nvidia NVENC H.264 is currently not supported: #9 (comment)