HandBrakeCLI on Debian and errors

Discussion of the HandBrake command line interface (CLI)
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
superjma
Posts: 2
Joined: Sat Feb 16, 2019 5:37 pm

HandBrakeCLI on Debian and errors

Post by superjma »

HandBrakeCLI on Debian exits with error:
I have installed handbrake-cli, libdvdcss2 and libdvdread4 on my debian. The machine does not have a gui so it is only terminal based.

Steps to reproduce the problem (If Applicable):
I run the command like this "HandBrakeCLI -i /dev/sr0 -o /home/Medie/Video/Movie.mp4 --no-dvdnav -e x264 -q 22 -B 160 -t 3 -a 1 -s 1"

I keep getting some error frame sync error.
But if I use the gui on windows also with libdvdcss2 installed it works.

Which parameters am I missing?


HandBrake version 0.10.5+ds1-2+b3:
Linux KVMHost 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 GNU/Linux:
Running Debian stable

HandBrake Activity Log

Code: Select all

[18:55:45] hb_init: starting libhb thread
HandBrake 0.10.5 (2017031700) - Linux x86_64 - https://handbrake.fr
4 CPUs detected
Opening /dev/sr0...
[18:55:45] CPU: Intel(R) Atom(TM) CPU  C2550  @ 2.41GHz
[18:55:45]  - Intel microarchitecture Silvermont
[18:55:45]  - logical processor count: 4
[18:55:45] OpenCL: library not available
[18:55:45] hb_scan: path=/dev/sr0, title_index=3
disc.c:352: error opening file BDMV/index.bdmv
disc.c:352: error opening file BDMV/BACKUP/index.bdmv
[18:55:46] bd: not a bd - trying as a stream/file instead
[18:55:46] dvd: Region mask 0xff
[18:55:46] dvd: Warning, DVD device has no region set
[18:55:46] scan: DVD has 29 title(s)
[18:55:46] scan: scanning title 3
[18:55:46] scan: opening IFO for VTS 3
[18:55:46] pgc_id: 1, pgn: 1: pgc: 0x7f5a4002caf0
[18:55:46] scan: vts=3, ttn=1, cells=0->28, blocks=1344->3483952, 3482609 blocks
[18:55:46] scan: duration is 02:23:54 (8634080 ms)
[18:55:46] scan: checking audio 1
[18:55:46] scan: id=0x80bd, lang=English (AC3), 3cc=eng ext=0
[18:55:46] scan: checking audio 2
[18:55:46] scan: id=0x81bd, lang=Norsk (AC3), 3cc=nor ext=0
[18:55:46] scan: checking audio 3
[18:55:46] scan: id=0x82bd, lang=Dansk (AC3), 3cc=dan ext=0
[18:55:46] scan: checking audio 4
[18:55:46] scan: id=0x83bd, lang=Polish (AC3), 3cc=pol ext=0
[18:55:46] scan: checking audio 5
[18:55:46] scan: id=0x84bd, lang=English (AC3), 3cc=eng ext=3
[18:55:46] scan: checking subtitle 1
[18:55:46] scan: id=0x20bd, lang=English, 3cc=eng ext=1
[18:55:46] scan: checking subtitle 2
[18:55:46] scan: id=0x21bd, lang=English (Closed Caption), 3cc=eng ext=5
[18:55:46] scan: checking subtitle 3
[18:55:46] scan: id=0x22bd, lang=Norsk, 3cc=nor ext=1
[18:55:46] scan: checking subtitle 4
[18:55:46] scan: id=0x23bd, lang=Dansk, 3cc=dan ext=1
[18:55:46] scan: checking subtitle 5
[18:55:46] scan: id=0x24bd, lang=Polish, 3cc=pol ext=1
[18:55:46] scan: checking subtitle 6
[18:55:46] scan: id=0x25bd, lang=Norsk (Director's Commentary), 3cc=nor ext=13
[18:55:46] scan: checking subtitle 7
[18:55:46] scan: id=0x26bd, lang=Dansk (Director's Commentary), 3cc=dan ext=13
[18:55:46] scan: checking subtitle 8
[18:55:46] scan: id=0x27bd, lang=Polish (Director's Commentary), 3cc=pol ext=13
[18:55:46] scan: checking subtitle 9
[18:55:46] scan: id=0x28bd, lang=Norsk, 3cc=nor ext=0
[18:55:46] scan: checking subtitle 10
[18:55:46] scan: id=0x29bd, lang=Dansk, 3cc=dan ext=0
[18:55:46] scan: checking subtitle 11
[18:55:46] scan: id=0x2abd, lang=Polish, 3cc=pol ext=0
[18:55:46] scan: title 3 has 23 chapters
[18:55:46] scan: chap 1 c=0->6, b=1344->216502 (215159), 495760 ms
[18:55:46] scan: chap 2 c=7->7, b=216503->384753 (168251), 420800 ms
[18:55:46] scan: chap 3 c=8->8, b=384754->469607 (84854), 233320 ms
[18:55:46] scan: chap 4 c=9->9, b=469608->628981 (159374), 412240 ms
[18:55:46] scan: chap 5 c=10->10, b=628982->749034 (120053), 338600 ms
[18:55:46] scan: chap 6 c=11->11, b=749035->993690 (244656), 586400 ms
[18:55:46] scan: chap 7 c=12->12, b=993691->1069961 (76271), 183040 ms
[18:55:46] scan: chap 8 c=13->13, b=1069962->1308347 (238386), 568960 ms
[18:55:46] scan: chap 9 c=14->14, b=1308348->1422878 (114531), 275400 ms
[18:55:46] scan: chap 10 c=15->15, b=1422879->1504946 (82068), 221200 ms
[18:55:46] scan: chap 11 c=16->16, b=1504947->1917508 (412562), 967920 ms
[18:55:46] scan: chap 12 c=17->17, b=1917509->1972980 (55472), 137680 ms
[18:55:46] scan: chap 13 c=18->18, b=1972981->2001424 (28444), 73320 ms
[18:55:46] scan: chap 14 c=19->19, b=2001425->2192995 (191571), 493680 ms
[18:55:46] scan: chap 15 c=20->20, b=2192996->2307862 (114867), 304720 ms
[18:55:46] scan: chap 16 c=21->21, b=2307863->2625894 (318032), 725280 ms
[18:55:46] scan: chap 17 c=22->22, b=2625895->2816569 (190675), 400960 ms
[18:55:46] scan: chap 18 c=23->23, b=2816570->2961085 (144516), 294800 ms
[18:55:46] scan: chap 19 c=24->24, b=2961086->3037557 (76472), 147120 ms
[18:55:46] scan: chap 20 c=25->25, b=3037558->3156576 (119019), 275920 ms
[18:55:46] scan: chap 21 c=26->26, b=3156577->3304813 (148237), 375160 ms
[18:55:46] scan: chap 22 c=27->27, b=3304814->3483773 (178960), 701320 ms
[18:55:46] scan: chap 23 c=28->28, b=3483774->3483952 (179), 480 ms
[18:55:46] scan: aspect = 1.77778
[18:55:46] scan: decoding previews for title 3

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 0x00000171
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00012d23
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00012dd6
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x00012eab
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x00012f5e
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x00013058
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x0001310b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x00365a8e
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x0038f089
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x0038f169
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x0038f59a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_0.VOB at 0x0038f750
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x0038f803
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_0.VOB at 0x0038fbc4
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x0038fc77
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_0.VOB at 0x00394402
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x003944b5
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_0.VOB at 0x00395885
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_1.VOB at 0x00395938
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_0.VOB at 0x00396123
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_1.VOB at 0x003961d6
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_11_0.VOB at 0x003a0dc9
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_11_1.VOB at 0x003a0e7c
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_12_0.VOB at 0x003b59f5
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_12_1.VOB at 0x003b5a05
libdvdread: Elapsed time 0
libdvdread: Found 12 VTS's
libdvdread: Elapsed time 0
[18:55:46] scan: title angle(s) 1
Scanning title 1 of 1, preview 1, 10.00 %[ac3 @ 0x7f5a4003a440] frame sync error
[ac3 @ 0x7f5a4003ad80] frame sync error
[ac3 @ 0x7f5a4003b7a0] frame sync error
[ac3 @ 0x7f5a4003c1c0] frame sync error
[ac3 @ 0x7f5a4003cbe0] frame sync error
[18:55:46] scan: audio 0x84bd: ac3, rate=48000Hz, bitrate=96000 English (AC3) (Director's Commentary 1) (1.0 ch)
[ac3 @ 0x7f5a4003cbe0] frame sync error
[18:55:46] scan: audio 0x80bd: ac3, rate=48000Hz, bitrate=384000 English (AC3) (5.1 ch)
[ac3 @ 0x7f5a4003cae0] frame sync error
[18:55:46] scan: audio 0x81bd: ac3, rate=48000Hz, bitrate=384000 Norsk (AC3) (5.1 ch)
[ac3 @ 0x7f5a4003cae0] frame sync error
[18:55:46] scan: audio 0x82bd: ac3, rate=48000Hz, bitrate=384000 Dansk (AC3) (5.1 ch)
[ac3 @ 0x7f5a4003cae0] frame sync error
[18:55:46] scan: audio 0x83bd: ac3, rate=48000Hz, bitrate=384000 Polish (AC3) (5.1 ch)
Scanning title 1 of 1, preview 8, 80.00 %[18:55:49] Broken timestamps detected.  Reordering.
Scanning title 1 of 1, preview 9, 90.00 %[18:55:49] scan: 10 previews, 720x576, 25.000 fps, autocrop = 74/76/0/0, aspect 16:9, PAR 64:45
Scanning title 1 of 1, preview 10, 100.00 %[18:55:49] libhb: scan thread found 1 valid title(s)
+ title 3:
  + vts 3, ttn 1, cells 0->28 (3482609 blocks)
  + duration: 02:23:54
  + size: 720x576, pixel aspect: 64/45, display aspect: 1.78, 25.000 fps
  + autocrop: 74/76/0/0
  + support opencl: no
  + support hwd: not built-in
  + chapters:
    + 1: cells 0->6, 215159 blocks, duration 00:08:16
    + 2: cells 7->7, 168251 blocks, duration 00:07:01
    + 3: cells 8->8, 84854 blocks, duration 00:03:53
    + 4: cells 9->9, 159374 blocks, duration 00:06:52
    + 5: cells 10->10, 120053 blocks, duration 00:05:39
    + 6: cells 11->11, 244656 blocks, duration 00:09:46
    + 7: cells 12->12, 76271 blocks, duration 00:03:03
    + 8: cells 13->13, 238386 blocks, duration 00:09:29
    + 9: cells 14->14, 114531 blocks, duration 00:04:35
    + 10: cells 15->15, 82068 blocks, duration 00:03:41
    + 11: cells 16->16, 412562 blocks, duration 00:16:08
    + 12: cells 17->17, 55472 blocks, duration 00:02:18
    + 13: cells 18->18, 28444 blocks, duration 00:01:13
    + 14: cells 19->19, 191571 blocks, duration 00:08:14
    + 15: cells 20->20, 114867 blocks, duration 00:05:05
    + 16: cells 21->21, 318032 blocks, duration 00:12:05
    + 17: cells 22->22, 190675 blocks, duration 00:06:41
    + 18: cells 23->23, 144516 blocks, duration 00:04:55
    + 19: cells 24->24, 76472 blocks, duration 00:02:27
    + 20: cells 25->25, 119019 blocks, duration 00:04:36
    + 21: cells 26->26, 148237 blocks, duration 00:06:15
    + 22: cells 27->27, 178960 blocks, duration 00:11:41
    + 23: cells 28->28, 179 blocks, duration 00:00:00
  + audio tracks:
    + 1, English (AC3) (5.1 ch) (iso639-2: eng), 48000Hz, 384000bps
    + 2, Norsk (AC3) (5.1 ch) (iso639-2: nor), 48000Hz, 384000bps
    + 3, Dansk (AC3) (5.1 ch) (iso639-2: dan), 48000Hz, 384000bps
    + 4, Polish (AC3) (5.1 ch) (iso639-2: pol), 48000Hz, 384000bps
    + 5, English (AC3) (Director's Commentary 1) (1.0 ch) (iso639-2: eng), 48000Hz, 96000bps
  + subtitle tracks:
    + 1, English (iso639-2: eng) (Bitmap)(VOBSUB)
    + 2, English (Closed Caption) (iso639-2: eng) (Bitmap)(VOBSUB)
    + 3, Norsk (iso639-2: nor) (Bitmap)(VOBSUB)
    + 4, Dansk (iso639-2: dan) (Bitmap)(VOBSUB)
    + 5, Polish (iso639-2: pol) (Bitmap)(VOBSUB)
    + 6, Norsk (Director's Commentary) (iso639-2: nor) (Bitmap)(VOBSUB)
    + 7, Dansk (Director's Commentary) (iso639-2: dan) (Bitmap)(VOBSUB)
    + 8, Polish (Director's Commentary) (iso639-2: pol) (Bitmap)(VOBSUB)
    + 9, Norsk (iso639-2: nor) (Bitmap)(VOBSUB)
    + 10, Dansk (iso639-2: dan) (Bitmap)(VOBSUB)
    + 11, Polish (iso639-2: pol) (Bitmap)(VOBSUB)
[18:55:49] 1 job(s) to process
[18:55:49] starting job
[18:55:49] work: mixdown not specified, track 1 setting mixdown Dolby Pro Logic II
[18:55:49] sync: expecting 215852 video frames
[18:55:49] job configuration:
[18:55:49]  * source
[18:55:49]    + /dev/sr0
[18:55:49]    + title 3, chapter(s) 1 to 23
[18:55:49]  * destination
[18:55:49]    + /home/Medie/Video/Movie.mp4
[18:55:49]    + container: MPEG-4 (libavformat)
[18:55:49]  * video track
[18:55:49]    + decoder: mpeg2video
[18:55:49]      + bitrate 200 kbps
[18:55:49]    + filters
[18:55:49]      + Framerate Shaper (0:27000000:1080000)
[18:55:49]        + frame rate: same as source (around 25.000 fps)
[18:55:49]      + Crop and Scale (720:300:74:76:0:0)
[18:55:49]        + source: 720 * 576, crop (74/76/0/0): 720 * 426, scale: 720 * 300
[18:55:49]    + dimensions: 720 * 300, mod 0
[18:55:49]    + encoder: H.264 (libx264)
[18:55:49]      + quality: 22.00 (RF)
[18:55:49]  * subtitle track 1, Dansk (track 4, id 0x23bd) Picture [VOBSUB] -> Passthrough
[18:55:49]  * audio track 1
[18:55:49]    + decoder: English (AC3) (5.1 ch) (track 1, id 0x80bd)
[18:55:49]      + bitrate: 384 kbps, samplerate: 48000 Hz
[18:55:49]    + mixdown: Dolby Pro Logic II
[18:55:49]    + encoder: AAC (libavcodec)
[18:55:49]      + bitrate: 160 kbps, samplerate: 48000 Hz
[18:55:49] dvd: Region mask 0xff
[18:55:49] dvd: Warning, DVD device has no region set
[18:55:50] encx264: encoding at constant RF 22.000000
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
x264 [info]: profile High, level 3.0
[18:55:50] encavcodecaInit: Unknown avcodec option stereo_mode
[mp4 @ 0x7f5a39118c60] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[mp4 @ 0x7f5a39118c60] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[mp4 @ 0x7f5a39118c60] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[mp4 @ 0x7f5a39118c60] track 1: codec frame size is not set

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 0x00000171
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00012d23
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00012dd6
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x00012eab
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x00012f5e
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x00013058
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x0001310b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x00365a8e
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x0038f089
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x0038f169
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x0038f59a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_0.VOB at 0x0038f750
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x0038f803
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_0.VOB at 0x0038fbc4
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x0038fc77
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_0.VOB at 0x00394402
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x003944b5
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_0.VOB at 0x00395885
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_1.VOB at 0x00395938
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_0.VOB at 0x00396123
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_1.VOB at 0x003961d6
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_11_0.VOB at 0x003a0dc9
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_11_1.VOB at 0x003a0e7c
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_12_0.VOB at 0x003b59f5
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_12_1.VOB at 0x003b5a05
libdvdread: Elapsed time 0
libdvdread: Found 12 VTS's
libdvdread: Elapsed time 0
[18:55:50] dvd: end of cell 0 at block 1344
[18:55:50] reader: first SCR 146 id 0xe0 DTS 22254
[18:55:50] mpeg2video: "Chapter 1" (1) at frame 0 time 3600
[18:55:50] dvd: end of cell 1 at block 1360
[18:55:50] dvd: end of cell 2 at block 1376
[18:55:50] sync: first pts is 3600
[18:55:50] sync: video time didn't advance - dropped 9 frames (delta 320 ms, current 32400, next 36000, dur 3600)
[18:55:50] sync: video time didn't advance - dropped 9 frames (delta 320 ms, current 36000, next 39600, dur 3600)
[18:55:50] dvd: null prev_vobu in cell 3 at block 1648
[18:55:50] sync: video time didn't advance - dropped 9 frames (delta 320 ms, current 39600, next 43200, dur 3600)
[18:55:51] dvd: end of cell 4 at block 2736
[18:55:51] dvd: end of cell 5 at block 2752
[18:55:51] sync: video time didn't advance - dropped 8 frames (delta 280 ms, current 75600, next 79200, dur 3600)
[18:55:51] sync: video time didn't advance - dropped 9 frames (delta 320 ms, current 82800, next 86400, dur 3600)
[18:55:51] sync: adding 640 ms of silence to audio 0x80bd  start 57600, next 0
[18:55:51] sync: video time didn't advance - dropped 9 frames (delta 320 ms, current 86400, next 90000, dur 3600)
[18:59:50] mpeg2video: "Chapter 2" (2) at frame 12358 time 44301600
[19:03:05] mpeg2video: "Chapter 3" (3) at frame 22878 time 82173600
[19:04:34] mpeg2video: "Chapter 4" (4) at frame 28711 time 103172400
[19:06:13] hb_demux_ps: not a PS packet (00000000)
[19:06:13] hb_demux_ps: not a PS packet (00000000)
[19:06:13] hb_demux_ps: not a PS packet (00000000)
[19:06:13] hb_demux_ps: not a PS packet (00000000)
[19:06:13] hb_demux_ps: not a PS packet (00000000)
[19:06:13] hb_demux_ps: not a PS packet (00000000)
[19:06:13] hb_demux_ps: not a PS packet (00000000)
[19:06:13] hb_demux_ps: not a PS packet (00000000)
[19:06:13] hb_demux_ps: not a PS packet (00000000)
[19:06:13] hb_demux_ps: not a PS packet (00000000)
[19:06:13] hb_demux_ps: not a PS packet (00000000)
[19:06:13] hb_demux_ps: not a PS packet (00000000)
[19:06:13] hb_demux_ps: not a PS packet (00000000)
[19:06:13] hb_demux_ps: not a PS packet (00000000)
[19:06:13] hb_demux_ps: not a PS packet (00000000)
[19:06:13] hb_demux_ps: not a PS packet (00000000)
[19:06:13] hb_demux_ps: not a PS packet (00000000)
[19:06:13] hb_demux_ps: not a PS packet (00000000)
[19:06:13] hb_demux_ps: not a PS packet (00000000)
[19:06:13] hb_demux_ps: not a PS packet (00000000)
[19:06:13] hb_demux_ps: not a PS packet (00000000)
[19:06:13] hb_demux_ps: not a PS packet (00000000)
[19:06:13] hb_demux_ps: not a PS packet (00000000)
[19:06:13] hb_demux_ps: not a PS packet (00000000)
[19:06:13] dvd: Lost sync, searching for NAV pack at blk 559958
[19:06:14] dvd: In sync with DVD at block 560161
[ac3 @ 0x7f5a38fcbc20] frame sync error
rollin_eng
Veteran User
Posts: 4859
Joined: Wed May 04, 2011 11:06 pm

Re: HandBrakeCLI on Debian and errors

Post by rollin_eng »

Try ripping your disc first with a dedicated ripping program like makemkv, then encode with HB.

Also upgrade to the correct latest version.
superjma
Posts: 2
Joined: Sat Feb 16, 2019 5:37 pm

Re: HandBrakeCLI on Debian and errors

Post by superjma »

Thanks for your reply. I can't find makemkv in the apt-repository.

But I will look into finding a backported Handbrake and then try again.
Woodstock
Veteran User
Posts: 4620
Joined: Tue Aug 27, 2013 6:39 am

Re: HandBrakeCLI on Debian and errors

Post by Woodstock »

If you're getting anything video-related from the apt repositories, you are going to have problems. https://handbrake.fr/downloads.php will take you to the official downloads for handbrake for linux. Current version 1.2.0.

makemkv has their own site, https://makemkv.com/download/ , with the linux download information at the top. Current version is 1.14.2; don't let the date of the message fool you into thinking it's "way too old".
Post Reply