]> granicus.if.org Git - handbrake/commit
Various fixes for ffmpeg input files (mp4, avi, mkv, etc.):
authorvan <vanj.hb@gmail.com>
Thu, 11 Sep 2008 04:05:04 +0000 (04:05 +0000)
committervan <vanj.hb@gmail.com>
Thu, 11 Sep 2008 04:05:04 +0000 (04:05 +0000)
commit3053f495fe52dcdd38db2b104d2ea392dfc6761e
treea84470359a66888a918581708fecce53bc78f384
parentb9fb350aea3bb37349f24d6b33341b2644407588
Various fixes for ffmpeg input files (mp4, avi, mkv, etc.):
 - always use source time stamps (HB vfr mpeg4 files now handled correctly)
 - handle Microsoft's braindead "VFW packed b-frames"
 - compute average video frame rate from total duration & number of frames (ignore ffmpeg's frame rate which is closer to a max f.r. for vfr video).
 - workaround an ffmpeg audio decode abort when it used SSE instructions on unaligned buffers.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1687 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb/decavcodec.c
libhb/reader.c
libhb/stream.c