screengif icon indicating copy to clipboard operation
screengif copied to clipboard

Error when running on Mac

Open gauravarora opened this issue 8 years ago • 3 comments

GauravMac:screengif gauravarora$ make docker-convert args="-i bug17.mov -o bug17.gif"
/Applications/Xcode.app/Contents/Developer/usr/bin/make docker-run cmd="bin/screengif" args="-i bug17.mov -o bug17.gif"
docker run -t -i \
            -v `pwd`:/srv/screengif \
            dergachev/screengif \
            /bin/bash -c "umask 002; bin/screengif -i bug17.mov -o bug17.gif"
[DEPRECATION] requiring "RMagick" is deprecated. Use "rmagick" instead
[image2pipe @ 0x259e1c0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
/bin/bash: line 1:     6 Killed                  bin/screengif -i bug17.mov -o bug17.gif
make[1]: *** [docker-run] Error 137
make: *** [docker-convert] Error 2

What other information can I provide you to help debug this?

gauravarora avatar Sep 08 '16 11:09 gauravarora

I've noticed the same issue. I expect it to be connected with the file size somehow.

SlayerBirden avatar Mar 22 '17 10:03 SlayerBirden

Ok clearly this is connected with issue #2 Not sure how to increase swap size on Docker for Mac (hyper kit)

SlayerBirden avatar Mar 22 '17 10:03 SlayerBirden

I was able to solve this issue with the Docker Desktop App UI. The swap was set to 1GB initially, and then I upped it to 3GB and the

make[1]: *** [docker-run] Error 137
make: *** [docker-convert] Error 2

errors disappeared and the script was able to move on.

However, I started the conversion process for a 10 second video about 10 minutes ago and it's stuck on "Processing image: 52/52". So I may have another issue, but I know that you can avoid the error messages now.

Notes:

  • Video files were only 10 seconds long
  • Mac specs: Mac OS Catalina 10.15.7 with 16GB memory
  • Docker Desktop 3.3.3 (64133)

katcaola avatar May 19 '21 19:05 katcaola