Open dehahost opened 2 years ago
I am experiencing the same issue with the same symptoms and error when using the examples regarding streaming and encoding from the makefile. The video streams/encodes just fine for a few seconds (somewhere between 2 and 30 seconds) then abruptly stops. My logs are pretty much identical to dehahosts with (what I think) the most relevant parts being the following from the FFmpeg-log:
[libx264 @ 0x55afd3325a80] frame=1204 QP=22.76 NAL=0 Slice:B Poc:406 I:0 P:96 SKIP:8064 size=258 bytes
/dev/video2: Invalid argument
[out_0_0 @ 0x55afd332c580] EOF on sink link out_0_0:default.
No more output streams to write to, finishing.
[libx264 @ 0x55afd3325a80] frame=1205 QP=19.31 NAL=2 Slice:P Poc:416 I:27 P:166 SKIP:7967 size=879 bytes
My system: Manjaro Linux 22.0.0 Kernel 5.15.78-1-MANJARO i9-10900K Tested sources are a camera with hdmi-output and a cheap chinese RCA->HDMI upscaler/adapter (1080p) hooked up to an old PlayStation 2.
Hello. As a newcomer I want to report unstable streaming from
/dev/video0
block device. I tried to encode from it with ffmpeg from your Makefile and it stopped after a few tens of seconds.In my theory, something in the module resets and the block device is not available for a short period of time.
Command and its output:
Filtered out error:
ffmpeg log: ffmpeg-20220918-215033.log dmesg: dmesg-cap.log
I am using 64-bit Ubuntu 22.04.1 LTS with Linux kernel in version 5.15.0-47-generic. PlayStation 4 Pro is the source of video.