[mythtv-users] Internal Video player
Joseph A. Caputo
jcaputo1 at comcast.net
Thu Jan 8 17:31:55 EST 2004
On Thursday 08 January 2004 19:37, J. Donavan Stanley wrote:
> Joseph A. Caputo wrote:
> > On Wednesday 07 January 2004 08:51, J. Donavan Stanley wrote:
> >
> > How does this approach tie in with the Myth keybindings, etc? I'm
> > just curious because I think it's a great idea, but why use
> > xine-lib (other than the obvious reason that you get DVD menu
> > navigation)? I'd have thought it would be much easier to just use
> > Myth's natvie player (which can theoretically play any multimedia
> > format supported by ffmpeg/ libavcodec/libavformat) (try 'mythtv
> > <filename>') and tweak it to handle playing files external to Myth
> > (i.e., no Myth metadata in the database, like resolution, and no
> > Myth seektable).
>
> The key bindings while using the xine based player are the same keys
> as watching a recording in myth. Xine-lib doesn't deal with input,
> that gets handled by whatever ui you're running, in this case a qt
> widget inside a mythdialog.
I guess what I'm really asking is, does it use Myth's "TV" class (libs/
libmythtv/tv_play.{h,cpp}) to handle the user actions? Or is it just
using MythMainWindow::TranslateKeyPress ("TV Playback", ...) to
translate the action, they handling it with its own code that you
wrote? Or neither?
-JAC
More information about the mythtv-users
mailing list