{"action":"created","issue":{"url":"https://api.github.com/repos/jlesage/docker-handbrake/issues/12","repository_url":"https://api.github.com/repos/jlesage/docker-handbrake","labels_url":"https://api.github.com/repos/jlesage/docker-handbrake/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/jlesage/docker-handbrake/issues/12/comments","events_url":"https://api.github.com/repos/jlesage/docker-handbrake/issues/12/events","html_url":"https://github.com/jlesage/docker-handbrake/issues/12","id":299683898,"number":12,"title":"Aspect Ratio Differences","user":{"login":"mbc0","id":19304467,"avatar_url":"https://avatars1.githubusercontent.com/u/19304467?v=4","gravatar_id":"","url":"https://api.github.com/users/mbc0","html_url":"https://github.com/mbc0","followers_url":"https://api.github.com/users/mbc0/followers","following_url":"https://api.github.com/users/mbc0/following{/other_user}","gists_url":"https://api.github.com/users/mbc0/gists{/gist_id}","starred_url":"https://api.github.com/users/mbc0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbc0/subscriptions","organizations_url":"https://api.github.com/users/mbc0/orgs","repos_url":"https://api.github.com/users/mbc0/repos","events_url":"https://api.github.com/users/mbc0/events{/privacy}","received_events_url":"https://api.github.com/users/mbc0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-23T11:37:59Z","updated_at":"2018-02-24T01:51:11Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nwhen using the same custom preset for the docker and the GUI and the same input file I get different results.  \r\n\r\nThe input file is 1920X1080 and if I use my custom preset (which I also use on other machines) I get an output of 1280X694 which is expected.\r\n\r\nIf I drop the file in the watch folder I get an output of 1280X1080 which obviously looks pretty weird!\r\n\r\nAny idea why there should be a difference?\r\n\r\nhere is the log from the incorrect formatting via the watch folder\r\n\r\n------- CONVERSION OUTPUT Fri Feb 23 11:27:35 UTC 2018 -------\r\n[11:27:35] hb_init: starting libhb thread\r\n[11:27:35] thread 7f304693aae8 started (\"libhb\")\r\nHandBrake 1.0.7 (2018021400) - Linux x86_64 - https://handbrake.fr\r\n4 CPUs detected\r\nOpening /watch/Mr. Brooks 2007 BluRay 10Bit 1080p DD5.1 H265-d3g (1)-002.mkv...\r\n[11:27:35] CPU: Intel(R) Xeon(R) CPU E5-1650 v4 @ 3.60GHz\r\n[11:27:35]  - Intel microarchitecture Broadwell\r\n[11:27:35]  - logical processor count: 4\r\n[11:27:35] hb_scan: path=/watch/Mr. Brooks 2007 BluRay 10Bit 1080p DD5.1 H265-d3g (1)-002.mkv, title_index=1\r\nudfread ERROR: ECMA 167 Volume Recognition failed\r\ndisc.c:317: failed opening UDF image /watch/Mr. Brooks 2007 BluRay 10Bit 1080p DD5.1 H265-d3g (1)-002.mkv\r\ndisc.c:418: error opening file BDMV/index.bdmv\r\ndisc.c:418: error opening file BDMV/BACKUP/index.bdmv\r\n[11:27:35] bd: not a bd - trying as a stream/file instead\r\nlibdvdnav: Using dvdnav version 5.0.1\r\nlibdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed\r\nlibdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed\r\nlibdvdread: Can't open file VIDEO_TS.IFO.\r\nlibdvdnav: vm: failed to read VIDEO_TS.IFO\r\n[11:27:35] dvd: not a dvd - trying as a stream/file instead\r\nInput #0, matroska,webm, from '/watch/Mr. Brooks 2007 BluRay 10Bit 1080p DD5.1 H265-d3g (1)-002.mkv':\r\n  Metadata:\r\n    title           : Mr. Brooks 2007 BluRay 10Bit 1080p DD5.1 H265-d3g\r\n    encoder         : libebml v1.3.5 + libmatroska v1.4.8\r\n    creation_time   : 2018-02-23T11:25:58.000000Z\r\n  Duration: 00:01:00.07, start: 0.000000, bitrate: 4092 kb/s\r\n    Chapter #0:0: start 0.000000, end 60.068000\r\n    Metadata:\r\n      title           : (01)00:00:00:000\r\n    Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt709), 1920x1040 [SAR 1:1 DAR 24:13], 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default)\r\n    Metadata:\r\n      BPS             : 3641623\r\n      BPS-eng         : 3641623\r\n      DURATION        : 00:01:00.060000000\r\n      DURATION-eng    : 00:01:00.060000000\r\n      NUMBER_OF_FRAMES: 1440\r\n      NUMBER_OF_FRAMES-eng: 1440\r\n      NUMBER_OF_BYTES : 27339485\r\n      NUMBER_OF_BYTES-eng: 27339485\r\n      _STATISTICS_WRITING_APP: mkvmerge v20.0.0 ('I Am The Sun') 64-bit\r\n      _STATISTICS_WRITING_APP-eng: mkvmerge v20.0.0 ('I Am The Sun') 64-bit\r\n      _STATISTICS_WRITING_DATE_UTC: 2018-02-23 11:25:58\r\n      _STATISTICS_WRITING_DATE_UTC-eng: 2018-02-23 11:25:58\r\n      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES\r\n      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES\r\n    Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default)\r\n    Metadata:\r\n      BPS             : 448000\r\n      BPS-eng         : 448000\r\n      DURATION        : 00:01:00.064000000\r\n      DURATION-eng    : 00:01:00.064000000\r\n      NUMBER_OF_FRAMES: 1877\r\n      NUMBER_OF_FRAMES-eng: 1877\r\n      NUMBER_OF_BYTES : 3363584\r\n      NUMBER_OF_BYTES-eng: 3363584\r\n      _STATISTICS_WRITING_APP: mkvmerge v20.0.0 ('I Am The Sun') 64-bit\r\n      _STATISTICS_WRITING_APP-eng: mkvmerge v20.0.0 ('I Am The Sun') 64-bit\r\n      _STATISTICS_WRITING_DATE_UTC: 2018-02-23 11:25:58\r\n      _STATISTICS_WRITING_DATE_UTC-eng: 2018-02-23 11:25:58\r\n      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES\r\n      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES\r\n[11:27:35] scan: decoding previews for title 1\r\n[11:27:35] scan: audio 0x1: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)\r\n\r\nScanning title 1 of 1, preview 3, 30.00 %\r\nScanning title 1 of 1, preview 6, 60.00 %\r\nScanning title 1 of 1, preview 8, 80.00 %[11:27:36] scan: 10 previews, 1920x1040, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1\r\n\r\nScanning title 1 of 1, preview 10, 100.00 %[11:27:36] libhb: scan thread found 1 valid title(s)\r\n+ Using preset: myhd720P\r\n+ title 1:\r\n  + stream: /watch/Mr. Brooks 2007 BluRay 10Bit 1080p DD5.1 H265-d3g (1)-002.mkv\r\n  + duration: 00:01:00\r\n  + size: 1920x1040, pixel aspect: 1/1, display aspect: 1.85, 23.976 fps\r\n  + autocrop: 0/0/0/0\r\n  + support opencl: no\r\n  + chapters:\r\n    + 1: cells 0->0, 0 blocks, duration 00:01:00\r\n  + audio tracks:\r\n    + 1, English (AC3) (5.1 ch) (iso639-2: eng), 48000Hz, 448000bps\r\n  + subtitle tracks:\r\n[11:27:36] 1 job(s) to process\r\n[11:27:36] json job:\r\n{\r\n    \"Audio\": {\r\n        \"AudioList\": [\r\n            {\r\n                \"Bitrate\": 0,\r\n                \"DRC\": 0.0,\r\n                \"Encoder\": \"copy:ac3\",\r\n                \"Mixdown\": \"none\",\r\n                \"PresetEncoder\": \"copy\",\r\n                \"Quality\": -3.0,\r\n                \"Samplerate\": 0,\r\n                \"Track\": 0\r\n            }\r\n        ],\r\n        \"CopyMask\": [\r\n            \"copy:mp3\",\r\n            \"copy:aac\",\r\n            \"copy:ac3\",\r\n            \"copy:dts\",\r\n            \"copy:dtshd\",\r\n            \"copy:eac3\",\r\n            \"copy:truehd\"\r\n        ],\r\n        \"FallbackEncoder\": \"ac3\"\r\n    },\r\n    \"Destination\": {\r\n        \"ChapterList\": [\r\n            {\r\n                \"Name\": \"(01)00:00:00:000\"\r\n            }\r\n        ],\r\n        \"ChapterMarkers\": false,\r\n        \"File\": \"/output/Mr. Brooks 2007 BluRay 10Bit 1080p DD5.1 H265-d3g (1)-002.mkv\",\r\n        \"Mp4Options\": {\r\n            \"IpodAtom\": false,\r\n            \"Mp4Optimize\": false\r\n        },\r\n        \"Mux\": \"mkv\"\r\n    },\r\n    \"Filters\": {\r\n        \"FilterList\": [\r\n            {\r\n                \"ID\": 6,\r\n                \"Settings\": {\r\n                    \"mode\": 1\r\n                }\r\n            },\r\n            {\r\n                \"ID\": 11,\r\n                \"Settings\": {\r\n                    \"crop-bottom\": 0,\r\n                    \"crop-left\": 0,\r\n                    \"crop-right\": 0,\r\n                    \"crop-top\": 0,\r\n                    \"height\": 1040,\r\n                    \"width\": 1280\r\n                }\r\n            }\r\n        ]\r\n    },\r\n    \"Metadata\": {\r\n        \"Name\": \"Mr. Brooks 2007 BluRay 10Bit 1080p DD5.1 H265-d3g\"\r\n    },\r\n    \"PAR\": {\r\n        \"Den\": 1,\r\n        \"Num\": 1\r\n    },\r\n    \"SequenceID\": 0,\r\n    \"Source\": {\r\n        \"Angle\": 0,\r\n        \"Path\": \"/watch/Mr. Brooks 2007 BluRay 10Bit 1080p DD5.1 H265-d3g (1)-002.mkv\",\r\n        \"Range\": {\r\n            \"End\": 1,\r\n            \"Start\": 1,\r\n            \"Type\": \"chapter\"\r\n        },\r\n        \"Title\": 1\r\n    },\r\n    \"Subtitle\": {\r\n        \"Search\": {\r\n            \"Burn\": true,\r\n            \"Default\": false,\r\n            \"Enable\": false,\r\n            \"Forced\": false\r\n        },\r\n        \"SubtitleList\": []\r\n    },\r\n    \"Video\": {\r\n        \"ColorMatrixCode\": 0,\r\n        \"Encoder\": \"x265\",\r\n        \"Level\": \"\",\r\n        \"OpenCL\": false,\r\n        \"Options\": \"\",\r\n        \"Preset\": \"fast\",\r\n        \"Profile\": \"auto\",\r\n        \"QSV\": {\r\n            \"AsyncDepth\": 4,\r\n            \"Decode\": true\r\n        },\r\n        \"Quality\": 21.0,\r\n        \"Tune\": \"\",\r\n        \"Turbo\": false,\r\n        \"TwoPass\": false\r\n    }\r\n}\r\n[11:27:36] starting job\r\n[11:27:36] job configuration:\r\n[11:27:36]  * source\r\n[11:27:36]    + /watch/Mr. Brooks 2007 BluRay 10Bit 1080p DD5.1 H265-d3g (1)-002.mkv\r\n[11:27:36]    + title 1, chapter(s) 1 to 1\r\n[11:27:36]    + container: matroska,webm\r\n[11:27:36]    + data rate: 4092 kbps\r\n[11:27:36]  * destination\r\n[11:27:36]    + /output/Mr. Brooks 2007 BluRay 10Bit 1080p DD5.1 H265-d3g (1)-002.mkv\r\n[11:27:36]    + container: Matroska (libavformat)\r\n[11:27:36]  * video track\r\n[11:27:36]    + decoder: hevc\r\n[11:27:36]    + filters\r\n[11:27:36]      + Framerate Shaper (mode=1)\r\n[11:27:36]        + frame rate: 23.976 fps -> constant 23.976 fps\r\n[11:27:36]      + Crop and Scale (width=1280:height=1040:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)\r\n[11:27:36]        + source: 1920 * 1040, crop (0/0/0/0): 1920 * 1040, scale: 1280 * 1040\r\n[11:27:36]    + Output geometry\r\n[11:27:36]      + storage dimensions: 1280 x 1040\r\n[11:27:36]      + pixel aspect ratio: 1 : 1\r\n[11:27:36]      + display dimensions: 1280 x 1040\r\n[11:27:36]    + encoder: H.265 (libx265)\r\n[11:27:36]      + preset:  fast\r\n[11:27:36]      + profile: auto\r\n[11:27:36]      + quality: 21.00 (RF)\r\n[11:27:36]  * audio track 1\r\n[11:27:36]    + decoder: English (AC3) (5.1 ch) (track 1, id 0x1)\r\n[11:27:36]      + bitrate: 448 kbps, samplerate: 48000 Hz\r\n[11:27:36]    + AC3 Passthru\r\n[11:27:36] sync: expecting 1440 video frames\r\nx265 [info]: HEVC encoder version 2.3\r\nx265 [info]: build info [Linux][GCC 6.3.0][64 bit] 8bit\r\nx265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2\r\nx265 [info]: Main profile, Level-4 (Main tier)\r\nx265 [info]: Thread pool created using 4 threads\r\nx265 [info]: Slices                              : 1\r\nx265 [info]: frame threads / pool features       : 2 / wpp(17 rows)\r\nx265 [info]: Coding QT: max CU size, min CU size : 64 / 8\r\nx265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra\r\nx265 [info]: ME / range / subpel / merge         : hex / 57 / 2 / 2\r\nx265 [info]: Keyframe min / max / scenecut / bias: 24 / 240 / 40 / 5.00\r\nx265 [info]: Lookahead / bframes / badapt        : 15 / 4 / 0\r\nx265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0\r\nx265 [info]: References / ref-limit  cu / depth  : 3 / on / on\r\nx265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 1.0 / 32 / 1\r\nx265 [info]: Rate Control / qCompress            : CRF-21.0 / 0.60\r\nx265 [info]: tools: rd=2 psy-rd=2.00 rskip signhide tmvp fast-intra\r\nx265 [info]: tools: strong-intra-smoothing lslices=6 deblock sao\r\n[11:27:36] sync: first pts video is 0\r\n[11:27:36] sync: \"(01)00:00:00:000\" (1) at frame 1 time 0\r\n[11:27:36] sync: first pts audio 0x1 is 360\r\n[11:28:49] reader: done. 1 scr changes\r\n[11:28:53] work: average encoding speed for job is 18.976942 fps\r\n[11:28:53] vfr: 1440 frames output, 0 dropped and 0 duped for CFR/PFR\r\n[11:28:53] vfr: lost time: 0 (0 frames)\r\n[11:28:53] vfr: gained time: 0 (0 frames) (0 not accounted for)\r\n[11:28:53] ac3-decoder done: 1877 frames, 0 decoder errors\r\n[11:28:53] hevc-decoder done: 1440 frames, 0 decoder errors\r\n[11:28:53] sync: got 1440 frames, 1440 expected\r\n[11:28:53] sync: framerate min 23.981 fps, max 23.981 fps, avg 23.976 fps\r\nx265 [info]: frame I:      9, Avg QP:17.34  kb/s: 7674.12 \r\nx265 [info]: frame P:    286, Avg QP:20.42  kb/s: 2821.82 \r\nx265 [info]: frame B:   1145, Avg QP:25.34  kb/s: 366.66  \r\nx265 [info]: Weighted P-Frames: Y:12.2% UV:1.7%\r\nx265 [info]: consecutive B-frames: 2.4% 0.3% 0.3% 0.7% 96.3% \r\n\r\nencoded 1440 frames in 77.47s (18.59 fps), 899.96 kb/s, Avg QP:24.32\r\n[11:28:53] mux: track 0, 1440 frames, 6762183 bytes, 900.10 kbps, fifo 2048\r\n[11:28:53] mux: track 1, 1877 frames, 3363584 bytes, 447.72 kbps, fifo 2048\r\n[11:28:53] libhb: work result = 0\r\n\r\nEncode done!\r\nHandBrake has exited.\r\n"},"comment":{"url":"https://api.github.com/repos/jlesage/docker-handbrake/issues/comments/368187446","html_url":"https://github.com/jlesage/docker-handbrake/issues/12#issuecomment-368187446","issue_url":"https://api.github.com/repos/jlesage/docker-handbrake/issues/12","id":368187446,"user":{"login":"mbc0","id":19304467,"avatar_url":"https://avatars1.githubusercontent.com/u/19304467?v=4","gravatar_id":"","url":"https://api.github.com/users/mbc0","html_url":"https://github.com/mbc0","followers_url":"https://api.github.com/users/mbc0/followers","following_url":"https://api.github.com/users/mbc0/following{/other_user}","gists_url":"https://api.github.com/users/mbc0/gists{/gist_id}","starred_url":"https://api.github.com/users/mbc0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbc0/subscriptions","organizations_url":"https://api.github.com/users/mbc0/orgs","repos_url":"https://api.github.com/users/mbc0/repos","events_url":"https://api.github.com/users/mbc0/events{/privacy}","received_events_url":"https://api.github.com/users/mbc0/received_events","type":"User","site_admin":false},"created_at":"2018-02-24T01:51:11Z","updated_at":"2018-02-24T01:51:11Z","author_association":"NONE","body":"I have been doing some experimenting with this...\r\n\r\nI have changed my custom present 3-4 times and removed the docker and reloaded but I still always get 1280X1084\r\n\r\nI have also tried customizing an existing preset which although I get 1280X720 nothing I can do will make the sound passthrough (like I can make happen on my custom preset) it ALWAYS encodes even though I have removed encoding audio.. any help would be greatly appreciated! its all so close to being perfect!"}}
{"actor":{"display_login":"mbc0"}}