Early exit.

HandBrake for Mac 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
ncc1701d
Posts: 12
Joined: Sun Dec 14, 2008 5:35 pm

Early exit.

Post by ncc1701d »

With great trepidation I submit my "please help me" post. The search I did came up with a thread for "developer discussion & Patch submission only" - way out of my depth :shock:

80% of encoding work well (appletv setting), but 20% I get a fast blue line going to 100% and it appears to hang (end of activity log says "exit early").

Thanks

Code: Select all

[19:18:32] macgui: Handbrake Version: 0.9.3 (2008112300)
[19:18:32] hb_init: checking cpu count
[19:18:32] hb_init: starting libhb thread
[19:18:32] hb_init: checking cpu count
[19:18:32] hb_init: starting libhb thread
[19:18:48] macgui: trying to open video_ts folder (parent directory chosen)
[19:18:48] hb_scan: path=/Users/Drew/Movies/Alien Title 1/VIDEO_TS/Alien Title 1.VOB, title_index=0
[19:18:48] scan: trying to open with libdvdread
[19:18:48] dvd: not a dvd - trying as a stream/file instead
[19:18:48] file is MPEG DVD Program Stream
[19:18:49] add_audio_to_title: added AC3 audio stream 0x89bd
[19:18:49] add_audio_to_title: added AC3 audio stream 0x83bd
[19:18:49] add_audio_to_title: added AC3 audio stream 0x82bd
[19:18:49] add_audio_to_title: added AC3 audio stream 0x80bd
[19:18:49] add_audio_to_title: added AC3 audio stream 0x84bd
[19:18:49] add_audio_to_title: unknown audio stream type 0x31bd
[19:18:49] scan: decoding previews for title 1
[19:18:49] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=448000 Unknown (AC3) (5.1 ch)
[19:18:49] scan: audio 0x83bd: AC-3, rate=48000Hz, bitrate=192000 Unknown (AC3) (2.0 ch)
[19:18:49] scan: audio 0x82bd: AC-3, rate=48000Hz, bitrate=192000 Unknown (AC3) (2.0 ch)
[19:18:49] scan: audio 0x84bd: AC-3, rate=48000Hz, bitrate=96000 Unknown (AC3) (Dolby Surround)
[19:18:49] scan: audio 0x89bd: AC-3, rate=48000Hz, bitrate=512000 Unknown (AC3) (3.0 ch)
[19:18:50] scan: 10 previews, 720x480, 23.976 fps, autocrop = 54/58/0/0, aspect 16:9, PAR 32:27
[19:18:50] scan: title (0) job->width:720, job->height:304
[19:18:50] libhb: scan thread found 1 valid title(s)
[19:18:51] macgui: ScanDone state received from fHandle
[19:20:25] macgui: Rip: Pending queue count is 0
[19:20:27] macgui: scanning specifically for title: 1
[19:20:27] macgui: performNewQueueScan currentQueueEncodeIndex is: 0
[19:20:27] hb_scan: path=/Users/Drew/Movies/Alien Title 1/VIDEO_TS/Alien Title 1.VOB, title_index=1
[19:20:27] scan: trying to open with libdvdread
[19:20:27] dvd: not a dvd - trying as a stream/file instead
[19:20:27] file is MPEG DVD Program Stream
[19:20:27] add_audio_to_title: added AC3 audio stream 0x89bd
[19:20:27] add_audio_to_title: added AC3 audio stream 0x83bd
[19:20:27] add_audio_to_title: added AC3 audio stream 0x82bd
[19:20:27] add_audio_to_title: added AC3 audio stream 0x80bd
[19:20:27] add_audio_to_title: added AC3 audio stream 0x84bd
[19:20:27] add_audio_to_title: unknown audio stream type 0x31bd
[19:20:27] scan: decoding previews for title 1
[19:20:27] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=448000 Unknown (AC3) (5.1 ch)
[19:20:27] scan: audio 0x83bd: AC-3, rate=48000Hz, bitrate=192000 Unknown (AC3) (2.0 ch)
[19:20:27] scan: audio 0x82bd: AC-3, rate=48000Hz, bitrate=192000 Unknown (AC3) (2.0 ch)
[19:20:27] scan: audio 0x84bd: AC-3, rate=48000Hz, bitrate=96000 Unknown (AC3) (Dolby Surround)
[19:20:27] scan: audio 0x89bd: AC-3, rate=48000Hz, bitrate=512000 Unknown (AC3) (3.0 ch)
[19:20:27] scan: 10 previews, 720x480, 23.976 fps, autocrop = 54/58/0/0, aspect 16:9, PAR 32:27
[19:20:27] scan: title (0) job->width:720, job->height:304
[19:20:27] libhb: scan thread found 1 valid title(s)
[19:20:27] macgui: ScanDone state received from fQueueEncodeLibhb
[19:20:27] macgui: processNewQueueEncode title list is: 1
[19:20:27] macgui: Preset: AppleTV
[19:20:27] macgui: processNewQueueEncode number of passes expected is: 1
[19:20:27] macgui: prepareJob audiotrack 2 is: 3
[19:20:27] macgui: prepareJob exiting
[19:20:27] 1 job(s) to process
[19:20:27] starting job
[19:20:27] job configuration:
[19:20:27]  * source
[19:20:27]    + /Users/Drew/Movies/Alien Title 1/VIDEO_TS/Alien Title 1.VOB
[19:20:27]    + title 1, chapter(s) 1 to 1
[19:20:27]  * destination
[19:20:27]    + /Users/Drew/Desktop/Alien Title 1.m4v
[19:20:27]    + container: MPEG-4 (.mp4 and .m4v)
[19:20:27]      + 64-bit formatting
[19:20:27]      + chapter markers
[19:20:27]  * video track
[19:20:27]    + decoder: mpeg2
[19:20:27]      + bitrate 6299 kbps
[19:20:27]    + frame rate: 23.976 fps -> variable fps
[19:20:27]    + strict anamorphic
[19:20:27]      + storage dimensions: 720 * 480 -> 720 * 480, crop 0/0/0/0
[19:20:27]      + pixel aspect ratio: 32 / 27
[19:20:27]      + display dimensions: 853 * 480
[19:20:27]    + filters
[19:20:27]      + Detelecine (pullup) (default settings)
[19:20:27]      + Deinterlace (ffmpeg or yadif/mcdeint) (-1)
[19:20:27]    + encoder: x264
[19:20:27]      + options: bframes=3:ref=1:subq=5:me=umh:no-fast-pskip=1:cabac=0
[19:20:27]      + bitrate: 2500 kbps, pass: 0
[19:20:27]  * audio track 0
[19:20:27]    + decoder: Unknown (AC3) (5.1 ch) (track 1, id 80bd)
[19:20:27]      + bitrate: 448 kbps, samplerate: 48000 Hz
[19:20:27]    + mixdown: Dolby Pro Logic II
[19:20:27]    + encoder: faac
[19:20:27]      + bitrate: 128 kbps, samplerate: 48000 Hz
[19:20:27]  * audio track 1
[19:20:27]    + decoder: Unknown (AC3) (5.1 ch) (track 1, id 80bd)
[19:20:27]      + bitrate: 448 kbps, samplerate: 48000 Hz
[19:20:27]    + AC3 passthrough
[19:20:27] dvd: not a dvd - trying as a stream/file instead
[19:20:27] reader: first SCR 146
[19:20:27] mpeg2: "Chapter  1" (1) at frame 0 time 10510
[19:20:27] encx264: keyint-min: 24, keyint-max: 240
[19:20:27] encx264: encoding with stored aspect 32/27
x264 [info]: using SAR=32/27
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 PHADD SSE4.1 Cache64
x264 [info]: profile Main, level 3.0
No accelerated IMDCT transform found
No accelerated IMDCT transform found
[19:20:27] sync: expecting 23 video frames
[19:20:27] sync: first pts is 10510
[19:20:27] sync: got too many frames (46), exiting early
Don't know if this computer info will help:
Model Name: iMac
Processor Name: Intel Core 2 Duo
Processor Speed: 3.06 GHz
Number Of Processors: 1
Total Number Of Cores: 2
L2 Cache: 6 MB
Memory: 4 GB
jbrjake
Veteran User
Posts: 4805
Joined: Wed Dec 13, 2006 1:38 am

Re: Early exit.

Post by jbrjake »

Your source is messed up. Bad practice, too, to remaster to a single vob. You should be feeding HB a VIDEO_TS directory.
ncc1701d
Posts: 12
Joined: Sun Dec 14, 2008 5:35 pm

Re: Early exit.

Post by ncc1701d »

Thanks for the reply. When I try to select just the folder Video_TS, it just comes back with "No Valid Source Found". So then I click on the folder to get straight to the .vob file, it seems to work for a lot of rips. If I try and encode any other way, I start to get multiple vob folders and then I have to try and join them all together which I can't seem to do very well.

I was wrong about the numbers of encoding percentage wise. It's more like 90% work and 10% failure. Cheers.
jbrjake
Veteran User
Posts: 4805
Joined: Wed Dec 13, 2006 1:38 am

Re: Early exit.

Post by jbrjake »

ncc1701d wrote:When I try to select just the folder Video_TS, it just comes back with "No Valid Source Found".
I'm saying you should be ripping the entire VIDEO_TS from the DVD instead of screwing with the mastering.
ncc1701d
Posts: 12
Joined: Sun Dec 14, 2008 5:35 pm

Re: Early exit.

Post by ncc1701d »

When I rip with MTR, I select "Mode" and then "Title only Extraction", then select the longest of the titles that appear. If I do it any other way, then when it creates the vob files, they are in multiple folders (within a Video_TS folder). If I then try and use Handbrake, it will only encode the first folder of .vob. So, then my option is to try and join all the encoded vob's (which I haven't been able to to do succesfully yet). Is that what you getting at :oops: So that's why I've just ripped the title only and get one big vob... :? :(
TedJ
Veteran User
Posts: 5388
Joined: Wed Feb 20, 2008 11:25 pm

Re: Early exit.

Post by TedJ »

The correct way of doing this is as follows:-
  1. Rip the disc using MTR using either Full Disc or Main Feature extraction. This will generate a VIDEO_TS folder containing numerous VOB and IFO files.
  2. Using Handbrake, you open the VIDEO_TS folder.
If you have the latest copy of VLC installed, in many cases you can simply select the DVD and work straight from disc.

http://trac.handbrake.fr/wiki/Sources
ncc1701d
Posts: 12
Joined: Sun Dec 14, 2008 5:35 pm

Re: Early exit.

Post by ncc1701d »

jbrjake wrote:
ncc1701d wrote:When I try to select just the folder Video_TS, it just comes back with "No Valid Source Found".
I'm saying you should be ripping the entire VIDEO_TS from the DVD instead of screwing with the mastering.
Thanks Jake, I don't know why I had it in my head that I couldn't use handbrake directly form the disc, without the need to rip it first.
TedJ wrote:The correct way of doing this is as follows:-
  1. Rip the disc using MTR using either Full Disc or Main Feature extraction. This will generate a VIDEO_TS folder containing numerous VOB and IFO files.
  2. Using Handbrake, you open the VIDEO_TS folder.
If you have the latest copy of VLC installed, in many cases you can simply select the DVD and work straight from disc.

http://trac.handbrake.fr/wiki/Sources
Thanks TedJ for the reply. When I first got handbrake, I thought that this was what I was doing. Then, it didn't work for a few dvd's, so I started fiddling with "main feature extraction", "title only" etc. To which the last one worked on more DVD's and created just the one .vob. Except for a few DVD's when I decided to post the first question. Now I've done exactly what you've said and so far it's working perfectly. Obvioulsy I'd thought I was doing the right thing when I wasn't :oops: So, that's my excuse for it looking like I hadn't read all the material, but promise I did! :)

So, thanks for your reply and your restraint :D
Post Reply