Valorization of wastes, "end of waste" and by-products using hot and cold techniques