Closed Fribb closed 5 years ago
Could you provide the whole log please?
[services.d] starting app...
[app] starting HandBrake...
[services.d] done.
(ghb:974): GLib-GIO-CRITICAL **: 20:13:40.793: g_dbus_proxy_new_sync: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
GLib-GIO-Message: 20:13:41.172: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
[autovideoconverter] Starting conversion of '/watch/test.mkv' (311243868403d56a4643aa59b6ca4645) using preset 'rokodinMovie265'...
[autovideoconverter] 1 title(s) to process.
mv: can't rename '/output/.hefeiH/test.mkv': No such file or directory
[autovideoconverter] Conversion ended successfully.
[autovideoconverter] Watch folder '/watch' processing terminated.
Could you also provide log/hb/conversion.log
? You can find it in the directory you mapped to /config
.
------- CONVERSION OUTPUT Fri Apr 5 20:13:43 CEST 2019 -------
Cannot load libnvidia-encode.so.1
Cannot load libnvidia-encode.so.1
Cannot load libnvidia-encode.so.1
Cannot load libnvidia-encode.so.1
[20:13:43] hb_init: starting libhb thread
[20:13:43] thread 7fa372c03b10 started ("libhb")
HandBrake 1.2.2 (2019032600) - Linux x86_64 - https://handbrake.fr
4 CPUs detected
Opening /watch/test.mkv...
[20:13:43] CPU: Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
[20:13:43] - logical processor count: 4
[20:13:43] Intel Quick Sync Video support: no
[20:13:43] hb_scan: path=/watch/test.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:323: failed opening UDF image /watch/test.mkv
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
[20:13:43] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
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
[20:13:43] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/watch/test.mkv':
Metadata:
title : title
encoder : libebml v1.3.7 + libmatroska v1.5.0
creation_time : 2019-04-02T04:44:54.000000Z
Duration: 02:09:01.79, start: 0.000000, bitrate: 4953 kb/s
Chapter #0:0: start 0.000000, end 249.457000
Metadata:
title : 1
Chapter #0:1: start 249.457000, end 577.368000
Metadata:
title : 2
Chapter #0:2: start 577.368000, end 871.078000
Metadata:
title : 3
Chapter #0:3: start 871.078000, end 1190.897000
Metadata:
title : 4
Chapter #0:4: start 1190.897000, end 1482.063000
Metadata:
title : 5
Chapter #0:5: start 1482.063000, end 1786.826000
Metadata:
title : 6
Chapter #0:6: start 1786.826000, end 2101.599000
Metadata:
title : 7
Chapter #0:7: start 2101.599000, end 2348.595000
Metadata:
title : 8
Chapter #0:8: start 2348.595000, end 2849.220000
Metadata:
title : 9
Chapter #0:9: start 2849.220000, end 3437.224000
Metadata:
title : 10
Chapter #0:10: start 3437.224000, end 3776.271000
Metadata:
title : 11
Chapter #0:11: start 3776.271000, end 4167.829000
Metadata:
title : 12
Chapter #0:12: start 4167.829000, end 4471.299000
Metadata:
title : 13
Chapter #0:13: start 4471.299000, end 4904.774000
Metadata:
title : 14
Chapter #0:14: start 4904.774000, end 5411.530000
Metadata:
title : 15
Chapter #0:15: start 5411.530000, end 5896.514000
Metadata:
title : 16
Chapter #0:16: start 5896.514000, end 6249.742000
Metadata:
title : 17
Chapter #0:17: start 6249.742000, end 6848.215000
Metadata:
title : 18
Chapter #0:18: start 6848.215000, end 7381.289000
Metadata:
title : 19
Chapter #0:19: start 7381.289000, end 7741.792000
Metadata:
title : 20
Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x802 [SAR 1:1 DAR 960:401], 23.98 fps, 23.98 tbr, 1k tbn, 2k tbc (default)
Metadata:
title : title
BPS-eng : 4567175
DURATION-eng : 02:09:01.734000000
NUMBER_OF_FRAMES-eng: 185616
NUMBER_OF_BYTES-eng: 4419732704
_STATISTICS_WRITING_APP-eng: mkvmerge v32.0.0 ('Astral Progressions') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2019-04-02 04:44:54
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
Metadata:
title : title
BPS-eng : 384000
DURATION-eng : 02:09:01.792000000
NUMBER_OF_FRAMES-eng: 241931
NUMBER_OF_BYTES-eng: 371606016
_STATISTICS_WRITING_APP-eng: mkvmerge v32.0.0 ('Astral Progressions') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2019-04-02 04:44:54
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:2: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 1067x600, 90k tbr, 90k tbn, 90k tbc
Metadata:
filename : cover_land.jpg
mimetype : image/jpeg
Stream #0:3: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 120x176, 90k tbr, 90k tbn, 90k tbc
Metadata:
filename : small_cover.jpg
mimetype : image/jpeg
Stream #0:4: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 213x120, 90k tbr, 90k tbn, 90k tbc
Metadata:
filename : small_cover_land.jpg
mimetype : image/jpeg
Stream #0:5: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 600x882, 90k tbr, 90k tbn, 90k tbc
Metadata:
filename : cover.jpg
mimetype : image/jpeg
[20:13:43] scan: decoding previews for title 1
[20:13:43] scan: audio 0x1: ac3, rate=48000Hz, bitrate=384000 English (AC3) (5.1 ch)
Scanning title 1 of 1, preview 2, 20.00 %
Scanning title 1 of 1, preview 4, 40.00 %
Scanning title 1 of 1, preview 8, 80.00 %
Scanning title 1 of 1, preview 10, 100.00 %[20:13:44] scan: 10 previews, 1920x802, 23.976 fps, autocrop = 0/0/0/0, aspect 2.39:1, PAR 1:1
[20:13:44] scan: supported video decoders: avcodec qsv
[20:13:44] libhb: scan thread found 1 valid title(s)
+ Using preset: rokodinMovie265
+ title 1:
+ stream: /watch/test.mkv
+ duration: 02:09:01
+ size: 1920x802, pixel aspect: 1/1, display aspect: 2.39, 23.976 fps
+ autocrop: 0/0/0/0
+ chapters:
+ 1: cells 0->0, 0 blocks, duration 00:04:09
+ 2: cells 0->0, 0 blocks, duration 00:05:28
+ 3: cells 0->0, 0 blocks, duration 00:04:54
+ 4: cells 0->0, 0 blocks, duration 00:05:20
+ 5: cells 0->0, 0 blocks, duration 00:04:51
+ 6: cells 0->0, 0 blocks, duration 00:05:05
+ 7: cells 0->0, 0 blocks, duration 00:05:15
+ 8: cells 0->0, 0 blocks, duration 00:04:07
+ 9: cells 0->0, 0 blocks, duration 00:08:21
+ 10: cells 0->0, 0 blocks, duration 00:09:48
+ 11: cells 0->0, 0 blocks, duration 00:05:39
+ 12: cells 0->0, 0 blocks, duration 00:06:32
+ 13: cells 0->0, 0 blocks, duration 00:05:03
+ 14: cells 0->0, 0 blocks, duration 00:07:13
+ 15: cells 0->0, 0 blocks, duration 00:08:27
+ 16: cells 0->0, 0 blocks, duration 00:08:05
+ 17: cells 0->0, 0 blocks, duration 00:05:53
+ 18: cells 0->0, 0 blocks, duration 00:09:58
+ 19: cells 0->0, 0 blocks, duration 00:08:53
+ 20: cells 0->0, 0 blocks, duration 00:06:01
+ audio tracks:
+ 1, English (AC3) (5.1 ch) (iso639-2: eng), 48000Hz, 384000bps
+ subtitle tracks:
[20:13:44] hb_parse_filter_settings: Error parsing (0:0)
ERROR: Invalid rotate filter settings (0:0)
Failed to initialize job
HandBrake has exited.
Fixed with image version 1.17.0.
The failure should now be properly reported.
can you give me a hint on why the conversion fails?
It seems that you are encountering the following issue:
https://github.com/HandBrake/HandBrake/issues/2047
The workaround is to remove the following line from your preset file:
"PictureRotate": "0:0",
Thanks that worked, thank you very much.
Hi Jocelyn - thanks for the great docker container. I also hit this same problem, and debugged it independently, eventually arriving here when about to create an issue to describe the solution :)
Anyway, just thinking it may be worthwhile adding a note about this under your already comprehensive documentation for the docker image, as it seems like it might be a common failure people could hit when trying auto conversion for the first time.
You can also work around the issue by changing the offending line in the preset to:
"PictureRotate": "angle=0:hflip=0"
My Video file is picked up in the watch folder but the conversion ends "successfully" even though nothing is converted. I got this message in my log file