Menu

#199 tvtime does not change V4L input volume

closed-fixed
8
2003-09-03
2003-04-30
Billy Biggs
No

It seems that mplayer will set the volume parameter in
V4L to 0 on mute and exit, and tvtime will not restore
it. This really sucks.

The whole volume parameter is pretty broken anyway. No
capture card I've seen ever sets the VOLUME flag to
indicate that you _can_ change it, even though it _is_
used! Evil! Furthermore, on my card here, it's a mute
toggle not a volume control at all. 65535 == sound,
anything else == mute.

I think the best fix might be to always set it to 65535
on unmute. I worry about clipping, but it might be a
reasonable thing to do anyway.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Also have seen on some zapping, that input volume for
    recordings is automagically set to mic and up one third,
    without somebody is asking for that service.

    Hermann

     
  • Billy Biggs

    Billy Biggs - 2003-06-09

    Logged In: YES
    user_id=153320

    Hermann, I think you misunderstand the bug. Read it again.
    I'm talking about the volume parameter in V4L, has nothing
    to do with the mixer on your soundcard or whatever.

     
  • Hermann Pitton

    Hermann Pitton - 2003-06-09

    Logged In: YES
    user_id=364087

    Yes you are right. Not the best idea to compare here with
    unwanted settings on /dev/dsp.
    Can't reproduce this bug with mplayer-rc5. The saa7134
    driver (20030605) loads with VIDIOCGAUDIO volume=32768 on my
    md9717 and it is unchanged on mute and exit of mplayer and
    mencoder. (v4l-info)
    When I set the volume with v4lctl to 100%, clipping is no
    major issue, but I'm wondering about this different
    behaviour, even saa7134 seems not to be a reference driver
    for mplayer. Tvtime is 0.9.8-2.

     
  • Billy Biggs

    Billy Biggs - 2003-07-11

    Logged In: YES
    user_id=153320

    I dunno what to do about this, but I had another issue that
    turned out to be related to the volume on IRC today, so for
    the next release I'm going to try setting it to be max and
    seeing what bugs come out of it. Thanks all for your input
    on this issue.

     
  • Billy Biggs

    Billy Biggs - 2003-07-11
    • milestone: 244593 --> Fixed in CVS for next release
    • status: open --> open-fixed
     
  • Billy Biggs

    Billy Biggs - 2003-09-03
    • status: open-fixed --> closed-fixed
     
  • Julius

    Julius - 2003-12-11

    Logged In: YES
    user_id=679170

    I find that the volume with tvtive is lower than when
    using Dscaler in Windows. I'm using a Hauppauge WinTV/
    Radio with a BT848. Don't know if it has anything to do
    with this bug.

     

Log in to post a comment.

MongoDB Logo MongoDB