[mythtv-users] Selecting DVB audio pids in 0.17

Ola Nilsson ola.nilsson.home at telia.com
Sun Apr 10 08:06:54 UTC 2005


Ola Nilsson <ola.nilsson.home at telia.com> writes:

> Hello,
>
> I've googled up a couple of threads regarding the DVB audio pids in
> Myth 0.17 (both on this list and on dev), but I'm still not able to do
> what I want. This thread on the developer list seems related, but I
> think my problem is more ordenary:
>
> http://www.mail-archive.com/mythtv-dev@mythtv.org/msg04850.html
>
> I use a Pinaccle ShowCenter to play some of my recoded shows, and that
> does not handle the audio on the recordings I've made with myth
> 0.17. On myth 0.16, where it all worked, I used an audio pid that when
> recorded, and idetified using Xine, presented itself as "MPEG 2 audio
> layer 2". When I record with 0.17, the same information is "A/52
> 2.0". I think what I need to do to get around this is to select
> another auido PID for my recordings.
>
> So, do I need to edit the code as described in the thread above, or
> can I somehow change the priorities amongst the audio pids so that
> Myth again uses the "MPEG 2 audio layer 2" pid?

I solved this, at least temporarily, by removing AC3 from the wanted
stream types in dvbrecorder.cpp:

    // Wanted stream types:
    QValueList<ES_Type> StreamTypes;
    StreamTypes += ES_TYPE_VIDEO_MPEG1;
    StreamTypes += ES_TYPE_VIDEO_MPEG2;
    StreamTypes += ES_TYPE_AUDIO_MPEG1;
    StreamTypes += ES_TYPE_AUDIO_MPEG2;
//    StreamTypes += ES_TYPE_AUDIO_AC3;  // Removed to get audio on Showcenter.

Reading the code, it looks like both a AC3 audio stream and one of
MPEG1 or MPEG2 gets recorded (without my change). So maybey I just
needed to get the ShowCenter configured rigth. However this patch
solves my problem.

If anyone can tell my what I should have done, I'm still interested in
handling this in the right way...

-- 
/Ola Nilsson



More information about the mythtv-users mailing list