Google
  Web www.spinics.net

Re: saa7134_empress streaming via v4l2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Tue, Aug 26, 2008 at 2:58 PM, Hans Verkuil <hverkuil@xxxxxxxxx> wrote:
> On Tuesday 26 August 2008 22:27:03 Gordon Smith wrote:
>> Hello -
>>
>> I have a RTD Technologies VFG7350 (saa7134 based, two channel,
> hardware
>> encoder per channel, no tuner).
>>
>> Should v4l2 show MPEG extended controls for a saa7134_empress device?
>
> Not in that kernel. It was broken.
>
>> If so,
>> any hints about how to restore the controls?
>
> I would love it if you could try this development tree:
> http://linuxtv.org/hg/~hverkuil/v4l-dvb-empress/
>
> I literally merged the last change this evening to 'revive' the empress
> driver after it was solidly broken in recent kernels. It should have
> the MPEG controls and I would really like to know whether it is working
> for you.
>
> For my BeholdTV M6 card I see the standard user controls on both
> devices, I get the private controls on the first device and I get the
> MPEG controls on the second device.
>
> Regards,
>
>        Hans
>

An update after private discussion with Hans Verkuil:

Using either a fresh v4l-dvb (as of today) or the codebase listed
above, saa7134 based card now has MPEG controls restored.

Solution was:
 - Update code
 - Remove i2c address parameters (force and ignore) from saa6752hs
module (that were necessary in the past?)

In 2.6.25-gentoo-r7 + v4l-dvb, MPEG controls have returned:
{{{
$ v4l2-apps/util/v4l2-ctl --list-ctrls --device /dev/video2

User Controls

                     brightness (int)  : min=0 max=255 step=1
default=128 value=128
                       contrast (int)  : min=0 max=127 step=1
default=68 value=68
                     saturation (int)  : min=0 max=127 step=1
default=64 value=64
                            hue (int)  : min=-128 max=127 step=1
default=0 value=0
                         volume (int)  : min=-15 max=15 step=1 default=0 value=0
                           mute (bool) : default=0 value=1
                         mirror (bool) : default=0 value=0

MPEG Encoder Controls

                    stream_type (menu) : min=1 max=1 default=1 value=1
flags=update
       audio_sampling_frequency (menu) : min=1 max=1 default=1 value=1
                 audio_encoding (menu) : min=1 max=1 default=1 value=1
flags=update
         audio_layer_ii_bitrate (menu) : min=11 max=13 default=11 value=11
                 video_encoding (menu) : min=1 max=1 default=1 value=1
                   video_aspect (menu) : min=1 max=2 default=1 value=1
             video_bitrate_mode (menu) : min=0 max=1 default=0 value=0
flags=update
                  video_bitrate (int)  : min=0 max=27000000 step=1
default=6000000 value=0
             video_peak_bitrate (int)  : min=0 max=27000000 step=1
default=8000000 value=0

}}}

>>
>> Below is control listing in 2.6.25-gentoo-r7 + v4l-dvb:
>> ----------------------------------------
>> $ v4l2-ctl  --list-ctrls --device=/dev/video2
>>
>> User Controls
>>
>>                      brightness (int)  : min=0 max=255 step=1
> default=128
>> value=128
>>                        contrast (int)  : min=0 max=127 step=1
> default=68
>> value=68
>>                      saturation (int)  : min=0 max=127 step=1
> default=64
>> value=64
>>                             hue (int)  : min=-128 max=127 step=1
> default=0
>> value=0
>>                          volume (int)  : min=-15 max=15 step=1
> default=0
>> value=0
>>                            mute (bool) : default=0 value=1
>>                          mirror (bool) : default=0 value=0
>>
>> MPEG Encoder Controls
>> ----------------------------------------
>>
>> Below is control listing in 2.6.22-gentoo-r10 (also shows "private
>> controls"):
>> ----------------------------------------
>> $ v4l2-ctl  --list-ctrls --device=/dev/video2
>>                      brightness (int)  : min=0 max=255 step=1
> default=128
>> value=128
>>                        contrast (int)  : min=0 max=127 step=1
> default=68
>> value=68
>>                      saturation (int)  : min=0 max=127 step=1
> default=64
>> value=64
>>                             hue (int)  : min=-128 max=127 step=1
> default=0
>> value=0
>>                          volume (int)  : min=-15 max=15 step=1
> default=0
>> value=0
>>                            mute (bool) : default=0 value=1
>>                          mirror (bool) : default=0 value=0
>>                          invert (bool) : default=0 value=0
>>              y_offset_odd_field (int)  : min=0 max=128 step=0
> default=0
>> value=0
>>             y_offset_even_field (int)  : min=0 max=128 step=0
> default=0
>> value=0
>>                        automute (bool) : default=1 value=1
>> ----------------------------------------
>>
>> Any hints also about how to restore the "private controls" (invert -
>> automute)?
>>
>> Thanks.
>> - Gordon
>> --
>> video4linux-list mailing list
>> Unsubscribe
> mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
>> https://www.redhat.com/mailman/listinfo/video4linux-list
>>
>
>
>

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

[Home]     [Older V4L]     [Linux DVB]     [Video Disk Recorder]     [Video Technology]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Plasma TVs]     [Video Projectors]     [PDAs]     [Xorg]     [Util Linux NG]     [Xfree86]     [Devices]     [Big List of Linux Books]     [Free Photo Albums]     [LCD TVs]     [Fedora Users]     [Webcams]     [Fedora Women]     [HDTV]     [ALSA Users]     [ALSA Devel]     [Stuff]     [SSH]     [DVB Maintainers]     [Linux USB]

Add to Google Powered by Linux