fixed demuxer crash
increase circular buffer size
adding debug log to write_header
introduce avformat_find_stream_info_only_video