To be more precise, the node in pw-top is named after the library FFmpeg uses: 
Lavf60.16.100. In top all threads of ffmpeg are suspended (T).

On Mon, 05 Feb 2024 00:33:20 GMT, gnusuario--- via ffmpeg-user

ffmpeg-user@ffmpeg.org wrote:

Forgot to mention that the FFmpeg version is the ome from Packman repositories. 
6.1.1.

On Mon, 05 Feb 2024 00:29:13 GMT, gnusuario--- via ffmpeg-user

ffmpeg-user@ffmpeg.org wrote:

I'm using FFmpeg to save screencasts to disk. I start FFmpeg and pause, 
continue or stop the screencast by sending signals to the process. I found out 
that in recorded screencasts with pauses the audio does not pause and continues 
as if FFmpeg was actively running. Because of that, after resuming the 
recording the audio is out of sync. The audio between the interruption and the 
resuming is included in the recording. While interrupted ffmpeg's status is Tt 
as printed by ps. On the other hand pw-top shows ffmpeg's node with status R 
(running). My OS is openSUSE Tumbleweed 20240202. The command I'm executing is 
as follows: ffmpeg -device /device/dri/card1 -framerate 50 -f kmsgrab -i - -f 
pulse -i $(pactl get-default-sink).monitor -filter_complex "[0:v] 
setpts=N/(FR*TB),hwmap=derive_device=vaapi,fps=fps=50,scale_vaapi=format=nv12;[1:a]
 asetpts=N/(SR*TB);" -ac 2 -c:a libopus -b:a 128k -c:v hevc_vaapi -bf:v 8 
-rc_mode:v CQP -profile:v main -tier:v main -level:v 4.0 -global_qualit y
  :v 24 -qmin:v 20 -y output.mkv & Then I send to ffmpeg signals as needed, 
with kill. kill -SIGINT ${pid}, kill -SIGSTOP ${pid}, kill -SIGCONT ${pid}. I 
want to know if it is possible to stop recording sound while the process is 
paused (stopped in signal terms). 
_______________________________________________ ffmpeg-user mailing list 
ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with 
subject "unsubscribe". _______________________________________________ 
ffmpeg-user mailing list ffmpeg-user@ffmpeg.org 
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with 
subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to