Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: How to send second audio pid to sound card?



On Tuesday 13 August 2002 11:07, you wrote:
> If I try to get only the sound from a saved file, with "cat 001.vdr | 
> pes2aud_es | mpg123 -" I get only the first audio track. How can I get the 
> second track?

Around line 398 in "apps/mpegtools/main.cc", replace the 0xC0 with 0xC1.

i.e. change:

               case pes2aud_es_:
                        extract_from_pes(fd, STDOUT_FILENO, 0xC0, 1);
                        break;

               case pes2aud_es_:
                        extract_from_pes(fd, STDOUT_FILENO, 0xC1, 1);
                        break;

I haven't tested this, but I would expect it to work.

Regards,

Dave.




Home | Main Index | Thread Index