HandbrakeCLI Crash.

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.
Wos
Posts: 20
Joined: Sat Nov 19, 2011 4:22 pm

HandbrakeCLI Crash.

Post by Wos »

Greetings, i am using Handbrake for sometime now, and its the first time i have a problem with it.

http://www.youtube.com/watch?v=rWMX5lSv ... y_received

I follow the instructions given on the above video, Using Sony Vegas 11 64bit in Win 7, rendering my video as uncompressed using Avid LE 2.3.4 Codecs and then importing it to Handbrake in order to compress it using x264.

Until now i had no problem using the above procedure with files ~2giga, but today i came up with an uncompressed file of about 35gigs and i keep geting error when i try to import to handbrake.

More about the error:
HandbrakeCLI.exe is crashing.Windows report:

Code: Select all

Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	HandBrakeCLI.exe
  Application Version:	0.0.0.0
  Application Timestamp:	4d2216a1
  Fault Module Name:	HandBrakeCLI.exe
  Fault Module Version:	0.0.0.0
  Fault Module Timestamp:	4d2216a1
  Exception Code:	c0000005
  Exception Offset:	0001ae21
  OS Version:	6.1.7601.2.1.0.256.4
  Locale ID:	1032
  Additional Information 1:	0a9e
  Additional Information 2:	0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:	0a9e
  Additional Information 4:	0a9e372d3b4ad19135b953a78882e789
Activity Window:

Code: Select all

# Windows GUI 0.9.5 2011010300
# Running: Microsoft Windows NT 6.1.7601 Service Pack 1
# CPU: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
# Ram: 4079 MB
# Screen: 1680x1050
# Temp Dir: C:\Users\TheoKondak\AppData\Local\Temp\
# Install Dir: C:\Program Files (x86)\Handbrake
# Data Dir: C:\Users\TheoKondak\AppData\Roaming\HandBrake\HandBrake\0.9.5.3728

-------------------------------------------

Query:  -i "G:\Ver 0.01.mov" -t0  -v 
[18:32:06] hb_init: checking cpu count
[18:32:06] hb_init: starting libhb thread
HandBrake 0.9.5 (2011010300) - MinGW i386 - http://handbrake.fr
4 CPUs detected
Opening G:\Ver 0.01.mov...
[18:32:06] hb_scan: path=G:\Ver 0.01.mov, title_index=0
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening G:\Ver 0.01.mov/BDMV/index.bdmv
libbluray/bluray.c:960: nav_get_title_list(G:\Ver 0.01.mov) failed (0x182fd70)
[18:32:06] bd: not a bd - trying as a stream/file instead
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
[18:32:06] dvd: not a dvd - trying as a stream/file instead
[18:32:06] file is MPEG Program Stream
When i import smaller files Handbrake, works just fine.

Thanks in advance.
Deleted User 13735

Re: HandbrakeCLI Crash.

Post by Deleted User 13735 »

Avid LE 2.3.4 does not render uncompressed. But that is not your problem.
Handbrake 0.9.5 will not open 10-bit DNxHD (the default). It will open 8-bit.
The newer nightlies will open DNxHD 10-bit.
Wos
Posts: 20
Joined: Sat Nov 19, 2011 4:22 pm

Re: HandbrakeCLI Crash.

Post by Wos »

Thanks for thy answer.I rendered at 8bit and not 10bit, so i don't think this is the issue.

Code: Select all

Color Levels: 709
Alpha: None
Resolutions: 1080p/25 DNxHD 120 8-bit
The above are the settings i used to render from Sony Vegas.
Deleted User 13735

Re: HandbrakeCLI Crash.

Post by Deleted User 13735 »

OK, here are a couple of thoughts for you.
Does your computer have sufficient RAM and hard drive space to do such a big encode?
If there are any nested events in your project, replace them with the actual events.
Place a 16-16-16 blocking track on the bottom-most track. Even a bit of stray alpha can cause a problem.
http://dl.dropbox.com/u/20519276/16Block.png
Wos
Posts: 20
Joined: Sat Nov 19, 2011 4:22 pm

Re: HandbrakeCLI Crash.

Post by Wos »

Well sorry but i am not familiar with nested and actual events terminology for Sony Vegas.By nested events you mean a lot of effects and timelines in a single project?If thats so, i can't see how an internal SV procedure can affect HandBrake.
Deleted User 13735

Re: HandbrakeCLI Crash.

Post by Deleted User 13735 »

Have you tried a nightly version of Handbrake?
Is that your full encode log above?

A nested event is a project in a project in Vegas Pro. It is not in Vegas Movie Studio.
i can't see how an internal SV procedure can affect HandBrake.
Well it does, and I have experienced it. DNxHD doesn't like even a smidgen of stray alpha. Adding the blocking track has solved it for other users (YMMV).
After adding a blocking track to a different video (an even larger one) HB opened it.
http://www.sonycreativesoftware.com/for ... eID=777620
Wos
Posts: 20
Joined: Sat Nov 19, 2011 4:22 pm

Re: HandbrakeCLI Crash.

Post by Wos »

About the blocking track, i have to add the levels adjustment to the black Solid Color Generated Media only?That seems to give the desirable results according to your screen.In the video tutorial though, he doesn't seem to use a blocking track.

I haven't tried nightly version, but i will do now (after i rerender the footage).

The encode log is the full encode log yes.

Thanks for explaining what is a nested event.I got it now.The project had no nested events, and actually it was a pretty simple project, just with some color correction and curves adjustments.

EDIT: I tried svn4360 Nigtly Version and the file was imported with no problem at all!
Deleted User 13735

Re: HandbrakeCLI Crash.

Post by Deleted User 13735 »

In the video tutorial though, he doesn't seem to use a blocking track.
"He" is me. And showing how to do that is on the list for the next tutorial.
EDIT: I tried svn4360 Nigtly Version and the file was imported with no problem at all!
Glad you got it sorted.
Wos
Posts: 20
Joined: Sat Nov 19, 2011 4:22 pm

Re: HandbrakeCLI Crash.

Post by Wos »

Ah i see.You did a very nice tutorial and thank you.From now on i will be using the blocking track technique.Actually i might rerender the video with the blocking track technique and retry on the standard version of HandBrake to see if the issue persists, just for research purposes.

Thanks for the support.
Deleted User 13735

Re: HandbrakeCLI Crash.

Post by Deleted User 13735 »

Please let me know the results of your test, either here or on the Vegas forum.

I added a note to the Youtube description suggesting they download a nightly rather than 0.9.5.

Disclaimer: Although I produced the video tutorial, the voice isn't me. I'm just a Colorado farmboy.
But I was able to get one of the talent from the ubiquitous "Dr. Who" series on BBC to do the narrative. Fun!
Wos
Posts: 20
Joined: Sat Nov 19, 2011 4:22 pm

Re: HandbrakeCLI Crash.

Post by Wos »

Sure i will let you know about the results in this thread.

I can't really get how you got the voice from the ubiquitous "Dr. Who" but all i can say is that the voice in the video is AMAZING.I love it. ^_^
Deleted User 13735

Re: HandbrakeCLI Crash.

Post by Deleted User 13735 »

The actor donated at least ten hours of his own time to record the narration segments for us. Now that I look at it again, it really wouldn't have been the same without him!
Wos
Posts: 20
Joined: Sat Nov 19, 2011 4:22 pm

Re: HandbrakeCLI Crash.

Post by Wos »

Well i am not sure what changes occured in the latest Nightly Version, but i want to make it clear, that the problem i had was only for a very large file (35GB). Smaller files (i work a lot with files ~2-5giga) are working fine.This comment is on your new description in the tutorial in youtube.

Thats sweet!He really got a unique voice!Maybe you should add some credits in video description?
Deleted User 13735

Re: HandbrakeCLI Crash.

Post by Deleted User 13735 »

Credits are at 09:57 and again at 13:57 in the video itself.
Wos
Posts: 20
Joined: Sat Nov 19, 2011 4:22 pm

Re: HandbrakeCLI Crash.

Post by Wos »

i missed that, sorry.
Wos
Posts: 20
Joined: Sat Nov 19, 2011 4:22 pm

Re: HandbrakeCLI Crash.

Post by Wos »

Well, i rendered the project with Blocking Track and the file size was reduced to about 22GB.Is that normal?Also, i reinstalled the latest (not nightly) version of Handbrake and the file was successfully imported.
Deleted User 13735

Re: HandbrakeCLI Crash.

Post by Deleted User 13735 »

I don't know what happens when there is stray alpha on the timeline and you render to Avid with alpha turned off, but I have had inconsistent results too. The file size difference may suggest DNxHD is trying to render alpha anyway or is just getting confused. I don't know what the issue of short vs. long files is, maybe just memory depletion. Using the blocking track in all cases is an often overlooked but important step, as doing so preserves rec 709 colorspace by not allowing 0 black levels.

In any event:
1) Using the blocking track works with 0.9.5, yes?
2) The newer nightlies with updated libav work with or without blocking track, yes?
3) 10-bit decoding is now supported, yes!
So we are all happy as clams.
Wos
Posts: 20
Joined: Sat Nov 19, 2011 4:22 pm

Re: HandbrakeCLI Crash.

Post by Wos »

1) confirmed.
2)confirmed.

Even though it could by some other seemingly random factor that changed during the last couple of days, that had some effect on the second try.
Wos
Posts: 20
Joined: Sat Nov 19, 2011 4:22 pm

Re: HandbrakeCLI Crash.

Post by Wos »

After couple of months, i was in need of exporting another big file and unfortunately, i hit on the same error on Handbrake.So, i thought instead of creating another thread, i should resurrect this one, since we will have a history of things we tried in the past in order to resolve this issue.

Inforfmation about the error:
:arrow: Again, i rendered the video according to http://www.youtube.com/watch?v=rWMX5lSv ... y_received
on Avid DNxHD i used Color Levels 709 , Alpha : None , Resolutions 1080p/25 DNxHD 185 10-bit and 8-bit.
:arrow: The file is almost 100gigabite for a video of about 1:15' .
:arrow: Audio Stream is Uncompressed 16bit depth and stereo.
:arrow: I used the block trick mentioned above, i had no nested events at all.
:arrow: I used couple of Vegas addons like Magic Bullet Looks and Prodad Mercalli 2.
:arrow: Version of Sony Vegas is Sony Vegas pro 11 (build 510) 32bit.
:arrow: Codec Version Avid DNxHD Codec v2.3.2
:arrow: Handbrake Versions tried both latest stable ( 0.9.5 Win GUI) and latest Nightly (svn4403 (2012010801).

While i render a small portion of the video lets say 1minute length (Sometimes using both Magic Bullet and Mercalli), the footage is being loaded correctly on both versions of Handbrake.

When i try to load the full project, i keep getting an CLI Crash error which goes like that:

On app crash:
HandbrakeCLI.exe has stopped working.


Problem Details:

Code: Select all

Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	HandBrakeCLI.exe
  Application Version:	0.0.0.0
  Application Timestamp:	4f09107d
  Fault Module Name:	HandBrakeCLI.exe
  Fault Module Version:	0.0.0.0
  Fault Module Timestamp:	4f09107d
  Exception Code:	c0000005
  Exception Offset:	000000000001fa62
  OS Version:	6.1.7601.2.1.0.256.4
  Locale ID:	1032
  Additional Information 1:	449b
  Additional Information 2:	449bc276e0108e1f9f52359362bca578
  Additional Information 3:	cca8
  Additional Information 4:	cca83d501ba0d2c33b082ebc69b4c543
Error message in Handbrake: No Title found.

Your Source may be copy protected, badly mastered or in a format which Handbrake does not support.

While the Activity Window on Handbrake goes like that:

Code: Select all

HandBrake svn4403 2012010801
OS: Microsoft Windows NT 6.1.7601 Service Pack 1
CPU: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
Ram: 4079 MB, Screen: 1680x1050
Temp Dir: C:\Users\TheoKondak\AppData\Local\Temp\
Install Dir: E:\Program Files (x86)\Handbrake
Data Dir: C:\Users\TheoKondak\AppData\Roaming\HandBrake\HandBrake\0.9.5.4402

-------------------------------------------
 -i "G:\Olympos Final.mov" -t0  --min-duration=10 -v 
[16:19:10] hb_init: starting libhb thread
HandBrake svn4403 (2012010801) - MinGW x86_64 - http://handbrake.fr
4 CPUs detected
Opening G:\Olympos Final.mov...
[16:19:10] hb_scan: path=G:\Olympos Final.mov, title_index=0
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening G:\Olympos Final.mov/BDMV/index.bdmv
libbluray/bluray.c:1471: nav_get_title_list(G:\Olympos Final.mov) failed (0000000001BBD260)
[16:19:10] bd: not a bd - trying as a stream/file instead
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
[16:19:10] dvd: not a dvd - trying as a stream/file instead
[16:19:10] file is MPEG Program Stream
[16:19:57] Probing 2 unknown streams
Deleted User 13735

Re: HandbrakeCLI Crash.

Post by Deleted User 13735 »

Codec Version Avid DNxHD Codec v2.3.2
I'm betting there's your problem. 2.3.2 was notorious for instability in Windows -- might work one time but not the next.
The tutorial was written around DNxHD 2.3.4
Are you using a recent nightly build of Handbrake? DNxHD support is greatly improved!
DNxHD 2.3.7 has been released, but I was not able to get the newest 440Mbps template (made esp. for Alexa) to work with Handbrake.
Wos
Posts: 20
Joined: Sat Nov 19, 2011 4:22 pm

Re: HandbrakeCLI Crash.

Post by Wos »

Thanks for the reply.Had no idea that latest version of DNxHD was 2.3.4.Installed now and gonna render.By the way, the footage can be played, but only in Quicktime Player.Is there any reason for me to upgrade to 2.3.7? 440mbps video rate?Why you should need so much?
Deleted User 11865

Re: HandbrakeCLI Crash.

Post by Deleted User 11865 »

HandBrake's MPEG-PS demuxer is (again) misdetecting the MOV files as MPEG-PS… :-(

We'd need to see the first 500 KB or so of the file - not sure how to cut it under Windows, however.

It seems to be the same issue as the OP's, BTW.
Wos
Posts: 20
Joined: Sat Nov 19, 2011 4:22 pm

Re: HandbrakeCLI Crash.

Post by Wos »

I will be rendering the footage tonight with 2.3.4 Version of DNxHD.I am not sure how to do that either.Is there a way to be done in Linux?If yes please say, i might have some Ubuntu Available.
Deleted User 11865

Re: HandbrakeCLI Crash.

Post by Deleted User 11865 »

Something like this should work (the output should be the first ~1 MB of the input):

Code: Select all

dd if=/path/to/input/file of=/path/to/output/file bs=192 count=5460
Deleted User 13735

Re: HandbrakeCLI Crash.

Post by Deleted User 13735 »

Is there any reason for me to upgrade to 2.3.7? 440mbps video rate?Why you should need so much?
For us mortals, there is no reason to use 2.3.7. Other than the new templates, it seems identical to 2.3.4. And it could be quite some time before libav is updated to accommodate those new templates.

The one place where a bitrate that high might be useful is as an intermediate from short CG/Animation projects. I have tested the 10-bit 440Mbps render, and it is truly remarkable for a Y'(CbCr) codec.
Post Reply