The process is characterized in particular by high flexibility, so that it can easily be adapted to changing conditions, especially as regards varying concentrations and compositions of hydrocarbons in the stream of gas and the incident amounts of crude gas or waste gas.