{"action":"created","issue":{"url":"https://api.github.com/repos/snickers/snickers/issues/86","repository_url":"https://api.github.com/repos/snickers/snickers","labels_url":"https://api.github.com/repos/snickers/snickers/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/snickers/snickers/issues/86/comments","events_url":"https://api.github.com/repos/snickers/snickers/issues/86/events","html_url":"https://github.com/snickers/snickers/issues/86","id":167250669,"number":86,"title":"Failing tests on MAC OS ","user":{"login":"albertoleal","id":15064,"avatar_url":"https://avatars.githubusercontent.com/u/15064?v=3","gravatar_id":"","url":"https://api.github.com/users/albertoleal","html_url":"https://github.com/albertoleal","followers_url":"https://api.github.com/users/albertoleal/followers","following_url":"https://api.github.com/users/albertoleal/following{/other_user}","gists_url":"https://api.github.com/users/albertoleal/gists{/gist_id}","starred_url":"https://api.github.com/users/albertoleal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albertoleal/subscriptions","organizations_url":"https://api.github.com/users/albertoleal/orgs","repos_url":"https://api.github.com/users/albertoleal/repos","events_url":"https://api.github.com/users/albertoleal/events{/privacy}","received_events_url":"https://api.github.com/users/albertoleal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-24T19:49:34Z","updated_at":"2016-07-25T15:15:22Z","closed_at":null,"body":"Hi, I'm trying to run the test suite on MAC OS and I'm always getting 4 failures. Any ideas?\r\n\r\nThat's how I installed ffmpeg:\r\n```\r\nbrew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-libass --with-libquvi --with-libvorbis --with-libvpx --with-opus --with-x265\r\n```\r\n\r\n**Failures:**\r\n```\r\n• Failure [0.980 seconds]\r\nFFmpeg Encoder\r\n/Users/aleal/workspace/go/src/github.com/snickers/snickers/tests/ffmpeg_encoder_test.go:418\r\n  Regarding the application of presets\r\n  /Users/aleal/workspace/go/src/github.com/snickers/snickers/tests/ffmpeg_encoder_test.go:359\r\n    should create h264/mp4 output [It]\r\n    /Users/aleal/workspace/go/src/github.com/snickers/snickers/tests/ffmpeg_encoder_test.go:184\r\n\r\n    Expected\r\n        <string>:\r\n    to equal\r\n        <string>: mpeg-4\r\n\r\n    /Users/aleal/workspace/go/src/github.com/snickers/snickers/tests/ffmpeg_encoder_test.go:150\r\n------------------------------\r\n• Failure [40.911 seconds]\r\nFFmpeg Encoder\r\n/Users/aleal/workspace/go/src/github.com/snickers/snickers/tests/ffmpeg_encoder_test.go:418\r\n  Regarding the application of presets\r\n  /Users/aleal/workspace/go/src/github.com/snickers/snickers/tests/ffmpeg_encoder_test.go:359\r\n    should create webm/vp8 output [It]\r\n    /Users/aleal/workspace/go/src/github.com/snickers/snickers/tests/ffmpeg_encoder_test.go:242\r\n\r\n    Expected\r\n        <string>:\r\n    to equal\r\n        <string>: webm\r\n\r\n    /Users/aleal/workspace/go/src/github.com/snickers/snickers/tests/ffmpeg_encoder_test.go:220\r\n------------------------------\r\n• Failure [89.893 seconds]\r\nFFmpeg Encoder\r\n/Users/aleal/workspace/go/src/github.com/snickers/snickers/tests/ffmpeg_encoder_test.go:418\r\n  Regarding the application of presets\r\n  /Users/aleal/workspace/go/src/github.com/snickers/snickers/tests/ffmpeg_encoder_test.go:359\r\n    should create webm/vp9 output [It]\r\n    /Users/aleal/workspace/go/src/github.com/snickers/snickers/tests/ffmpeg_encoder_test.go:300\r\n\r\n    Expected\r\n        <string>:\r\n    to equal\r\n        <string>: webm\r\n\r\n    /Users/aleal/workspace/go/src/github.com/snickers/snickers/tests/ffmpeg_encoder_test.go:278\r\n------------------------------\r\n• Failure [0.016 seconds]\r\nFFmpeg Encoder\r\n/Users/aleal/workspace/go/src/github.com/snickers/snickers/tests/ffmpeg_encoder_test.go:418\r\n  Regarding the application of presets\r\n  /Users/aleal/workspace/go/src/github.com/snickers/snickers/tests/ffmpeg_encoder_test.go:359\r\n    should create ogg/theora output [It]\r\n    /Users/aleal/workspace/go/src/github.com/snickers/snickers/tests/ffmpeg_encoder_test.go:358\r\n\r\n    Expected\r\n        <string>:\r\n    to equal\r\n        <string>: ogg\r\n\r\n    /Users/aleal/workspace/go/src/github.com/snickers/snickers/tests/ffmpeg_encoder_test.go:336\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/snickers/snickers/issues/comments/234983855","html_url":"https://github.com/snickers/snickers/issues/86#issuecomment-234983855","issue_url":"https://api.github.com/repos/snickers/snickers/issues/86","id":234983855,"user":{"login":"fsouza","id":108725,"avatar_url":"https://avatars.githubusercontent.com/u/108725?v=3","gravatar_id":"","url":"https://api.github.com/users/fsouza","html_url":"https://github.com/fsouza","followers_url":"https://api.github.com/users/fsouza/followers","following_url":"https://api.github.com/users/fsouza/following{/other_user}","gists_url":"https://api.github.com/users/fsouza/gists{/gist_id}","starred_url":"https://api.github.com/users/fsouza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsouza/subscriptions","organizations_url":"https://api.github.com/users/fsouza/orgs","repos_url":"https://api.github.com/users/fsouza/repos","events_url":"https://api.github.com/users/fsouza/events{/privacy}","received_events_url":"https://api.github.com/users/fsouza/received_events","type":"User","site_admin":false},"created_at":"2016-07-25T15:15:22Z","updated_at":"2016-07-25T15:15:22Z","body":"Hm, that's interesting. I was fighting a similar issue and reinstalled ffmpeg with the following line:\r\n\r\n```\r\n% brew install ffmpeg --with-fdk-aac --with-libvpx --with-libvorbis --with-theora\r\n```\r\n\r\nAfter doing that, I also needed to reinstall gmf:\r\n\r\n```\r\n% rm -rf $GOPATH/pkg/darwin_amd64/github.com/3d0c\r\n% go install github.com/3d0c/gmf\r\n# github.com/3d0c/gmf\r\n../../src/github.com/3d0c/gmf/frame.go:222:6: warning: 'avcodec_encode_audio2' is deprecated [-Wdeprecated-declarations]\r\n/usr/local/Cellar/ffmpeg/3.1.1/include/libavcodec/avcodec.h:5222:5: note: 'avcodec_encode_audio2' has been explicitly marked deprecated here\r\n../../src/github.com/3d0c/gmf/frame.go:243:6: warning: 'avcodec_encode_video2' is deprecated [-Wdeprecated-declarations]\r\n/usr/local/Cellar/ffmpeg/3.1.1/include/libavcodec/avcodec.h:5261:5: note: 'avcodec_encode_video2' has been explicitly marked deprecated here\r\n# github.com/3d0c/gmf\r\n../../src/github.com/3d0c/gmf/packet.go:105:6: warning: 'avcodec_decode_audio4' is deprecated [-Wdeprecated-declarations]\r\n/usr/local/Cellar/ffmpeg/3.1.1/include/libavcodec/avcodec.h:4704:5: note: 'avcodec_decode_audio4' has been explicitly marked deprecated here\r\n../../src/github.com/3d0c/gmf/packet.go:126:6: warning: 'avcodec_decode_video2' is deprecated [-Wdeprecated-declarations]\r\n/usr/local/Cellar/ffmpeg/3.1.1/include/libavcodec/avcodec.h:4753:5: note: 'avcodec_decode_video2' has been explicitly marked deprecated here\r\n# github.com/3d0c/gmf\r\n../../src/github.com/3d0c/gmf/stream.go:53:6: warning: 'avcodec_copy_context' is deprecated [-Wdeprecated-declarations]\r\n/usr/local/Cellar/ffmpeg/3.1.1/include/libavcodec/avcodec.h:4182:5: note: 'avcodec_copy_context' has been explicitly marked deprecated here\r\n```\r\n\r\nAnd then the test suite passes."}}
{"actor":{"display_login":"fsouza"}}