Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Sound problem with channels with 2 Apids



Hi,

I had this problem to and some other people also, if you add a CI-Interface the problem went away.

CU
Bernd Zierath

> -----Original Message-----
> From: Olivier Kojack [mailto:mydvbs@hotmail.com]
> Sent: Friday, May 24, 2002 1:42 PM
> To: vdr@linuxtv.org
> Subject: [vdr] Sound problem with channels with 2 Apids 
> 
> 
> Hi there.
> First, congrats for vdr, this is an excellent job (and the 
> sources are 
> sooooo clear :) ). I'm just trying to explain one of my 
> problems here and 
> request for help, while I'm trying to fix the issue by myself also...
> 
> I've been observing a problem with channels that have 2 APid 
> (like Kiosque 
> on Astra).
> I'm running vdr on Mandrake 8.2, vdr 1.0.2 + aio 12/05, dvb drivers 
> 2002-04-01.
> When switching to those channels, I get a strange sound, like if the 
> demuxing was bad.
> I have searched and somebody detailed on a forum a workaround 
> which is to 
> press Menu/Language (green button) twice. Actually the sound 
> is ok the first 
> time I press it, but this is not the language I needed :)
> Another thing (as far as test goes): I can record a channel 
> that sounds bad 
> and replay it without any sound problems this time. But the 
> problem is back 
> each time I switch to the channel.
> 
> I tried to investigate and found (in dvbapi.c) the function 
> that is called 
> at the time I press "Menu/Language": 
> cDvbApi::ToggleAudioTrack(void), which, 
> in turn, calls SetPids where APids are set.
> In the cDvbApi::SetChannel function which is called each time 
> a channel is 
> tuned, the cDvbApi::SetPids function is also called. Here is 
> the content:
>   return SetVpid(vPid,   ForRecording ? DMX_OUT_TS_TAP : 
> DMX_OUT_DECODER) &&
>          SetApid1(aPid1, ForRecording ? DMX_OUT_TS_TAP : 
> DMX_OUT_DECODER) &&
>          SetApid2(ForRecording ? aPid2 : 0, DMX_OUT_TS_TAP) && 
> (!Setup.RecordDolbyDigital ||
>          SetDpid1(ForRecording ? dPid1 : 0, DMX_OUT_TS_TAP) &&
>          SetDpid2(ForRecording ? dPid2 : 0, DMX_OUT_TS_TAP));
> 
> Can it be a problem that we set Apid2 only if we record?
> 
> I found also in dvbapi.h the following lines:
>   bool SetApid1(int Apid, dmxOutput_t Output) { return 
> SetPid(fd_demuxa1, 
> DMX_PES_AUDIO,    Apid, Output); }
>   bool SetApid2(int Apid, dmxOutput_t Output) { return 
> SetPid(fd_demuxa2, 
> DMX_PES_OTHER,    Apid, Output); }
> 
> Is it normal that for SetApid2, we use "DMX_PES_OTHER"? Might 
> be, but I just 
> don't know :)
> 
> Well, I tried to change around this and didn't fixed the problem.
> 
> Has anybody any other idea?
> 
> Thanks!
> 
> _________________________________________________________________
> Téléchargez MSN Explorer gratuitement à l'adresse 
> http://explorer.msn.fr/intl.asp.
> 
> 
> 
> 




Home | Main Index | Thread Index