The invention concerns a process for treating a hydrocarbon feed comprising a series of a first upstream process for hydrocarbon hydroconversion comprising at least one reaction chamber, the reaction or reactions occurring inside said chambers and employing at least one solid phase, at least one liquid phase and at least one gas phase, and a second downstream steam reforming process comprising at least one reaction chamber, characterized in that the said upstream process is carried out in a “slurry” and / or an ebullated bed mode and in that the downstream process comprises a first step for at least partial conversion of hydrocarbons heavier than methane into methane, termed the pre-reforming step, and in that the reaction or reactions occurring inside the chambers of the downstream stream reforming process enables the production of a reagent, namely hydrogen, which is necessary for the reactions in the first upstream process.