Error Code Reasons

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
visolve
Posts: 4
Joined: Tue Aug 28, 2018 9:59 am

Error Code Reasons

Post by visolve »

Description of problem or question:
We are receiving unknown error during video conversion . Is there any list of error codes and description available ?



Steps to reproduce the problem (If Applicable):




HandBrake version (e.g., 1.0.0):
1.0.4


Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Linux Debian



HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all

Please replace this text with the contents of your log file between the two code tags - OR -  provide a pastebin URL in place of these 3 lines.
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: Error Code Reasons

Post by rollin_eng »

Could you please post your HB logs, instructions can be found here:

https://handbrake.fr/docs/en/latest/hel ... y-log.html
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: Error Code Reasons

Post by JohnAStebbins »

HandBrake has some rather broad categories of error that are used

Code: Select all

HB_ERROR_NONE         = 0,
HB_ERROR_CANCELED     = 1,
HB_ERROR_WRONG_INPUT  = 2,
HB_ERROR_INIT         = 3,
HB_ERROR_UNKNOWN      = 4,
HB_ERROR_READ         = 5
To get a better idea of what the actual error was, it is helpful to see the log. There is often additional information written to the log by the library that triggered the error.
mduell
Veteran User
Posts: 8187
Joined: Sat Apr 21, 2007 8:54 pm

Re: Error Code Reasons

Post by mduell »

Upgrade to the latest release while you're at it.
visolve
Posts: 4
Joined: Tue Aug 28, 2018 9:59 am

Re: Error Code Reasons

Post by visolve »

Thanks for the reply ..
We have integrated HB with our Application .
When we tried to convert video using HB , we are getting some unknown error codes like 127,.. .Yes we can able to get all other codes like 1 , 2 , 3 with respective cause. But when we get unknown error , we couldn't able to find the exact cause of it.
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: Error Code Reasons

Post by JohnAStebbins »

HandBrake has no such error code and I've never seen that value emitted when running HandBrake.
visolve
Posts: 4
Joined: Tue Aug 28, 2018 9:59 am

Re: Error Code Reasons

Post by visolve »

We are getting following unknown error code .

HandBrake Conversion log for PHP_OOP_LoginRegister_System_Log_in_Part_1623_HIGH.mp4 TimeStamp :2018-Aug-30 10:25:12 Encoding: task 1 of 1, 0.00 %Encoding: task 1 of 1, 0.00 %Encoding: task 1 of 1, 0.00 %Encoding: task 1 of 1, 0.29 %Encoding: task 1 of 1, 0.88 %Encoding: task 1 of 1, 1.40 %Encoding: task 1 of 1, 2.00 %Encoding: task 1 of 1, 2.51 %Encoding: task 1 of 1, 3.09 %Encoding: task 1 of 1, 3.66 %Encoding: task 1 of 1, 4.17 %Encoding: task 1 of 1, 4.72 %Encoding: task 1 of 1, 5.27 %Encoding: task 1 of 1, 5.78 %Encoding: task 1 of 1, 6.26 %Encoding: task 1 of 1, 6.82 %Encoding: task 1 of 1, 7.28 %Encoding: task 1 of 1, 7.74 %Encoding: task 1 of 1, 8.20 %Encoding: task 1 of 1, 8.82 %Encoding: task 1 of 1, 9.24 %Encoding: task 1 of 1, 9.64 %Encoding: task 1 of 1, 10.18 %Encoding: task 1 of 1, 10.62 % (391.52 fps, avg 409.05 fps, ETA 00h00m34s)Encoding: task 1 of 1, 11.03 % (391.52 fps, avg 409.05 fps, ETA 00h00m34s)Encoding: task 1 of 1, 11.60 % (391.52 fps, avg 409.05 fps, ETA 00h00m34s)Encoding: task 1 of 1, 12.08 % (391.52 fps, avg 409.05 fps, ETA 00h00m34s)Encoding: task 1 of 1, 12.54 % (391.52 fps, avg 409.05 fps, ETA 00h00m34s)Encoding: task 1 of 1, 12.92 % (379.10 fps, avg 400.12 fps, ETA 00h00m34s)Encoding: task 1 of 1, 13.42 % (379.10 fps, avg 400.12 fps, ETA 00h00m34s)Encoding: task 1 of 1, 13.92 % (379.10 fps, avg 400.12 fps, ETA 00h00m34s)Encoding: task 1 of 1, 14.34 % (379.10 fps, avg 400.12 fps, ETA 00h00m34s)Encoding: task 1 of 1, 14.71 % (379.10 fps, avg 400.12 fps, ETA 00h00m34s)Encoding: task 1 of 1, 15.14 % (359.04 fps, avg 389.81 fps, ETA 00h00m34s)Encoding: task 1 of 1, 15.55 % (359.04 fps, avg 389.81 fps, ETA 00h00m34s)Encoding: task 1 of 1, 15.92 % (359.04 fps, avg 389.81 fps, ETA 00h00m34s)Encoding: task 1 of 1, 16.32 % (359.04 fps, avg 389.81 fps, ETA 00h00m34s) Conversion Status : Handbrake Exited with Unknown Error code(137). Try converting the video again later..

Handbrake process got aborted .
Similar to this we are getting error code (127 ) . Any suggestions on this ?
Woodstock
Veteran User
Posts: 4614
Joined: Tue Aug 27, 2013 6:39 am

Re: Error Code Reasons

Post by Woodstock »

There are linux codes 127 and 137. 127 would be "file not found", and 137 means the process was killed by something.

https://stackoverflow.com/questions/195 ... n-code-137 might apply for the nightly, but it shouldn't apply for 1.0.4.
visolve
Posts: 4
Joined: Tue Aug 28, 2018 9:59 am

Re: Error Code Reasons

Post by visolve »

Thanks for the response. Appreciate it.
Post Reply