[FFmpeg-devel] [PATCH][RFC] TechnoTrend PVA Demuxer

Ivo ivop
Mon Dec 31 01:12:31 CET 2007


Hi,

In order to make it possible to deprecate MPlayer's libmpdemux in the 
future, I started working on a few demuxers that lavf is still missing. 
This is the first one.

http://wiki.multimedia.cx/index.php?title=PVA
http://samples.mplayerhq.hu/PVA/

All samples play correctly.

I did not however implement seeking yet. That's the RFC. How should I 
proceed? There's no index. PVA files are encapsulated MPEG-ES (for video) 
and MPEG-PES (for audio) packets. Should I just rely on the caller 
(MPlayer, ...) feeding it a new byte-position and resync on the AV-syncword 
at the start of read_packet() ? And if I do so, can I use url_fseek or does 
that ruin the ability to pipe the input to ffmpeg?

--Ivo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_pva
Type: text/x-diff
Size: 6381 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071231/60db8d54/attachment.diff>



More information about the ffmpeg-devel mailing list