OSDN Git Service

Various fixes for ffmpeg input files (mp4, avi, mkv, etc.):
authorvan <van@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Thu, 11 Sep 2008 04:05:04 +0000 (04:05 +0000)
committervan <van@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Thu, 11 Sep 2008 04:05:04 +0000 (04:05 +0000)
commit93cc037db371d26d7d40f448f76beabe9cdae740
treea84470359a66888a918581708fecce53bc78f384
parent32d9fc65dbcc01d9e1174b9562cc3d73b66bb850
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://localhost/HandBrake/trunk@1687 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb/decavcodec.c
libhb/reader.c
libhb/stream.c