MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Help on Development » Quality Assurance (Bugreports) » Archive » Bug Reports » 0.2.0.0 Release Candidate 1


0.2.0.0 Release Candidate 1 Post bugs you found in the official RC1 relese of 0.2.0.0 here. It is not allowed to post CVS-snapshot Bugs here!

 
 
Thread Tools Display Modes
Old 2005-09-09, 21:17   #1 (permalink)
Portal Member
 
Join Date: Feb 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts


Default Problem with sound if channels having more then 3 sounds pid

MP Version: 2.0.0-RC1 cvs-build 2005-09-25
Skin: BlueTwo
Windows Version: Windows XP Professional sp2 + all uppdates
CPU Type: Intel Celleron 2.4Ghz
Memory: 512MB
Motherboard Chipset: ASUS P4P800 Intel 865PE
Video Card: NVIDIA GeForce4 MX 440
Video Card Driver: Nvidia version 71.89
Video Codec Type & Version: MPEG2Dec
Audio Codec Type & Version: MPEG/AC3/DTS/LPCM Audi Decoder
TV Card 1: Hauppauge WinTV PVR 250
TV Card Type 1: Hardware
TV Card Driver 1: 1.18.21.22266
TV Card 2: Twinhan VisionDTV VP-1030A
TV Card Type 2: DVB
TV Card Driver 2: TwinHan PCI BDA 1.2.2.0
CI-Module: Conax
TV Card 3: Twinhan VisionDTV Ter-CI Split VP-3040
TV Card Type 3: Hardware
TV Card Driver 3: TwinHan PCI BDA 1.2.2.0
CI-Module: Viaccess

I did post this in mediaportals normal bug forum but I realize the post belongs hear.
I receive the Danish audio even if I entered the Swedish pids in the database.
I can’t get Swedish sound in any way tried to remove all info except the Swedish pids from the database still Danish.
Try changing language from inside mediaportal it’s not possible because Swedish is missing in the menu.

/Fjonson
fjonson is offline  
Old 2005-09-30, 16:43   #2 (permalink)
Portal Member
 
Join Date: Feb 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts


Default This is a real bug!

Finally I did find some time to lock in to the code and I found the problem.

In the file DVBGraphBDA.cs and the function SendPMT().

if (hasAudio==false)
{
if (currentTuningObject.AudioPid!=data.elementary_PID ) changed=true;
currentTuningObject.AudioPid=data.elementary_PID;
if(data.data!=null)
{
if(data.data.Length==3) currentTuningObject.AudioLanguage=DVBSections.GetL anguageFromCode(data.data);
}
hasAudio=true;
}

I don’t understand the point of this code. The result is clear the audio pid sent to the ca module is always the same one. If the sound pid you want is the first found in the pmt file every thing is great, but if you want the second pid this code will never work.

For the time I changed my code to the following lines.

if (currentTuningObject.AudioPid==data.elementary_PID )
{
if(data.data!=null)
{
if(data.data.Length==3)
currentTuningObject.AudioLanguage=DVBSections.GetL anguageFromCode(data.data);
}
}

/Fjonson
fjonson is offline  
Old 2005-10-10, 11:39   #3 (permalink)
Portal Manager
 
dman_lfc's Avatar
 
Join Date: Jul 2004
Location: UK
Posts: 1,673
Thanks: 0
Thanked 25 Times in 21 Posts

Country:

My System

Send a message via MSN to dman_lfc Send a message via Skype™ to dman_lfc
Default

Try CVS - you can select the audio stream within TV properly now - please confirm.

DMAN
dman_lfc is offline  
Old 2005-10-11, 18:50   #4 (permalink)
Portal Member
 
Join Date: Feb 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Hello Dman!

I can confirmer you can use the menu to select another sound pid.

But if you use an encrypted channel where is no more sound. Because no new pid is transmitted to the cam module.

Now back to my real problem.
Disney channel is transmitting 4 sound pid for there channel. Mediaportal supports 3 that are fine but the Swedish pid is the last pid mediaportal discovers so it’s outside any selection.

It’s nice that the pmt streams are used to get the sound pid but in this case it’s useless.
As long this part exists in the sendpmt function. This part of the function always select the first found sound even if another pid is selected in the database.

I can se one point with the function and that is to select the first pid found if the pid in the database is missing.


/Fjonson


if (hasAudio==false)
{
if (currentTuningObject.AudioPid!=data.elementary_PID ) changed=true;
currentTuningObject.AudioPid=data.elementary_PID;
if(data.data!=null)
{
if(data.data.Length==3) currentTuningObject.AudioLanguage=DVBSections.GetL anguageFromCode(data.data);
}
hasAudio=true;

}
fjonson is offline  
 

Bookmarks

Tags
pid, sound, sounds
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with DVB EPG (only on two channels) Nyll Get Support 4 2008-07-29 09:28
Sound problem in VideoEditor plugin Nyll Plugins 2 2007-02-06 23:03
Problem with sound after stopping dvd icemanguru General Support 1 2006-11-26 20:56
0.0.2.0 RC4 Latest SVN - Deselected channels problem trojkolka The old Bugreport Forum 2 2006-05-07 15:08
Stuttering DVB-C radio - soundcard problem BugsBunny General Support 0 2006-05-05 22:10


All times are GMT +1. The time now is 12:53.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden