Sorry if I'm in the wrong forum for this one, this may be a system issue, but HandBrakeCLI started spewing libdvdnav and libdvdread output into the terminal after my latest system update (running arch linux).
Previously I was running HandBrakeCLI from terminal and the only output I saw was from handbrake itself like: "Encoding: task ..." without all the extra noise from libdvdnav and libdvdread. I assume HandBrakeCLI is using those under the hood?
Is there anyway to suppress the output from libdvdnav and livdvdread?
Spew looks like this:
Code: Select all
...
libdvdnav: DVD Title (Alternative):
libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions: 01
libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient
libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x000002a0
libdvdread: Elapsed time 0
...
Steps to reproduce the problem (If Applicable):
I'm just running this from a bash terminal:
Code: Select all
HandBrakeCLI -t 01 -i /dev/sr0 -f av_mp4 -o "/home/foobar/rips/MyDvdMedia.mp4" -O --vfr -e x264 --encoder-preset slower --encoder-tune film --encoder-profile high --encoder-level 4.1 --quality 18.0 -x me=tesa:subme=9:no-fast-pskip:no-dct-decimate:ref=5:bframes=5 --auto-anamorphic --comb-detect --no-deinterlace --decomb --no-deblock --audio 1 -E copy --audio-fallback ca_aac -s scan --subtitle-burned --native-language eng --markers 2>"/home/foobar/temp/MyDvdMedia.log"
HandBrake 1.4.1
Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Arch Linux x86_64 Linux 5.13.12-arch1-1
HandBrake Activity Log ***required*** (see How-to get an activity log)
Code: Select all
[11:55:07] Compile-time hardening features are enabled
Cannot load libnvidia-encode.so.1
Cannot load libnvidia-encode.so.1
Cannot load libnvidia-encode.so.1
Cannot load libnvidia-encode.so.1
[11:55:08] hb_init: starting libhb thread
[11:55:08] thread 7fa122069640 started ("libhb")
HandBrake 1.4.1 (2021081700) - Linux x86_64 - https://handbrake.fr
4 CPUs detected
Opening /dev/sr0...
[11:55:08] CPU: Intel(R) Core(TM) i7-7560U CPU @ 2.40GHz
[11:55:08] - Intel microarchitecture Kaby Lake
[11:55:08] - logical processor count: 4
[11:55:08] Intel Quick Sync Video support: no
[11:55:08] hb_scan: path=/dev/sr0, title_index=1
disc.c:437: error opening file BDMV/index.bdmv
disc.c:437: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2646: nav_get_title_list((null)) failed
[11:55:08] bd: not a bd - trying as a stream/file instead
[11:55:08] dvd: Region mask 0xfd
[11:55:08] scan: DVD has 6 title(s)
[11:55:08] scan: scanning title 1
[11:55:08] scan: duration is 02:00:08 (7208000 ms)
[11:55:08] pgc_id: 1, pgn: 1: pgc: 0x7fa114030690
[11:55:08] scan: checking audio 1
[11:55:08] scan: id=0x80bd, lang=中文 (AC3), 3cc=zho ext=0
[11:55:08] scan: checking audio 2
[11:55:08] scan: id=0x81bd, lang=English (AC3), 3cc=eng ext=0
[11:55:08] scan: checking audio 3
[11:55:08] scan: id=0x82bd, lang=English (AC3), 3cc=eng ext=0
[11:55:08] scan: checking audio 4
[11:55:08] scan: id=0x83bd, lang=Francais (AC3), 3cc=fra ext=0
[11:55:08] scan: checking audio 5
[11:55:08] scan: id=0x84bd, lang=English (AC3), 3cc=eng ext=0
[11:55:08] scan: checking subtitle 1
[11:55:08] scan: id=0x20bd, lang=English (Wide Screen) [VOBSUB], 3cc=eng ext=0
[11:55:08] scan: checking subtitle 2
[11:55:08] scan: id=0x21bd, lang=Francais (Wide Screen) [VOBSUB], 3cc=fra ext=0
[11:55:08] scan: title 1 has 28 chapters
[11:55:08] scan: chap 1, 52000 ms
[11:55:08] scan: chap 2, 327767 ms
[11:55:08] scan: chap 3, 121433 ms
[11:55:08] scan: chap 4, 204000 ms
[11:55:08] scan: chap 5, 217433 ms
[11:55:08] scan: chap 6, 156734 ms
[11:55:08] scan: chap 7, 243934 ms
[11:55:08] scan: chap 8, 107834 ms
[11:55:08] scan: chap 9, 336233 ms
[11:55:08] scan: chap 10, 68800 ms
[11:55:08] scan: chap 11, 150000 ms
[11:55:08] scan: chap 12, 152700 ms
[11:55:08] scan: chap 13, 91500 ms
[11:55:08] scan: chap 14, 355467 ms
[11:55:08] scan: chap 15, 186934 ms
[11:55:08] scan: chap 16, 175066 ms
[11:55:08] scan: chap 17, 273867 ms
[11:55:08] scan: chap 18, 1180133 ms
[11:55:08] scan: chap 19, 188166 ms
[11:55:08] scan: chap 20, 221333 ms
[11:55:08] scan: chap 21, 192400 ms
[11:55:08] scan: chap 22, 259300 ms
[11:55:08] scan: chap 23, 135000 ms
[11:55:08] scan: chap 24, 320133 ms
[11:55:08] scan: chap 25, 516567 ms
[11:55:08] scan: chap 26, 223133 ms
[11:55:08] scan: chap 27, 275133 ms
[11:55:08] scan: chap 28, 475000 ms
[11:55:08] scan: aspect = 16:9
[11:55:08] scan: decoding previews for title 1
[11:55:08] scan: title angle(s) 1
[11:55:08] scan: audio 0x84bd: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch) (Dolby Surround) (192 kbps)
[11:55:08] scan: audio 0x83bd: ac3, rate=48000Hz, bitrate=192000 Francais (AC3) (2.0 ch) (Dolby Surround) (192 kbps)
[11:55:08] scan: audio 0x81bd: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch) (Dolby Surround) (192 kbps)
[11:55:08] scan: audio 0x82bd: ac3, rate=48000Hz, bitrate=384000 English (AC3) (5.1 ch) (384 kbps)
[11:55:08] scan: audio 0x80bd: ac3, rate=48000Hz, bitrate=384000 中文 (AC3) (5.1 ch) (384 kbps)
Scanning title 1 of 1, preview 5, 50.00 %
Scanning title 1 of 1, preview 6, 60.00 %
Scanning title 1 of 1, preview 8, 80.00 %
Scanning title 1 of 1, preview 9, 90.00 %
Scanning title 1 of 1, preview 9, 90.00 %[11:55:09] scan: 10 previews, 720x480, 23.976 fps, autocrop = 56/58/0/0, aspect 16:9, PAR 32:27, color profile: 6-1-6
[11:55:09] libhb: scan thread found 1 valid title(s)
+ Using preset: CLI Default
+ title 1:
+ index 1
+ duration: 02:00:08
+ size: 720x480, pixel aspect: 32/27, display aspect: 1.78, 23.976 fps
+ autocrop: 56/58/0/0
+ chapters:
+ 1: duration 00:00:52
+ 2: duration 00:05:28
+ 3: duration 00:02:01
+ 4: duration 00:03:24
+ 5: duration 00:03:37
+ 6: duration 00:02:37
+ 7: duration 00:04:04
+ 8: duration 00:01:48
+ 9: duration 00:05:36
+ 10: duration 00:01:09
+ 11: duration 00:02:30
+ 12: duration 00:02:33
+ 13: duration 00:01:32
+ 14: duration 00:05:55
+ 15: duration 00:03:07
+ 16: duration 00:02:55
+ 17: duration 00:04:34
+ 18: duration 00:19:40
+ 19: duration 00:03:08
+ 20: duration 00:03:41
+ 21: duration 00:03:12
+ 22: duration 00:04:19
+ 23: duration 00:02:15
+ 24: duration 00:05:20
+ 25: duration 00:08:37
+ 26: duration 00:03:43
+ 27: duration 00:04:35
+ 28: duration 00:07:55
+ audio tracks:
+ 1, 中文 (AC3) (5.1 ch) (384 kbps) (iso639-2: zho), 48000Hz, 384000bps
+ 2, English (AC3) (2.0 ch) (Dolby Surround) (192 kbps) (iso639-2: eng), 48000Hz, 192000bps
+ 3, English (AC3) (5.1 ch) (384 kbps) (iso639-2: eng), 48000Hz, 384000bps
+ 4, Francais (AC3) (2.0 ch) (Dolby Surround) (192 kbps) (iso639-2: fra), 48000Hz, 192000bps
+ 5, English (AC3) (2.0 ch) (Dolby Surround) (192 kbps) (iso639-2: eng), 48000Hz, 192000bps
+ subtitle tracks:
+ 1, English (Wide Screen) [VOBSUB]
+ 2, Francais (Wide Screen) [VOBSUB]
+ 3, 中文, Closed Caption [CC608]
[11:55:09] Starting work at: Sat Aug 28 11:55:09 2021
[11:55:09] 1 job(s) to process
[11:55:09] json job:
{
"Audio": {
"AudioList": [
{
"Encoder": 1193093120,
"Track": 0
}
],
"CopyMask": [
"copy:aac",
"copy:ac3",
"copy:eac3",
"copy:dtshd",
"copy:dts",
"copy:mp3",
"copy:truehd",
"copy:flac"
],
"FallbackEncoder": "ca_aac"
},
"Destination": {
"AlignAVStart": false,
"ChapterList": [
{
"Duration": {
"Hours": 0,
"Minutes": 0,
"Seconds": 52,
"Ticks": 4680000
},
"Name": "Chapter 1"
},
{
"Duration": {
"Hours": 0,
"Minutes": 5,
"Seconds": 28,
"Ticks": 29499030
},
"Name": "Chapter 2"
},
{
"Duration": {
"Hours": 0,
"Minutes": 2,
"Seconds": 1,
"Ticks": 10928970
},
"Name": "Chapter 3"
},
{
"Duration": {
"Hours": 0,
"Minutes": 3,
"Seconds": 24,
"Ticks": 18360000
},
"Name": "Chapter 4"
},
{
"Duration": {
"Hours": 0,
"Minutes": 3,
"Seconds": 37,
"Ticks": 19568970
},
"Name": "Chapter 5"
},
{
"Duration": {
"Hours": 0,
"Minutes": 2,
"Seconds": 37,
"Ticks": 14106060
},
"Name": "Chapter 6"
},
{
"Duration": {
"Hours": 0,
"Minutes": 4,
"Seconds": 4,
"Ticks": 21954060
},
"Name": "Chapter 7"
},
{
"Duration": {
"Hours": 0,
"Minutes": 1,
"Seconds": 48,
"Ticks": 9705060
},
"Name": "Chapter 8"
},
{
"Duration": {
"Hours": 0,
"Minutes": 5,
"Seconds": 36,
"Ticks": 30260970
},
"Name": "Chapter 9"
},
{
"Duration": {
"Hours": 0,
"Minutes": 1,
"Seconds": 9,
"Ticks": 6192000
},
"Name": "Chapter 10"
},
{
"Duration": {
"Hours": 0,
"Minutes": 2,
"Seconds": 30,
"Ticks": 13500000
},
"Name": "Chapter 11"
},
{
"Duration": {
"Hours": 0,
"Minutes": 2,
"Seconds": 33,
"Ticks": 13743000
},
"Name": "Chapter 12"
},
{
"Duration": {
"Hours": 0,
"Minutes": 1,
"Seconds": 32,
"Ticks": 8235000
},
"Name": "Chapter 13"
},
{
"Duration": {
"Hours": 0,
"Minutes": 5,
"Seconds": 55,
"Ticks": 31992030
},
"Name": "Chapter 14"
},
{
"Duration": {
"Hours": 0,
"Minutes": 3,
"Seconds": 7,
"Ticks": 16824060
},
"Name": "Chapter 15"
},
{
"Duration": {
"Hours": 0,
"Minutes": 2,
"Seconds": 55,
"Ticks": 15755940
},
"Name": "Chapter 16"
},
{
"Duration": {
"Hours": 0,
"Minutes": 4,
"Seconds": 34,
"Ticks": 24648030
},
"Name": "Chapter 17"
},
{
"Duration": {
"Hours": 0,
"Minutes": 19,
"Seconds": 40,
"Ticks": 106211970
},
"Name": "Chapter 18"
},
{
"Duration": {
"Hours": 0,
"Minutes": 3,
"Seconds": 8,
"Ticks": 16934940
},
"Name": "Chapter 19"
},
{
"Duration": {
"Hours": 0,
"Minutes": 3,
"Seconds": 41,
"Ticks": 19919970
},
"Name": "Chapter 20"
},
{
"Duration": {
"Hours": 0,
"Minutes": 3,
"Seconds": 12,
"Ticks": 17316000
},
"Name": "Chapter 21"
},
{
"Duration": {
"Hours": 0,
"Minutes": 4,
"Seconds": 19,
"Ticks": 23337000
},
"Name": "Chapter 22"
},
{
"Duration": {
"Hours": 0,
"Minutes": 2,
"Seconds": 15,
"Ticks": 12150000
},
"Name": "Chapter 23"
},
{
"Duration": {
"Hours": 0,
"Minutes": 5,
"Seconds": 20,
"Ticks": 28811970
},
"Name": "Chapter 24"
},
{
"Duration": {
"Hours": 0,
"Minutes": 8,
"Seconds": 37,
"Ticks": 46491030
},
"Name": "Chapter 25"
},
{
"Duration": {
"Hours": 0,
"Minutes": 3,
"Seconds": 43,
"Ticks": 20081970
},
"Name": "Chapter 26"
},
{
"Duration": {
"Hours": 0,
"Minutes": 4,
"Seconds": 35,
"Ticks": 24761970
},
"Name": "Chapter 27"
},
{
"Duration": {
"Hours": 0,
"Minutes": 7,
"Seconds": 55,
"Ticks": 42750000
},
"Name": "Chapter 28"
}
],
"ChapterMarkers": true,
"File": "/home/foobar/rips/MyDvdMedia.mp4",
"InlineParameterSets": false,
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": true
},
"Mux": "m4v"
},
"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": 0
}
},
{
"ID": 13,
"Settings": {
"crop-bottom": 58,
"crop-left": 0,
"crop-right": 0,
"crop-top": 56,
"height": 366,
"width": 720
}
}
]
},
"Metadata": {},
"PAR": {
"Den": 27,
"Num": 32
},
"SequenceID": 0,
"Source": {
"Angle": 0,
"Path": "/dev/sr0",
"Range": {
"End": 28,
"Start": 1,
"Type": "chapter"
},
"Title": 1
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": false,
"Forced": false
},
"SubtitleList": [
{
"Burn": true,
"Default": false,
"Forced": false,
"Track": 0
}
]
},
"Video": {
"ColorFormat": 0,
"ColorMatrix": 6,
"ColorPrimaries": 6,
"ColorRange": 1,
"ColorTransfer": 1,
"Encoder": "x264",
"Level": "4.1",
"Options": "me=tesa:subme=9:no-fast-pskip:no-dct-decimate:ref=5:bframes=5",
"Preset": "slower",
"Profile": "high",
"QSV": {
"AdapterIndex": 1,
"AsyncDepth": 0,
"Decode": false
},
"Quality": 18.0,
"Tune": "film",
"Turbo": false,
"TwoPass": false
}
}
[11:55:09] Starting Task: Encoding Pass
[11:55:09] Skipping vfr filter
[11:55:09] Auto Passthru: allowed codecs are AAC, AC3, E-AC3, TrueHD, DTS, DTS-HD, MP2, MP3, FLAC
[11:55:09] Auto Passthru: fallback is AAC (avcodec)
[11:55:09] Auto Passthru: using AC3 Passthru for track 1
[11:55:09] job configuration:
[11:55:09] * source
[11:55:09] + /dev/sr0
[11:55:09] + title 1, chapter(s) 1 to 28
[11:55:09] * destination
[11:55:09] + /home/foobar/rips/MyDvdMedia.mp4
[11:55:09] + container: MPEG-4 (libavformat)
[11:55:09] + optimized for HTTP streaming (fast start)
[11:55:09] + chapter markers
[11:55:09] * video track
[11:55:09] + decoder: mpeg2video 8-bit
[11:55:09] + bitrate 200 kbps
[11:55:09] + filters
[11:55:09] + 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)
[11:55:09] + Decomb (mode=39)
[11:55:09] + Subtitle renderer ()
[11:55:09] + Crop and Scale (width=720:height=366:crop-top=56:crop-bottom=58:crop-left=0:crop-right=0)
[11:55:09] + source: 720 * 480, crop (56/58/0/0): 720 * 366, scale: 720 * 366
[11:55:09] + Output geometry
[11:55:09] + storage dimensions: 720 x 366
[11:55:09] + pixel aspect ratio: 32 : 27
[11:55:09] + display dimensions: 853 x 366
[11:55:09] + encoder: H.264 (libx264)
[11:55:09] + preset: slower
[11:55:09] + tune: film
[11:55:09] + options: me=tesa:subme=9:no-fast-pskip:no-dct-decimate:ref=5:bframes=5
[11:55:09] + profile: high
[11:55:09] + level: 4.1
[11:55:09] + quality: 18.00 (RF)
[11:55:09] + color profile: 6-1-6
[11:55:09] * subtitle track 1, English (Wide Screen) [VOBSUB] (track 0, id 0x20bd, Picture) -> Render/Burn-in
[11:55:09] * audio track 1
[11:55:09] + decoder: 中文 (AC3) (5.1 ch) (384 kbps) (track 1, id 0x80bd)
[11:55:09] + bitrate: 384 kbps, samplerate: 48000 Hz
[11:55:09] + AC3 Passthru
[11:55:10] dvd: Region mask 0xfd
[11:55:10] sync: expecting 172819 video frames
[11:55:10] encx264: min-keyint: 24, keyint: 240
[11:55:10] encx264: encoding at constant RF 18.000000
[11:55:10] encx264: unparsed options: me=tesa:subme=9:ref=5:bframes=5:level=4.1:b-adapt=2:direct=auto:deblock=-1,-1:analyse=all:trellis=2:fast-pskip=0:dct-decimate=0:psy-rd=1,0.15:vbv-bufsize=78125:vbv-maxrate=62500:rc-lookahead=60
x264 [info]: using SAR=32/27
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile High, level 4.1, 4:2:0, 8-bit
[11:55:10] sync: first pts video is 0
[11:55:10] sync: "Chapter 1" (1) at frame 1 time 0
[11:55:10] sync: first pts audio 0x80bd is 0
Signal 2 received, terminating - do it again in case it gets stuck
[11:55:14] work: average encoding speed for job is 0.000000 fps
[11:55:14] comb detect: heavy 14 | light 35 | uncombed 148 | total 197
[11:55:14] decomb: deinterlaced 11 | blended 31 | unfiltered 146 | total 188
[11:55:14] ac3-decoder done: 285 frames, 0 decoder errors
[11:55:14] mpeg2video-decoder done: 270 frames, 0 decoder errors
[11:55:14] sync: got 213 frames, 172819 expected
[11:55:14] sync: framerate min 23.976 fps, max 29.970 fps, avg 29.935 fps
x264 [info]: frame I:1 Avg QP: 4.00 size: 910
x264 [info]: frame P:21 Avg QP: 6.93 size: 1941
x264 [info]: frame B:81 Avg QP: 9.19 size: 248
x264 [info]: consecutive B-frames: 2.9% 0.0% 5.7% 11.4% 0.0% 80.0%
x264 [info]: mb I I16..4: 100.0% 0.0% 0.0%
x264 [info]: mb P I16..4: 11.4% 5.6% 0.1% P16..4: 6.0% 0.2% 0.4% 0.1% 0.0% skip:76.3%
x264 [info]: mb B I16..4: 0.5% 0.9% 0.0% B16..8: 3.4% 0.2% 0.1% direct: 2.6% skip:92.3% L0:53.2% L1:40.7% BI: 6.1%
x264 [info]: 8x8 transform intra:33.1% inter:84.3%
x264 [info]: direct mvs spatial:42.0% temporal:58.0%
x264 [info]: coded y,uvDC,uvAC intra: 25.7% 43.4% 31.0% inter: 1.9% 4.6% 1.9%
x264 [info]: i16 v,h,dc,p: 71% 16% 8% 5%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 10% 51% 4% 4% 4% 4% 3% 6%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 51% 4% 17% 5% 4% 6% 4% 4% 4%
x264 [info]: i8c dc,h,v,p: 43% 38% 16% 2%
x264 [info]: Weighted P-Frames: Y:19.0% UV:14.3%
x264 [info]: ref P L0: 71.7% 0.7% 0.5% 27.2%
x264 [info]: ref B L0: 95.2% 4.7% 0.1%
x264 [info]: kb/s:143.35
[mp4 @ 0x7fa115286d00] Starting second pass: moving the moov atom to the beginning of the file
[11:55:14] mux: track 0, 102 frames, 51157 bytes, 57.05 kbps, fifo 128
[11:55:14] mux: track 1, 223 frames, 342528 bytes, 381.97 kbps, fifo 256
[11:55:14] Finished work at: Sat Aug 28 11:55:14 2021
HandBrake has exited.