[Ffmpeg-devel] Demuxing still pictures in dvd's II

Jan-Willem Mulder jwnmulder
Sat Feb 18 22:05:05 CET 2006


you might want to look at ffmpeg.rar in
'cvs\XBMC\docs\sources\dvdplayer\ffmpeg' it contains the entire
modified ffmpeg source code that we use (XMBC) for our dvdplayer. That hack
suggested in 'http://comments.gmane.org/gmane.comp.video.ffmpeg.devel/24165'
is still in that source and is working ok for us (although it is not ok for
a ffmpeg patch I think :) ).  It is the only solution as far as I know.
The problem is that you cannot detect if a video stream has ended from
ffmpeg and neither libdvdnav detects such stills. calling
avcodec_decode_video twice will output the 'incomplete' frame as you already
have noticed (I believe it is actualy just a flush of the current frame?)
but it has no use, since you cannot detect the end of a stream. Also, when
you want to switch to libmpeg2 you have the same problem again. Applying
that posted hack, you will not need to call avcodec_decode_video. It will
just work.


On 2/18/06, Benjamin Larsson <banan at student.ltu.se> wrote:
>
> stanley kamithi wrote:
>
> >hello,
> >
> >i'm adding dvd menu support to the mythtv project and ran into the
> problem
> >described in
> >
> >
> >
> This might be unrelated, but have you looked through the code for xbmc
> (http://sourceforge.net/projects/xbmc/) ? They made a dvdplayer and uses
> ffmpeg in certain parts.
>
> MvH
> Benjamin Larsson
>
> --
> "incorrect information" is an oxymoron. Information is, by definition,
> factual, correct.
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>




More information about the ffmpeg-devel mailing list