[MPlayer-dev-eng] [PATCH] Improving handling of PES files

Christian Aistleitner zaek7q at gmx.net
Tue Jan 23 21:40:22 CET 2007


Hello,

currently PES files typically (at least those I recorded via szap and  
ts2pes) fail to show the correct length of the video stream and have some  
issues with computing
demuxer->priv->has_valid_timestamps. The supplied patch returns the length  
as difference between the last and the first pts within the file, if  
demuxer->priv-has_valid_timestamps holds. Additionally, the computation of  
demuxer->priv->has_valid_timestamps has been seriously reworked. Finally,  
due to more accurate length computation, seeking has been improved further  
for streams with demuxer->priv->has_valid_timestamps.

Kind regards,
Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: improved-pts-validity-checks.diff
Type: application/octet-stream
Size: 8531 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070123/cbeec1b7/attachment.obj>


More information about the MPlayer-dev-eng mailing list