OutputFile: add getter for format context
Transcoder: compute progress duration from output format context
Transcoder: use av_q2d to compute progress duration
Transcoder: switch progress duration computing members (for using automatic cast to double)
Merge pull request #133 from valnoel/fix_progress_bar_length

Fix progress bar length