Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Volume Discrepancy

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


ken.mink at gmail

Jul 23, 2012, 7:57 AM

Post #1 of 5 (425 views)
Permalink
Volume Discrepancy

Hello All,
I am running v0.25.2 on CentOS6.3. I have a PVR-500, a HDHomerun
and a HVR-2250 all attached to the same TWC feed. The problem I am
working on is a serious volume discrepancy between the PVR-500 and the
analog side of the HVR-2250. They are record from the same feed, but
the recordings and livetv from each have a serious difference in audio
volume. I've looked at the recording profiles, but they both use the
"MPEG-2 Encoders (PVR-x50, PVR-500)" group. I don't see how to assign
a different group or different profiles to each card. How can I do
this or is there some other way to set the recording volumes
differently for each card.

Thanks,
Ken

--
---------------------------------------------
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."--Benjamin Franklin
" 'Necessity' is the plea for every infringement of human liberty; it
is the argument of tyrants; it is the creed of slaves."--William Pitt
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


mtdean at thirdcontact

Jul 24, 2012, 2:11 PM

Post #2 of 5 (387 views)
Permalink
Re: Volume Discrepancy [In reply to]

On 07/23/2012 10:57 AM, Ken Mink wrote:
> I am running v0.25.2 on CentOS6.3. I have a PVR-500, a HDHomerun
> and a HVR-2250 all attached to the same TWC feed. The problem I am
> working on is a serious volume discrepancy between the PVR-500 and the
> analog side of the HVR-2250. They are record from the same feed, but
> the recordings and livetv from each have a serious difference in audio
> volume. I've looked at the recording profiles, but they both use the
> "MPEG-2 Encoders (PVR-x50, PVR-500)" group. I don't see how to assign
> a different group or different profiles to each card. How can I do
> this or is there some other way to set the recording volumes
> differently for each card.

There's no way to associate recording profiles to capture cards--they're
associated with specific recording rules.

Therefore, your only option is to either live with it or run some kind
of script after MythTV starts recording to set the volume appropriately
on your capture cards. You can either use a script spawned by the
external channel change script or one spawned by a Recording Started
system event, and have it sleep for a while (5, 10 or 20s or ...) then
adjust the volume. You probably want to have MythTV set the "lower"
volume properly and then have the script increase the volume on the
quieter cards so that you're not blown out of the chair by the loud
volume for the first 20s.

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


ken.mink at gmail

Jul 26, 2012, 11:04 AM

Post #3 of 5 (360 views)
Permalink
Re: Volume Discrepancy [In reply to]

On 07/24/2012 05:11 PM, Michael T. Dean wrote:
> On 07/23/2012 10:57 AM, Ken Mink wrote:
>> I am running v0.25.2 on CentOS6.3. I have a PVR-500, a HDHomerun
>> and a HVR-2250 all attached to the same TWC feed. The problem I am
>> working on is a serious volume discrepancy between the PVR-500 and the
>> analog side of the HVR-2250. They are record from the same feed, but
>> the recordings and livetv from each have a serious difference in audio
>> volume. I've looked at the recording profiles, but they both use the
>> "MPEG-2 Encoders (PVR-x50, PVR-500)" group. I don't see how to assign
>> a different group or different profiles to each card. How can I do
>> this or is there some other way to set the recording volumes
>> differently for each card.
>
> There's no way to associate recording profiles to capture
> cards--they're associated with specific recording rules.
>
> Therefore, your only option is to either live with it or run some kind
> of script after MythTV starts recording to set the volume
> appropriately on your capture cards. You can either use a script
> spawned by the external channel change script or one spawned by a
> Recording Started system event, and have it sleep for a while (5, 10
> or 20s or ...) then adjust the volume. You probably want to have
> MythTV set the "lower" volume properly and then have the script
> increase the volume on the quieter cards so that you're not blown out
> of the chair by the loud volume for the first 20s.
>
> Mike

Thanks for the help, Mike. So would I have the script update the
recording level in the database before the recording starts? Using that
method I could set specific values for specific cards. I haven't been
able to find where the recording level is stored for the recording profiles.

Ken

> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-users

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


mtdean at thirdcontact

Jul 26, 2012, 11:44 AM

Post #4 of 5 (362 views)
Permalink
Re: Volume Discrepancy [In reply to]

On 07/26/2012 02:04 PM, Ken Mink wrote:
> On 07/24/2012 05:11 PM, Michael T. Dean wrote:
>> On 07/23/2012 10:57 AM, Ken Mink wrote:
>>> I am running v0.25.2 on CentOS6.3. I have a PVR-500, a HDHomerun
>>> and a HVR-2250 all attached to the same TWC feed. The problem I am
>>> working on is a serious volume discrepancy between the PVR-500 and the
>>> analog side of the HVR-2250. They are record from the same feed, but
>>> the recordings and livetv from each have a serious difference in audio
>>> volume. I've looked at the recording profiles, but they both use the
>>> "MPEG-2 Encoders (PVR-x50, PVR-500)" group. I don't see how to assign
>>> a different group or different profiles to each card. How can I do
>>> this or is there some other way to set the recording volumes
>>> differently for each card.
>>
>> There's no way to associate recording profiles to capture
>> cards--they're associated with specific recording rules.
>>
>> Therefore, your only option is to either live with it or run some
>> kind of script after MythTV starts recording to set the volume
>> appropriately on your capture cards. You can either use a script
>> spawned by the external channel change script or one spawned by a
>> Recording Started system event, and have it sleep for a while (5, 10
>> or 20s or ...) then adjust the volume. You probably want to have
>> MythTV set the "lower" volume properly and then have the script
>> increase the volume on the quieter cards so that you're not blown out
>> of the chair by the loud volume for the first 20s.
>
> Thanks for the help, Mike. So would I have the script update the
> recording level in the database before the recording starts? Using
> that method I could set specific values for specific cards. I haven't
> been able to find where the recording level is stored for the
> recording profiles.

No, have the script call v4l2ctl to set the recording volume on the card
itself after MythTV sets it to the "initial" value (specified in the
recording profile, which is stored in the DB). No need to mess with the
database--or deal with the inevitable race conditions when different
cards are used for recording shows that start at the same time.

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


ken.mink at gmail

Jul 27, 2012, 6:19 PM

Post #5 of 5 (345 views)
Permalink
Re: Volume Discrepancy [In reply to]

On 7/26/12 2:44 PM, Michael T. Dean wrote:
> On 07/26/2012 02:04 PM, Ken Mink wrote:
>> On 07/24/2012 05:11 PM, Michael T. Dean wrote:
>>> On 07/23/2012 10:57 AM, Ken Mink wrote:
>>>> I am running v0.25.2 on CentOS6.3. I have a PVR-500, a HDHomerun
>>>> and a HVR-2250 all attached to the same TWC feed. The problem I am
>>>> working on is a serious volume discrepancy between the PVR-500 and the
>>>> analog side of the HVR-2250. They are record from the same feed, but
>>>> the recordings and livetv from each have a serious difference in audio
>>>> volume. I've looked at the recording profiles, but they both use the
>>>> "MPEG-2 Encoders (PVR-x50, PVR-500)" group. I don't see how to assign
>>>> a different group or different profiles to each card. How can I do
>>>> this or is there some other way to set the recording volumes
>>>> differently for each card.
>>>
>>> There's no way to associate recording profiles to capture
>>> cards--they're associated with specific recording rules.
>>>
>>> Therefore, your only option is to either live with it or run some
>>> kind of script after MythTV starts recording to set the volume
>>> appropriately on your capture cards. You can either use a script
>>> spawned by the external channel change script or one spawned by a
>>> Recording Started system event, and have it sleep for a while (5, 10
>>> or 20s or ...) then adjust the volume. You probably want to have
>>> MythTV set the "lower" volume properly and then have the script
>>> increase the volume on the quieter cards so that you're not blown out
>>> of the chair by the loud volume for the first 20s.
>>
>> Thanks for the help, Mike. So would I have the script update the
>> recording level in the database before the recording starts? Using
>> that method I could set specific values for specific cards. I haven't
>> been able to find where the recording level is stored for the
>> recording profiles.
>
> No, have the script call v4l2ctl to set the recording volume on the card
> itself after MythTV sets it to the "initial" value (specified in the
> recording profile, which is stored in the DB). No need to mess with the
> database--or deal with the inevitable race conditions when different
> cards are used for recording shows that start at the same time.
>
> Mike

Hi Mike,
Just wanted to say thanks for the pointers. I went with a Recording
Started System Event triggered script that takes the cardid. It uses
that to determine the device file and volume level to use with v4lctl.
The longest part was figuring out udev so that I could be sure about
what device file was what physical tuner. The WAF just went up a few
notches.

Ken

> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-users

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.