On 14/05/2010 2:06, Leandro sullo sgorbio wrote:
> Duncan Webb<dun...@freevo.org>  writes:
>
>
> [...]
>
>    
>>> 2010-02-13 23:51:38,785 INFO     mplayer.py (164): MPLAYER_ARGS not defined 
>>> for 'video', using default
>>> Traceback (most recent call last):
>>>        
>> [snip]
>>      
>>>     File "/usr/share/pyshared/freevo/video/plugins/mplayer.py", line 167, 
>>> in play
>>>       _debug_('mode=%s args=%s'% (mode, config.MPLAYER_ARGS[mode]))
>>>
>>>        
>> Very late reply, sorry.
>>      
> Don't worry, I have much time to wait!
>
> :-)
>
>    
>> The problem is clear, you need MPLAYER_ARGS['video'] defined.
>>      
> Could you give me some example for this configuration or a pointer?
>    
You need to define it in your local_conf.py. Mine currently looks like 
this. Note there's no 'video' setting, it looks like you need to add one 
for the youtube plugin, it could possibly be set to blank i.e. ''.

MPLAYER_ARGS = { 'dvd'    : '-cache 8192',
                  'vcd'    : '-cache 4096',
                  'cd'     : '-cache 1024 -cdda speed=2',
                  'tv'     : '-nocache',
                  'ivtv'   : '-cache 8192',
                  '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'
                  }

>    
>> Or remove the _debug_ line.
>>      
> I can't understand: removing the debug statement what should I obtain?
>
>    
I think Duncan is saying the crash is actually called by the debug 
statement which tries to read the setting from MPLAYER_ARGS which in 
your case is missing. If you removed the debug statement then the crash 
wouldn't occur.

John

------------------------------------------------------------------------------

_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to