US meat processor Smithfield Foods has announced that it will invest US$20m to build a facility that converts swine waste into biodiesel vehicle fuel.