View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon Apr 04, 2005 12:58 pm 
Offline
Joined: Mon Jun 21, 2004 5:28 am
Posts: 700
Location: Germany
Right now, when a show is played in dual language (instead of stereo, 2 languages are broadcast in mono), mythtv select channel 1. Unfortunately, in my area, original soundtracks tend to be on channel 2.

I did some searches and found http://www.geocities.com/szermatt/bilingual.html. It appears that the ivtv patch is in since I can do a ivtvctl -Z to check the current setting. However, I can't find the mythtv settings. When I am not recording, it is set to "stereo" which means record both channels. I.e. ivtv is set up the way I want it. However, myth record seems to be changing the setting to Lang1 when bilingual shows are on. I can't find a Language setting in my record profiles.

Does anyone know how to change the myth behaviour to always record both channels?

I am really hoping someone can embarrass me by pointing out an obvious setting that I have missed...

Allen

_________________
ASUS AT3N7A-I (Atom 330)
TBS 8922 PCI (DVB-S2)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 06, 2005 1:37 am 
Offline
Joined: Mon Jun 21, 2004 5:28 am
Posts: 700
Location: Germany
I found a work-around. But first, a couple of questions:
    This should probably be done with an option in /etc/modules/ivtv. However, I can't find any documentation on valid options. Anyone know where to find them?
    Has anyone managed to burn a DVD with two mono tracks instead of one stereo? When I get time I might look into this, but any pointers to save some time would help.
Before you start, you might want to look at http://v4l2spec.bytesex.org/spec/vidioc-g-tuner.html. In particular, table 6. I expect the "Undefined" combinations will behave differently based on your card, so you may end up doing some trial and error.

The command to change the audio is:
Code:
ivtvctl -z n
where valid values for n can be seen with "ivtvctl -Z". From my experience:
    n=1 : Stereo. This is value that my card is set for initially. However, calling ivtvctl with 1 (which should have done nothing) changed the behaviour. During a bilingual broadcast, both channels are now recorded. This is what I use.
    n=0 : mono
    n=1 : When stereo, record stereo. When bilingual, record left channel.
    n=2 : When stereo, record stereo. When bilingual, record right channel.

Where to put it? Well, bootmisc.sh runs too soon, so I put it in as a startup in ~mythtv/.fluxbox/apps.
Another hint: In the General settings, there is an option to mute left/right separately. If you set this, you can use mute to toggle between channels.

Allen

_________________
ASUS AT3N7A-I (Atom 330)
TBS 8922 PCI (DVB-S2)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 09, 2005 11:56 am 
Offline
Joined: Mon Feb 23, 2004 1:08 am
Posts: 91
Location: Switzerland
Or you can do a quick hack in the ivtv source code:

Code:
root@mythtv:~/ivtv-0.2.0-rc3/driver # diff msp3400.c.orig msp3400.c
1748c1748
<                 msp->source=3; /* defaults to 'stereo or A', see msp34xxg_set_source */
---
>                 msp->source=4; /* defaults to 'stereo or B', see msp34xxg_set_source */


This will cause the B-channel to be used as default when a dual soundtrack is present.[/code]


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 10, 2005 3:30 am 
Offline
Joined: Fri Jun 11, 2004 6:39 am
Posts: 20
Location: Zurich, Switzerland
Great tip! Thanks...

I had it working on R4, but forgot to put it back working after updating to R5

WAF has increased by 50% with this :)

Stefan

_________________
Shuttle SN41G2V2
AMD Athlon XP-3000+
Lite-On 832S IDE, +/-R
200 GB Western Digital
Hauppauge PVR-350
Xbox Frontend


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 37 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu