[FFmpeg-devel] [PATCH] Support playing SMV files.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Oct 10 17:44:22 CEST 2011


On Sun, Oct 09, 2011 at 07:44:49PM +0200, Michael Niedermayer wrote:
> On Sun, Oct 09, 2011 at 04:02:20PM +0200, Reimar Döffinger wrote:
> > Audio and video are interleaved via stream cur_dts - no idea how
> > reliable this is.
> > It also cannot display the video properly - it is stored with
> > about 15 in a single JPEG frame, I cannot think of a reasonable
> > way to implement this.
> > Samples: http://samples.mplayerhq.hu/smv/
> > Format description: http://wiki.multimedia.cx/index.php?title=SMV
> > 
> > Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
> > ---
> >  libavformat/wav.c |   91 ++++++++++++++++++++++++++++++++++++++++++++++++++++-
> >  1 files changed, 90 insertions(+), 1 deletions(-)
> 
> should be ok

Pushed.

> also remind me to look into the jpeg issue

As far as came was: separate codec-id, height of single frame in
extradata.
Then in JPEG decoder either
1) adjust data pointers in output, actually decoding only once in n
frames. Might cause issues with custom get_buffer
2) copy each frame from internal to external buffer.


More information about the ffmpeg-devel mailing list