hi, I read the 'mplayer.sh an AID 0' thread, about possible changes in slave-mode handling (about dropping dvd-menu support). So I am wondering if it's possible to include (instead of this dvd-stuff) commands to adjust audio- and subtitle-delay.
See: http://www.mplayerhq.hu/DOCS/tech/slave.txt usefull (at least for me) commands would be: * sub_delay <value> [<abs>] * sub_select [<value>] * sub_pos <value> * audio_delay <value> * sub_visibility
perhaps you could use the this mapping 1: sub_delay -100 2: sub_visibility 3: sub_delay +100 4: sub_pos -1 5: sub_select 6: sub_pos +1 7: audio_delay -100 8: switch_audio 9: audio_delay +100
btw: the documentation says: 'switch_audio [<value>] (MPEG and Matroska only)'. is this outdated since mplayer can now handle switching audio streams in avi-files?
Thanks in advance, Carsten
On 08 Jul 2005 Carsten Presser cpresser@fsing.uni-sb.de wrote:
Hi,
I read the 'mplayer.sh an AID 0' thread, about possible changes in slave-mode handling (about dropping dvd-menu support). So I am wondering if it's possible to include (instead of this dvd-stuff) commands to adjust audio- and subtitle-delay.
See: http://www.mplayerhq.hu/DOCS/tech/slave.txt usefull (at least for me) commands would be:
Well, I'm not going to start a discussion about which commands are usefull...
Proposal:
We have a conf-file with "keyname text" like this:
1 sub_delay -100 3 sub_delay +100 6 osd
This is read by the plugin and the command is send to mplayer if the key is pressed. Keys which are used by the plugin internaly cannot be mapped.
Opinions?
Regards.
Stefan Huelswitt wrote:
Proposal:
We have a conf-file with "keyname text" like this:
1 sub_delay -100 3 sub_delay +100 6 osd
This is read by the plugin and the command is send to mplayer if the key is pressed. Keys which are used by the plugin internaly cannot be mapped.
Opinions?
at least for me, this would be great.
regarding the switch-audio-stream feature, why not put it at 'menu - green' like vdr does this with live-tv and regular recordings (or can't you use this button, because vdr already does)?
greetings carsten
On 10 Jul 2005 Carsten Presser cpresser@fsing.uni-sb.de wrote:
regarding the switch-audio-stream feature, why not put it at 'menu - green' like vdr does this with live-tv and regular recordings (or can't you use this button, because vdr already does)?
1.) the information which streams are available is not available to the plugin. 2.) if they where, there is no way to inject them into VDR's audio stream management.
Regards.
On 08 Jul 2005 s.huelswitt@gmx.de (Stefan Huelswitt) wrote:
Proposal:
We have a conf-file with "keyname text" like this:
1 sub_delay -100 3 sub_delay +100 6 osd
This is read by the plugin and the command is send to mplayer if the key is pressed. Keys which are used by the plugin internaly cannot be mapped.
Attached is a patch which implements this (the patch is against vanilla 0.9.12, so you shouldn't have applied the AID patch discussed earlier).
I found that it's easier to use the plugin setup menu for configuring the keys, so there is not conf-file.
Enter the plugin setup menu to configure the slave commands. Keys 3 & 9 are not available as they are used to move VDR's progress display.
Please give feedback ;)
Regards.
Stefan Huelswitt wrote:
Enter the plugin setup menu to configure the slave commands. Keys 3 & 9 are not available as they are used to move VDR's progress display.
Please give feedback ;)
works fine for me. not just fine: its perfect. only thing i changed: i also freed the keys 3 & 9 for slavecommands (i have no need in moving the progressbar).
Carsten
Stefan Huelswitt s.huelswitt@gmx.de wrote:
Proposal:
We have a conf-file with "keyname text" like this:
[snip]
This is read by the plugin and the command is send to mplayer if the key is pressed. Keys which are used by the plugin internaly cannot be mapped.
Opinions?
Haven't tried it yet, but sounds great.
Cheers, Juri