CLI stopped working

HandBrake for Windows support
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
archer75
Posts: 22
Joined: Sun Jan 17, 2010 5:42 pm

CLI stopped working

Post by archer75 »

Windows 7 x64 reports CLI stopped functioning whenever I try to re-encode a BD ripped video. I'm running Handbrake 0.9.4
I'm just inputting the video into handbrake. No subs, no audio, no chapters.
I have searched the forums and I heard it said that a snapshot build should fix it. Though it's also listed as not stable code so I have tried that yet.

Activity Log:

Code: Select all

### CLI Query:  -i "D:\MKV\Indiana Jones and the Kingdom of the Crystal Skull\1_2_video.mkv" -t 1 -c 1 -o "D:\MKV\Indiana Jones and the Kingdom of the Crystal Skull\KotCS.mkv" -f mkv -w 1920 --loose-anamorphic  --detelecine --decomb -e x264 -q 18 -a None,None -E faac,ac3 -6 dpl2,auto -R 48,Auto -B 160,32 -D 0.0,0.0 -x b-adapt=2:rc-lookahead=50 -v 1

### User Query: False

#########################################

[09:39:55] hb_init: checking cpu count
[09:39:55] hb_init: starting libhb thread
HandBrake 0.9.4 (2009112300) - MinGW i386 - http://handbrake.fr
8 CPUs detected
Opening D:\MKV\Indiana Jones and the Kingdom of the Crystal Skull\1_2_video.mkv...
[09:39:55] hb_scan: path=D:\MKV\Indiana Jones and the Kingdom of the Crystal Skull\1_2_video.mkv, title_index=1
[09:39:55] scan: trying to open with libdvdread
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[09:39:55] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska, from 'D:\MKV\Indiana Jones and the Kingdom of the Crystal Skull\1_2_video.mkv':
  Duration: 02:02:32.38, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: h264, yuv420p, 1920x1080, PAR 1:1 DAR 16:9, 24 tbr, 1k tbn, 47.95 tbc
[09:39:56] scan: decoding previews for title 1
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
[09:39:58] scan: 10 previews, 1920x1080, 24.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[09:39:58] scan: title (0) job->width:1936, job->height:1088
[09:39:58] libhb: scan thread found 1 valid title(s)
+ title 1:
  + vts 0, ttn 0, cells 0->0 (0 blocks)
  + angle(s) 0
  + duration: 02:02:32
  + size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 24.000 fps
  + autocrop: 0/0/0/0
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 02:02:32
  + audio tracks:
  + subtitle tracks:
Audio codecs and no valid audio tracks, skipping codec faac
Audio codecs and no valid audio tracks, skipping codec ac3
Ignoring sample rate 48000, no audio tracks
Ignoring sample rate 0, no audio tracks
Ignoring bitrate 160, no audio tracks
Ignoring bitrate 32, no audio tracks
Ignoring drc, no audio tracks
Ignoring drc, no audio tracks
Ignoring mixdown, no audio tracks
Ignoring mixdown, no audio tracks
[09:39:58] 1 job(s) to process
[09:39:58] starting job
[09:39:58] job configuration:
[09:39:58]  * source
[09:39:58]    + D:\MKV\Indiana Jones and the Kingdom of the Crystal Skull\1_2_video.mkv
[09:39:58]    + title 1, chapter(s) 1 to 1
[09:39:58]    + container: matroska
[09:39:58]  * destination
[09:39:58]    + D:\MKV\Indiana Jones and the Kingdom of the Crystal Skull\KotCS.mkv
[09:39:58]    + container: Matroska (.mkv)
[09:39:58]  * video track
[09:39:58]    + decoder: h264
[09:39:58]    + frame rate: same as source (around 24.000 fps)
[09:39:58]    + loose anamorphic
[09:39:58]      + modulus: 0
[09:39:58]      + storage dimensions: 1920 * 1080 -> 1920 * 1072, crop 0/0/0/0
[09:39:58]      + pixel aspect ratio: 127 / 128
[09:39:58]      + display dimensions: 1905 * 1072
[09:39:58]    + filters
[09:39:58]      + Detelecine (pullup) (default settings)
[09:39:58]      + Decomb (default settings)
[09:39:58]    + encoder: x264
[09:39:58]      + options: b-adapt=2:rc-lookahead=50
[09:39:58]      + quality: 18.00 (RF)
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[09:39:58] dvd: not a dvd - trying as a stream/file instead
[09:39:58] reader: first SCR 0 id 0 DTS 0
[09:39:58] yadif thread started for segment 0
[09:39:58] yadif thread started for segment 1
[09:39:58] yadif thread started for segment 2
[09:39:58] yadif thread started for segment 3
[09:39:58] yadif thread started for segment 4
[09:39:58] yadif thread started for segment 5
[09:39:58] yadif thread started for segment 6
[09:39:58] yadif thread started for segment 7
[09:39:58] decomb thread started for segment 0
[09:39:58] decomb thread started for segment 1
[09:39:58] decomb thread started for segment 2
[09:39:58] decomb thread started for segment 3
[09:39:58] decomb thread started for segment 4
[09:39:58] decomb thread started for segment 5
[09:39:58] decomb thread started for segment 7
[09:39:58] decomb thread started for segment 6
[09:39:58] encx264: keyint-min: 24, keyint-max: 240
[09:39:58] encx264: encoding with stored aspect 127/128
[09:39:58] encx264: Encoding at constant RF 18.000000
x264 [info]: using SAR=127/128
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264 [info]: profile High, level 4.0
[09:39:59] sync: expecting 176481 video frames
[09:40:12] out of memory
[09:40:12] out of memory
System Specs:
Intel Core i7 920
Asus P6T
3x 2gb muskin enhanced redline
Soundblaster X-FI extreme music
EVGA 9800GTX
150gb WD Raptor
Last edited by Rodeo on Sun Jan 17, 2010 7:43 pm, edited 1 time in total.
Reason: Please enclose Activity Logs in [code] blocks
User avatar
s55
HandBrake Team
Posts: 9850
Joined: Sun Dec 24, 2006 1:05 pm

Re: CLI stopped working

Post by s55 »

On the advanced tab, change :rc-lookahead=50 to :rc-lookahead=10

or use the snapshot.
archer75
Posts: 22
Joined: Sun Jan 17, 2010 5:42 pm

Re: CLI stopped working

Post by archer75 »

Ok that got me to 95.65% and then the same error returned.

Code: Select all

### CLI Query:  -i "D:\MKV\Indiana Jones and the Kingdom of the Crystal Skull\1_2_video.mkv" -t 1 -c 1 -o "D:\MKV\Indiana Jones and the Kingdom of the Crystal Skull\KotCS.mkv" -f mkv -w 1920 --loose-anamorphic  --detelecine --decomb -e x264 -q 18 -a None,None -E faac,ac3 -6 dpl2,auto -R 48,Auto -B 160,32 -D 0.0,0.0 -x b-adapt=2:rc-lookahead=10 -v 1

### User Query: False

#########################################

[12:46:11] hb_init: checking cpu count
[12:46:11] hb_init: starting libhb thread
HandBrake 0.9.4 (2009112300) - MinGW i386 - http://handbrake.fr
8 CPUs detected
Opening D:\MKV\Indiana Jones and the Kingdom of the Crystal Skull\1_2_video.mkv...
[12:46:11] hb_scan: path=D:\MKV\Indiana Jones and the Kingdom of the Crystal Skull\1_2_video.mkv, title_index=1
[12:46:11] scan: trying to open with libdvdread
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[12:46:11] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska, from 'D:\MKV\Indiana Jones and the Kingdom of the Crystal Skull\1_2_video.mkv':
  Duration: 02:02:32.38, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: h264, yuv420p, 1920x1080, PAR 1:1 DAR 16:9, 24 tbr, 1k tbn, 47.95 tbc
[12:46:16] scan: decoding previews for title 1
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
[12:46:18] scan: 10 previews, 1920x1080, 24.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[12:46:18] scan: title (0) job->width:1936, job->height:1088
[12:46:18] libhb: scan thread found 1 valid title(s)
+ title 1:
  + vts 0, ttn 0, cells 0->0 (0 blocks)
  + angle(s) 0
  + duration: 02:02:32
  + size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 24.000 fps
  + autocrop: 0/0/0/0
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 02:02:32
  + audio tracks:
  + subtitle tracks:
Audio codecs and no valid audio tracks, skipping codec faac
Audio codecs and no valid audio tracks, skipping codec ac3
Ignoring sample rate 48000, no audio tracks
Ignoring sample rate 0, no audio tracks
Ignoring bitrate 160, no audio tracks
Ignoring bitrate 32, no audio tracks
Ignoring drc, no audio tracks
Ignoring drc, no audio tracks
Ignoring mixdown, no audio tracks
Ignoring mixdown, no audio tracks
[12:46:19] 1 job(s) to process
[12:46:19] starting job
[12:46:19] job configuration:
[12:46:19]  * source
[12:46:19]    + D:\MKV\Indiana Jones and the Kingdom of the Crystal Skull\1_2_video.mkv
[12:46:19]    + title 1, chapter(s) 1 to 1
[12:46:19]    + container: matroska
[12:46:19]  * destination
[12:46:19]    + D:\MKV\Indiana Jones and the Kingdom of the Crystal Skull\KotCS.mkv
[12:46:19]    + container: Matroska (.mkv)
[12:46:19]  * video track
[12:46:19]    + decoder: h264
[12:46:19]    + frame rate: same as source (around 24.000 fps)
[12:46:19]    + loose anamorphic
[12:46:19]      + modulus: 0
[12:46:19]      + storage dimensions: 1920 * 1080 -> 1920 * 1072, crop 0/0/0/0
[12:46:19]      + pixel aspect ratio: 127 / 128
[12:46:19]      + display dimensions: 1905 * 1072
[12:46:19]    + filters
[12:46:19]      + Detelecine (pullup) (default settings)
[12:46:19]      + Decomb (default settings)
[12:46:19]    + encoder: x264
[12:46:19]      + options: b-adapt=2:rc-lookahead=10
[12:46:19]      + quality: 18.00 (RF)
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[12:46:19] dvd: not a dvd - trying as a stream/file instead
[12:46:19] yadif thread started for segment 0
[12:46:19] yadif thread started for segment 1
[12:46:19] yadif thread started for segment 2
[12:46:19] yadif thread started for segment 3
[12:46:19] yadif thread started for segment 4
[12:46:19] yadif thread started for segment 5
[12:46:19] yadif thread started for segment 6
[12:46:19] yadif thread started for segment 7
[12:46:19] decomb thread started for segment 0
[12:46:19] decomb thread started for segment 1
[12:46:19] decomb thread started for segment 2
[12:46:19] decomb thread started for segment 3
[12:46:19] decomb thread started for segment 4
[12:46:19] decomb thread started for segment 5
[12:46:19] decomb thread started for segment 6
[12:46:19] decomb thread started for segment 7
[12:46:19] encx264: keyint-min: 24, keyint-max: 240
[12:46:19] encx264: encoding with stored aspect 127/128
[12:46:19] encx264: Encoding at constant RF 18.000000
x264 [info]: using SAR=127/128
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
[12:46:19] reader: first SCR 0 id 0 DTS 0
x264 [info]: profile High, level 4.0
[12:46:19] sync: expecting 176481 video frames
x264 [error]: malloc of size 2253824 failed
x264 [error]: malloc of size 2253824 failed
x264 [error]: malloc of size 2253824 failed
x264 [error]: malloc of size 2253824 failed
x264 [error]: malloc of size 2253824 failed
x264 [error]: malloc of size 2253824 failed
x264 [error]: malloc of size 2253824 failed
x264 [error]: malloc of size 2253824 failed
x264 [error]: malloc of size 2253824 failed
x264 [error]: malloc of size 2253824 failed
x264 [warning]: x264 [error]: malloc of size 2253824 failed
internal error (MV out of thread range)
mb type: 7 x264 [error]: malloc of size 2253824 failed

mv: l1r0 (0,x264 [error]: malloc of size 2253824 failed
0) 
limit:x264 [error]: malloc of size 2253824 failed
 160 
mb_xy: x264 [error]: malloc of size 2253824 failed
50,9 
completed: x264 [error]: malloc of size 2253824 failed
120 
x264 [warning]: x264 [error]: malloc of size 2253824 failed
recovering by using intra mode
x264 [warning]: internal error (MV out of thread range)
mb type: 12x264 [error]: malloc of size 2253824 failed
 
mv: l1r0 (0,x264 [error]: malloc of size 2253824 failed
0) 
limit: 16x264 [error]: malloc of size 2253824 failed
0 
mb_xy: 50,x264 [error]: malloc of size 2253824 failed
9 
completed:x264 [error]: malloc of size 2253824 failed
 120 
x264 [warning]: recovering by using intra mode
x264 [warning]: x264 [error]: malloc of size 2253824 failed
internal error (MV out of thread range)
mb type: 12 
x264 [error]: malloc of size 2253824 failed
mv: l1r0 (0,0) 
x264 [error]: malloc of size 2253824 failed
limit: 160 
x264 [error]: malloc of size 2253824 failed
mb_xy: 50,9 
x264 [error]: malloc of size 2253824 failed
completed: -1x264 [error]: malloc of size 2253824 failed
 
x264 [warning]: x264 [error]: malloc of size 2253824 failed
recovering by using intra mode
x264 [warning]: internal error (MV out of thread range)
mb type: x264 [error]: malloc of size 2457600 failed
12 
mv: l1r0 (0,0) 
limit: 160 
mb_xy: 50,9 
completed: -1 
x264 [error]: malloc of size 2457600 failed
x264 [warning]: recovering by using intra mode
x264 [warning]: internal error (MV out of thread range)
mb typx264 [error]: malloc of size 2457600 failed
e: 7 
mv: l1r0 (0,0) 
limit: 160 
mb_xy: 51,9 
completed: -1 x264 [error]: malloc of size 2457600 failed

x264 [warning]: recovering by using intra mode
x264 [error]: malloc of size 2457600 failed
x264 [warning]: internal error (MV out of thread range)
x264 [error]: malloc of size 2457600 failed
mb type: 12 
mv: l1r0 (0,0) 
limit: 160 
mb_xy: 5x264 [error]: malloc of size 2457600 failed
0,9 
completed: -1 
x264 [warning]: recovering by using intra mode
x264 [warning]: internal error (MV out of thread range)
mb typex264 [error]: malloc of size 2457600 failed
: 12 
mv: l1r0 (0,0) 
limit: 160 
mb_xy: 50,9 
completedx264 [error]: malloc of size 2457600 failed
: -1 
x264 [warning]: recovering by using intra mode
x264 [warning]: internal error (MV out of thread range)
mb typex264 [error]: malloc of size 2457600 failed
: 12 
mv: l1r0 (0,0) 
limit: 160 
mb_xy: 50,9 
completed: -x264 [error]: malloc of size 2457600 failed
1 
x264 [warning]: recovering by using intra mode
x264 [warning]: internal error (MV out of thread range)
mb typex264 [error]: malloc of size 2457600 failed
: 7 
mv: l0r0 (0,0) 
limit: 160 
mb_xy: 52,9 
completed: -1 x264 [error]: malloc of size 2457600 failed

x264 [warning]: recovering by using intra mode
x264 [warning]: x264 [error]: malloc of size 2457600 failed
internal error (MV out of thread range)
mb type: 2 
mv: l1r0 (0,x264 [error]: malloc of size 2457600 failed
0) 
limit: 160 
mb_xy: 52,9 
completed: -1 
x264 [warning]: x264 [error]: malloc of size 2457600 failed
recovering by using intra mode
x264 [warning]: internal error (MV out of thread range)
x264 [error]: malloc of size 2457600 failed
mb type: 12 
mv: l1r0 (0,0) 
limit: 160 
mb_xy: 50,9 
completed: -1 
x264 [warning]: recovering by using intra mode
x264 [error]: malloc of size 2457600 failed
x264 [warning]: internal error (MV out of thread range)
mb type: x264 [error]: malloc of size 2457600 failed
7 
mv: l0r0 (0,0) 
limit: 160 
mb_xy: 50,9 
completed: -1 
x264 [warning]: recovering by using intra mode
x264 [warning]: internal error (MV out of thread range)
mb type:x264 [error]: malloc of size 2457600 failed
 2 
mv: l1r0 (0,0) 
limit: 160 
mb_xy: 50,9 
completed: -x264 [error]: malloc of size 2457600 failed
1 
x264 [warning]: recovering by using intra mode
x264 [warning]: x264 [error]: malloc of size 2457600 failed
internal error (MV out of thread range)
mb type: 7 
mv: l0r0 (0x264 [error]: malloc of size 2457600 failed
,0) 
limit: 160 
mb_xy: 50,9 
completed: -1 
x264 [warning]: x264 [error]: malloc of size 2457600 failed
recovering by using intra mode
x264 [warning]: internal error (MV out of thread range)
mb typex264 [error]: malloc of size 2457600 failed
: 2 
mv: l1r0 (0,0) 
limit: 160 
mb_xy: 50,9 
complex264 [error]: malloc of size 2457600 failed
ted: -1 
x264 [warning]: recovering by using intra mode
x264 [warning]: internal error (MV out of thread range)
mb type: 7 
mv: l0r0 (0,34) 
limit: 160 
mb_xy: 53,9 
completed: -1 
x264 [warning]: recovering by using intra mode
x264 [warning]: internal error (MV out of thread range)
mb type: 12 
mv: l1r0 (0,0) 
limit: 160 
mb_xy: 53,9 
completed: -1 
x264 [warning]: recovering by using intra mode
x264 [warning]: internal error (MV out of thread range)
mb type: 12 
mv: l1r0 (0,0) 
limit: 160 
mb_xy: 53,9 
completed: -1 
x264 [warning]: recovering by using intra mode
x264 [warning]: internal error (MV out of thread range)
mb type: 12 
mv: l1r0 (0,0) 
limit: 160 
mb_xy: 53,9 
completed: -1 
x264 [warning]: recovering by using intra mode
x264 [warning]: internal error (MV out of thread range)
mb type: 7 
mv: l0r0 (0,0) 
limit: 160 
mb_xy: 54,9 
completed: -1 
x264 [warning]: recovering by using intra mode
x264 [warning]: internal error (MV out of thread range)
mb type: 2 
mv: l1r0 (0,0) 
limit: 160 
mb_xy: 54,9 
completed: -1 
x264 [warning]: recovering by using intra mode
x264 [warning]: internal error (MV out of thread range)
mb type: 12 
mv: l1r0 (0,0) 
limit: 160 
mb_xy: 54,9 
completed: -1 
x264 [warning]: recovering by using intra mode
x264 [warning]: internal error (MV out of thread range)
mb type: 12 
mv: l1r0 (0,0) 
limit: 160 
mb_xy: 54,9 
completed: -1 
x264 [warning]: recovering by using intra mode
x264 [warning]: internal error (MV out of thread range)
mb type: 12 
mv: l1r0 (0,0) 
limit: 160 
mb_xy: 54,9 
completed: -1 
x264 [warning]: recovering by using intra mode

User avatar
Rodeo
HandBrake Team
Posts: 12619
Joined: Tue Mar 03, 2009 8:55 pm

Re: CLI stopped working

Post by Rodeo »

s55 wrote:On the advanced tab, change :rc-lookahead=50 to :rc-lookahead=10

or use the snapshot.
Emphasis mine.

http://forum.handbrake.fr/viewtopic.php?f=6&t=13969
flyboy
Posts: 1
Joined: Mon Jan 18, 2010 9:42 pm

Re: CLI stopped working

Post by flyboy »

I don't seem to have anyplace on my advanced tab to make these settings?
Post Reply