-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yomgui Gmail wrote:
> Hi,
>
> Thanks for your answer !
>
> Indeed, I have changed the MPLAYER_ARGS
>
> MPLAYER_ARGS = { 'avi' : '-cache 5000 -slang fr,en -idx
> cache-min=50 cache-prefill=50' }

You need to simply uncomment the original MPLAYER_ARGS and may be add
an entry for mkv like:
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',
                 'mkv': '-cache 5000 -slang fr,en -idx cache-min=50
cache-prefill=50'
                 'default': '-cache 5000'
                 }

It is the file extension that is used to select the entry.

Duncan

> I think I added the -slang fr,en for vobsub subtitles ...
>
> Tonight, I will try to remove this entry in my local_conf.py
>
> On 8/7/07, Duncan Webb <[EMAIL PROTECTED]> wrote:
>>> Hi,
>>>
>>> When I try to open an mkv file with freevo. I have a error that
>>> leads to shutdown.
>>>
>>> The trace is in log file is :
>>>
>>> mplayer.py (134): MPlayer.play(): mode=file,
>>> url=//home/yomgui/films/Old_Boy.mkv Traceback (most recent call
>>> last): File "/usr/lib/python2.4/site-packages/freevo/main.py",
>>> line 290, in eventhandler app.eventhandler(event) File
>>> "/usr/share/pycentral/python-freevo/site-packages/freevo/menu.py",
>>>  line 673, in eventhandler action( arg=arg, menuw=self ) File
>>>
"/usr/share/pycentral/python-freevo/site-packages/freevo/video/videoitem.py",
>>>  line 550, in play error = self.player.play(mplayer_options,
>>> self) File
>>>
"/usr/share/pycentral/python-freevo/site-packages/freevo/video/plugins/mplayer.py",
>>>  line 232, in play command += config.MPLAYER_ARGS[mode].split('
>>> ') KeyError: 'default'
>>>
>>>
>>> I can play this file using mplayer command line ...
>>>
>>> Is it a bug ?
>> In local_conf.py have you changed MPLAYER_ARGS?
>>
>> I should have a default, such as: 'default': '-cache 5000'
>>
>> or an entry for mkv which will give setting for matroska files.
>>
>> Duncan
>>
>>
>>
>>
>>
>> -------------------------------------------------------------------------
>>  This SF.net email is sponsored by: Splunk Inc. Still grepping
>> through log files to find problems?  Stop. Now Search log events
>> and configuration files using AJAX and a browser. Download your
>> FREE copy of Splunk now >>  http://get.splunk.com/
>> _______________________________________________ Freevo-users
>> mailing list [email protected]
>> https://lists.sourceforge.net/lists/listinfo/freevo-users
>>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGuJ1ZNi6l+Xvys44RAhfyAJ0cE1y2YYSh4AiNgWTrT3pNeb+5DQCgg7K+
jhTJN1kD+dqVPLLVrHiTNlY=
=ZIww
-----END PGP SIGNATURE-----


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to