GoProStream
GoProStream copied to clipboard
Input/Output Error from FFMPEG
I am facing an issue with connecting the GoPro Hero 7 using Raspberry Pi (running Raspian) using the GoProStream.py
, in the STREAM mode after 1-2 minutes (randomly) the FFMPEG stops with an error as below -
udp://10.5.5.100:8554: Input/Output error
If I don't use Stream=True, and only play using FFPlay then it keeps playing for an hour without any issue. I was sending it to a network PC's UDP port earlier but when I switched it to a file output that failed as well.
Any inputs or advise will be much appreciated
P.S - Thanks for finding this hack and building the ecosystem around it.
I was having the same issue - not with GoProStream, but using ffmpeg
.
What seems to have fixed it for me (fingers crossed that it stands the test of time) was adding the parameters overrun_nonfatal=1
and fifo_size=100000
(I believe this is ~4x the default size). So try modifying your URL to: udp://10.5.5.100:8554?overrun_nonfatal=1&fifo_size=100000
.