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 43 44 |
vdr01 ~ # aplay -lL
null
Discard all samples (playback) or generate zero samples (capture)
sysdefault:CARD=Intel
HDA Intel, VT1705 Analog
Default Audio Device
front:CARD=Intel,DEV=0
HDA Intel, VT1705 Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, VT1705 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, VT1705 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, VT1705 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, VT1705 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, VT1705 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=NVidia,DEV=0
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
HDA NVidia, HDMI 1
HDMI Audio Output
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: VT1705 Analog [VT1705 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 2: VT1705 HP [VT1705 HP]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 0/1
Subdevice #0: subdevice #0
vdr01 ~ #
|
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 |
# ALSA library configuration file
# Include settings that are under the control of asoundconf(1).
# (To disable these settings, comment out this line.)
</root/.asoundrc.asoundconf>
pcm.Intel { type hw; card Intel; }
ctl.Intel { type hw; card Intel; }
pcm.NVidia { type hw; card NVidia; }
ctl.NVidia { type hw; card NVidia; }
pcm.!default pcm.NVidia
ctl.!default ctl.NVidia
|

|
|
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 60 61 62 63 64 65 66 67 68 69 |
pcm.!default {
type plug
slave {
pcm "both"
}
}
pcm.both {
type route
slave {
pcm multi
channels 4
}
ttable.0.0 1.0
ttable.1.1 1.0
ttable.0.2 1.0
ttable.1.3 1.0
}
pcm.multi {
type multi
slaves.a {
pcm "tv"
channels 2
}
slaves.b {
pcm "receiver"
channels 2
}
bindings.0.slave a
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.tv {
type dmix
ipc_key 1024
slave
{
pcm "hw:0,3"
period_time 0
period_size 1024
buffer_size 4096
rate 48000
channels 2
}
}
pcm.receiver {
type dmix
ipc_key 1025
slave
{
pcm "hw:0,1"
period_time 0
period_size 1024
buffer_size 4096
rate 48000
channels 2
}
}
|
This post has been edited 1 times, last edit by "Björn" (Feb 7th 2012, 9:31pm)
This post has been edited 1 times, last edit by "Asta" (Feb 8th 2012, 3:22pm)
Hallo,
ich bin mir nicht so sicher, ob hier die richtige Stelle ist, aber es hängt ja mit dem Plugin zusammen.
Damit ich das Plugin compiliert bekomme, muss ich libjpeg8-devel installieren. Das beißt sich aber mit libjpeg62-devel, welches libMagick++-devel braucht, welches wiederum für text2skin notwendig ist. Irgendwie komme ich aus dem Kreis nicht raus.![]()
So läuft es momentan ohne text2skin. Ich hätte das aber schon gerne wieder.
Ist hier evtl. noch jemand mit openSuse 11.4 unterwegs und hat das Problem gelöst bekommen?
Ansonsten kämpfe ich auch noch mit dem Lautstärkeproblem. ich bekomme es nicht hin, die Lautstärke regeln zu können.
Das AC3 nicht geht, ist klar, aber Stereo sollte sich schon regeln lassen oder nicht?
Auch mit dem export ALSA_MIXER_CHANNEL tut sich da nix. Wobei ich mir auch nicht sicher bin, ob ich das an die richtige Stelle ins runvdr Script geschrieben habe. Nutze hier runvdr.extreme.
Damit ich das Plugin compiliert bekomme, muss ich libjpeg8-devel installieren. Das beißt sich aber mit libjpeg62-devel, welches libMagick++-devel braucht, welches wiederum für text2skin notwendig ist. Irgendwie komme ich aus dem Kreis nicht raus.
This post has been edited 2 times, last edit by "Keine_Ahnung" (Feb 8th 2012, 3:57pm)
Hallo Johns,Prüfe mal mit alsamixer, wenn du dort den Kanal verstellst, der Ton Leiser und Lauter wird, wenn ja muß es auch mit softhddevice gehen.
"export ALSA_MIXER_CHANNEL='dein kanal'" am Besten direkt eine Zeile vor den Aufruf von vdr.
Die beiden Libs sind ja installiert, also libjpeg8 und libjpeg62. Aber die Dev Pakete beißen sich halt.Kannst du nicht beide Versionen der Libs gleichzeigtig installieren (also die Libs und nicht Dev)? Sollte eigentlich nix dagegen sprechen.
Die beiden Libs sind ja installiert, also libjpeg8 und libjpeg62. Aber die Dev Pakete beißen sich halt.
Ich werde mal den Rat von Johns befolgen und das Plugin ohne -DUSE_JPEG kompilieren.
Hallo Johns,Prüfe mal mit alsamixer, wenn du dort den Kanal verstellst, der Ton Leiser und Lauter wird, wenn ja muß es auch mit softhddevice gehen.
"export ALSA_MIXER_CHANNEL='dein kanal'" am Besten direkt eine Zeile vor den Aufruf von vdr.
mit alsamixer tut sich nix bei der Lautstärke, egal welchen Kanal ich regle.
Ich kann dort nur den Kanal SPDIF_1 muten oder nicht, und hab dann Ton am TV oder eben nicht.

Die beiden Libs sind ja installiert, also libjpeg8 und libjpeg62. Aber die Dev Pakete beißen sich halt.
Ich werde mal den Rat von Johns befolgen und das Plugin ohne -DUSE_JPEG kompilieren.
Deinstalliere das gerade nicht benötigte dev-Paket und installiere das, was du brauchst. Muss ja nur zur "Compile Time" da sein.
das geht ja beim VDR/dvbsddevice auch. Hi,
ich habe ein seltsames Problem mit dem "Ton".
Mir ist aufgefallen, dass u.A. ich bei Sky NatGeo HD nur den "halben" Ton habe. Das äußert sich so, dass zwar die Geräusche und die Backroundmusik ausgegeben werden, jedoch aber keine Sprache. Das ist bei machen Sky-HD Sendern so und bei machen widerum nicht.
Hat Jemand eine Idee woran das liegen könnte, oder besser noch eine Lösung?

Es wurde schon als Bug reportet und ist im GIT seit Tue Feb 7 17:08:59 2012 gefixt. Solltest du schon die Neue Version haben, dann muß ich es noch mal ansehen.

|
|
Source code |
1 2 3 4 5 6 7 8 |
vdr01 softhddevice-git # git log |head -6
commit 918170d00b7c372d87474ca54603a58f19fdb74a
Author: Johns <[email]johns98@gmx.net[/email]>
Date: Wed Feb 8 15:19:18 2012 +0100
Add support for AAC LATM audio streams.
vdr01 softhddevice-git #
|

This post has been edited 2 times, last edit by "C-3PO" (Feb 8th 2012, 9:11pm)
|
|
Source code |
1 |
CONFIG += $(shell ls /usr/lib/libjpeg* >/dev/null 2>&1 && echo "-DUSE_JPEG |
|
|
Source code |
1 |
CONFIG += $(shell echo -e "\#include \n\#include \n\#include \n void main (void){jpeg_mem_dest(NULL,NULL,NULL);}"|gcc -x c - -ljpeg -o /dev/null >/dev/null 2>&1 && echo "-DUSE_JPEG" )
|
This post has been edited 1 times, last edit by "m.Rcu" (Feb 8th 2012, 9:21pm)
Hi,
ich habe ein seltsames Problem mit dem "Ton".
Mir ist aufgefallen, dass u.A. ich bei Sky NatGeo HD nur den "halben" Ton habe. Das äußert sich so, dass zwar die Geräusche und die Backroundmusik ausgegeben werden, jedoch aber keine Sprache. Das ist bei machen Sky-HD Sendern so und bei machen widerum nicht.
Hat Jemand eine Idee woran das liegen könnte, oder besser noch eine Lösung?
Warum nicht einfach die Standard-Routine des VDR benutzen? Dann kompiliert es immer. Aus tools.h:dann kompiliert es auch nur mit Jpeg wenn eine passender Version vorhanden ist ( was ja meiner Meinung nach für einen sehr grossen Teil zutreffen würde ??)
|
|
Source code |
1 2 3 4 5 6 7 8 9 |
uchar *RgbToJpeg(uchar *Mem, int Width, int Height, int &Size, int Quality = 100);
///< Converts the given Memory to a JPEG image and returns a pointer
///< to the resulting image. Mem must point to a data block of exactly
///< (Width * Height) triplets of RGB image data bytes. Upon return, Size
///< will hold the number of bytes of the resulting JPEG data.
///< Quality can be in the range 0..100 and controls the quality of the
///< resulting image, where 100 is "best". The caller takes ownership of
///< the result and has to delete it once it is no longer needed.
///< The result may be NULL in case of an error.
|