Hi,
the attached vdr-1.5.9-h264.patch adds H.264 support to VDR's remuxer. The changes to earlier releases are:
- H264::cParser has been enhanced to provide information for H264::cContext::GetFramesPerSec() and therefore outsourced into separate files. - cVideoRepacker generates Access Unit Delimiters in case they are not part of the stream.
These changes should make VDR ready for the upcoming IFA fair in regard to the broadcasts on the temporary channel EinsFestival HD.
The other attached patch vdr-1.5.9-framespersec.patch tries to replace the macro FRAMESPERSEC by a function call GetFramesPerSec() which analyses a recordings first video frame to determine frames per second which are used to calculated a recordings length. The changes to earlier releases are:
- add support for H.264 recordings by making use of the above mentioned H264::cParser, as frame timing stuff is quite complex. H.264 support can be turned off by putting a comment around the macro ADD_H264_SUPPORT in tools.c.
This change provides correct recording length reports for recordings taken on EinsFestival HD as this channel broadcasts 50p, i. e. without the patch, VDR will report recording times which are twice the actual time.
The patch in general may especially be useful for people with PAL and NTSC recordings, as in this scenario it was never possible to find a single setting for FRAMESPERSEC. Although FRAMESPERSEC has been replaced on many locations, it is still used to read/write cutting marks file, to stay compatible.
Have fun while expecting the next vdr-xine-release ;-)
Bye.