"mplayer.conf" vs "config" ?
#1
Both these files exist in the XBMC/system/players/mplayer/ directory

"mplayer.conf" seems to contain some mplayer config items.

"config" contains a single line of text, specifically
Quote:# Write your default config options here!


Uh, two config files, same directory, and the one that says 'put them in here' has nothing in it. I'm confused.
#2
Is for customization, but as you didnt recognize that I'd wager you wont be doing much
Image
#3
It's for customization. It's related to mplayer's origin as a linux application. The "mplayer.conf" file is the general system wide configuration file. The "config" file is a per-user customized configuration file. It overrides the system configuration.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
#4
Yes, I knew that in 'vanilla' mplayer they are for configuration options.

The fact that they were in the same directory, and not knowing what, if any, mods had been made to mplayer as part of the xbox/xbmc port, prompted me to wonder if either/which/both were 'active' in this instance.

What with the xbmc 'profiles' stuff, I'm surprised the user-specific mplayer config isn't elsewhere (but I'm running a 3 month old build, and don't use profiles, so hey, maybe it does live elsewhere now).
#5
ok, next question...

I added two options to "config" that are supposed to generate some output. The file looks like this:
Quote:# Write your default config options here!
benchmark=1
#
lavdopts=vstats=1
#
The descriptions of these are:
Quote: -benchmark
Prints some statistics on CPU usage and dropped frames at the end of playback.
-lavdopts <option1:option2:...> (DEBUG CODE)
vstats
Prints some statistics and stores them in ./vstats_*.log.

(In particular, I want to capture the count of early/late/dropped frames at the end of a movie)

I've browsed around the disk, and can't find anything named 'vstats_*' and can't find the benchmark info (I'm assuming it would show up in xbmc.log?)

So either,
the 'config' file isn't being read,
it is being read but my options aren't recognized,
they are recognized but the output is going to the bit bucket...

Suggestions?
#6
and xbmc loglevel = 1/2, right ?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
#7
I cannot gaurantee that all mplayer options will necessarily work. If this works at all, it would likely be output directly into xbmc's the log file.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
#8
Tried loglevel=1 and got 3 lines labeled 'benchmark' in xbmc.log. Also found the following three lines that might relate to the missing 'vstats' file
Quote:11:36:37 M: 7479296 DEBUG: CURL::CURL - Url has no protocol vstats_113637.log, empty CURL created
11:36:37 M: 7479296 DEBUG: CURL::CURL - Url has no protocol vstats_113637.log, empty CURL created
11:36:37 M: 7479296 ERROR: perror: fopen

Thanks!
#9
to me it looks like it doesn't resolve/use the cwd (./)
#10
I'd guess there is nothing I can do 'in situ' to address that (like create a directory somplace)? Do xbox apps typically have a cwd in the tdata/udata area?

The benchmark lines are giving some useful info, but they don't include early/late frame counts; my HD test encodes aren't dropping frames now and those two counters seem to be giving me an indication of how hard I'm pushing the limits... It's just a hassle having to make sure I'm in front of the TV set just before each playback test ends.

Of course, there's no guarentee those counters are in the vstats file...

Logout Mark Read Team Forum Stats Members Help
"mplayer.conf" vs "config" ?0