{"action":"opened","issue":{"url":"https://api.github.com/repos/mdhiggins/sickbeard_mp4_automator/issues/370","labels_url":"https://api.github.com/repos/mdhiggins/sickbeard_mp4_automator/issues/370/labels{/name}","comments_url":"https://api.github.com/repos/mdhiggins/sickbeard_mp4_automator/issues/370/comments","events_url":"https://api.github.com/repos/mdhiggins/sickbeard_mp4_automator/issues/370/events","html_url":"https://github.com/mdhiggins/sickbeard_mp4_automator/issues/370","id":117137592,"number":370,"title":"Error while opening encoder for output stream (and succeeding post-process!)","user":{"login":"HazCod","id":5222512,"avatar_url":"https://avatars.githubusercontent.com/u/5222512?v=3","gravatar_id":"","url":"https://api.github.com/users/HazCod","html_url":"https://github.com/HazCod","followers_url":"https://api.github.com/users/HazCod/followers","following_url":"https://api.github.com/users/HazCod/following{/other_user}","gists_url":"https://api.github.com/users/HazCod/gists{/gist_id}","starred_url":"https://api.github.com/users/HazCod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HazCod/subscriptions","organizations_url":"https://api.github.com/users/HazCod/orgs","repos_url":"https://api.github.com/users/HazCod/repos","events_url":"https://api.github.com/users/HazCod/events{/privacy}","received_events_url":"https://api.github.com/users/HazCod/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-16T14:36:38Z","updated_at":"2015-11-16T14:36:38Z","closed_at":null,"body":"```\r\n2015-11-16 15:35:02 INFO     Thread-56 :: Executing command [u'/home/*****/scripts/pp_sickrage.sh', u'/home/*****/data/transcodeme/series/Mr. Robot/Season 01/Mr. Robot - S01E08 - eps1.7_wh1ter0se.m4v.mkv', u'/home/*****/data/complete/series/Mr. Robot S01 Season 1 Complete 720p HDTV x265 AAC E-Subs [GWC]/Mr. Robot S01E08 HDTV 720p x265 AAC E-Subs [GWC].mkv', '289590', '1', '8', '2015-08-12']\r\n\r\n2015-11-16 15:35:14 DEBUG    Thread-56 :: Script result: Manual processor started.\r\n64bit Python.\r\nOverriden move-to to /home/*****/data/uploadme/series/\r\nProcessing TV episode\r\nReading video stream.\r\nVideo codec detected: hevc.\r\nPix Fmt: yuv420p.\r\nVideo level 93.0.\r\nReading audio streams.\r\nAudio detected for stream #1: aac [eng].\r\nCreating audio stream 0 from source stream 1.\r\nReading subtitle streams.\r\nSubtitle detected for stream #2: srt [eng].\r\nRipping eng subtitle from source stream 2 into external file.\r\n/home/*****/data/transcodeme/series/Mr. Robot/Season 01/Mr. Robot - S01E08 - eps1.7_wh1ter0se.m4v.eng.srt created.\r\nAttempting to download subtitles.\r\n{\r\n    \"subtitle\": {}, \r\n    \"audio\": {\r\n        \"0\": {\r\n            \"channels\": 2, \r\n            \"map\": 1, \r\n            \"codec\": \"copy\", \r\n            \"bitrate\": 256, \r\n            \"language\": \"eng\"\r\n        }\r\n    }, \r\n    \"video\": {\r\n        \"map\": 0, \r\n        \"codec\": \"h264\", \r\n        \"bitrate\": 396.076, \r\n        \"level\": 7.1\r\n    }, \r\n    \"format\": \"mp4\"\r\n}\r\nStarting conversion.\r\nTraceback (most recent call last):\r\n  File \"/home/*****/applications/automator/manual.py\", line 355, in <module>\r\n    main()\r\n  File \"/home/*****/applications/automator/manual.py\", line 346, in main\r\n    processFile(path, tagdata)\r\n  File \"/home/*****/applications/automator/manual.py\", line 204, in processFile\r\n    output = converter.process(inputfile, True)\r\n  File \"/home/*****/applications/automator/mkvtomp4.py\", line 151, in process\r\n    outputfile, inputfile = self.convert(inputfile, options, reportProgress)\r\n  File \"/home/*****/applications/automator/mkvtomp4.py\", line 569, in convert\r\n    for timecode in conv:\r\n  File \"/home/*****/applications/automator/converter/__init__.py\", line 243, in convert\r\n    timeout=timeout, preopts=preopts, postopts=postopts):\r\n  File \"/home/*****/applications/automator/converter/ffmpeg.py\", line 548, in convert\r\n    line, pid=p.pid)\r\nconverter.ffmpeg.FFMpegConvertError: <FFMpegConvertError error=\"Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height\", pid=23444, cmd=\"/usr/bin/ffmpeg -fix_sub_duration -i /home/*****/data/transcodeme/series/Mr. Robot/Season 01/Mr. Robot - S01E08 - eps1.7_wh1ter0se.m4v.mkv -vcodec libx264 -map 0:0 -vb 396k -level 7.1 -c:a:0 copy -map 0:1 -metadata:s:a:0 language=eng -f mp4 -threads auto -y /home/*****/data/transcodeme/series/Mr. Robot/Season 01/Mr. Robot - S01E08 - eps1.7_wh1ter0se.m4v.mp4\">\r\n\r\n2015-11-16 15:35:14 INFO     Thread-56 :: Processing succeeded for /home/*****/data/complete/series/Mr. Robot S01 Season 1 Complete 720p HDTV x265 AAC E-Subs [GWC]/Mr. Robot S01E08 HDTV 720p x265 AAC E-Subs [GWC].mkv\r\n```"}}