[Support] Djoss - HandBrake


Recommended Posts

first of all thanks for this docker, I really like it. The GUI works flawlessly and I use it when I want to tune something specific..

 

for the automated part I am only missing one thing, but maybe I am the one doing something wrong.

I would love the result file to be renamed upon completion. in the remaining part of my process I use a flag to process the files and I would love to avoid having to go and manually add it.

it would be something pretty simple abce.2x10.fghij.mkv --->  abce .2x10.fghij (flag).mkv

 

in fact an exceptional added feature would be to have multiple watch folders, allowing us to have a specific preset/config applied per folder (for example I require less quality for some show than some action movies)

 

but seriously thank you for your work.

Cheers,

R

Edited by redia
Link to comment
On 05/01/2018 at 1:22 PM, redia said:

for the automated part I am only missing one thing, but maybe I am the one doing something wrong.

I would love the result file to be renamed upon completion. in the remaining part of my process I use a flag to process the files and I would love to avoid having to go and manually add it.

it would be something pretty simple abce.2x10.fghij.mkv --->  abce .2x10.fghij (flag).mkv

You can already define a script that will be executed after the conversion.  See https://github.com/jlesage/docker-handbrake#hooks

You can rename the file like you want using this script.

 

On 05/01/2018 at 1:22 PM, redia said:

in fact an exceptional added feature would be to have multiple watch folders, allowing us to have a specific preset/config applied per folder (for example I require less quality for some show than some action movies)

This is an idea... I will add an issue on github for this and I will check what it would involve!

Link to comment
18 hours ago, Djoss said:

You can already define a script that will be executed after the conversion.  See https://github.com/jlesage/docker-handbrake#hooks

You can rename the file like you want using this script.

 

This is an idea... I will add an issue on github for this and I will check what it would involve!

 

Djboss,

 

thanks for you answer, yeah I picked up the hooks. I was simply wondering if it could be done more automatically. bad habbits dies hard, I have a full process (with my own scripted part) which does already everything, but I used to run it on a workstation, and now I am considering moving all the processing part to my unraid which is (now) more powerfull.. I was just being lazy.. lol

 

If you will conisder the second idea though my concept could make sense (depending on how you implement it) : imagine having multiple conversion preset (linked to independent folders), it would be amazing to have the file renamed based on the name of the preset, thus granting us clear vision on what is happening.

 

anyway, I have been playing around with your docker over the week end and it has yet to fail me :),so again thank you :)

 

 

Cheers,

R

Link to comment
  • 4 weeks later...

I am encountering an issue when trying to encode a video.

Everything works perfectly until I select flac audio formats (All other formats work fine).

Both flac 16 and flac 24 fail.

Behavior - It creates the output mkv and immediately fails.

Logs say Conversion Failed, but not much else.

Any ideas why this might occur?

Link to comment

 

4 hours ago, clshelto2000 said:

I am encountering an issue when trying to encode a video.

Everything works perfectly until I select flac audio formats (All other formats work fine).

Both flac 16 and flac 24 fail.

Behavior - It creates the output mkv and immediately fails.

Logs say Conversion Failed, but not much else.

Any ideas why this might occur?

 

You can have a look at /config/log/hb/conversion.log, where the complete conversion log is outputted.

Link to comment
2 hours ago, mrbilky said:

Sounds reasonable enough where would that be located I searched in Krusader but didn't get a hit?

You need to open /dev/sr0 from the container, i.e. from the HandBrake interface.  In the open window, click the icon on the left of 'storage'.

Link to comment
On 2/5/2018 at 5:34 AM, Djoss said:

 

 

You can have a look at /config/log/hb/conversion.log, where the complete conversion log is outputted.

This file is empty.  The only thing I see is in the encode logs..

Handbrake Version: 1.0.7 (2018020300)

** (ghb:865): WARNING **: DBUS cannot connect: /usr/bin/dbus-launch terminated abnormally without any error message
[17:29:30] gtkgui: Custom Preset: /H.265 MKV 1080p30 Flac
[17:29:30] 1 job(s) to process
[17:29:30] json job:
{
    "Audio": {
        "AudioList": [
            {
                "Bitrate": -1,
                "CompressionLevel": -1.0,
                "DRC": 0.0,
                "DitherMethod": "auto",
                "Encoder": "flac16",
                "Gain": 0.0,
                "Mixdown": "5point1",
                "NormalizeMixLevel": false,
                "PresetEncoder": "flac16",
                "Quality": -3.0,
                "Samplerate": "auto",
                "Track": 0
            }
        ],
        "CopyMask": [
            "copy:aac"
        ],
        "FallbackEncoder": "fdk_aac"
    },
    "Destination": {
        "ChapterList": [
            {
                "Name": "Chapter1"
            },
            {
                "Name": "Chapter2"
            },
            {
                "Name": "Chapter3"
            },
            {
                "Name": "Chapter4"
            },
            {
                "Name": "Chapter5"
            },
            {
                "Name": "Chapter6"
            },
            {
                "Name": "Chapter7"
            },
            {
                "Name": "Chapter8"
            },
            {
                "Name": "Chapter9"
            },
            {
                "Name": "Chapter10"
            },
            {
                "Name": "Chapter11"
            },
            {
                "Name": "Chapter12"
            },
            {
                "Name": "Chapter13"
            },
            {
                "Name": "Chpater14
            },
            {
                "Name": "Chapter15"
            },
            {
                "Name": "Chpater16"
            },
            {
                "Name": "Chpater17"
            },
            {
                "Name": "Chpater18"
            },
            {
                "Name": "Chpater19"
            },
            {
                "Name": "Chpater20"
            },
            {
                "Name": "Chpater21"
            }
        ],
        "ChapterMarkers": true,
        "File": "/output/Movie.mkv",
        "Mp4Options": {
            "IpodAtom": false,
            "Mp4Optimize": false
        },
        "Mux": "mkv"
    },
    "Filters": {
        "FilterList": [
            {
                "ID": 3,
                "Settings": {
                    "block-height": "16",
                    "block-thresh": "40",
                    "block-width": "16",
                    "filter-mode": "2",
                    "mode": "3",
                    "motion-thresh": "1",
                    "spatial-metric": "2",
                    "spatial-thresh": "1"
                }
            },
            {
                "ID": 4,
                "Settings": {
                    "mode": "7"
                }
            },
            {
                "ID": 6,
                "Settings": {
                    "mode": 2,
                    "rate": "27000000/900000"
                }
            },
            {
                "ID": 11,
                "Settings": {
                    "crop-bottom": 2,
                    "crop-left": 0,
                    "crop-right": 0,
                    "crop-top": 2,
                    "height": 1036,
                    "width": 1920
                }
            }
        ]
    },
    "Metadata": {
        "Name": "Movie"
    },
    "PAR": {
        "Den": 1,
        "Num": 1
    },
    "SequenceID": 0,
    "Source": {
        "Angle": 0,
        "Path": "/watch/Movie.mkv",
        "Range": {
            "End": 21,
            "Start": 1,
            "Type": "chapter"
        },
        "Title": 1
    },
    "Subtitle": {
        "Search": {
            "Burn": false,
            "Default": true,
            "Enable": true,
            "Forced": true
        },
        "SubtitleList": [
            {
                "Burn": true,
                "Default": false,
                "Forced": false,
                "Track": 0
            }
        ]
    },
    "Video": {
        "ColorMatrixCode": 0,
        "Encoder": "x265",
        "Level": "",
        "OpenCL": false,
        "Options": "strong-intra-smoothing=0:rect=0",
        "Preset": "slow",
        "Profile": "main",
        "QSV": {
            "AsyncDepth": 4,
            "Decode": false
        },
        "Quality": 22.0,
        "Tune": "",
        "Turbo": false,
        "TwoPass": false
    }
}
[17:29:30] CPU: Intel(R) Xeon(R) CPU           X5450  @ 3.00GHz
[17:29:30]  - logical processor count: 8
[17:29:30] hb_scan: path=/watch/Movie.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:274: failed opening UDF image /watch/Movie.mkv
disc.c:352: error opening file BDMV/index.bdmv
disc.c:352: error opening file BDMV/BACKUP/index.bdmv
[17:29:30] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[17:29:30] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/watch/Movie.mkv':
  Metadata:
    CREATION_TIME   : 
    ENCODER         : Lavf55.12.0
  Duration: 02:01:09.16, start: 0.000000, bitrate: N/A
    Chapter #0:0: start 0.000000, end 183.308000
    Metadata:
      title           : 2019 Title1
    Chapter #0:1: start 183.391000, end 417.667000
    Metadata:
      title           : Title2
    Chapter #0:2: start 417.750000, end 730.730000
    Metadata:
      title           : Title3
    Chapter #0:3: start 730.813000, end 1015.890000
    Metadata:
      title           : Title4
    Chapter #0:4: start 1015.973000, end 1429.345000
    Metadata:
      title           : Title5
    Chapter #0:5: start 1429.428000, end 1933.515000
    Metadata:
      title           : Title6
    Chapter #0:6: start 1933.598000, end 2293.249000
    Metadata:
      title           : Title7
    Chapter #0:7: start 2293.332000, end 2711.834000
    Metadata:
      title           : Title8
    Chapter #0:8: start 2711.917000, end 3197.778000
    Metadata:
      title           : Title9
    Chapter #0:9: start 3197.861000, end 3437.351000
    Metadata:
      title           : Title10
    Chapter #0:10: start 3437.434000, end 3754.209000
    Metadata:
      title           : Title11
    Chapter #0:11: start 3754.292000, end 4120.700000
    Metadata:
      title           : Title12
    Chapter #0:12: start 4120.783000, end 4479.433000
    Metadata:
      title           : Title13
    Chapter #0:13: start 4479.516000, end 4900.354000
    Metadata:
      title           : Title14
    Chapter #0:14: start 4900.437000, end 5158.779000
    Metadata:
      title           : Title15
    Chapter #0:15: start 5158.862000, end 5766.344000
    Metadata:
      title           : Title16
    Chapter #0:16: start 5766.427000, end 6113.899000
    Metadata:
      title           : Title17
    Chapter #0:17: start 6113.982000, end 6561.930000
    Metadata:
      title           : Title18
    Chapter #0:18: start 6562.013000, end 6970.464000
    Metadata:
      title           : Title19
    Chapter #0:19: start 6970.547000, end 7104.014000
    Metadata:
      title           : Title20
    Chapter #0:20: start 7104.097000, end 7251.161000
    Metadata:
      title           : Title21
    Stream #0:0: Video: hevc (Main)
      yuv420p, tv, bt709/bt709/bt709
      1920x1040 [PAR 1:1 DAR 24:13], PAR 1:1 DAR 24:13
      23.98 fps, 1k tbn (default)
    Stream #0:1(eng): Audio: aac (HE-AAC)
      48000 Hz, 5.1, fltp (default)
    Metadata:
      title           : Surround
      LANGUAGE        : eng
    Stream #0:2(jpn): Audio: aac (HE-AAC)
      48000 Hz, 5.1, fltp
    Metadata:
      title           : Surround
      LANGUAGE        : jpn
    Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle
    Stream #0:4(eng): Subtitle: hdmv_pgs_subtitle
    Stream #0:5(ara): Subtitle: ssa
    Stream #0:6(dan): Subtitle: ssa
    Stream #0:7(per): Subtitle: ssa
    Stream #0:8(fre): Subtitle: ssa
    Stream #0:9(ger): Subtitle: ssa
    Stream #0:10(rus): Subtitle: ssa
    Stream #0:11(swe): Subtitle: ssa
    Stream #0:12(vie): Subtitle: ssa
[17:29:31] scan: decoding previews for title 1
[17:29:31] scan: audio 0x1: aac, rate=48000Hz, bitrate=1 English (AAC) (5.1 ch)
[17:29:31] scan: audio 0x2: aac, rate=48000Hz, bitrate=1 日本語 (AAC) (5.1 ch)
[17:29:32] scan: 10 previews, 1920x1040, 23.976 fps, autocrop = 2/2/0/0, aspect 16:9, PAR 1:1
[17:29:32] libhb: scan thread found 1 valid title(s)
[17:29:32] starting job
[17:29:32] decomb filter thread started for segment 0
[17:29:32] decomb filter thread started for segment 1
[17:29:32] decomb filter thread started for segment 2
[17:29:32] decomb filter thread started for segment 4
[17:29:32] decomb filter thread started for segment 3
[17:29:32] decomb filter thread started for segment 5
[17:29:32] decomb filter thread started for segment 7
[17:29:32] decomb filter thread started for segment 6
[17:29:32] decomb check thread started for segment 1
[17:29:32] decomb check thread started for segment 0
[17:29:32] decomb check thread started for segment 2
[17:29:32] decomb check thread started for segment 6
[17:29:32] decomb check thread started for segment 7
[17:29:32] decomb check thread started for segment 5
[17:29:32] decomb check thread started for segment 4
[17:29:32] mask filter thread started for segment 0
[17:29:32] decomb check thread started for segment 3
[17:29:32] mask filter thread started for segment 1
[17:29:32] mask filter thread started for segment 2
[17:29:32] mask filter thread started for segment 3
[17:29:32] mask filter thread started for segment 7
[17:29:32] mask filter thread started for segment 6
[17:29:32] mask erode thread started for segment 0
[17:29:32] mask filter thread started for segment 5
[17:29:32] mask erode thread started for segment 1
[17:29:32] mask erode thread started for segment 4
[17:29:32] mask erode thread started for segment 5
[17:29:32] mask erode thread started for segment 3
[17:29:32] mask erode thread started for segment 2
[17:29:32] mask erode thread started for segment 6
[17:29:32] mask filter thread started for segment 4
[17:29:32] mask dilate thread started for segment 2
[17:29:32] mask dilate thread started for segment 3
[17:29:32] mask dilate thread started for segment 1
[17:29:32] mask dilate thread started for segment 0
[17:29:32] mask dilate thread started for segment 7
[17:29:32] yadif thread started for segment 0
[17:29:32] yadif thread started for segment 1
[17:29:32] yadif thread started for segment 2
[17:29:32] yadif thread started for segment 3
[17:29:32] yadif thread started for segment 4
[17:29:32] yadif thread started for segment 5
[17:29:32] job configuration:
[17:29:32]  * source
[17:29:32]    + /watch/Movie.mkv
[17:29:32]    + title 1, chapter(s) 1 to 21
[17:29:32]    + container: matroska,webm
[17:29:32]  * destination
[17:29:32]    + /output/Movie.mkv
[17:29:32]    + container: Matroska (libavformat)
[17:29:32]      + chapter markers
[17:29:32]  * video track
[17:29:32]    + decoder: hevc
[17:29:32]    + filters
[17:29:32]      + 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)
[17:29:32]      + Decomb (mode=39)
[17:29:32]      + Framerate Shaper (mode=2:rate=27000000/900000)
[17:29:32]        + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[17:29:32]      + Crop and Scale (width=1920:height=1036:crop-top=2:crop-bottom=2:crop-left=0:crop-right=0)
[17:29:32]        + source: 1920 * 1040, crop (2/2/0/0): 1920 * 1036, scale: 1920 * 1036
[17:29:32]    + Output geometry
[17:29:32]      + storage dimensions: 1920 x 1036
[17:29:32]      + pixel aspect ratio: 1 : 1
[17:29:32]      + display dimensions: 1920 x 1036
[17:29:32]  * Foreign Audio Search: Passthrough, Forced Only, Default
[17:29:32]    + subtitle, English (track 3, id 0x3) Picture [PGS]
[17:29:32]    + subtitle, English (track 4, id 0x4) Picture [PGS]
[17:29:32] mask dilate thread started for segment 4
[17:29:32] mask dilate thread started for segment 6
[17:29:32] mask dilate thread started for segment 5
[17:29:32] yadif thread started for segment 7
[17:29:32] yadif thread started for segment 6
[17:29:32] mask erode thread started for segment 7
[17:29:32] sync: expecting 174285 video frames
[17:29:36] reader: done. 1 scr changes
[17:29:36] work: average encoding speed for job is 0.000000 fps
[17:29:36] comb detect: heavy 0 | light 0 | uncombed 0 | total 0
[17:29:36] decomb: deinterlaced 0 | blended 0 | unfiltered 0 | total 0
[17:29:36] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[17:29:36] vfr: lost time: 0 (0 frames)
[17:29:36] vfr: gained time: 0 (0 frames) (0 not accounted for)
[17:29:36] hevc-decoder done: 0 frames, 0 decoder errors
[17:29:36] sync: got 0 frames, 174285 expected
[17:29:36] Subtitle track 3 (id 0x3) 'English': 1284 hits (0 forced)
[17:29:36] Subtitle track 4 (id 0x4) 'English': 24 hits (0 forced)
[17:29:36] Found a subtitle candidate with id 0x4
[17:29:36] starting job
[17:29:36] decomb filter thread started for segment 0
[17:29:36] decomb filter thread started for segment 1
[17:29:36] decomb filter thread started for segment 2
[17:29:36] decomb filter thread started for segment 3
[17:29:36] decomb filter thread started for segment 4
[17:29:36] decomb filter thread started for segment 5
[17:29:36] decomb filter thread started for segment 6
[17:29:36] decomb check thread started for segment 3
[17:29:36] decomb check thread started for segment 2
[17:29:36] decomb check thread started for segment 4
[17:29:36] decomb check thread started for segment 1
[17:29:36] decomb filter thread started for segment 7
[17:29:36] decomb check thread started for segment 0
[17:29:36] decomb check thread started for segment 5
[17:29:36] decomb check thread started for segment 6
[17:29:36] decomb check thread started for segment 7
[17:29:36] mask filter thread started for segment 2
[17:29:36] mask filter thread started for segment 1
[17:29:36] mask filter thread started for segment 4
[17:29:36] mask filter thread started for segment 0
[17:29:36] mask filter thread started for segment 3
[17:29:36] mask filter thread started for segment 7
[17:29:36] mask filter thread started for segment 6
[17:29:36] mask erode thread started for segment 1
[17:29:36] mask erode thread started for segment 2
[17:29:36] mask erode thread started for segment 3
[17:29:36] mask erode thread started for segment 4
[17:29:36] mask erode thread started for segment 5
[17:29:36] mask erode thread started for segment 0
[17:29:36] mask dilate thread started for segment 2
[17:29:36] mask dilate thread started for segment 3
[17:29:36] mask dilate thread started for segment 1
[17:29:36] mask dilate thread started for segment 4
[17:29:36] mask dilate thread started for segment 0
[17:29:36] mask erode thread started for segment 7
[17:29:36] mask erode thread started for segment 6
[17:29:36] yadif thread started for segment 1
[17:29:36] mask dilate thread started for segment 7
[17:29:36] yadif thread started for segment 2
[17:29:36] mask dilate thread started for segment 6
[17:29:36] yadif thread started for segment 0
[17:29:36] mask dilate thread started for segment 5
[17:29:36] mask filter thread started for segment 5
[17:29:36] yadif thread started for segment 3
[17:29:36] yadif thread started for segment 4
[17:29:36] yadif thread started for segment 5
[17:29:36] yadif thread started for segment 6
[17:29:36] yadif thread started for segment 7
[17:29:36] work: compression level not specified, track 1 setting compression level 5.00
[17:29:36] job configuration:
[17:29:36]  * source
[17:29:36]    + /watch/Movie.mkv
[17:29:36]    + title 1, chapter(s) 1 to 21
[17:29:36]    + container: matroska,webm
[17:29:36]  * destination
[17:29:36]    + /output/Movie.mkv
[17:29:36]    + container: Matroska (libavformat)
[17:29:36]      + chapter markers
[17:29:36]  * video track
[17:29:36]    + decoder: hevc
[17:29:36]    + filters
[17:29:36]      + 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)
[17:29:36]      + Decomb (mode=39)
[17:29:36]      + Framerate Shaper (mode=2:rate=27000000/900000)
[17:29:36]        + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[17:29:36]      + Subtitle renderer ()
[17:29:36]      + Crop and Scale (width=1920:height=1036:crop-top=2:crop-bottom=2:crop-left=0:crop-right=0)
[17:29:36]        + source: 1920 * 1040, crop (2/2/0/0): 1920 * 1036, scale: 1920 * 1036
[17:29:36]    + Output geometry
[17:29:36]      + storage dimensions: 1920 x 1036
[17:29:36]      + pixel aspect ratio: 1 : 1
[17:29:36]      + display dimensions: 1920 x 1036
[17:29:36]    + encoder: H.265 (libx265)
[17:29:36]      + preset:  slow
[17:29:36]      + options: strong-intra-smoothing=0:rect=0
[17:29:36]      + profile: main
[17:29:36]      + quality: 22.00 (RF)
[17:29:36]  * subtitle track 1, English (track 4, id 0x4) Picture [PGS] -> Passthrough, Default
[17:29:36]  * subtitle track 2, English (track 0, id 0x3) Picture [PGS] -> Render/Burn-in
[17:29:36]  * audio track 1
[17:29:36]    + decoder: English (AAC) (5.1 ch) (track 1, id 0x1)
[17:29:36]      + samplerate: 48000 Hz
[17:29:36]    + mixdown: 5.1 Channels
[17:29:36]    + dither: triangular
[17:29:36]    + encoder: FLAC 16-bit (libavcodec)
[17:29:36]      + samplerate: 48000 Hz
[17:29:36]      + compression level: 5.00
[17:29:37] sync: expecting 174285 video frames
x265 [info]: HEVC encoder version 2.1
x265 [info]: build info [Linux][GCC 6.3.0][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 3 / wpp(17 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut       : 24 / 240 / 40
x265 [info]: Lookahead / bframes / badapt        : 25 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-22.0 / 0.60
x265 [info]: tools: limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00 rskip
x265 [info]: tools: signhide tmvp lslices=4 deblock sao
 

Link to comment
3 minutes ago, clshelto2000 said:

This file is empty.  The only thing I see is in the encode logs..

Handbrake Version: 1.0.7 (2018020300)

** (ghb:865): WARNING **: DBUS cannot connect: /usr/bin/dbus-launch terminated abnormally without any error message
[17:29:30] gtkgui: Custom Preset: /H.265 MKV 1080p30 Flac
[17:29:30] 1 job(s) to process
[17:29:30] json job:
{
    "Audio": {
        "AudioList": [
            {
                "Bitrate": -1,
                "CompressionLevel": -1.0,
                "DRC": 0.0,
                "DitherMethod": "auto",
                "Encoder": "flac16",
                "Gain": 0.0,
                "Mixdown": "5point1",
                "NormalizeMixLevel": false,
                "PresetEncoder": "flac16",
                "Quality": -3.0,
                "Samplerate": "auto",
                "Track": 0
            }
        ],
        "CopyMask": [
            "copy:aac"
        ],
        "FallbackEncoder": "fdk_aac"
    },
    "Destination": {
        "ChapterList": [
            {
                "Name": "Chapter1"
            },
            {
                "Name": "Chapter2"
            },
            {
                "Name": "Chapter3"
            },
            {
                "Name": "Chapter4"
            },
            {
                "Name": "Chapter5"
            },
            {
                "Name": "Chapter6"
            },
            {
                "Name": "Chapter7"
            },
            {
                "Name": "Chapter8"
            },
            {
                "Name": "Chapter9"
            },
            {
                "Name": "Chapter10"
            },
            {
                "Name": "Chapter11"
            },
            {
                "Name": "Chapter12"
            },
            {
                "Name": "Chapter13"
            },
            {
                "Name": "Chpater14
            },
            {
                "Name": "Chapter15"
            },
            {
                "Name": "Chpater16"
            },
            {
                "Name": "Chpater17"
            },
            {
                "Name": "Chpater18"
            },
            {
                "Name": "Chpater19"
            },
            {
                "Name": "Chpater20"
            },
            {
                "Name": "Chpater21"
            }
        ],
        "ChapterMarkers": true,
        "File": "/output/Movie.mkv",
        "Mp4Options": {
            "IpodAtom": false,
            "Mp4Optimize": false
        },
        "Mux": "mkv"
    },
    "Filters": {
        "FilterList": [
            {
                "ID": 3,
                "Settings": {
                    "block-height": "16",
                    "block-thresh": "40",
                    "block-width": "16",
                    "filter-mode": "2",
                    "mode": "3",
                    "motion-thresh": "1",
                    "spatial-metric": "2",
                    "spatial-thresh": "1"
                }
            },
            {
                "ID": 4,
                "Settings": {
                    "mode": "7"
                }
            },
            {
                "ID": 6,
                "Settings": {
                    "mode": 2,
                    "rate": "27000000/900000"
                }
            },
            {
                "ID": 11,
                "Settings": {
                    "crop-bottom": 2,
                    "crop-left": 0,
                    "crop-right": 0,
                    "crop-top": 2,
                    "height": 1036,
                    "width": 1920
                }
            }
        ]
    },
    "Metadata": {
        "Name": "Movie"
    },
    "PAR": {
        "Den": 1,
        "Num": 1
    },
    "SequenceID": 0,
    "Source": {
        "Angle": 0,
        "Path": "/watch/Movie.mkv",
        "Range": {
            "End": 21,
            "Start": 1,
            "Type": "chapter"
        },
        "Title": 1
    },
    "Subtitle": {
        "Search": {
            "Burn": false,
            "Default": true,
            "Enable": true,
            "Forced": true
        },
        "SubtitleList": [
            {
                "Burn": true,
                "Default": false,
                "Forced": false,
                "Track": 0
            }
        ]
    },
    "Video": {
        "ColorMatrixCode": 0,
        "Encoder": "x265",
        "Level": "",
        "OpenCL": false,
        "Options": "strong-intra-smoothing=0:rect=0",
        "Preset": "slow",
        "Profile": "main",
        "QSV": {
            "AsyncDepth": 4,
            "Decode": false
        },
        "Quality": 22.0,
        "Tune": "",
        "Turbo": false,
        "TwoPass": false
    }
}
[17:29:30] CPU: Intel(R) Xeon(R) CPU           X5450  @ 3.00GHz
[17:29:30]  - logical processor count: 8
[17:29:30] hb_scan: path=/watch/Movie.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:274: failed opening UDF image /watch/Movie.mkv
disc.c:352: error opening file BDMV/index.bdmv
disc.c:352: error opening file BDMV/BACKUP/index.bdmv
[17:29:30] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[17:29:30] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/watch/Movie.mkv':
  Metadata:
    CREATION_TIME   : 
    ENCODER         : Lavf55.12.0
  Duration: 02:01:09.16, start: 0.000000, bitrate: N/A
    Chapter #0:0: start 0.000000, end 183.308000
    Metadata:
      title           : 2019 Title1
    Chapter #0:1: start 183.391000, end 417.667000
    Metadata:
      title           : Title2
    Chapter #0:2: start 417.750000, end 730.730000
    Metadata:
      title           : Title3
    Chapter #0:3: start 730.813000, end 1015.890000
    Metadata:
      title           : Title4
    Chapter #0:4: start 1015.973000, end 1429.345000
    Metadata:
      title           : Title5
    Chapter #0:5: start 1429.428000, end 1933.515000
    Metadata:
      title           : Title6
    Chapter #0:6: start 1933.598000, end 2293.249000
    Metadata:
      title           : Title7
    Chapter #0:7: start 2293.332000, end 2711.834000
    Metadata:
      title           : Title8
    Chapter #0:8: start 2711.917000, end 3197.778000
    Metadata:
      title           : Title9
    Chapter #0:9: start 3197.861000, end 3437.351000
    Metadata:
      title           : Title10
    Chapter #0:10: start 3437.434000, end 3754.209000
    Metadata:
      title           : Title11
    Chapter #0:11: start 3754.292000, end 4120.700000
    Metadata:
      title           : Title12
    Chapter #0:12: start 4120.783000, end 4479.433000
    Metadata:
      title           : Title13
    Chapter #0:13: start 4479.516000, end 4900.354000
    Metadata:
      title           : Title14
    Chapter #0:14: start 4900.437000, end 5158.779000
    Metadata:
      title           : Title15
    Chapter #0:15: start 5158.862000, end 5766.344000
    Metadata:
      title           : Title16
    Chapter #0:16: start 5766.427000, end 6113.899000
    Metadata:
      title           : Title17
    Chapter #0:17: start 6113.982000, end 6561.930000
    Metadata:
      title           : Title18
    Chapter #0:18: start 6562.013000, end 6970.464000
    Metadata:
      title           : Title19
    Chapter #0:19: start 6970.547000, end 7104.014000
    Metadata:
      title           : Title20
    Chapter #0:20: start 7104.097000, end 7251.161000
    Metadata:
      title           : Title21
    Stream #0:0: Video: hevc (Main)
      yuv420p, tv, bt709/bt709/bt709
      1920x1040 [PAR 1:1 DAR 24:13], PAR 1:1 DAR 24:13
      23.98 fps, 1k tbn (default)
    Stream #0:1(eng): Audio: aac (HE-AAC)
      48000 Hz, 5.1, fltp (default)
    Metadata:
      title           : Surround
      LANGUAGE        : eng
    Stream #0:2(jpn): Audio: aac (HE-AAC)
      48000 Hz, 5.1, fltp
    Metadata:
      title           : Surround
      LANGUAGE        : jpn
    Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle
    Stream #0:4(eng): Subtitle: hdmv_pgs_subtitle
    Stream #0:5(ara): Subtitle: ssa
    Stream #0:6(dan): Subtitle: ssa
    Stream #0:7(per): Subtitle: ssa
    Stream #0:8(fre): Subtitle: ssa
    Stream #0:9(ger): Subtitle: ssa
    Stream #0:10(rus): Subtitle: ssa
    Stream #0:11(swe): Subtitle: ssa
    Stream #0:12(vie): Subtitle: ssa
[17:29:31] scan: decoding previews for title 1
[17:29:31] scan: audio 0x1: aac, rate=48000Hz, bitrate=1 English (AAC) (5.1 ch)
[17:29:31] scan: audio 0x2: aac, rate=48000Hz, bitrate=1 日本語 (AAC) (5.1 ch)
[17:29:32] scan: 10 previews, 1920x1040, 23.976 fps, autocrop = 2/2/0/0, aspect 16:9, PAR 1:1
[17:29:32] libhb: scan thread found 1 valid title(s)
[17:29:32] starting job
[17:29:32] decomb filter thread started for segment 0
[17:29:32] decomb filter thread started for segment 1
[17:29:32] decomb filter thread started for segment 2
[17:29:32] decomb filter thread started for segment 4
[17:29:32] decomb filter thread started for segment 3
[17:29:32] decomb filter thread started for segment 5
[17:29:32] decomb filter thread started for segment 7
[17:29:32] decomb filter thread started for segment 6
[17:29:32] decomb check thread started for segment 1
[17:29:32] decomb check thread started for segment 0
[17:29:32] decomb check thread started for segment 2
[17:29:32] decomb check thread started for segment 6
[17:29:32] decomb check thread started for segment 7
[17:29:32] decomb check thread started for segment 5
[17:29:32] decomb check thread started for segment 4
[17:29:32] mask filter thread started for segment 0
[17:29:32] decomb check thread started for segment 3
[17:29:32] mask filter thread started for segment 1
[17:29:32] mask filter thread started for segment 2
[17:29:32] mask filter thread started for segment 3
[17:29:32] mask filter thread started for segment 7
[17:29:32] mask filter thread started for segment 6
[17:29:32] mask erode thread started for segment 0
[17:29:32] mask filter thread started for segment 5
[17:29:32] mask erode thread started for segment 1
[17:29:32] mask erode thread started for segment 4
[17:29:32] mask erode thread started for segment 5
[17:29:32] mask erode thread started for segment 3
[17:29:32] mask erode thread started for segment 2
[17:29:32] mask erode thread started for segment 6
[17:29:32] mask filter thread started for segment 4
[17:29:32] mask dilate thread started for segment 2
[17:29:32] mask dilate thread started for segment 3
[17:29:32] mask dilate thread started for segment 1
[17:29:32] mask dilate thread started for segment 0
[17:29:32] mask dilate thread started for segment 7
[17:29:32] yadif thread started for segment 0
[17:29:32] yadif thread started for segment 1
[17:29:32] yadif thread started for segment 2
[17:29:32] yadif thread started for segment 3
[17:29:32] yadif thread started for segment 4
[17:29:32] yadif thread started for segment 5
[17:29:32] job configuration:
[17:29:32]  * source
[17:29:32]    + /watch/Movie.mkv
[17:29:32]    + title 1, chapter(s) 1 to 21
[17:29:32]    + container: matroska,webm
[17:29:32]  * destination
[17:29:32]    + /output/Movie.mkv
[17:29:32]    + container: Matroska (libavformat)
[17:29:32]      + chapter markers
[17:29:32]  * video track
[17:29:32]    + decoder: hevc
[17:29:32]    + filters
[17:29:32]      + 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)
[17:29:32]      + Decomb (mode=39)
[17:29:32]      + Framerate Shaper (mode=2:rate=27000000/900000)
[17:29:32]        + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[17:29:32]      + Crop and Scale (width=1920:height=1036:crop-top=2:crop-bottom=2:crop-left=0:crop-right=0)
[17:29:32]        + source: 1920 * 1040, crop (2/2/0/0): 1920 * 1036, scale: 1920 * 1036
[17:29:32]    + Output geometry
[17:29:32]      + storage dimensions: 1920 x 1036
[17:29:32]      + pixel aspect ratio: 1 : 1
[17:29:32]      + display dimensions: 1920 x 1036
[17:29:32]  * Foreign Audio Search: Passthrough, Forced Only, Default
[17:29:32]    + subtitle, English (track 3, id 0x3) Picture [PGS]
[17:29:32]    + subtitle, English (track 4, id 0x4) Picture [PGS]
[17:29:32] mask dilate thread started for segment 4
[17:29:32] mask dilate thread started for segment 6
[17:29:32] mask dilate thread started for segment 5
[17:29:32] yadif thread started for segment 7
[17:29:32] yadif thread started for segment 6
[17:29:32] mask erode thread started for segment 7
[17:29:32] sync: expecting 174285 video frames
[17:29:36] reader: done. 1 scr changes
[17:29:36] work: average encoding speed for job is 0.000000 fps
[17:29:36] comb detect: heavy 0 | light 0 | uncombed 0 | total 0
[17:29:36] decomb: deinterlaced 0 | blended 0 | unfiltered 0 | total 0
[17:29:36] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[17:29:36] vfr: lost time: 0 (0 frames)
[17:29:36] vfr: gained time: 0 (0 frames) (0 not accounted for)
[17:29:36] hevc-decoder done: 0 frames, 0 decoder errors
[17:29:36] sync: got 0 frames, 174285 expected
[17:29:36] Subtitle track 3 (id 0x3) 'English': 1284 hits (0 forced)
[17:29:36] Subtitle track 4 (id 0x4) 'English': 24 hits (0 forced)
[17:29:36] Found a subtitle candidate with id 0x4
[17:29:36] starting job
[17:29:36] decomb filter thread started for segment 0
[17:29:36] decomb filter thread started for segment 1
[17:29:36] decomb filter thread started for segment 2
[17:29:36] decomb filter thread started for segment 3
[17:29:36] decomb filter thread started for segment 4
[17:29:36] decomb filter thread started for segment 5
[17:29:36] decomb filter thread started for segment 6
[17:29:36] decomb check thread started for segment 3
[17:29:36] decomb check thread started for segment 2
[17:29:36] decomb check thread started for segment 4
[17:29:36] decomb check thread started for segment 1
[17:29:36] decomb filter thread started for segment 7
[17:29:36] decomb check thread started for segment 0
[17:29:36] decomb check thread started for segment 5
[17:29:36] decomb check thread started for segment 6
[17:29:36] decomb check thread started for segment 7
[17:29:36] mask filter thread started for segment 2
[17:29:36] mask filter thread started for segment 1
[17:29:36] mask filter thread started for segment 4
[17:29:36] mask filter thread started for segment 0
[17:29:36] mask filter thread started for segment 3
[17:29:36] mask filter thread started for segment 7
[17:29:36] mask filter thread started for segment 6
[17:29:36] mask erode thread started for segment 1
[17:29:36] mask erode thread started for segment 2
[17:29:36] mask erode thread started for segment 3
[17:29:36] mask erode thread started for segment 4
[17:29:36] mask erode thread started for segment 5
[17:29:36] mask erode thread started for segment 0
[17:29:36] mask dilate thread started for segment 2
[17:29:36] mask dilate thread started for segment 3
[17:29:36] mask dilate thread started for segment 1
[17:29:36] mask dilate thread started for segment 4
[17:29:36] mask dilate thread started for segment 0
[17:29:36] mask erode thread started for segment 7
[17:29:36] mask erode thread started for segment 6
[17:29:36] yadif thread started for segment 1
[17:29:36] mask dilate thread started for segment 7
[17:29:36] yadif thread started for segment 2
[17:29:36] mask dilate thread started for segment 6
[17:29:36] yadif thread started for segment 0
[17:29:36] mask dilate thread started for segment 5
[17:29:36] mask filter thread started for segment 5
[17:29:36] yadif thread started for segment 3
[17:29:36] yadif thread started for segment 4
[17:29:36] yadif thread started for segment 5
[17:29:36] yadif thread started for segment 6
[17:29:36] yadif thread started for segment 7
[17:29:36] work: compression level not specified, track 1 setting compression level 5.00
[17:29:36] job configuration:
[17:29:36]  * source
[17:29:36]    + /watch/Movie.mkv
[17:29:36]    + title 1, chapter(s) 1 to 21
[17:29:36]    + container: matroska,webm
[17:29:36]  * destination
[17:29:36]    + /output/Movie.mkv
[17:29:36]    + container: Matroska (libavformat)
[17:29:36]      + chapter markers
[17:29:36]  * video track
[17:29:36]    + decoder: hevc
[17:29:36]    + filters
[17:29:36]      + 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)
[17:29:36]      + Decomb (mode=39)
[17:29:36]      + Framerate Shaper (mode=2:rate=27000000/900000)
[17:29:36]        + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[17:29:36]      + Subtitle renderer ()
[17:29:36]      + Crop and Scale (width=1920:height=1036:crop-top=2:crop-bottom=2:crop-left=0:crop-right=0)
[17:29:36]        + source: 1920 * 1040, crop (2/2/0/0): 1920 * 1036, scale: 1920 * 1036
[17:29:36]    + Output geometry
[17:29:36]      + storage dimensions: 1920 x 1036
[17:29:36]      + pixel aspect ratio: 1 : 1
[17:29:36]      + display dimensions: 1920 x 1036
[17:29:36]    + encoder: H.265 (libx265)
[17:29:36]      + preset:  slow
[17:29:36]      + options: strong-intra-smoothing=0:rect=0
[17:29:36]      + profile: main
[17:29:36]      + quality: 22.00 (RF)
[17:29:36]  * subtitle track 1, English (track 4, id 0x4) Picture [PGS] -> Passthrough, Default
[17:29:36]  * subtitle track 2, English (track 0, id 0x3) Picture [PGS] -> Render/Burn-in
[17:29:36]  * audio track 1
[17:29:36]    + decoder: English (AAC) (5.1 ch) (track 1, id 0x1)
[17:29:36]      + samplerate: 48000 Hz
[17:29:36]    + mixdown: 5.1 Channels
[17:29:36]    + dither: triangular
[17:29:36]    + encoder: FLAC 16-bit (libavcodec)
[17:29:36]      + samplerate: 48000 Hz
[17:29:36]      + compression level: 5.00
[17:29:37] sync: expecting 174285 video frames
x265 [info]: HEVC encoder version 2.1
x265 [info]: build info [Linux][GCC 6.3.0][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 3 / wpp(17 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut       : 24 / 240 / 40
x265 [info]: Lookahead / bframes / badapt        : 25 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-22.0 / 0.60
x265 [info]: tools: limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00 rskip
x265 [info]: tools: signhide tmvp lslices=4 deblock sao
 

Also, its probably worth mentioning that the entire container crashes when it errors.  I have to restart the container to get the ui to come back up.

Link to comment
2 hours ago, Djoss said:

Do you have the same issue if you use a different/standard preset?

if I use one of the existing presets the encoding will work fine.  If I then change just one settings (to use flac) the whole thing crashes.  Same behavior in my custom configuration.  If I have mp3 audio setup it will work perfectly.  I can then change it to flac16 or flac24 and it immediatley fails.

Link to comment
7 hours ago, clshelto2000 said:

if I use one of the existing presets the encoding will work fine.  If I then change just one settings (to use flac) the whole thing crashes.  Same behavior in my custom configuration.  If I have mp3 audio setup it will work perfectly.  I can then change it to flac16 or flac24 and it immediatley fails.

Thanks for these details.  I've been able to reproduce and I'm working on a fix.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.