Getting Started with CLI
Posted: Wed Oct 22, 2014 8:32 pm
I have been using the GUI for a while now. I wanted to give the CLI a try since just setup a ubuntu server just to see how that works. I am just using a basic encode to get started and it isn't working. HandBrakeCLI -i source -o destination
Is anyone willing to give me a clue what the problem is? Thanks in advance
HandBrakeCLI -i /home/doug/mkv/iceage -o /home/doug/movies/iceage.mp4
[15:14:42] hb_init: starting libhb thread
HandBrake rev5474 (2014032499) - Linux i686 - http://handbrake.fr
1 CPU detected
Opening /home/doug/mkv/iceage...
[15:14:42] hb_scan: path=/home/doug/mkv/iceage, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /home/doug/mkv/iceage/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /home/doug/mkv/iceage/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(/home/doug/mkv/iceage) failed
[15:14:42] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.2.1
libdvdread: Couldn't find device name.
libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[15:14:42] dvd: not a dvd - trying as a stream/file instead
[15:14:42] batch: scanning /home/doug/mkv/iceage/title11.mkv
Input #0, matroska,webm, from '/home/doug/mkv/iceage/title11.mkv':
Duration: 00:10:51.11, start: 0.000000, bitrate: N/A
Chapter #0.0: start 0.000000, end 138.371567
Metadata:
title : Chapter 01
Chapter #0.1: start 138.371567, end 256.556300
Metadata:
title : Chapter 02
Chapter #0.2: start 256.556300, end 458.791667
Metadata:
title : Chapter 03
Chapter #0.3: start 458.791667, end 651.117133
Metadata:
title : Chapter 04
Stream #0.0(eng): Video: mpeg2video (Main), yuv420p, 720x480 [PAR 32:27 DAR 16:9], 9800 kb/s, PAR 186:157 DAR 279:157, 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc
Stream #0.1(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s (default)
Metadata:
title : Stereo
[15:14:43] scan: decoding previews for title 1 (/home/doug/mkv/iceage/title11.mkv)
Input #0, matroska,webm, from '/home/doug/mkv/iceage/title11.mkv':
Duration: 00:10:51.11, start: 0.000000, bitrate: N/A
Chapter #0.0: start 0.000000, end 138.371567
Metadata:
title : Chapter 01
Chapter #0.1: start 138.371567, end 256.556300
Metadata:
title : Chapter 02
Chapter #0.2: start 256.556300, end 458.791667
Metadata:
title : Chapter 03
Chapter #0.3: start 458.791667, end 651.117133
Metadata:
title : Chapter 04
Stream #0.0(eng): Video: mpeg2video (Main), yuv420p, 720x480 [PAR 32:27 DAR 16:9], 9800 kb/s, PAR 186:157 DAR 279:157, 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc
Stream #0.1(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s (default)
Metadata:
title : Stereo
[15:14:43] scan: audio 0x1: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch)
[15:14:43] scan: 10 previews, 720x480, 23.976 fps, autocrop = 58/62/0/0, aspect 1.78:1, PAR 32:27
[15:14:43] libhb: scan thread found 1 valid title(s)
+ title 1:
+ stream: /home/doug/mkv/iceage/title11.mkv
+ duration: 00:10:51
+ size: 720x480, pixel aspect: 32/27, display aspect: 1.78, 23.976 fps
+ autocrop: 58/62/0/0
+ chapters:
+ 1: cells 0->0, 0 blocks, duration 00:02:18
+ 2: cells 0->0, 0 blocks, duration 00:01:58
+ 3: cells 0->0, 0 blocks, duration 00:03:22
+ 4: cells 0->0, 0 blocks, duration 00:03:12
+ audio tracks:
+ 1, English (AC3) (2.0 ch) (iso639-2: eng), 48000Hz, 192000bps
+ subtitle tracks:
[15:14:43] 1 job(s) to process
[15:14:43] starting job
[15:14:43] work: mixdown not specified, track 1 setting mixdown Stereo
[15:14:43] work: bitrate not specified, track 1 setting bitrate 160 Kbps
[15:14:43] sync: expecting 15611 video frames
ERROR: Invalid audio codec: 0x100
[15:14:43] render: lost time: 0 (0 frames)
[15:14:43] render: gained time: 0 (0 frames) (0 not accounted for)
[15:14:43] libhb: work result = 0
Encode done!
HandBrake has exited.
Is anyone willing to give me a clue what the problem is? Thanks in advance
HandBrakeCLI -i /home/doug/mkv/iceage -o /home/doug/movies/iceage.mp4
[15:14:42] hb_init: starting libhb thread
HandBrake rev5474 (2014032499) - Linux i686 - http://handbrake.fr
1 CPU detected
Opening /home/doug/mkv/iceage...
[15:14:42] hb_scan: path=/home/doug/mkv/iceage, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /home/doug/mkv/iceage/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /home/doug/mkv/iceage/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(/home/doug/mkv/iceage) failed
[15:14:42] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.2.1
libdvdread: Couldn't find device name.
libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[15:14:42] dvd: not a dvd - trying as a stream/file instead
[15:14:42] batch: scanning /home/doug/mkv/iceage/title11.mkv
Input #0, matroska,webm, from '/home/doug/mkv/iceage/title11.mkv':
Duration: 00:10:51.11, start: 0.000000, bitrate: N/A
Chapter #0.0: start 0.000000, end 138.371567
Metadata:
title : Chapter 01
Chapter #0.1: start 138.371567, end 256.556300
Metadata:
title : Chapter 02
Chapter #0.2: start 256.556300, end 458.791667
Metadata:
title : Chapter 03
Chapter #0.3: start 458.791667, end 651.117133
Metadata:
title : Chapter 04
Stream #0.0(eng): Video: mpeg2video (Main), yuv420p, 720x480 [PAR 32:27 DAR 16:9], 9800 kb/s, PAR 186:157 DAR 279:157, 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc
Stream #0.1(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s (default)
Metadata:
title : Stereo
[15:14:43] scan: decoding previews for title 1 (/home/doug/mkv/iceage/title11.mkv)
Input #0, matroska,webm, from '/home/doug/mkv/iceage/title11.mkv':
Duration: 00:10:51.11, start: 0.000000, bitrate: N/A
Chapter #0.0: start 0.000000, end 138.371567
Metadata:
title : Chapter 01
Chapter #0.1: start 138.371567, end 256.556300
Metadata:
title : Chapter 02
Chapter #0.2: start 256.556300, end 458.791667
Metadata:
title : Chapter 03
Chapter #0.3: start 458.791667, end 651.117133
Metadata:
title : Chapter 04
Stream #0.0(eng): Video: mpeg2video (Main), yuv420p, 720x480 [PAR 32:27 DAR 16:9], 9800 kb/s, PAR 186:157 DAR 279:157, 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc
Stream #0.1(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s (default)
Metadata:
title : Stereo
[15:14:43] scan: audio 0x1: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch)
[15:14:43] scan: 10 previews, 720x480, 23.976 fps, autocrop = 58/62/0/0, aspect 1.78:1, PAR 32:27
[15:14:43] libhb: scan thread found 1 valid title(s)
+ title 1:
+ stream: /home/doug/mkv/iceage/title11.mkv
+ duration: 00:10:51
+ size: 720x480, pixel aspect: 32/27, display aspect: 1.78, 23.976 fps
+ autocrop: 58/62/0/0
+ chapters:
+ 1: cells 0->0, 0 blocks, duration 00:02:18
+ 2: cells 0->0, 0 blocks, duration 00:01:58
+ 3: cells 0->0, 0 blocks, duration 00:03:22
+ 4: cells 0->0, 0 blocks, duration 00:03:12
+ audio tracks:
+ 1, English (AC3) (2.0 ch) (iso639-2: eng), 48000Hz, 192000bps
+ subtitle tracks:
[15:14:43] 1 job(s) to process
[15:14:43] starting job
[15:14:43] work: mixdown not specified, track 1 setting mixdown Stereo
[15:14:43] work: bitrate not specified, track 1 setting bitrate 160 Kbps
[15:14:43] sync: expecting 15611 video frames
ERROR: Invalid audio codec: 0x100
[15:14:43] render: lost time: 0 (0 frames)
[15:14:43] render: gained time: 0 (0 frames) (0 not accounted for)
[15:14:43] libhb: work result = 0
Encode done!
HandBrake has exited.