{"action":"created","issue":{"url":"https://api.github.com/repos/mdhiggins/sickbeard_mp4_automator/issues/318","labels_url":"https://api.github.com/repos/mdhiggins/sickbeard_mp4_automator/issues/318/labels{/name}","comments_url":"https://api.github.com/repos/mdhiggins/sickbeard_mp4_automator/issues/318/comments","events_url":"https://api.github.com/repos/mdhiggins/sickbeard_mp4_automator/issues/318/events","html_url":"https://github.com/mdhiggins/sickbeard_mp4_automator/issues/318","id":104889337,"number":318,"title":"[Enhancement Request]","user":{"login":"mtompkins","id":4105910,"avatar_url":"https://avatars.githubusercontent.com/u/4105910?v=3","gravatar_id":"","url":"https://api.github.com/users/mtompkins","html_url":"https://github.com/mtompkins","followers_url":"https://api.github.com/users/mtompkins/followers","following_url":"https://api.github.com/users/mtompkins/following{/other_user}","gists_url":"https://api.github.com/users/mtompkins/gists{/gist_id}","starred_url":"https://api.github.com/users/mtompkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtompkins/subscriptions","organizations_url":"https://api.github.com/users/mtompkins/orgs","repos_url":"https://api.github.com/users/mtompkins/repos","events_url":"https://api.github.com/users/mtompkins/events{/privacy}","received_events_url":"https://api.github.com/users/mtompkins/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-04T13:17:29Z","updated_at":"2015-09-12T17:12:13Z","closed_at":null,"body":"Please consider adding x265"},"comment":{"url":"https://api.github.com/repos/mdhiggins/sickbeard_mp4_automator/issues/comments/139798082","html_url":"https://github.com/mdhiggins/sickbeard_mp4_automator/issues/318#issuecomment-139798082","issue_url":"https://api.github.com/repos/mdhiggins/sickbeard_mp4_automator/issues/318","id":139798082,"user":{"login":"mtompkins","id":4105910,"avatar_url":"https://avatars.githubusercontent.com/u/4105910?v=3","gravatar_id":"","url":"https://api.github.com/users/mtompkins","html_url":"https://github.com/mtompkins","followers_url":"https://api.github.com/users/mtompkins/followers","following_url":"https://api.github.com/users/mtompkins/following{/other_user}","gists_url":"https://api.github.com/users/mtompkins/gists{/gist_id}","starred_url":"https://api.github.com/users/mtompkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtompkins/subscriptions","organizations_url":"https://api.github.com/users/mtompkins/orgs","repos_url":"https://api.github.com/users/mtompkins/repos","events_url":"https://api.github.com/users/mtompkins/events{/privacy}","received_events_url":"https://api.github.com/users/mtompkins/received_events","type":"User","site_admin":false},"created_at":"2015-09-12T17:12:13Z","updated_at":"2015-09-12T17:12:13Z","body":"So before I got an opportunity to test 265 specifically I came across the following error while running for h264 (so the issue many not be specific to 265).\r\n\r\n```\r\n<FFMpegConvertError error=\"Error while opening encoder for output stream #0:2 - maybe incorrect parameters such as bit_rate, rate, width or height\", pid=22907, cmd=\"/usr/local/bin/ffmpeg -fix_sub_duration -i InFile.mkv -vcodec copy -map 0:0 -c:a:0 aac -map 0:1 -ac:a:0 2 -b:a:0 256k -metadata:s:a:0 language=eng -st\r\nrict experimental -c:a:1 ac3 -map 0:1 -ac:a:1 6 -b:a:1 1536k -metadata:s:a:1 language=eng -f mp4 -threads auto -y InFile.mp4\">\r\n```\r\n\r\nI parsed out the generated ffmpeg to test and it returns as follows:\r\n```\r\nffmpeg -fix_sub_duration -i \"InFile.mkv\" -vcodec copy -map 0:0 -c:a:0 aac -map 0:1 -ac:a:0 2 -b:a:0 256k -metadata:s:a:0 language=eng -strict experimental -c:a:1 ac3 -map 0:1 -ac:a:1 6 -b:a:1 1536k -metadata:s:a:1 language=eng -f mp4 -threads auto -y \"InFile.mp4\"\r\nffmpeg version N-75192-gabef638 Copyright (c) 2000-2015 the FFmpeg developers\r\n  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)\r\n  configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree --disable-doc --disable-ffplay --disable-htmlpages --disable-txtpages\r\n  libavutil      55.  2.100 / 55.  2.100\r\n  libavcodec     57.  1.100 / 57.  1.100\r\n  libavformat    57.  0.100 / 57.  0.100\r\n  libavdevice    57.  0.100 / 57.  0.100\r\n  libavfilter     6.  1.100 /  6.  1.100\r\n  libswscale      4.  0.100 /  4.  0.100\r\n  libswresample   2.  0.100 /  2.  0.100\r\n  libpostproc    54.  0.100 / 54.  0.100\r\nInput #0, matroska,webm, from 'InFile.mkv':\r\n  Metadata:\r\n    encoder         : libebml v0.8.0 + libmatroska v0.9.0\r\n    creation_time   : 2013-11-07 08:09:24\r\n  Duration: 00:44:06.44, start: 0.000000, bitrate: 10616 kb/s\r\n    Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)\r\n    Stream #0:1(eng): Audio: flac, 96000 Hz, 5.1(side), s16 (default)\r\n[AVFilterGraph @ 0x3e81000] [Eval @ 0x7ffd66a33f20] Undefined constant or missing '(' in 'auto'\r\n[AVFilterGraph @ 0x3e81000] Unable to parse option value \"auto\"\r\n[AVFilterGraph @ 0x3d89540] [Eval @ 0x7ffd66a33f20] Undefined constant or missing '(' in 'auto'\r\n[AVFilterGraph @ 0x3d89540] Unable to parse option value \"auto\"\r\n[ac3 @ 0x3db42a0] invalid sample rate\r\nOutput #0, mp4, to 'InFile.mp4':\r\n  Metadata:\r\n    encoder         : libebml v0.8.0 + libmatroska v0.9.0\r\n    Stream #0:0(eng): Video: h264, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 23.98 tbr, 1k tbn, 1k tbc (default)\r\n    Stream #0:1(eng): Audio: aac, 96000 Hz, stereo, fltp (16 bit), 256 kb/s (default)\r\n    Metadata:\r\n      encoder         : Lavc57.1.100 aac\r\n    Stream #0:2(eng): Audio: ac3, 0 channels, 128 kb/s (default)\r\n    Metadata:\r\n      encoder         : Lavc57.1.100 ac3\r\nStream mapping:\r\n  Stream #0:0 -> #0:0 (copy)\r\n  Stream #0:1 -> #0:1 (flac (native) -> aac (native))\r\n  Stream #0:1 -> #0:2 (flac (native) -> ac3 (native))\r\nError while opening encoder for output stream #0:2 - maybe incorrect parameters such as bit_rate, rate, width or height\r\n```\r\nI will update with a 265 debug shortly"}}