Merge pull request #507 from roderickvd/nightly

Fix transcoding runtime errors and add ffmpeg hardware acceleration
Merge pull request #512 from roderickvd/nightly

Fix and improve subtitle extraction
add xbox default. Fixes #513. Minor fix to subs extract. #512
move external subs after transcoding.