[vlc-devel] commit: Improved rtjpeg and seek NUV demuxer support. ( Gertjan Van Droogenbroeck )

git version control git at videolan.org
Mon Aug 25 18:43:49 CEST 2008


vlc | branch: master | Gertjan Van Droogenbroeck <gertjanvd+vlc at gmail.com> | Mon Aug 25 13:58:18 2008 +0200| [c42248cf7c4cec9a7f33c6e2291315ee5f11abb6] | committer: Laurent Aimar 

Improved rtjpeg and seek NUV demuxer support.

The changes to the nuv demuxer are:
 - aspect ratio is now used
 - only key frames are used for seeking / index table
 - if there is a seektable it is now used (in a seekable stream)
 - GET_LENGTH is set correctly when a seektable is available, if there
isn't a seektable it will make a guess based on the position in the
stream and the stream size
 - seek support improved, it checks if the stream is seekable and it
also checks if the stream is not changing in size (recording)
 - support for rtjpeg decoder

The demuxer was tested on Windows and Linux with a samba share with
recordings from a mythbackend. I have also tested this with MythWeb
with HTTP Direct Download and ASX Stream. If it is detected that the
stream is not seekable (for example the HTTP stream) it will fall back
to the way it worked before and keep fetching new frames until the
position is reached. If you seek to a position before the current
position it will now give a warning.

If a recording is in progress the stream size will change. This will
be detected and then only forward seeking is possible, because
changing the stream pointer on the recorded file failed (at least it
did using the network share).

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

 modules/demux/nuv.c |  397 ++++++++++++++++++++++++++++++++++++++++-----------
 1 files changed, 313 insertions(+), 84 deletions(-)

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



More information about the vlc-devel mailing list