How to detect that current chapter is DVD menu

4ernov 4ernov at gmail.com
Wed Aug 10 06:15:33 PDT 2011


>
> On 08/09/2011 08:57 AM, 4ernov wrote:
>
>    Hello,
>>
>>    I faced a problem with DVD menu detection. I have a video application
>>    based on GStreamer that resizes to fullscreen on no user activity and
>>    returns to normal view on mouse click. But in DVD menu there's a
>>    problem: the application shouldn't return to normal view when user
>>    clicks some item of menu but it returns. I just don't know whether
>>    it's DVD menu chapter or normal video chapter.
>>
>>    So, the question is: is there any way to know that current chapter is
>>    DVD menu or not DVD menu? I.e. a chapter that receives user input or
>>    not.
>>
>>    Any help is appreciated.
>>
>
>
> I have *no* idea if its possible to detect if you are in a menu. However
> with that in mind, I would imagine that menu's have short durations and some
> other pieces (like looping playback) that when loaded you could set a flag
> in your app. if ( duration < 1 minute)... then... etc...
>

Thanks for this good suggestions, Nathanael, I thought around this idea. But
now there's another problem: is it possible to detect looping chapter
somehow? I think it's most significant detail because duration can be quite
big (I just found 1:35 menu with some video).


>
>>
>>    Alexey Chernov
>>    _______________________________________________
>>    gstreamer-devel mailing list
>>    gstreamer-devel at lists.freedesktop.org
>>    http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110810/53e9521f/attachment.htm>


More information about the gstreamer-devel mailing list