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

Unable to pull Docker image #37

Closed
EvilBlood opened this issue Oct 31, 2020 · 14 comments
Closed

Unable to pull Docker image #37

EvilBlood opened this issue Oct 31, 2020 · 14 comments

Comments

@EvilBlood
Copy link

If i try to pull the Docker-image and i get the following error:

Error response from daemon: pull access denied for adilinden/rpi-ffmpeg, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

@LukeLevesque
Copy link

I'm having the exact same issue following the setup guide.

@JoshJames04
Copy link

#36 (comment)

@JoshJames04
Copy link

@adilinden

@kolisko
Copy link

kolisko commented Nov 8, 2020

+1

@kolisko
Copy link

kolisko commented Nov 9, 2020

I fixed the rpi-ffmpeg Dockerfile and created the pull request adilinden-oss/docker-ffmpeg#1. Until PR will not be merged here is the workaround - you can pull docker image kolisko/rpi-ffmpeg instead the missing official one and change the WebcamStreamer Plugin/Advanced Settings/Docker Image to that image kolisko/rpi-ffmpeg.

@orichienal
Copy link

hi,
i there another docker source for the "adilinden/rpi-stream"?
thx

@EnglishAW
Copy link

@kolisko Hey I am trying to get this to work on my RPi 2B. I was able to pull your docker image and adjust the setting on the plugin to use that image. When I hit go live it still does not start streaming. I was wondering if it was having trouble starting the image so I tried to do a docker run on your image manually and got this error WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested standard_init_linux.go:219: exec user process caused: exec format error

Do you know what might be going wrong here. Thank you for any help that you can offer.

@kolisko
Copy link

kolisko commented Dec 18, 2020

@EnglishAW Hi, yes I know what is wrong. :) I built the image only for AMD CPUs. So I newly rebuilt the image for multiple CPU platforms - linux/amd64, linux/arm64, linux/386, linux/arm/v7, linux/arm/v6.

So you should update the image:

docker pull kolisko/rpi-ffmpeg:latest

here you can check if you have right digest:

https://hub.docker.com/r/kolisko/rpi-ffmpeg/tags?page=1&ordering=last_updated

@kolisko
Copy link

kolisko commented Dec 18, 2020

@orichienal Hi, I also prepared kolisko/rpi-stream image for you

@EnglishAW
Copy link

EnglishAW commented Dec 19, 2020

@kolisko OMG! Thank you for the fast response and actually doing this for me. I love this community. With the new docker image I am able to run it and see that some data is being passed to twitch and youtube but both report unstable stream and fail to maintain the stream.

I am wondering if you know of any configuration either with ffmpeg or octoprint that could give a more stable bitrate. I have tried to increase the framerate on both ffmpeg and in the /boot/octopi.txt but have had no success. I am worried that perhaps the RPi 2B just cannot keep up with the demand of streaming. If I can deduce that this is indeed the problem I have no problem ordering a newer RPi.

Thanks again for any guidance you have to offer!

Edit: After reducing the resolution to 100x100 at 5 fps I am seeing the stream on twitch at least showing a frame and then buffering for 20 secs and showing another frame. This leads me to believe the RPi is having trouble encoding and streaming fast enough. Let me know what you think.

@kolisko
Copy link

kolisko commented Dec 19, 2020

@EnglishAW The problem could be the performance of RPi 2B and your internet upstream bandwidth. Octoprint recommends:

Recommended hardware: Raspberry Pi 3B, 3B+ or 4B. Expect print artifacts and long loading times with other options, especially when adding a webcam or installing third party plugins

I am using RPi 4.

@arnehude
Copy link

Thank you @kolisko, i just got it working on RPi4

@adilinden
Copy link
Contributor

https://hub.docker.com/r/adilinden/rpi-ffmpeg exists again.

@adilinden adilinden reopened this Feb 11, 2022
@adilinden
Copy link
Contributor

@EnglishAW The problem could be the performance of RPi 2B and your internet upstream bandwidth. Octoprint recommends:

Recommended hardware: Raspberry Pi 3B, 3B+ or 4B. Expect print artifacts and long loading times with other options, especially when adding a webcam or installing third party plugins

I am using RPi 4.

I am using a Raspberry Pi 2 Model B Rev 1.1

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

8 participants