Page 1 of 1

Error Code Reasons

Posted: Tue Aug 28, 2018 10:08 am
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.

Re: Error Code Reasons

Posted: Tue Aug 28, 2018 1:13 pm
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

Re: Error Code Reasons

Posted: Tue Aug 28, 2018 3:14 pm
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.

Re: Error Code Reasons

Posted: Tue Aug 28, 2018 3:38 pm
by mduell
Upgrade to the latest release while you're at it.

Re: Error Code Reasons

Posted: Wed Aug 29, 2018 5:07 am
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.

Re: Error Code Reasons

Posted: Wed Aug 29, 2018 3:56 pm
by JohnAStebbins
HandBrake has no such error code and I've never seen that value emitted when running HandBrake.

Re: Error Code Reasons

Posted: Thu Aug 30, 2018 5:02 am
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 ?

Re: Error Code Reasons

Posted: Thu Aug 30, 2018 5:50 am
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.

Re: Error Code Reasons

Posted: Thu Aug 30, 2018 9:23 am
by visolve
Thanks for the response. Appreciate it.