Extra library needed for audio resampling.

Signed-off-by: Michel Verbraak <info@1st-setup.nl>
Added functionality to use avcodec_encode_video2 functionality.

Signed-off-by: Michel Verbraak <info@1st-setup.nl>