{"action":"created","issue":{"url":"https://api.github.com/repos/wargio/Twitch-Streamer-Linux/issues/50","labels_url":"https://api.github.com/repos/wargio/Twitch-Streamer-Linux/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/wargio/Twitch-Streamer-Linux/issues/50/comments","events_url":"https://api.github.com/repos/wargio/Twitch-Streamer-Linux/issues/50/events","html_url":"https://github.com/wargio/Twitch-Streamer-Linux/issues/50","id":106205064,"number":50,"title":"Trying use webcam without success.","user":{"login":"adamos42","id":5189131,"avatar_url":"https://avatars.githubusercontent.com/u/5189131?v=3","gravatar_id":"","url":"https://api.github.com/users/adamos42","html_url":"https://github.com/adamos42","followers_url":"https://api.github.com/users/adamos42/followers","following_url":"https://api.github.com/users/adamos42/following{/other_user}","gists_url":"https://api.github.com/users/adamos42/gists{/gist_id}","starred_url":"https://api.github.com/users/adamos42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamos42/subscriptions","organizations_url":"https://api.github.com/users/adamos42/orgs","repos_url":"https://api.github.com/users/adamos42/repos","events_url":"https://api.github.com/users/adamos42/events{/privacy}","received_events_url":"https://api.github.com/users/adamos42/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-13T08:33:23Z","updated_at":"2015-09-13T12:32:15Z","closed_at":null,"body":"I'm trying use my new webcam, but somehow the script is die.\r\n\r\nOutput:\r\n```\r\nadamos42@a42linux:~$ ./streamer.sh -save\r\n \r\nTwitch Streamer for Linux (streamer.sh)\r\nCopyright (c) 2013 - 2014, Giovanni Dante Grazioli (deroad)\r\n\r\nUsing global twitch key located in home directory\r\n[+] Saving the video into streamer.flv instead of stream to Twitch.tv\r\n \r\nPlease setup the Audio Output to sink null (something like 'pavucontrol')\r\n[+] Click, with the mouse, on the Window that you want to Stream\r\n \r\nWebcam found!!\r\nYou should be online! Check on http://twitch.tv/ (Press CTRL+C to stop)\r\n \r\nThere isn't a WEBCAM_XY in the options, i'll generate the standard one (1590:10)\r\nffmpeg version N-73454-g9174866 Copyright (c) 2000-2015 the FFmpeg developers\r\n  built with gcc 4.9.2 (Ubuntu 4.9.2-10ubuntu13)\r\n  configuration: --enable-gpl --enable-gray --enable-runtime-cpudetect --enable-bzlib --enable-gnutls --enable-libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libcdio --enable-libdc1394 --enable-libfaac --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libv4l2 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-openal --enable-zlib --enable-nonfree --enable-version3 --enable-x11grab\r\n  libavutil      54. 28.100 / 54. 28.100\r\n  libavcodec     56. 46.101 / 56. 46.101\r\n  libavformat    56. 40.100 / 56. 40.100\r\n  libavdevice    56.  4.100 / 56.  4.100\r\n  libavfilter     5. 21.100 /  5. 21.100\r\n  libswscale      3.  1.101 /  3.  1.101\r\n  libswresample   1.  2.100 /  1.  2.100\r\n  libpostproc    53.  3.100 / 53.  3.100\r\nInput #0, x11grab, from ':0.0+0,0':\r\n  Duration: N/A, start: 1442132762.544342, bitrate: N/A\r\n    Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1920x24, 24 fps, 24 tbr, 1000k tbn, 24 tbc\r\nGuessed Channel Layout for  Input Stream #1.0 : stereo\r\nInput #1, alsa, from 'pulse':\r\n  Duration: N/A, start: 1442132762.547805, bitrate: 1536 kb/s\r\n    Stream #1:0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s\r\nPlease use -b:a or -b:v, -b is ambiguous\r\n[video4linux2,v4l2 @ 0x21bdaa0] ioctl(VIDIOC_STREAMON): Input/output error\r\n[Parsed_movie_0 @ 0x21bcd60] Failed to avformat_open_input '/dev/video0'\r\n[AVFilterGraph @ 0x21d11c0] Error initializing filter 'movie' with args '/dev/video0:f=video4linux2'\r\nError opening filters!\r\n```\r\n\r\nThe script is fresh downloaded from github, only I edited the webcam device location ( /dev/video0 )"},"comment":{"url":"https://api.github.com/repos/wargio/Twitch-Streamer-Linux/issues/comments/139868604","html_url":"https://github.com/wargio/Twitch-Streamer-Linux/issues/50#issuecomment-139868604","issue_url":"https://api.github.com/repos/wargio/Twitch-Streamer-Linux/issues/50","id":139868604,"user":{"login":"adamos42","id":5189131,"avatar_url":"https://avatars.githubusercontent.com/u/5189131?v=3","gravatar_id":"","url":"https://api.github.com/users/adamos42","html_url":"https://github.com/adamos42","followers_url":"https://api.github.com/users/adamos42/followers","following_url":"https://api.github.com/users/adamos42/following{/other_user}","gists_url":"https://api.github.com/users/adamos42/gists{/gist_id}","starred_url":"https://api.github.com/users/adamos42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamos42/subscriptions","organizations_url":"https://api.github.com/users/adamos42/orgs","repos_url":"https://api.github.com/users/adamos42/repos","events_url":"https://api.github.com/users/adamos42/events{/privacy}","received_events_url":"https://api.github.com/users/adamos42/received_events","type":"User","site_admin":false},"created_at":"2015-09-13T12:32:15Z","updated_at":"2015-09-13T12:32:15Z","body":"Cheese using ``/dev/video0`` and the camera is working fine.\r\n![Cheese Settings](http://a42server.net/static/cheese_settings.jpg)"}}