Segentation Fault HandBrake CLI - Linux

Support for HandBrake on Linux, Solaris, and other Unix-like platforms
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
hothgremlin
Posts: 3
Joined: Fri Nov 30, 2007 11:20 pm

Segentation Fault HandBrake CLI - Linux

Post by hothgremlin »

Hi there.

Wanted to decode a dvd and am getting segmentation fault over and over again, even after compiling the app myself. Plz help me out if possible.


My System:
x2 64 3000 Mhz
6 gig ram

Code: Select all

./HandBrakeCLI -vi filenamein -o filenameout
Output format couldn't be guessed from file name, using default.
[00:19:49] hb_init: checking cpu count
[00:19:49] hb_init: starting libhb thread
[00:19:49] thread 40800950 started ("libhb")
HandBrake 0.9.1 (2007100800) - http://handbrake.m0k.org/
2 CPUs detected
Opening alterserver/lostinlamancha/...
[00:19:49] hb_scan: path=filepath/, title_index=1
[00:19:49] thread 41001950 started ("scan")
[00:19:49] scan: trying to open with libdvdread
[00:19:49] scan: DVD has 7 title(s)
[00:19:49] scan: scanning title 1
[00:19:49] scan: opening IFO for VTS 1
[00:19:49] pgc_id: 1, pgn: 1: pgc: 0xdcd4a0
[00:19:49] scan: vts=1, ttn=1, cells=0->15, blocks=0->1972747, 1972748 blocks
[00:19:49] scan: duration is 01:29:02 (5342250 ms)
[00:19:49] scan: checking audio 1
[00:19:49] scan: id=80bd, lang=Espanol (AC3), 3cc=spa
[00:19:49] scan: checking audio 2
[00:19:49] scan: id=81bd, lang=English (AC3), 3cc=eng
[00:19:49] scan: checking subtitle 1
[00:19:49] scan: id=20bd, lang=Espanol, 3cc=spa
[00:19:49] scan: checking subtitle 2
[00:19:49] scan: id=21bd, lang=Espanol, 3cc=spa
[00:19:49] scan: title 1 has 16 chapters
[00:19:49] scan: chap 1 c=0->0, b=0->125834 (125835), 351496 ms
[00:19:49] scan: chap 2 c=1->1, b=125835->216995 (91161), 252313 ms
[00:19:49] scan: chap 3 c=2->2, b=216996->384312 (167317), 458579 ms
[00:19:49] scan: chap 4 c=3->3, b=384313->524543 (140231), 377838 ms
[00:19:49] scan: chap 5 c=4->4, b=524544->655103 (130560), 348612 ms
[00:19:49] scan: chap 6 c=5->5, b=655104->774510 (119407), 321609 ms
[00:19:49] scan: chap 7 c=6->6, b=774511->886464 (111954), 300462 ms
[00:19:49] scan: chap 8 c=7->7, b=886465->957139 (70675), 191277 ms
[00:19:49] scan: chap 9 c=8->8, b=957140->1082935 (125796), 338430 ms
[00:19:49] scan: chap 10 c=9->9, b=1082936->1216456 (133521), 361498 ms
[00:19:49] scan: chap 11 c=10->10, b=1216457->1322145 (105689), 284603 ms
[00:19:49] scan: chap 12 c=11->11, b=1322146->1463758 (141613), 380632 ms
[00:19:49] scan: chap 13 c=12->12, b=1463759->1564249 (100491), 268353 ms
[00:19:49] scan: chap 14 c=13->13, b=1564250->1744208 (179959), 481647 ms
[00:19:49] scan: chap 15 c=14->14, b=1744209->1929685 (185477), 506728 ms
[00:19:49] scan: chap 16 c=15->15, b=1929686->1972747 (43062), 118166 ms
[00:19:49] scan: aspect = 12
[00:19:49] scan: decoding previews for title 1
[00:19:49] scan: preview 1
[00:19:49] scan: AC3, rate=48000Hz, bitrate=192000
[00:19:49] scan: AC3, rate=48000Hz, bitrate=192000
[00:19:49] scan: preview 2
[00:19:49] scan: preview 3
[00:19:49] scan: preview 4
[00:19:49] scan: preview 5
[00:19:49] scan: preview 6
[00:19:49] scan: preview 7
[00:19:49] scan: preview 8
[00:19:49] scan: preview 9
Scanning title 1...
[00:19:49] scan: preview 10
[00:19:49] scan: 720x576, 25.000 fps, autocrop = 2/0/2/2
[00:19:49] scan: title (0) job->width:720, job->height:544
[00:19:49] thread 41001950 exited ("scan")
[00:19:49] thread 41001950 joined ("scan")
[00:19:49] libhb: scan thread found 1 valid title(s)
+ title 1:
  + vts 1, ttn 1, cells 0->15 (1972748 blocks)
  + duration: 01:29:02
  + size: 720x576, aspect: 1.33, 25.000 fps
  + autocrop: 2/0/2/2
  + chapters:
    + 1: cells 0->0, 125835 blocks, duration 00:05:51
    + 2: cells 1->1, 91161 blocks, duration 00:04:12
    + 3: cells 2->2, 167317 blocks, duration 00:07:39
    + 4: cells 3->3, 140231 blocks, duration 00:06:18
    + 5: cells 4->4, 130560 blocks, duration 00:05:49
    + 6: cells 5->5, 119407 blocks, duration 00:05:22
    + 7: cells 6->6, 111954 blocks, duration 00:05:00
    + 8: cells 7->7, 70675 blocks, duration 00:03:11
    + 9: cells 8->8, 125796 blocks, duration 00:05:38
    + 10: cells 9->9, 133521 blocks, duration 00:06:01
    + 11: cells 10->10, 105689 blocks, duration 00:04:45
    + 12: cells 11->11, 141613 blocks, duration 00:06:21
    + 13: cells 12->12, 100491 blocks, duration 00:04:28
    + 14: cells 13->13, 179959 blocks, duration 00:08:02
    + 15: cells 14->14, 185477 blocks, duration 00:08:27
    + 16: cells 15->15, 43062 blocks, duration 00:01:58
  + audio tracks:
    + 1, Espanol (AC3) (2.0 ch), 48000Hz, 192000bps
    + 2, English (AC3) (2.0 ch), 48000Hz, 192000bps
  + subtitle tracks:
    + 1, Espanol (iso639-2: spa)
    + 2, Espanol (iso639-2: spa)
[00:19:49] thread 41001950 started ("work")
[00:19:49] 1 job(s) to process
[00:19:49] starting job
[00:19:49]  + device filepath/
[00:19:49]  + title 1, chapter(s) 1 to 16
[00:19:49]  + 720x576 -> 720x544, crop 2/0/2/2
[00:19:49]  + grayscale off
[00:19:49]  + filters
[00:19:49]  + 25.000 fps, video bitrate 1000 kbps, pass 0
[00:19:49]  + PixelRatio: 0, width:720, height: 544
[00:19:49]  + encoder FFmpeg
[00:19:49]  + audio 128 kbps, 44100 Hz
[00:19:49]  + encoder faac
[00:19:49]    + 80bd, Espanol (AC3) (2.0 ch)
[00:19:49]      + Requested mixdown: Dolby Pro Logic II (HB_AMIXDOWN_DOLBYPLII)
[00:19:49]      + Actual mixdown: Stereo (HB_AMIXDOWN_STEREO)
[00:19:49] thread 41802950 started ("reader")
[00:19:49]  + output: lustig
[00:19:49] thread 42003950 started ("muxer")
[00:19:49] thread 42804950 started ("MPEG-2 decoder (libmpeg2)")
[00:19:49] thread 43005950 started ("Renderer")
[mpeg4 @ 0xa914c0]removing common factors from framerate
[00:19:49] thread 43806950 started ("MPEG-4 encoder (libavcodec)")
No accelerated IMDCT transform found
[00:19:49] thread 44007950 started ("AC3 decoder")
[00:19:49] DVD: Beginning of Cell (0) at block 0
[00:19:49] thread 44808950 started ("AAC encoder (libfaac)")
[00:19:49] sync: expecting 133581 video frames
[00:19:49] sync: first pts is 33054
Segmentation fault

with best regards,
hg
Polygon
Novice
Posts: 72
Joined: Wed Oct 24, 2007 1:36 pm

Post by Polygon »

what dvd?
hothgremlin
Posts: 3
Joined: Fri Nov 30, 2007 11:20 pm

Post by hothgremlin »

I do not think it's the DVD. Tried it with different ones; like this one:

Code: Select all

../HandBrakeCLI -Lvi . -o test
Output format couldn't be guessed from file name, using default.
[20:32:50] hb_init: checking cpu count
[20:32:50] hb_init: starting libhb thread
[20:32:50] thread f7c80b90 started ("libhb")
HandBrake 0.9.1 (2007100800) - http://handbrake.m0k.org/
2 CPUs detected
Opening ....
[20:32:50] hb_scan: path=., title_index=0
[20:32:50] thread f747fb90 started ("scan")
[20:32:50] scan: trying to open with libdvdread
[20:32:50] scan: DVD has 18 title(s)
[20:32:50] scan: scanning title 1
[20:32:50] scan: opening IFO for VTS 1
[20:32:50] pgc_id: 1, pgn: 1: pgc: 0x877d1d0
[20:32:50] scan: vts=1, ttn=1, cells=0->0, blocks=0->676, 677 blocks
[20:32:50] scan: title too short (677 blocks), ignoring
[20:32:50] scan: scanning title 2
[20:32:50] scan: opening IFO for VTS 2
[20:32:50] pgc_id: 1, pgn: 1: pgc: 0x877d2a0
[20:32:50] scan: vts=2, ttn=1, cells=0->0, blocks=0->4, 5 blocks
[20:32:50] scan: title too short (5 blocks), ignoring
[20:32:50] scan: scanning title 3
[20:32:50] scan: opening IFO for VTS 3
[20:32:50] pgc_id: 1, pgn: 1: pgc: 0x877d370
[20:32:50] scan: vts=3, ttn=1, cells=0->0, blocks=0->4, 5 blocks
[20:32:50] scan: title too short (5 blocks), ignoring
[20:32:50] scan: scanning title 4
[20:32:50] scan: opening IFO for VTS 4
[20:32:50] pgc_id: 1, pgn: 1: pgc: 0x877d568
[20:32:50] scan: vts=4, ttn=1, cells=0->15, blocks=0->1772945, 1772946 blocks
[20:32:50] scan: duration is 01:55:01 (6901033 ms)
[20:32:50] scan: checking audio 1
[20:32:50] scan: id=80bd, lang=Korean (AC3), 3cc=kor
[20:32:50] scan: checking audio 2
[20:32:50] scan: id=81bd, lang=Korean (AC3), 3cc=kor
[20:32:50] scan: checking audio 3
[20:32:50] scan: audio channel is not active
[20:32:50] scan: checking audio 4
[20:32:50] scan: id=83bd, lang=Korean (AC3), 3cc=kor
[20:32:50] scan: checking audio 5
[20:32:50] scan: id=84bd, lang=English (AC3), 3cc=eng
[20:32:50] scan: checking audio 6
[20:32:50] scan: id=85bd, lang=Korean (AC3), 3cc=kor
[20:32:50] scan: checking subtitle 1
[20:32:50] scan: id=20bd, lang=English, 3cc=eng
[20:32:50] scan: checking subtitle 2
[20:32:50] scan: id=21bd, lang=Espanol, 3cc=spa
[20:32:50] scan: checking subtitle 3
[20:32:50] scan: id=22bd, lang=English, 3cc=eng
[20:32:50] scan: checking subtitle 4
[20:32:50] scan: id=23bd, lang=English, 3cc=eng
[20:32:50] scan: title 4 has 16 chapters
[20:32:50] scan: chap 1 c=0->0, b=0->161449 (161450), 610662 ms
[20:32:50] scan: chap 2 c=1->1, b=161450->247034 (85585), 336268 ms
[20:32:50] scan: chap 3 c=2->2, b=247035->324389 (77355), 294410 ms
[20:32:50] scan: chap 4 c=3->3, b=324390->405718 (81329), 370471 ms
[20:32:50] scan: chap 5 c=4->4, b=405719->520677 (114959), 444530 ms
[20:32:50] scan: chap 6 c=5->5, b=520678->679976 (159299), 626675 ms
[20:32:50] scan: chap 7 c=6->6, b=679977->773349 (93373), 351280 ms
[20:32:50] scan: chap 8 c=7->7, b=773350->925711 (152362), 562724 ms
[20:32:50] scan: chap 9 c=8->8, b=925712->1044465 (118754), 447389 ms
[20:32:50] scan: chap 10 c=9->9, b=1044466->1224404 (179939), 752920 ms
[20:32:50] scan: chap 11 c=10->10, b=1224405->1299332 (74928), 283411 ms
[20:32:50] scan: chap 12 c=11->11, b=1299333->1413667 (114335), 469407 ms
[20:32:50] scan: chap 13 c=12->12, b=1413668->1505142 (91475), 403474 ms
[20:32:50] scan: chap 14 c=13->13, b=1505143->1615007 (109865), 414550 ms
[20:32:50] scan: chap 15 c=14->14, b=1615008->1708355 (93348), 328581 ms
[20:32:50] scan: chap 16 c=15->15, b=1708356->1772945 (64590), 204272 ms
[20:32:50] scan: aspect = 16
[20:32:50] scan: scanning title 5
[20:32:50] scan: opening IFO for VTS 5
[20:32:50] pgc_id: 1, pgn: 1: pgc: 0x877de28
[20:32:50] scan: vts=5, ttn=1, cells=0->0, blocks=0->87911, 87912 blocks
[20:32:50] scan: duration is 00:10:45 (645166 ms)
[20:32:50] scan: checking audio 1
[20:32:50] scan: id=80bd, lang=English (AC3), 3cc=eng
[20:32:50] scan: checking subtitle 1
[20:32:50] scan: id=20bd, lang=English, 3cc=eng
[20:32:50] scan: title 5 has 1 chapters
[20:32:50] scan: chap 1 c=0->0, b=0->87911 (87912), 645166 ms
[20:32:50] scan: aspect = 12
[20:32:50] scan: scanning title 6
[20:32:50] scan: opening IFO for VTS 6
[20:32:50] pgc_id: 1, pgn: 1: pgc: 0x877e810
[20:32:50] scan: vts=6, ttn=1, cells=0->0, blocks=0->14965, 14966 blocks
[20:32:50] scan: duration is 00:01:49 (109153 ms)
[20:32:50] scan: checking audio 1
[20:32:50] scan: id=80bd, lang=English (AC3), 3cc=eng
[20:32:50] scan: title 6 has 1 chapters
[20:32:50] scan: chap 1 c=0->0, b=0->14965 (14966), 109153 ms
[20:32:50] scan: aspect = 12
[20:32:50] scan: scanning title 7
[20:32:50] scan: opening IFO for VTS 7
[20:32:50] pgc_id: 1, pgn: 1: pgc: 0x877e7a8
[20:32:50] scan: vts=7, ttn=1, cells=0->0, blocks=0->15391, 15392 blocks
[20:32:50] scan: duration is 00:01:53 (113176 ms)
[20:32:50] scan: checking audio 1
[20:32:50] scan: id=80bd, lang=Korean (AC3), 3cc=kor
[20:32:50] scan: checking subtitle 1
[20:32:50] scan: id=20bd, lang=English, 3cc=eng
[20:32:50] scan: title 7 has 1 chapters
[20:32:50] scan: chap 1 c=0->0, b=0->15391 (15392), 113176 ms
[20:32:50] scan: aspect = 12
[20:32:50] scan: scanning title 8
[20:32:50] scan: opening IFO for VTS 8
[20:32:50] pgc_id: 1, pgn: 1: pgc: 0x877f190
[20:32:50] scan: vts=8, ttn=1, cells=0->0, blocks=0->343741, 343742 blocks
[20:32:50] scan: duration is 00:42:06 (2526133 ms)
[20:32:50] scan: checking audio 1
[20:32:50] scan: id=80bd, lang=English (AC3), 3cc=eng
[20:32:50] scan: title 8 has 1 chapters
[20:32:50] scan: chap 1 c=0->0, b=0->343741 (343742), 2526132 ms
[20:32:50] scan: aspect = 16
[20:32:50] scan: scanning title 9
[20:32:50] scan: opening IFO for VTS 9
[20:32:50] pgc_id: 1, pgn: 1: pgc: 0x877f458
[20:32:50] scan: vts=9, ttn=1, cells=0->7, blocks=10->119, 40 blocks
[20:32:50] scan: title too short (40 blocks), ignoring
[20:32:50] scan: scanning title 10
[20:32:50] scan: opening IFO for VTS 9
[20:32:50] pgc_id: 2, pgn: 1: pgc: 0x8788978
[20:32:50] scan: vts=9, ttn=2, cells=0->0, blocks=5->9, 5 blocks
[20:32:50] scan: title too short (5 blocks), ignoring
[20:32:50] scan: scanning title 11
[20:32:50] scan: opening IFO for VTS 9
[20:32:50] pgc_id: 3, pgn: 1: pgc: 0x8788c08
[20:32:50] scan: vts=9, ttn=3, cells=0->0, blocks=20->24, 5 blocks
[20:32:50] scan: title too short (5 blocks), ignoring
[20:32:50] scan: scanning title 12
[20:32:50] scan: opening IFO for VTS 9
[20:32:50] pgc_id: 4, pgn: 1: pgc: 0x8788ed0
[20:32:50] scan: vts=9, ttn=4, cells=0->0, blocks=35->39, 5 blocks
[20:32:50] scan: title too short (5 blocks), ignoring
[20:32:50] scan: scanning title 13
[20:32:50] scan: opening IFO for VTS 9
[20:32:50] pgc_id: 5, pgn: 1: pgc: 0x8789198
[20:32:50] scan: vts=9, ttn=5, cells=0->0, blocks=50->54, 5 blocks
[20:32:50] scan: title too short (5 blocks), ignoring
[20:32:50] scan: scanning title 14
[20:32:50] scan: opening IFO for VTS 9
[20:32:50] pgc_id: 6, pgn: 1: pgc: 0x877f500
[20:32:50] scan: vts=9, ttn=6, cells=0->0, blocks=65->69, 5 blocks
[20:32:50] scan: title too short (5 blocks), ignoring
[20:32:50] scan: scanning title 15
[20:32:50] scan: opening IFO for VTS 9
[20:32:50] pgc_id: 7, pgn: 1: pgc: 0x8789b58
[20:32:50] scan: vts=9, ttn=7, cells=0->0, blocks=80->84, 5 blocks
[20:32:50] scan: title too short (5 blocks), ignoring
[20:32:50] scan: scanning title 16
[20:32:50] scan: opening IFO for VTS 9
[20:32:50] pgc_id: 8, pgn: 1: pgc: 0x8789e60
[20:32:50] scan: vts=9, ttn=8, cells=0->0, blocks=95->99, 5 blocks
[20:32:50] scan: title too short (5 blocks), ignoring
[20:32:50] scan: scanning title 17
[20:32:50] scan: opening IFO for VTS 9
[20:32:50] pgc_id: 9, pgn: 1: pgc: 0x878a138
[20:32:50] scan: vts=9, ttn=9, cells=0->0, blocks=110->114, 5 blocks
[20:32:50] scan: title too short (5 blocks), ignoring
[20:32:50] scan: scanning title 18
[20:32:50] scan: opening IFO for VTS 9
[20:32:50] pgc_id: 10, pgn: 1: pgc: 0x878a448
[20:32:50] scan: vts=9, ttn=10, cells=0->7, blocks=0->109, 40 blocks
[20:32:50] scan: title too short (40 blocks), ignoring
[20:32:50] scan: decoding previews for title 4
[20:32:50] scan: preview 1
[20:32:50] scan: AC3, rate=48000Hz, bitrate=384000
[20:32:50] scan: AC3, rate=48000Hz, bitrate=192000
[20:32:50] scan: AC3, rate=48000Hz, bitrate=192000
[20:32:50] scan: AC3, rate=48000Hz, bitrate=192000
[20:32:50] scan: AC3, rate=48000Hz, bitrate=192000
[20:32:50] scan: preview 2
[20:32:50] scan: preview 3
[20:32:50] scan: preview 4
[20:32:50] scan: preview 5
[20:32:50] scan: preview 6
[20:32:50] scan: preview 7
[20:32:50] scan: preview 8
[20:32:50] scan: preview 9
[20:32:50] scan: preview 10
[20:32:50] scan: 720x480, 29.970 fps, autocrop = 54/58/0/0
[20:32:50] scan: decoding previews for title 5
[20:32:50] scan: preview 1
[20:32:50] scan: AC3, rate=48000Hz, bitrate=192000
[20:32:50] scan: preview 2
[20:32:50] 135.502033s: Progressive -> Interlaced
[20:32:50] scan: preview 3
[20:32:50] scan: preview 4
Scanning title 5 of 18...
[20:32:50] scan: preview 5
[20:32:50] scan: preview 6
[20:32:50] scan: preview 7
[20:32:50] scan: preview 8
[20:32:50] scan: preview 9
[20:32:50] scan: preview 10
[20:32:50] scan: 720x480, 29.970 fps, autocrop = 0/2/0/0
[20:32:50] scan: decoding previews for title 6
[20:32:50] scan: preview 1
[20:32:50] scan: AC3, rate=48000Hz, bitrate=192000
[20:32:50] 13.980633s: Interlaced -> Progressive
[20:32:50] scan: preview 2
[20:32:50] scan: preview 3
[20:32:50] scan: preview 4
[20:32:50] scan: preview 5
[20:32:50] scan: preview 6
[20:32:50] scan: preview 7
[20:32:50] scan: preview 8
[20:32:50] scan: preview 9
Scanning title 6 of 18...
[20:32:50] scan: preview 10
[20:32:50] scan: 720x480, 29.970 fps, autocrop = 54/58/6/4
[20:32:50] scan: decoding previews for title 7
[20:32:50] scan: preview 1
[20:32:50] scan: AC3, rate=48000Hz, bitrate=192000
[20:32:50] scan: preview 2
[20:32:50] 23.590233s: Progressive -> Interlaced
[20:32:50] scan: preview 3
[20:32:50] scan: preview 4
[20:32:50] scan: preview 5
[20:32:50] scan: preview 6
[20:32:50] scan: preview 7
[20:32:50] scan: preview 8
[20:32:51] scan: preview 9
[20:32:51] scan: preview 10
[20:32:51] scan: 720x480, 29.970 fps, autocrop = 100/104/8/4
[20:32:51] scan: decoding previews for title 8
[20:32:51] scan: preview 1
[20:32:51] scan: AC3, rate=48000Hz, bitrate=192000
[20:32:51] 232.665767s: Interlaced -> Progressive
[20:32:51] scan: preview 2
[20:32:51] scan: preview 3
[20:32:51] scan: preview 4
Scanning title 8 of 18...
[20:32:51] scan: preview 5
[20:32:51] scan: preview 6
[20:32:51] scan: preview 7
[20:32:51] scan: preview 8
[20:32:51] scan: preview 9
[20:32:51] scan: preview 10
[20:32:51] scan: 720x480, 29.970 fps, autocrop = 0/0/2/4
[20:32:51] scan: title (0) job->width:720, job->height:304
[20:32:51] scan: title (1) job->width:640, job->height:480
[20:32:51] scan: title (2) job->width:624, job->height:368
[20:32:51] scan: title (3) job->width:624, job->height:272
[20:32:51] scan: title (4) job->width:720, job->height:416
[20:32:51] thread f747fb90 exited ("scan")
[20:32:51] thread f747fb90 joined ("scan")
[20:32:51] libhb: scan thread found 5 valid title(s)
Searching for longest title...
 + Title (0) index 4 has length 6901sec
 + Title (1) index 5 has length 645sec
 + Title (2) index 6 has length 109sec
 + Title (3) index 7 has length 113sec
 + Title (4) index 8 has length 2526sec
Found longest title, setting title to 4
+ title 4:
  + vts 4, ttn 1, cells 0->15 (1772946 blocks)
  + duration: 01:55:01
  + size: 720x480, aspect: 1.78, 29.970 fps
  + autocrop: 54/58/0/0
  + chapters:
    + 1: cells 0->0, 161450 blocks, duration 00:10:11
    + 2: cells 1->1, 85585 blocks, duration 00:05:36
    + 3: cells 2->2, 77355 blocks, duration 00:04:54
    + 4: cells 3->3, 81329 blocks, duration 00:06:10
    + 5: cells 4->4, 114959 blocks, duration 00:07:25
    + 6: cells 5->5, 159299 blocks, duration 00:10:27
    + 7: cells 6->6, 93373 blocks, duration 00:05:51
    + 8: cells 7->7, 152362 blocks, duration 00:09:23
    + 9: cells 8->8, 118754 blocks, duration 00:07:27
    + 10: cells 9->9, 179939 blocks, duration 00:12:33
    + 11: cells 10->10, 74928 blocks, duration 00:04:43
    + 12: cells 11->11, 114335 blocks, duration 00:07:49
    + 13: cells 12->12, 91475 blocks, duration 00:06:43
    + 14: cells 13->13, 109865 blocks, duration 00:06:55
    + 15: cells 14->14, 93348 blocks, duration 00:05:29
    + 16: cells 15->15, 64590 blocks, duration 00:03:24
  + audio tracks:
    + 1, Korean (AC3) (5.1 ch), 48000Hz, 384000bps
    + 2, Korean (AC3) (2.0 ch), 48000Hz, 192000bps
    + 3, Korean (AC3) (2.0 ch), 48000Hz, 192000bps
    + 4, English (AC3) (2.0 ch), 48000Hz, 192000bps
    + 5, Korean (AC3) (2.0 ch), 48000Hz, 192000bps
  + subtitle tracks:
    + 1, English (iso639-2: eng)
    + 2, Espanol (iso639-2: spa)
    + 3, English (iso639-2: eng)
    + 4, English (iso639-2: eng)
[20:32:51] thread f747fb90 started ("work")
[20:32:51] 1 job(s) to process
[20:32:51] starting job
[20:32:51]  + device .
[20:32:51]  + title 4, chapter(s) 1 to 16
[20:32:51]  + 720x480 -> 720x304, crop 54/58/0/0
[20:32:51]  + grayscale off
[20:32:51]  + filters
[20:32:51]  + 29.970 fps, video bitrate 1000 kbps, pass 0
[20:32:51]  + PixelRatio: 0, width:720, height: 304
[20:32:51]  + encoder FFmpeg
[20:32:51]  + audio 128 kbps, 44100 Hz
[20:32:51]  + encoder faac
[20:32:51]    + 80bd, Korean (AC3) (5.1 ch)
[20:32:51]      + Requested mixdown: Dolby Pro Logic II (HB_AMIXDOWN_DOLBYPLII)
[20:32:51]      + Actual mixdown: Dolby Pro Logic II (HB_AMIXDOWN_DOLBYPLII)
[20:32:51] thread f699fb90 started ("reader")
[20:32:51]  + output: test
[20:32:51] thread f619eb90 started ("muxer")
[20:32:51] thread f599db90 started ("MPEG-2 decoder (libmpeg2)")
[20:32:51] thread f519cb90 started ("Renderer")
[mpeg4 @ 0x8514738]removing common factors from framerate
[20:32:51] thread f499bb90 started ("MPEG-4 encoder (libavcodec)")
No accelerated IMDCT transform found
[20:32:51] thread f419ab90 started ("AC3 decoder")
[20:32:51] DVD: Beginning of Cell (0) at block 0
[20:32:51] 0.333667s: Progressive -> Interlaced
[20:32:51] thread f2113b90 started ("AAC encoder (libfaac)")
[20:32:51] sync: expecting 206854 video frames
[20:32:51] sync: first pts is 27027
Encoding: task 1 of 1, 0.03 %Segmentation fault
redraiderbum
Enlightened
Posts: 132
Joined: Thu Jun 21, 2007 3:53 am

Post by redraiderbum »

Try putting in your parameters:

HandBrakeCLI -i Movie/ -e x264 -q .6 -Q -E faac -o "Movie.mp4"

Try something like that and see if it still has a seg fault. The seg faults I've experienced have been from incompatible codecs or parameters.
saintdev
Enlightened
Posts: 146
Joined: Wed Dec 20, 2006 4:17 am

Post by saintdev »

What settings are you using? The command line you used would be very helpful.
riversma
Posts: 1
Joined: Thu Dec 13, 2007 5:47 pm

Segmentation fault

Post by riversma »

saintdev wrote:What settings are you using? The command line you used would be very helpful.
HandBrakeCLI -i Cuban.ts -o VegitarianCubanSandwich.mp4 -f mp4 -e x264 -q .6 -Q -E faac

This is the error message

Encoding: task 1 of 1, 32.00 % (6.71 fps, avg 7.78 fps, ETA 01h19m01s)Segmentation fault (core dumped)

What do i have to do to correct the situation?
bcscomp
Posts: 1
Joined: Sun Dec 30, 2007 3:40 am

Segentation Fault HandBrake CLI - Linux

Post by bcscomp »

Hi all, i had this problem and tracked it down to spaces in directory path. hope this helps
timm
Posts: 2
Joined: Mon Dec 31, 2007 4:04 pm

Segmentation fault

Post by timm »

bcscomp sayed.... Hi all, i had this problem and tracked it down to spaces in directory path. hope this helps
I have no spaces in my directory path????

This is the command I am using on debian etch

Code: Select all

HandBrakeCLI -i "/home/timm/dvd/OCEANS_TWELVE/" -o "home/divx/timm/OCEANS_TWELVE.avi" -e xvid -E ac3 --crop 0:0:0:0  -p  -m  -b 2000 -2  -B 160 -R 48 -v
and I get a Segmentation fault

This is the last few lines of the output

Code: Select all

Encoding: task 1 of 2, 99.99 % (77.71 fps, avg 58.01 fps, ETA 00h00m00s)[15:22:51] DVD: Beginning of Cell (0) at block 0
[15:22:51] sync: first pts is 12026
[15:22:51] encxvid: VOL size is 29 bytes
[15:22:51] muxavi: opening home/divx/timm/OCEANS_TWELVE.avi
Segmentation fault
I can use there very same command on Vista and it works any help would be greatly appriciated.

Thank you in advanced

timm
timm
Posts: 2
Joined: Mon Dec 31, 2007 4:04 pm

I think I know why.....

Post by timm »

I was using

Code: Select all

HandBrakeCLI -i "/home/timm/dvd/OCEANS_TWELVE/" -o "home/divx/timm/OCEANS_TWELVE.avi" -e xvid -E ac3 --crop 0:0:0:0  -p  -m  -b 2000 -2  -B 160 -R 48 -v

insted of

Code: Select all

HandBrakeCLI -i "/home/timm/dvd/OCEANS_TWELVE/" -o "/home/divx/timm/OCEANS_TWELVE.avi" -e xvid -E ac3 --crop 0:0:0:0  -p  -m  -b 2000 -2  -B 160 -R 48 -v
I missed the leading slash in

Code: Select all

-o "/home/divx/timm/OCEANS_TWELVE.avi"
I will let you know how I get on!

timm
Post Reply