[vlc-devel] commit: rawvideo: Fix timestamps & input options (David Flynn )

git version control git at videolan.org
Fri Nov 7 12:30:22 CET 2008


vlc | branch: master | David Flynn <davidf at rd.bbc.co.uk> | Fri Nov  7 08:43:32 2008 +0000| [cf0633ae4b65fe4a636fb7248950ae4af4bfd48a] | committer: Laurent Aimar 

rawvideo: Fix timestamps & input options

demux:
 - Use accurate timestamps (date_t)
 - Signal frame rate in fmt_out
 - Fix aspect ratio for YUV4MPEG2
 - Reoganise input options to allow sensible overrides
   Ie: extension gussing < yuv4mpeg < cmdline

codec/packetizer:
 - Fix incorrect assumption of 25 fps video
 - Use accurate timestamps (date_t)
 - Copy input format as output format (to preserve frame rate)
 - Set progressive flag per picture

TODO:
 - Have module option for interlaced
 - Detect interlaced in demux for YUV4MPEG2
 - Have codec read set the interlaced flags in the video
 All seems rather tricky for the moment (well, YUV4MPEG2 bit does,
 since the demuxer strips the headers that reveal the interlace
 mode).

Signed-off-by: David Flynn <davidf at rd.bbc.co.uk>
Signed-off-by: Laurent Aimar <fenrir at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cf0633ae4b65fe4a636fb7248950ae4af4bfd48a
---

 modules/codec/rawvideo.c |   52 ++++++----
 modules/demux/rawvid.c   |  254 +++++++++++++++++++++++++++-------------------
 2 files changed, 179 insertions(+), 127 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=cf0633ae4b65fe4a636fb7248950ae4af4bfd48a



More information about the vlc-devel mailing list