Dear visitor, welcome to VDR Portal. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
vdr01 ~ # grep softhddevice /etc/vdr/setup.conf softhddevice.1080i.Deinterlace = 3 softhddevice.1080i.Denoise = 0 softhddevice.1080i.InverseTelecine = 0 softhddevice.1080i.Scaling = 0 softhddevice.1080i.Sharpen = 0 softhddevice.1080i.SkipChromaDeinterlace = 0 softhddevice.1080i_fake.Deinterlace = 3 softhddevice.1080i_fake.Denoise = 0 softhddevice.1080i_fake.InverseTelecine = 0 softhddevice.1080i_fake.Scaling = 0 softhddevice.1080i_fake.Sharpen = 0 softhddevice.1080i_fake.SkipChromaDeinterlace = 0 softhddevice.576i.Deinterlace = 3 softhddevice.576i.Denoise = 0 softhddevice.576i.InverseTelecine = 0 softhddevice.576i.Scaling = 0 softhddevice.576i.Sharpen = 0 softhddevice.576i.SkipChromaDeinterlace = 0 softhddevice.60HzMode = 0 softhddevice.720p.Deinterlace = 3 softhddevice.720p.Denoise = 0 softhddevice.720p.InverseTelecine = 0 softhddevice.720p.Scaling = 0 softhddevice.720p.Sharpen = 0 softhddevice.720p.SkipChromaDeinterlace = 0 softhddevice.AudioDelay = 0 softhddevice.AudioDownmix = 1 softhddevice.AudioPassthrough = 0 softhddevice.AutoCrop.Delay = 0 softhddevice.AutoCrop.Interval = 0 softhddevice.AutoCrop.Tolerance = 0 softhddevice.Background = 0 softhddevice.HideMainMenuEntry = 1 softhddevice.MakePrimary = 0 softhddevice.SkipLines = 0 softhddevice.SkipPixels = 0 softhddevice.SoftStartSync = 1 softhddevice.StudioLevels = 0 softhddevice.Suspend.Close = 1 softhddevice.Suspend.X11 = 0 vdr01 ~ # |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
vdr01 ~ # cat /etc/asound.conf
pcm.stereo "plughw:1,7"
pcm.softvol {
type softvol
slave.pcm "stereo"
control.name "softvol"
control.card 0
# max_dB 6.0
}
vdr01 ~ #
|
|
|
Source code |
1 |
PLUGIN_PARAMETERS="-d :0 -g 0x576+0+0 -a softvol -p hw:NVidia,7 -c softvol" |
|
|
Source code |
1 |
export ALSA_MIXER_CHANNEL=hdmi_volume |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
vdr01 ~ # cat /etc/asound.conf
pcm.!default pcm.hdmi_complete
ctl.NVidia { type hw; card NVidia; }
ctl.!default ctl.NVidia
pcm.hdmi_hw {
type hw
card NVidia
device 7
}
pcm.hdmi_formatted {
type plug
slave {
pcm hdmi_hw
#rate 48000 # <- Optional! Hier die gew▒nschte Rate.
#channels 2
}
}
pcm.hdmi_complete {
type softvol
slave.pcm hdmi_formatted
control.name hdmi_volume
control.card NVidia
}
pcm.51to20 {
type route
slave.pcm "hdmi_complete"
slave.channels 2
ttable.0.0 3 # Front links -> links
ttable.1.1 3 # Front rechts -> rechts
ttable.2.0 2.707 # Hinten links -> links
ttable.3.1 2.707 # Hinten rechts -> rechts
ttable.4.0 3.0 # Zentrum -> links
ttable.4.1 3.0 # Zentrum -> rechts
ttable.5.0 2.5 # Basskanal -> links
ttable.5.1 2.5 # Basskanal -> rechts
}
vdr01 ~ #
|
|
|
Source code |
1 |
PLUGIN_PARAMETERS="-d :0 -g 1920x1080+0+0 -s -a 51to20 -p hdmi_hw" |
|
|
Source code |
1 |
export ALSA_MIXER_CHANNEL=hdmi_volume |
Quoted
[...] Wenn ich Mute drücke, kann ich die Lautstärke auf max regeln ohne irgendwelche Knackser oder Rauschen zu hören. ...

This post has been edited 1 times, last edit by "C-3PO" (Apr 8th 2012, 6:17pm)
Mit den von Dir vorgeschlagenen Parametern, bleibt mein VDR stumm.
Ich habe nur diese Option geändert.Bei softvol gibts noch die Möglichkeit die Lautstärke anzuheben max_dB +50.0.
Fassen mal zusammen:
Mit den von Dir vorgeschlagenen Parametern, bleibt mein VDR stumm.[/code]
Plugin Startparamter:
![]()
Source code
1 PLUGIN_PARAMETERS="-d :0 -g 0x576+0+0 -a softvol -p hw:NVidia,7 -c softvol"
VDR Startparameter:
![]()
Source code
1 export ALSA_MIXER_CHANNEL=hdmi_volume
Quoted
[...] Wenn ich Mute drücke, kann ich die Lautstärke auf max regeln ohne irgendwelche Knackser oder Rauschen zu hören. ...
Die Knackser sind nur(!) bei "Mute" zu hören. Wenn also Stumm geschaltet ist, könnte man meinen, dass im TV ein Lagerfeuer brennt.![]()
Ich habe nur diese Option geändert.Bei softvol gibts noch die Möglichkeit die Lautstärke anzuheben max_dB +50.0.
Ergebnis: Die Grundlautstärke ist höher, ich muss also den Vol Regler im VDR nicht mehr so weit aufziehen. Vorher war ich bei DD 5.1 schon öfter mal am Anschlag (255)
Der Lautstärke Unterschied zwischen den drei Audioformaten bleibt aber nach wir vor bestehen.
Ausgabe via Soundkarte des Rechners, und 5.1 Boxenset (kein Downmix kein pass-through)
Also ALSA_MIXER_CHANNEL überschreibt den Kommandozeilen Parameter "-c". Damit wird dann nichts geregelt.
Ja nach dem welchen Mixer man nimmt, muß man entweder Mixer Default in asound.conf ändern oder mit "ALSA_MIXER" mitgeben.
Also ich meine VDR Mute oder VDR Pause und Lautstärke am Fernseher (hier Monitor) hochdrehen, damit man die Knackser hört.
Da du ja auch per HDMI an den Fernseher gehst, kann ich mir wirklich keinen Reim auf den Effekt machen.
Ton am Fernseher zu hoch? Schlechtes HDMI Kabel? Und warum geht es dann mit xine-lib?
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
vdr01 ~ # grep -v "^#" /root/.xine/config_xineliboutput |grep -v '^$' .version:2 gui.subtitle_autoload:0 audio.device.alsa_default_device:hw:1,7 audio.device.alsa_front_device:hw:1,7 audio.device.alsa_passthrough_device:hw:1,7 audio.device.alsa_surround40_device:hw:1,7 audio.device.alsa_surround51_device:hw:1,7 audio.synchronization.av_sync_method:resample audio.synchronization.force_rate:48000 audio.synchronization.resample_mode:off video.output.vdpau_enable_inverse_telecine:0 video.output.vdpau_hd_deinterlace_method:temporal_spatial video.output.vdpau_sd_deinterlace_method:temporal_spatial video.processing.ffmpeg_pp_quality:0 video.processing.ffmpeg_skip_loop_filter:all video.processing.ffmpeg_thread_count:4 media.dvd.language:de media.dvd.region:2 media.dvd.skip_behaviour:skip part media.xvdr.scr_treshold_sd:20 media.xvdr.scr_tuning_step:1000 effects.goom.fps:25 effects.goom.height:576 effects.goom.width:720 engine.buffers.video_num_buffers:250 engine.buffers.audio_num_buffers:1000 engine.buffers.video_num_frames:50 engine.decoder.disable_flush_at_discontinuity:1 engine.performance.memcpy_method:sse vdr01 ~ # |

Also ALSA_MIXER_CHANNEL überschreibt den Kommandozeilen Parameter "-c". Damit wird dann nichts geregelt.
Ja nach dem welchen Mixer man nimmt, muß man entweder Mixer Default in asound.conf ändern oder mit "ALSA_MIXER" mitgeben.
Heist das nun, das nichts "exportitiert werden muss beim VDR Start?"
Quoted
Also ich meine VDR Mute oder VDR Pause und Lautstärke am Fernseher (hier Monitor) hochdrehen, damit man die Knackser hört.
Da du ja auch per HDMI an den Fernseher gehst, kann ich mir wirklich keinen Reim auf den Effekt machen.
Ton am Fernseher zu hoch? Schlechtes HDMI Kabel? Und warum geht es dann mit xine-lib?
Dass es m Kabel liegen soll, kann ich mir nun wirklich nicht vorstellen, da es ja, wie schon gesagt, mit xineliboutput un auch mit xbmc geht.
Bei xine-lib und auch bei xbmc brauche ich überhaupt keine asound.conf.
Für xineliboutput reicht:
Und für xbmc, brauche ich nur im Audiosetup "hw;1,7" einzutragen und gut is.....
Evtl. sollte man mal in deren Sourcecode nachschauen, wie die das machen?
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Apr 10 10:23:09 vdr last message repeated 25 times Apr 10 10:23:09 vdr vdr: audio/alsa: wait underrun error? 'Datenübergabe unterbrochen (broken pipe)' Apr 10 10:23:09 vdr vdr: [softhddev] invalid PES video packet Apr 10 10:23:16 vdr last message repeated 23 times Apr 10 10:23:16 vdr vdr: audio/alsa: wait underrun error? 'Datenübergabe unterbrochen (broken pipe)' Apr 10 10:23:16 vdr vdr: [softhddev] invalid PES video packet Apr 10 10:23:19 vdr last message repeated 14 times Apr 10 10:23:20 vdr vdr: audio/alsa: wait underrun error? 'Datenübergabe unterbrochen (broken pipe)' Apr 10 10:23:20 vdr vdr: [softhddev] invalid PES video packet Apr 10 10:23:38 vdr last message repeated 21 times Apr 10 10:23:39 vdr vdr: audio/alsa: wait underrun error? 'Datenübergabe unterbrochen (broken pipe)' Apr 10 10:23:39 vdr vdr: [softhddev] invalid PES video packet Apr 10 10:23:44 vdr last message repeated 39 times Apr 10 10:23:44 vdr vdr: audio/alsa: wait underrun error? 'Datenübergabe unterbrochen (broken pipe)' Apr 10 10:23:44 vdr vdr: [softhddev] invalid PES video packet |
This post has been edited 1 times, last edit by "Copperhead" (Apr 10th 2012, 10:32am)
Zur Information - das Knacksen bei Mute kann ich bei meinem System bestätigen.Die Knackser sind nur(!) bei "Mute" zu hören. Wenn also Stumm geschaltet ist, könnte man meinen, dass im TV ein Lagerfeuer brennt
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
pcm.spdif "plughw:0,1" # <- hier dein SPDIF Gerät eintragen
pcm.hdmi "plughw:0,3" # <- hier dein Stereo Gerät eintragen
pcm.analog "plughw:0,0" # <- Analoges Stereo Gerät
pcm.multi {
type multi
slaves.a.pcm "spdif" # stereo device 0
slaves.a.channels 2
slaves.b.pcm "hdmi" # stereo device 1
slaves.b.channels 2
bindings.0.slave a # kanäle verteilen
bindings.0.channel 0
bindings.1.slave a
bindings.1.channel 1
bindings.2.slave b
bindings.2.channel 0
bindings.3.slave b
bindings.3.channel 1
}
pcm.both {
type route
slave.pcm "multi"
slave.channels 4
ttable.0.0 1.0 # kanäle duplizieren
ttable.1.1 1.0
ttable.0.2 1.0
ttable.1.3 1.0
}
pcm.softvol {
type softvol
slave.pcm "both"
control.name "softvol"
control.card 0
max_dB 30.0
}
pcm.51to20 {
type route
slave.pcm "softvol"
slave.channels 2
ttable.0.0 1 # Front links -> links
ttable.1.1 1 # Front rechts -> rechts
ttable.2.0 0.707 # Hinten links -> links, Dämpfung 3dB
ttable.3.1 0.707 # Hinten rechts -> rechts, Dämpfung 3dB
ttable.4.0 0.5 # Zentrum -> links, Dämpfung 6dB
ttable.4.1 0.5 # Zentrum -> rechts, Dämpfung 6dB
ttable.5.0 0.5 # Basskanal -> links, Dämpfung 6dB
ttable.5.1 0.5 # Basskanal -> rechts, Dämpfung 6dB
}
pcm.!default {
type plug
slave.pcm "51to20"
}
|
|
|
Source code |
1 |
// decoder->VideoCtx->active_thread_type = 0 |
Hallo,Zur Information - das Knacksen bei Mute kann ich bei meinem System bestätigen.Die Knackser sind nur(!) bei "Mute" zu hören. Wenn also Stumm geschaltet ist, könnte man meinen, dass im TV ein Lagerfeuer brennt
Ich verwende folgende .asoundrc
Mit xine-ui bzw. xineliboutput war die Lautstärke (TV über HDMI) auch ohne "softvol" regelbar. Allerdings finde ich es nicht so kritisch, dass es dringend zu beheben wäre. Mit den letzten xine-Ständen habe ich trotz gleichbleibender Konfiguration gelegentliche Tonausetzer und große Framedrops wenige Minuten nach dem Start/Umschalten auf einen Kanal - mit softhddevice lief endlich alles wieder - ohne x-Konfigurationseinstellungen :-)
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 |
pcm.spdif "plughw:0,0" # <- hier dein SPDIF Gerät eintragen
pcm.stereo "plughw:1,7" # <- hier dein Stereo Gerät eintragen
pcm.softvol {
type softvol
slave.pcm "stereo"
control.name "softvol"
control.card 0
max_dB 6.0
}
|
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 |
pcm.spdif "plughw:0,0" # <- hier dein SPDIF Gerät eintragen
pcm.stereo "plughw:1,7" # <- hier dein Stereo Gerät eintragen
pcm.softvol {
type softvol
slave.pcm "stereo"
control.name "softvol"
control.card 0
max_dB 6.0
}
|

|
|
Source code |
1 |
#define USE_AUDIORING ///< new audio ring code (incomplete) |
|
|
Source code |
1 |
#define noUSE_AUDIORING ///< new audio ring code (incomplete) |
|
|
Source code |
1 2 3 4 5 6 7 8 |
Apr 19 20:11:22 antecvdr vdr: audio/alsa: broken driver 0 Apr 19 20:11:22 antecvdr vdr: audio/alsa: state RUNNING Apr 19 20:11:22 antecvdr vdr: audio/alsa: broken driver 0 Apr 19 20:11:22 antecvdr vdr: audio/alsa: state RUNNING Apr 19 20:11:22 antecvdr vdr: audio/alsa: broken driver 0 Apr 19 20:11:22 antecvdr vdr: audio/alsa: state RUNNING Apr 19 20:11:22 antecvdr vdr: audio/alsa: broken driver 0 usw... |