Hi again,
I tested xine, and it seems to work fine, so my problems must be
relative to mplayer's dxr3 implementation.
With xine, video playback is very smooth and my kernel logs are silent.
It seems there is an occasional issue with A/V sync (audio max 1 sec
before video), but somehow xine manages to recover from this situation
after 1-2 minutes.
For the ones that may seek relative information:
I used fbxine, since I needed xine without a GUI.
The command line used is like this:
XINERC=/path/to/custom/xine.config fbxine --stdctl -A oss -V dxr3
/path/to/movie.mpg >/path/to/log 2>&1 </dev/ttyX
The xine.config file needs at least these options, to select the right
dxr3 card, for both video and audio:
---
video.driver:dxr3
audio.driver:oss
audio.device.oss_device_name:/dev/dsp
audio.device.oss_device_number:1
audio.device.oss_mixer_number:1
---
The last 2 options should be set to the card ID (1, 2, 3, etc). These
should be the same to the em8300 module option 'dsp_num'.
/dev/ttyX is given as input to fbxine, because:
1. If we don't redirect the input, fbxine will expect commands from it,
and as this is going to be the terminal, there will be issues.
2. If we don't give a tty (i.e. we do </dev/null), fbxine gets 100% of
the cpu
For X (in ttyX) I use 8,9,10.
The only 2 issues I have now, are relative to xine usage/features:
a. With mplayer, I had the video channels resume at the position they
were playing, in case of a shutdown or restart (-ss argument to
mplayer). For the moment I cannot find how xine can start playback at a
given position.
b. With mplayer, I had a small cron job per channel that was presenting
the filename and the % of movie played as OSD. This was very nice, since
the watcher could check if he has missed just a little of the movie, or
if he/she is going to watch just the end of it. Again, I cannot find a
way of doing it with xine (I guess I will have to create a subtitles.srt
file and feed it to xine, to show every a few minutes the position - but
that's a nasty hack).
Costa
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
Dxr3-devel mailing list
Dxr3-devel@...
https://lists.sourceforge.net/lists/listinfo/dxr3-devel