nilsn schrieb: >>I have these channels, yes. However i dont know if the patch allows this >>functionality as it only selects a different apid, rather than one audio >>channel. How is this done in this situation? >> >> > >It does select left/right. If it detects 2 languages on one audiopid it will >put two items with the same audiopid in the apids array, one for each >language. Now, if you look into the SetPreferredAlang function, you will see >that if it detects a preferred language, it checks if the previous and the >following apid in the apids array is equal to the selected, if the previous >is equal it sets audiochannel=2(right channel), if the following is equal it >sets audiochannel=1(left channel), and else audiochannel=0(default stereo). >Based on this audiochannel value, when switching channels it will in >device.c run SelectAudioChannel function if it needs to set it to mono. > >One thing with this is that it will most likely break something in vdr(at >least the recording of the second apid), because it will change the >channels.conf on these mono channels. I should have warned about this but in >my case the important thing is that it records my preferred apid. > >regards >nilsn > > Hi Nilsn, hi Klaus I read most of that talk in this thread about multiple languages. I think Klaus will fix the issues with his future releases of vdr-dev 1.3.x . Since I still use stable 1.2.6 with many Plugins and Komplett-Patch, I'm not willingly too switch that fast to next generation of vdr. But of course I d like to see left/right channel prob somehow fixed on my system. So the patch of Nilsn seems the right direction for me. I read about the edit of the channels.conf done by the pref-apid-patch. So I want to ask you Nilsn or anybody who can help, what can I do, if I have already a reccord with two languages: one on the left and the other on the right channel. Ok I could demux the movie and do some video editing. But that should be my last opportunity. Maybe you (Nilsn, Klaus, other vdr-users) see a simple way, best would be a patch, that vdr does the job for me. I think I will get some more of these (strange) left/right multi-audio reccordings in the future. I have basic knowledge in programming. So a good hint to the right points of the source from vdr.1.2.6 could help me, either. Patch would be great. (And I imagine would also be less work than giving me a long hint by explaining the sources of vdr. But feel free to do so if you believe that I might become a needed developper. ;-) Thx Marten (a vdr-tester, vdr-scripter, vdr-user and vdr-fan) PS: Feel free to convince me changing to vdr 1.3.x . The list might want this to be done in a privat mail-thread! -- Hi! I'm a signature virus, copy me in your ~/.signature to help me spread.
Attachment:
signature.asc
Description: OpenPGP digital signature