[mythtv-users] easy way to switch between playback profiles?

R. G. Newbury newbury at mandamus.org
Sun Jan 31 18:04:44 UTC 2010


On 01/29/2010 04:25 PM, R. G. Newbury wrote:
> On 01/29/2010 12:03 PM, Mike wrote:
>> On Fri, Jan 29, 2010 at 8:13 AM, R. G. Newbury<newbury at mandamus.org>
>> wrote:
>>> On 01/29/2010 02:34 AM, Michael T. Dean wrote:
>>>>
>>>> On 01/29/2010 02:04 AM, Mike wrote:
>>>>>
>>>>> I have a mythdora 5 box that has been running for some time now. I
>>>>> have XvMC working with my nvidia 5200 card for OTA HDTV playback on a
>>>>> P4 processor and it works well.
>>>>>
>>>>> I use the mythvideo for xvid playback using "ffmpeg& Xvideo" software
>>>>> decoding and that also works well.
>>>>>
>>>>> Trouble I have is finding a playback profile that works good for both
>>>>> of them. Right now if I want to do xvid I navigate thru the setup
>>>>> menus and change the profile to ffmpeg& Xvideo ... if I want to
>>>>> playback OTA HDTV w/o stuttering I navigate thru the menus and set the
>>>>> profile to use XvMC as I need the hardware decode with the P4 (this
>>>>> works good for every channel including channel 10 but audio only for
>>>>> xvid's with this profile) ...
>>>>>
>>>>> If I make a "combo" profile where XvMC is selected for anything higher
>>>>> than 720x576 and "ffmpeg& Xvideo" is used for anything less than
>>>>> 720x576 then channel 10 will go to a black screen during playback of
>>>>> recordings, no audio, with the hard drive light on solid. The box
>>>>> will temporarily lock up if I hit any key besides escape for things I
>>>>> try to playback that were recorded on channel 10. All other channels
>>>>> work fine in this combo mode and mythvideo xvid's are also fine.
>>>>>
>>>>> I use a wireless keyboard to control mythtv and I have a learning
>>>>> remote that has learned keys from that wireless keyboard so ideally it
>>>>> would be cool to push a button to switch between the profiles instead
>>>>> of navigating thru many levels of menu heirarchy to do what is
>>>>> required in my situation ...
>>>>>
>>>>> any suggestions appreciated
>>>>>
>>>>
>>>> Doesn't help you, yet, but there is talk of adding another criterion
>>>> for
>>>> playback profile usage to allow specifying CODEC.
>>>
>>> If I read you correctly, you are trying to play xvid files using
>>> MythVideo,
>>> but running into problems with settings for your MythTV profiles.
>>>
>>> But these are different things. Mythvideo player settings are in
>>> Setup ->
>>> Videos Settings ->Player Settings...and usually involve the -vo
>>> switches for
>>> mplayer ( -vo xv or -vo xvmc etc).
>>>
>>> Or have you added a new file type 'xvid' and set the default player to
>>> 'internal' in file settings? (in which case, try using mplayer with
>>> -vo xvmc
>>> etc.)
>>>
>>> Or are you importing these xvids into your mythtv structure as if
>>> they are
>>> recorded tv shows?
>>>
>>> It seems that channel 10 is an HD stream although why it will not
>>> play even
>>> badly with xv is odd. Also odd that xvmc will not work while playing the
>>> xvid files.
>>>
>>> I'm missing something here.
>>>
>>> Geoff
>>>
>>>
>>> Please let me know if anything I say offends you.
>>> I may wish to offend you again in the future.
>>>
>>> Tux says: "Be regular. Eat cron flakes."
>>> _______________________________________________
>>> mythtv-users mailing list
>>> mythtv-users at mythtv.org
>>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>>
>>
>> Hi Geoff,
>>
>> The xvid files I am referring to are those downloaded off the web and
>> usually have filenames like xxxyyy_xvid.avi ... they don't require
>> XvMC to play back w/o stuttering and when I try to use XvMC to play
>> them back I hear only audio. I ftp these into the videos directory of
>> the mythdora box.
>>
>> You are correct that I am using "Internal" as the default playback.
>> If I go with your options or xine (tried that awhile back) my position
>> is not saved during playback so if I exit the recording and want to go
>> back in I have to manually find where I left off. Hence, using
>> "Internal" seemed like the best option here. Is there a way to use an
>> "External" player (mplayer or xine) and have it remember the position
>> in the recording when you go back?
>
> IIRC mplayer can remember your position. Google for it. As to playing
> them with xvmc, I am surprised it does not work. Try playing one of them
> with mplayer -vo xvmc etc. and watch the output. You may be missing a
> plugin which is why they do not play. Look for avifile-xvid-plugin
> (according to google!)
>
> That may fix the problem.
> On another note, I am not sure that the TV playback profiles are used
> when playing videos with the 'Internal' player, but I could be way wrong
> on that.

As an addition, I have remembered that mplayer has to be compiled with 
xvmc support (most distro's do, I think) AND you need -vo xvmc -vc 
ffmpegmc12 (or something like that) to get mplayer to work properly. 
Check the XvMC page in the mythtv wiki. Details or links are there.

Geoff




          Tux says: "Be regular. Eat cron flakes."


More information about the mythtv-users mailing list