nomuraz Posted May 16, 2007 Share Posted May 16, 2007 Hi all, I'm trying to develop a small test program. I'm using DirectShow infrastructure via C++. When i try to change the transponder it changes to the accurate videopid but to the inaccurate audiopid. I mean that the audio isn't associated with the video, i guess the audio is some sort of FM stream. Here my test code ; pgp->m_pB2C2FilterTunerCtrl->SetFrequency(11892); pgp->m_pB2C2FilterTunerCtrl->SetSymbolRate(12800); pgp->m_pB2C2FilterTunerCtrl->SetLnbFrequency(10600) pgp->m_pB2C2FilterTunerCtrl->SetFec((long) eFEC::FEC_AUTO); pgp->m_pB2C2FilterTunerCtrl->SetPolarity((long) ePolarity::POLARITY_HORIZONTAL); pgp->m_pB2C2FilterTunerCtrl->SetLnbKHz((long) eLNBSelection::LNB_SELECTION_22); pgp->m_pB2C2FilterTunerCtrl->SetDiseqc((long) eDiseqc::DISEQC_LEVEL_1_A_A); pgp->m_pB2C2FilterTunerCtrl->SetTunerStatus(); pgp->m_pControl->Stop(); pgp->m_lAudioPID = 263; pgp->m_lVideoPID = 309; pgp->m_pB2C2FilterAvCtrl->SetAudioVideoPIDs(pgp->m_lAudioPID, pgp->m_lVideoPID); pgp->m_pControl->Run(); There is no failure between calls. Is there any mistake? I'm glad to hear any suggestions? and sorry for my bad english. Thanks. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.