Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input/Output Error from FFMPEG #56

Open
shoaibmerchant opened this issue Sep 23, 2020 · 1 comment
Open

Input/Output Error from FFMPEG #56

shoaibmerchant opened this issue Sep 23, 2020 · 1 comment

Comments

@shoaibmerchant
Copy link

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.

@doctorcolossus
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants