how to change audio PID? (1 Viewer)

aswieton

MP Donator
  • Premium Supporter
  • October 22, 2007
    24
    0
    Warsaw
    Home Country
    Poland Poland
    Hi I have qestion:
    I need to change the audio pid for radio channel but in version 1.0.0 TV-Server it is imposible from GUI. After edit of the channel I can't see any audio pid filed. I look at the database and find it in tunning paramiters table. So I change it but nothing happend. TV-Server still use default one not this what I choose.
    Here you have part of tv.log file

    2008-12-30 18:55:16.549655 [11]: subch:0 SetMpegPidMapping
    2008-12-30 18:55:16.549655 [11]: subch:0 pid:78 pcr
    2008-12-30 18:55:16.550655 [11]: subch:0 pid:410 pmt
    2008-12-30 18:55:16.550655 [11]: subch:0 pid:4B0 type:C6
    2008-12-30 18:55:16.551655 [11]: subch:0 pid:7B audio lang:ZET type:MPEG-2
    2008-12-30 18:55:16.552655 [11]: subch:0 map pid:7B audio lang:ZET type:MPEG-2
    2008-12-30 18:55:16.553655 [11]: subch:0 pid:7A audio lang:pLA type:MPEG-2
    2008-12-30 18:55:16.553655 [11]: subch:0 pid:7C audio lang:pIN type:MPEG-2
    2008-12-30 18:55:16.554655 [11]: subch:0 pid:79 audio lang:TOK type:MPEG-2
    2008-12-30 18:55:16.554655 [11]: subch:0 pid:78 audio lang:CHI type:MPEG-2
    2008-12-30 18:55:16.555655 [11]: subch:0 pid:7E audio lang:ANT type:MPEG-2
    2008-12-30 18:55:16.555655 [11]: subch:0 pid:D0 type:C0
    2008-12-30 18:55:16.555655 [11]: subch:0 pid:D7 type:C1
    2008-12-30 18:55:16.556655 [11]: subch:0 stop tif

    It choose pid 7B by default but I need 7E
    Please help
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    TV Server uses the audio PIDs that your broadcaster is telling it to use (i.e. it is getting that information from PMT). You can use MP config to change the prefered audio stream language.
     

    aswieton

    MP Donator
  • Premium Supporter
  • October 22, 2007
    24
    0
    Warsaw
    Home Country
    Poland Poland
    But it is not real language. There are separate radio station (btw in polish lang). So I can't change this by language settings (i.e there are no ANT language). I want to create separate radio channels for every radio station. All channels should have different audio pid.
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    But it is not real language. There are separate radio station (btw in polish lang). So I can't change this by language settings (i.e there are no ANT language). I want to create separate radio channels for every radio station. All channels should have different audio pid.

    Sorry, such is not possible.
     

    aswieton

    MP Donator
  • Premium Supporter
  • October 22, 2007
    24
    0
    Warsaw
    Home Country
    Poland Poland
    But few versions before it was posibble to change the audio pid when editing channel. But in version 1.0.0 it disapper. In databes it is still posiible to change audio pid for channel but TV server don't use it. Autodetections of audio pid is permanent. Why you force it? Why it is imposible to do something like this:
    If aduio pid = 0 use autodetection if is <> 0 then use the value as audio pid?
     

    Benjo

    Portal Member
    January 26, 2008
    6
    0
    I have the same problem but with a Tv channel. Mediaportal doesn't identufy in the correct way the audio stream from my provider (Sky Italia), and i have many problem to set the correct language preferences. Can i do something?
     

    Questioner9

    Portal Member
    April 4, 2010
    9
    6
    Home Country
    United Kingdom United Kingdom
    Autodetection of audio pid is permanent. Why do you force it? Why it is impossible to do something like this:
    If audio pid = 0 use autodetection if is <> 0 then use the value as audio pid?

    I support this idea. Mediaportal does not always choose the PIDs that are wanted, so it would be nice to override it.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    Hi everyone

    Like tourettes said, if you can't select the correct stream by specifying the preferred language or type (ie. the "prefer AC3" option) then it is not possible. The reason is that some TV/radio providers dynamically change the PIDs. In order to handle that behaviour TV Server looks up the PIDs in the PMT each time you attempt to tune a channel. We are also able to detect and handle PID changes while you are viewing channels. The trade off is that the PIDs are no longer stored in the database (tuningdetail), so you can't manually set the PID anymore.

    To be very clear, there are two competing requirements:
    1. Support channels with dynamic PIDs.
    2. Allow manually setting PIDs to support stream selection.

    We can't easily support both, so we chose to support the first option...

    [Edit: Questioner9, I suspect that you are talking about the BBC channels with two streams. I think you should be able to get the stream that you want by setting the preferred language on each of those channels.]
     

    Users who are viewing this thread

    Top Bottom