Paul Sijben wrote:
> That was not what I meant. on a unichrome platform xvidix will do hw
> /assisted /decoding of thinks like divx, it does not work for mpeg2.
> I only used it as an example of the template I think should be used.
> 
> So for me personally the -vo xvmc  -vc ffmpeg12mc  should be used when
> the recording devices is ivtv.
> 
> Others will need the normal MPLAYER_VO_DEV and MPLAYER_VO_DEV_OPTS

Then I think you could add special device arguments to the MPLAYER_ARGS,
this is what I have:
MPLAYER_ARGS = { 'dvd'    : '-cache 8192',
                 'vcd'    : '-cache 4096',
                 'cd'     : '-cache 1024 -cdda speed=2',
                 'tv'     : '-nocache',
                 'ivtv'   : '-cache 8192',
                 'dvb'    : '-cache 1024',
                 'avi'    : '-cache 5000 -idx',
                 'rm'     : '-cache 5000 -forceidx',
                 'rmvb'   : '-cache 5000 -forceidx',
                 'webcam' : 'tv:// -tv
driver=v4l:width=352:height=288:outfmt=yuy2:device=/dev/video2',
                 'default': '-cache 5000'
                 }

AFAIK I could also add mpeg it the above.

So what you need is a way to change the MPLAYER_VO_DEV depending on the
media type, rather than the activity?

Duncan

> 
> Paul
> 
> 
> Duncan Webb wrote:
>> Paul Sijben wrote:
>>   
>>> sure, I would expect to see for unichrome or other HWacel output playback:
>>>
>>>  --prio=-20 /usr/bin/mplayer -vo xvmc  -vc ffmpeg12mc -framedrop  
>>> -ao alsa -fs -autosync 100 -nolirc -autoq 100 -screenw 768 -screenh 576
>>> -fs -slave -cache 8192 /dev/video0
>>>
>>>
>>> and when one does not have mpeg2 HWaccel:
>>>
>>>  --prio=-20 /usr/bin/mplayer -vo xvidix -framedrop  
>>> -ao alsa -fs -autosync 100 -nolirc -autoq 100 -screenw 768 -screenh 576
>>> -fs -slave -cache 8192 /dev/video0
>>>
>>>
>>> Note that in my setup there are no MPLAYER_VO_DEV_OPTS
>>>     
>>
>> Now I'm confused the only difference is "-vo xvmc -vc ffmpeg12mc" for
>> hardware decoding and "-vo xvidix" for software decoding.
>>
>> So why do we need HWaccel options, they could be set up in local_conf.py as:
>> MPLAYER_VO_DEV = 'xvmc'
>> MPLAYER_VO_DEV_OPTS = '-vc ffmpeg12mc'
>>
>> Do you only want these options for watching tv?
>>
>> Duncan
>>
>>   
>>> Paul
>>>
>>>
>>> Duncan Webb wrote:
>>>     
>>>> Paul Sijben wrote:
>>>>   
>>>>       
>>>>> Duncan,
>>>>>
>>>>> Sorry for the delay. I now had time to test the patch and it does not
>>>>> work. it now produces the following command (adding both the non
>>>>> hardware accellerated VO device and the non HW accel):
>>>>>
>>>>>  --prio=-20 /usr/bin/mplayer -vo xvidixxvmc  -vc ffmpeg12mc -framedrop  
>>>>> -ao alsa -fs -autosync 100 -nolirc -autoq 100 -screenw 768 -screenh 576
>>>>> -fs -slave -cache 8192 /dev/video0
>>>>>     
>>>>>         
>>>> What is the correct command line, can you list the different command
>>>> lines that you expect if they are different.
>>>>
>>>> Thanks
>>>> Duncan
>>>>       
>>
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Freevo-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/freevo-users
>>   
> 
> -- 
> Paul Sijben             mailto:[EMAIL PROTECTED]
> Amersfoort, NL          http://www.sijben.net
> tel:+31 334557522       fax:+31 33 4557523
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Freevo-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freevo-users



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to