February 14, 20188 yr 10 hours ago, Djoss said: Crash should be fixed with the latest image Consider this your QA approval. Everything is working appropriately now. Thanks for the responsiveness. Now I get to go deal with the QAs myself :-). Implemented circuit breaker patterned and AOP based logging last night on our Api proxies... Hoping the passes the review (What SVP wants to review the architects code lol)... Anyway. Thanks again
February 16, 20188 yr Hmm, this is weird. I'm getting this when trying to install the docker image. No idea why. Quote Warning: file_put_contents(/boot/config/plugins/dockerMan/templates-user/my-HandBrake.xml): failed to open stream: Read-only file system in /usr/local/emhttp/plugins/dynamix.docker.manager/include/CreateDocker.php on line 535 The docker seems to install, but it really messes up the unraid screens (lots of issues parsing the other templates). The directory is wide open, so I'm not sure why this is failing, but the config file is not there when the install finishes. Edited February 16, 20188 yr by rbroberts
February 16, 20188 yr Ugh. Turns out something was wrong with my USB stick. I've recovered, but it was painful. There were some other hints, but the Main and Dashboard pages were showing everything to be happy.
February 16, 20188 yr Okay, all seems to be working well at this point and I'm a happy camper. Well, mostly :-) I've set SAME_AS_SRC for the output folder. My input folder is "Video/watch/Tangled (2010)". Yeah, spaces and parenthesis. But this is the format that Plex wants so I was setting up so I could just move the entire output folder over once the transcoding was complete. The output folder is "Video/output/SONR3Q~7". Not quite what I was expecting.... Names with spaces and special characters works fine with handbrake on Ubuntu, but I really wanted to move it over to my unraid server which has (a lot) more horsepower.
February 16, 20188 yr Author 15 minutes ago, rbroberts said: Okay, all seems to be working well at this point and I'm a happy camper. Well, mostly :-) I've set SAME_AS_SRC for the output folder. My input folder is "Video/watch/Tangled (2010)". Yeah, spaces and parenthesis. But this is the format that Plex wants so I was setting up so I could just move the entire output folder over once the transcoding was complete. The output folder is "Video/output/SONR3Q~7". Not quite what I was expecting.... Names with spaces and special characters works fine with handbrake on Ubuntu, but I really wanted to move it over to my unraid server which has (a lot) more horsepower. Ok I will check that. I know that there is no issues with the files themselves, but maybe there is a glitch with folder names.
February 16, 20188 yr Ah, stupid configuration problem. I cut-and-pasted the SAME_AS_SRC and end up with "SAME_AS_SRC ".
February 16, 20188 yr 2 minutes ago, Djoss said: So everything is fine? Yes, everything is working fine now. Well apart from me trying to figure out what setting to use, but I've always had that problem. I wish HandBrake was a little better on figuring out crop sizes. Time to make my server do some real work :-) top - 16:03:09 up 1:38, 1 user, load average: 31.48, 16.14, 9.92 Tasks: 928 total, 5 running, 604 sleeping, 0 stopped, 1 zombie %Cpu(s): 21.1 us, 1.3 sy, 49.9 ni, 27.4 id, 0.3 wa, 0.0 hi, 0.0 si, 0.0 st KiB Mem : 13199644+total, 68890384 free, 37129776 used, 25976296 buff/cache KiB Swap: 0 total, 0 free, 0 used. 93019248 avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 122623 nobody 20 0 2662432 1.830g 40840 S 2985 1.5 67:07.74 ghb
February 16, 20188 yr Hmmm. I have a custom configuration I use for the automated transcoding. If I change that via the web/gui interface to ghb, will the automated queue pick it up on the next transcode or do I have to restart the docker? There's probably someplace I should be able to tell for myself, let me poke at some logs...
February 16, 20188 yr Author 2 minutes ago, rbroberts said: Hmmm. I have a custom configuration I use for the automated transcoding. If I change that via the web/gui interface to ghb, will the automated queue pick it up on the next transcode or do I have to restart the docker? There's probably someplace I should be able to tell for myself, let me poke at some logs... No need to restart the container.
February 16, 20188 yr Hmmm. I used the web interface/GUI to make my changes. The main change was to switch to mkv format, turn off burning subtitles and set up to select all subtitles as pass-through. The batch job is still burning them in. In fact, a restart doesn't help either. The name I have in the config is "Custom Fast 1080p30". That's the name I saved it under using the web GUI. And I clicked on save it as the default. But the automatic CLI transcode acts like it doesn't see it and is just using the old settings. I get one subtitle, burned in. I'm not clear where I need to do the actual configuration change to make it visible to the CLI version.
February 16, 20188 yr Do you think you could make a nightly build of this that can support h265 10bit?
February 17, 20188 yr Author 2 hours ago, rbroberts said: Hmmm. I used the web interface/GUI to make my changes. The main change was to switch to mkv format, turn off burning subtitles and set up to select all subtitles as pass-through. The batch job is still burning them in. In fact, a restart doesn't help either. The name I have in the config is "Custom Fast 1080p30". That's the name I saved it under using the web GUI. And I clicked on save it as the default. But the automatic CLI transcode acts like it doesn't see it and is just using the old settings. I get one subtitle, burned in. I'm not clear where I need to do the actual configuration change to make it visible to the CLI version. In the container's settings, there is a field for the name of the preset to use by the automatic video converter. The name should be the same as the one you edit in the UI. Double check that the names are the same and that there is no extra spaces at the end. It should work, I use it often.
February 17, 20188 yr Author 1 hour ago, Kyubey said: Do you think you could make a nightly build of this that can support h265 10bit? Yes, it's on my todo list
February 17, 20188 yr Hi, This is exactly what I am after but even though everything installs ok I get server disconnected 1006 on the gui?
February 17, 20188 yr Author 6 minutes ago, mbc0 said: Hi, This is exactly what I am after but even though everything installs ok I get server disconnected 1006 on the gui? Are you using default container settings? Did you look at the container's log?
February 17, 20188 yr Hi, thanks for the quick reply! Here is the log but it's just telling me I cannot connect? 2018/02/16 18:34:18 [error] 784#784: *7 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.0.2, server: , request: "GET /websockify HTTP/1.1", upstream: "http://127.0.0.1:5900/websockify", host: "192.168.0.33:7803" 2018/02/16 18:34:25 [error] 784#784: *9 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.0.2, server: , request: "GET /websockify HTTP/1.1", upstream: "http://127.0.0.1:5900/websockify", host: "192.168.0.33:7803" 2018/02/16 18:34:28 [error] 784#784: *11 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.0.2, server: , request: "GET /websockify HTTP/1.1", upstream: "http://127.0.0.1:5900/websockify", host: "192.168.0.33:7803" 2018/02/16 18:34:55 [error] 784#784: *13 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.0.2, server: , request: "GET /websockify HTTP/1.1", upstream: "http://127.0.0.1:5900/websockify", host: "192.168.0.33:7803" 2018/02/16 18:35:00 [error] 784#784: *15 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.0.2, server: , request: "GET /websockify HTTP/1.1", upstream: "http://127.0.0.1:5900/websockify", host: "192.168.0.33:7803" 2018/02/16 18:36:09 [error] 784#784: *18 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.0.2, server: , request: "GET /websockify HTTP/1.1", upstream: "http://127.0.0.1:5900/websockify", host: "192.168.0.33:7803" 2018/02/16 21:00:58 [error] 784#784: *26 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.0.2, server: , request: "GET /websockify HTTP/1.1", upstream: "http://127.0.0.1:5900/websockify", host: "192.168.0.33:7803" 2018/02/17 00:19:53 [error] 784#784: *34 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.0.2, server: , request: "GET /websockify HTTP/1.1", upstream: "http://127.0.0.1:5900/websockify", host: "192.168.0.33:7803" 2018/02/17 01:19:44 [error] 784#784: *42 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.0.2, server: , request: "GET /websockify HTTP/1.1", upstream: "http://127.0.0.1:5900/websockify", host: "192.168.0.33:7803"
February 17, 20188 yr Author 2 minutes ago, mbc0 said: Hi, thanks for the quick reply! Here is the log but it's just telling me I cannot connect? 2018/02/16 18:34:18 [error] 784#784: *7 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.0.2, server: , request: "GET /websockify HTTP/1.1", upstream: "http://127.0.0.1:5900/websockify", host: "192.168.0.33:7803" 2018/02/16 18:34:25 [error] 784#784: *9 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.0.2, server: , request: "GET /websockify HTTP/1.1", upstream: "http://127.0.0.1:5900/websockify", host: "192.168.0.33:7803" 2018/02/16 18:34:28 [error] 784#784: *11 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.0.2, server: , request: "GET /websockify HTTP/1.1", upstream: "http://127.0.0.1:5900/websockify", host: "192.168.0.33:7803" 2018/02/16 18:34:55 [error] 784#784: *13 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.0.2, server: , request: "GET /websockify HTTP/1.1", upstream: "http://127.0.0.1:5900/websockify", host: "192.168.0.33:7803" 2018/02/16 18:35:00 [error] 784#784: *15 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.0.2, server: , request: "GET /websockify HTTP/1.1", upstream: "http://127.0.0.1:5900/websockify", host: "192.168.0.33:7803" 2018/02/16 18:36:09 [error] 784#784: *18 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.0.2, server: , request: "GET /websockify HTTP/1.1", upstream: "http://127.0.0.1:5900/websockify", host: "192.168.0.33:7803" 2018/02/16 21:00:58 [error] 784#784: *26 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.0.2, server: , request: "GET /websockify HTTP/1.1", upstream: "http://127.0.0.1:5900/websockify", host: "192.168.0.33:7803" 2018/02/17 00:19:53 [error] 784#784: *34 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.0.2, server: , request: "GET /websockify HTTP/1.1", upstream: "http://127.0.0.1:5900/websockify", host: "192.168.0.33:7803" 2018/02/17 01:19:44 [error] 784#784: *42 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.0.2, server: , request: "GET /websockify HTTP/1.1", upstream: "http://127.0.0.1:5900/websockify", host: "192.168.0.33:7803" This is the container's log? On the Docker page, click on the little icon in the last column of the HandBrake row.
February 17, 20188 yr Hi, I cannot really see any errors in the log? would you mind taking a look please? hbrake.txt
February 17, 20188 yr Author 9 minutes ago, mbc0 said: Hi, I cannot really see any errors in the log? would you mind taking a look please? hbrake.txt Did you try to restart the container? Did you try to delete and re-create it? If you do it, make sure to copy here the docker command it ran.
February 17, 20188 yr I just reinstalled, only values entered where the folders (watch, output etc) Same problem, no errors in log? What do you mean docker command it ran? Thanks for your time!
February 17, 20188 yr 1 hour ago, Djoss said: In the container's settings, there is a field for the name of the preset to use by the automatic video converter. The name should be the same as the one you edit in the UI. Double check that the names are the same and that there is no extra spaces at the end. It should work, I use it often. Nope. I logged into the unraid server so I could cut-and-paste directly from the config file. "Custom Fast 1080p30". And I see that being passed into the docker client when it starts up. In spite of that, the CLI version is producing an mp4 container instead of an mkv and it's burning the subtitles into the video
February 17, 20188 yr Okay, I'm looking at the log/hb/conversion.log. It's deciding on an mp4 container, but it is seeing the custom preset. It's just not honoring that one bit. I don't know why. I'm going to look at the config a bit more.
February 17, 20188 yr Below is the relevant part of presets.json. In spite of the FileFormat av_mkv setting, the log shows that it's selecting an MPEG-4 container. [21:34:57] job configuration: [21:34:57] * source [21:34:57] + /watch/Deleted Scenes-deleted.mkv [21:34:57] + title 1, chapter(s) 1 to 4 [21:34:57] + container: matroska,webm [21:34:57] + data rate: 18432 kbps [21:34:57] * destination [21:34:57] + /output/Deleted Scenes-deleted.mp4 [21:34:57] + container: MPEG-4 (libavformat) [21:34:57] + chapter markers [21:34:57] * video track [21:34:57] + decoder: h264 [21:34:57] + filters [21:34:57] + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16) [21:34:57] + Decomb (mode=39) [21:34:57] + Framerate Shaper (mode=0) [21:34:57] + frame rate: same as source (around 23.976 fps) [21:34:57] + Subtitle renderer () [21:34:57] + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0) [21:34:57] + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080 [21:34:57] + Output geometry [21:34:57] + storage dimensions: 1920 x 1080 [21:34:57] + pixel aspect ratio: 1 : 1 [21:34:57] + display dimensions: 1920 x 1080 [21:34:57] + encoder: H.264 (libx264) [21:34:57] + preset: fast [21:34:57] + profile: main [21:34:57] + level: 4.0 [21:34:57] + quality: 22.00 (RF) [21:34:57] * subtitle track 1, English (track 0, id 0x2) Picture [PGS] -> Render/Burn-in [21:34:57] * audio track 1 [21:34:57] + decoder: English (AC3) (2.0 ch) (track 1, id 0x1) [21:34:57] + bitrate: 320 kbps, samplerate: 48000 Hz [21:34:57] + mixdown: Stereo [21:34:57] + dynamic range compression: 2.000000 [21:34:57] + encoder: AAC (libavcodec) [21:34:57] + bitrate: 192 kbps, samplerate: 48000 Hz [21:34:57] sync: expecting 18127 video frames { "AudioCopyMask": [ "copy:aac" ], "AudioEncoderFallback": "av_aac", "AudioLanguageList": [ "und" ], "AudioList": [ { "AudioBitrate": 192, "AudioCompressionLevel": -1.0, "AudioDitherMethod": "auto", "AudioEncoder": "av_aac", "AudioMixdown": "dpl2", "AudioNormalizeMixLevel": false, "AudioSamplerate": "auto", "AudioTrackDRCSlider": 2.0, "AudioTrackGainSlider": 0.0, "AudioTrackQuality": 1.0, "AudioTrackQualityEnable": false } ], "AudioSecondaryEncoderMode": true, "AudioTrackSelectionBehavior": "all", "ChapterMarkers": true, "ChildrenArray": [], "Default": true, "FileFormat": "av_mkv", "Folder": false, "FolderOpen": false, "Mp4HttpOptimize": false, "Mp4iPodCompatible": false, "PictureAutoCrop": false, "PictureBottomCrop": 0, "PictureCombDetectCustom": "", "PictureCombDetectPreset": "default", "PictureDARWidth": 0, "PictureDeblock": 0, "PictureDeblockCustom": "qp=0:mode=2", "PictureDeinterlaceCustom": "", "PictureDeinterlaceFilter": "decomb", "PictureDeinterlacePreset": "default", "PictureDenoiseCustom": "", "PictureDenoiseFilter": "off", "PictureDenoisePreset": "", "PictureDenoiseTune": "none", "PictureDetelecine": "off", "PictureDetelecineCustom": "", "PictureForceHeight": 0, "PictureForceWidth": 0, "PictureHeight": 0, "PictureItuPAR": false, "PictureKeepRatio": true, "PictureLeftCrop": 0, "PictureLooseCrop": false, "PictureModulus": 2, "PicturePAR": "auto", "PicturePARHeight": 1, "PicturePARWidth": 1, "PictureRightCrop": 0, "PictureRotate": "disable=1", "PictureTopCrop": 0, "PictureWidth": 0, "PresetDescription": "H.264 video (up to 1080p30) and AAC stereo audio, in an MKV container.", "PresetName": "Custom Fast 1080p30", "SubtitleAddCC": false, "SubtitleAddForeignAudioSearch": false, "SubtitleAddForeignAudioSubtitle": false, "SubtitleBurnBDSub": false, "SubtitleBurnBehavior": "none", "SubtitleBurnDVDSub": false, "SubtitleLanguageList": [ "eng", "und" ], "SubtitleTrackSelectionBehavior": "all", "Type": 1, "UsesPictureFilters": true, "UsesPictureSettings": 2, "VideoAvgBitrate": 6000, "VideoColorMatrixCode": 0, "VideoEncoder": "x264", "VideoFramerate": "auto", "VideoFramerateMode": "vfr", "VideoGrayScale": false, "VideoLevel": "4.0", "VideoOptionExtra": "", "VideoPreset": "fast", "VideoProfile": "main", "VideoQSVAsyncDepth": 4, "VideoQSVDecode": false, "VideoQualitySlider": 22.0, "VideoQualityType": 2, "VideoScaler": "swscale", "VideoTune": "", "VideoTurboTwoPass": true, "VideoTwoPass": true, "x264Option": "level=4.0:ref=2:8x8dct=0:weightp=1:subme=6:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=30", "x264UseAdvancedOptions": false }
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.