examples/avcodec: split the remaining two examples into separate files