Jump to content

Changing Transponder


Recommended Posts

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.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...