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: Sun Apr 08, 2007 1:58 pm 
Offline
Joined: Mon Feb 23, 2004 1:08 am
Posts: 91
Location: Switzerland
I just recently built a new box with "modern" hardware. It works great.
In the process, I came back to Knoppmyth R5E50 to save (a lot of) time, and everything installed perfectly (unlike on my old hardware in ... wow, 2004!).

So far so good. It works great.

The thing that is stomping me is to figure how I can set it up to automatically record the second language on bilingual programs.

In "Recording profiles", there *should* be an option that lets me do just that. I did set it up on my "old" box. And now it doesn't show up.

I am using the exact same PVR350 card (I moved it from the old box). It seems to load right (see below).

The card does allow me to switch back and forth between languages using the ivtv tools.

I have checked in the code (I thought maybe it was one of the numerous patches I had applied in the past), but indeed, this option is part of the "normal" mythtv, defined in recordingprofile.cpp (see below). So it should appear...

So, why would I not be given this option??

I could build the source and start debugging, but I would really like to avoid this if possible (I was so happy not to have to do ANY tweaking this time)...

Thanks,
Laurent

----
in trunk/mythtv/libs/libmythtv/recordingprofile.cpp:

Code:
class MPEG2Language : public ComboBoxSetting, public CodecParamStorage
329   {
330     public:
331       MPEG2Language(const RecordingProfile &parent) :
332           ComboBoxSetting(this), CodecParamStorage(this, parent, "mpeg2language")
333       {
334           setLabel(QObject::tr("SAP/Bilingual"));
335   
336           addSelection(QObject::tr("Main Language"), "0");
337           addSelection(QObject::tr("SAP Language"),  "1");
338           addSelection(QObject::tr("Dual"),          "2");
339   
340           setValue(0);
341           setHelpText(QObject::tr(
342                           "Chooses the language(s) to record when "
343                           "two languages are broadcast. Only Layer II "
344                           "supports the recording of two languages (Dual)."
345                           "Requires ivtv 0.4.0 or later."));
346       };
347   };


-----
Extract from dmesg:
Code:
ivtv0: Autodetected Hauppauge card (cx23415 based)
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
ivtv0: loaded v4l-cx2341x-dec.fw firmware (262144 bytes)
ivtv0: Autodetected Hauppauge WinTV PVR-350
ivtv0: Encoder revision: 0x02050032
ivtv0: Decoder revision: 0x02020023
ivtv0: Registered device video0 for encoder MPEG
ivtv0: Registered device video32 for encoder YUV
ivtv0: Registered device vbi0 for encoder VBI
ivtv0: Registered device video24 for encoder PCM audio
ivtv0: Registered device radio0 for encoder radio
ivtv0: Registered device video16 for decoder MPEG
ivtv0: Registered device vbi8 for decoder VBI
ivtv0: Registered device vbi16 for decoder VOUT
ivtv0: Registered device video48 for decoder YUV
ivtv0: loaded v4l-cx2341x-init.mpg firmware (155648 bytes)
ivtv0: Initialized Hauppauge


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 11, 2007 1:59 pm 
Offline
Joined: Mon Feb 23, 2004 1:08 am
Posts: 91
Location: Switzerland
Well, I figured it out... It doesn't show, because this code was made in changeset 11377 in the trunk, and I guess wasn't back ported to the 0.20-fixes branch.

So, FYI for people who get programming in dual language, the trunk now has a great feature to ease the process of selecting which channel to record.

And sorry for the question, I should have checked the source more carefully. I was just confused and thought maybe it had to do with some weirdness with my card or something...


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 12, 2007 4:17 am 
Offline
Joined: Mon Jun 21, 2004 5:28 am
Posts: 700
Location: Germany
I think it can be done manually. http://mysettopbox.tv/phpBB2/viewtopic.php?t=4064&highlight=dual This is a rather old post and setting the default language mode on a tuner might have been ported to v4l2-ctl. Check the man pages for both, and then add the appropriate command to ~mythtv/.fluxbox/apps.

Allen

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


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 12, 2007 6:00 am 
Offline
Joined: Mon Feb 23, 2004 1:08 am
Posts: 91
Location: Switzerland
Yeah, that's an idea. I never thought of using the fluxbox setting to set this... I'll have to give it a try, since it's quick.

However, if someone reads this, be advised that this will probably be broken after the next upgrade, since the "new" way of doing it (in the trunk) actually sets ivtv according to the settings in the UI every time a show starts recording (if I am not mistaken).


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 5 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:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu