[Ffmpeg-devel] Demuxing still pictures in dvd's
Mon Aug 22 01:18:21 CEST 2005
On Tue, Aug 02, 2005 at 06:33:08PM +0200, elupus wrote:
> We are using the ffmpeg mpeg2 demuxer for our dvdplayer in the XBMC (Xbox
> Media Center) Project. We ran into an problem with it when it's decoding
> still frames. When a still frame is decoded on a dvd, there doesn't need to
> be any new startcode for the next image following that frame, there is only
> a sequence end code. When this occured, ffmpeg refused to return the last
> package of data containing the still frame.
> We now finally managed to track the problem down to the packetizer in
> ffmpeg. It seems it doesn't look for an end code, but only the start code of
> the next frame. Here is a VERY ugly patch that solves the problem when
> playing dvd's, but i only attatch it so as to get some response on how to
> solve this in a clean way.
could you provide a small dumped sample stream which gets demuxed incorrectly?
More information about the ffmpeg-devel