[mythtv-users] Internal Video player
K.R. Foley
kr at cybsft.com
Tue Jan 13 08:47:41 EST 2004
James Pifer wrote:
> As a user of the PVR350 and using the TVOut I've been watching this
> thread with interest. If the player for MythVideo (and maybe MythDVD) is
> made "internal", would that mean A/V would go out through the PVR350's
> TVOut (via ivtv drivers) like it does with LiveTV and recordings?
>
> Obviously I mean without going through the extra configuration of a
> separate player with patches (like mplayer), etc. I was able to get the
> video going out through the TVOut by the patch available from the ivtv
> list, but still can't get the sound or remote working correctly with
> mplayer.
>
> I'm not so much interested in mythdvd yet, but I would like to have a
> mythvideo library, but I would like it to work like LiveTV and
> recordings as far as the TVOut.
>
> Thanks,
> James
>
James, Anyone else who might be interested,
I know this is not a burning issue for you but I thought I would pass
this along in case you, or anyone else, is interested. Below is the
script that I call from mythdvd to play DVDs using the patches that you
describe.
#!/bin/bash
mount /mnt/cdrom
ivtvfbctl /dev/fb0 -noglobalalpha -localalpha
/usr/local/bin/mplayer -ao oss:/dev/dsp -delay -1.15 -fs -zoom -quiet
-framedrop -vo mpegpes -dvd-device /dev/cdrom dvd://
#/usr/local/bin/mplayer -ao oss:/dev/dsp -delay -1.15 -fs -zoom -quiet
-framedrop -vo ivtv:/dev/video16 -dvd-device /dev/cdrom dvd://
ivtvfbctl /dev/fb0 -globalalpha -nolocalalpha
umount /mnt/cdrom
Note that my system uses oss sound. I have two lines in there to run
mplayer. The one that is commented out is the one you want for the ivtv
patch. I have actually applied both patches and can switch from one to
the other by commenting out one line and uncommenting the other line.
The audio works for me but as you can see I have to use a delay on the
audio. If I pause the DVD the A/V get out of sync. If you want the
remote to work you will have to enable lirc in mplayer and you can add
lines like the following to your ~/.lircrc:
begin
prog = mplayer
button = Vol-
config = seek -10
repeat = 1
end
begin
prog = mplayer
button = Vol+
config = seek +10
repeat = 1
end
begin
prog = mplayer
button = Forward
config = seek -60
repeat = 1
end
begin
prog = mplayer
button = Rewind
config = seek +60
repeat = 1
end
begin
prog = mplayer
button = Skip
config = seek +600
repeat = 1
end
begin
prog = mplayer
button = Replay
config = seek -600
repeat = 1
end
begin
prog = mplayer
button = PAUSE
config = pause
end
# Also "Power off" key
begin
prog = mplayer
button = OFF
config = quit
end
hth,
kr
--
K.R. Foley
kr at cybsft.com
www.cybsft.com
More information about the mythtv-users
mailing list