[MPlayer-dev-eng] [PATCH] unified timing patch for H264
Pásztor Szilárd
don at tricon.hu
Tue Aug 24 10:29:06 CEST 2010
Here is a modified version again, this time without touching libavcodec.
Return value of the decoder was insufficiently handled in vd_ffmpeg.c anyway
because NULL was returned in all cases of any type of "error", making it
impossible to differentiate between different decoding "errors".
What works:
* all samples in http://samples.mplayerhq.hu/V-codecs/h264/PAFF/ except the
hdforum one (which is badly muxed and never worked without dumping video)
* the sony-hdr-cx6-avchd-interlaced-decoding-problem samples too
* my obscure m2hd.ts too
* the danish_dvb.ts too, now finding correct A-V sync on its own.
I changed some of the PTS recalculation code so that it only kicks in after
A-V sync has been settled. This, I believe, is working quite failsafe now.
I would require samples with 0-sized frames in AVIs or non-coded VOPs in mpeg4
streams to check if they work correctly. Can anyone help me out?
If they are broken, may these cases checked *before* passing data to the
decoder? That could help out.
s.
---------------------------------
| Your dinner is in your cat. |
---------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-h264-timing-20100823.diff
Type: application/octet-stream
Size: 10917 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100824/8785dd60/attachment-0001.obj>
More information about the MPlayer-dev-eng
mailing list