hauppauge pvr-350

pvr350

Update 2020-03-21

v4l2-ctl command set changed.  Many of the commands we had documented have changed

 

 

v4l2-ctl -d /dev/video0 –log-status

v4l2-ctl -d /dev/video0 –set-standard=ntsc
v4l2-ctl -d /dev/video0 –set-ctrl=mute=0
v4l2-ctl -d /dev/video0 –set-input 1
v4l2-ctl -d /dev/video0 –set-audio-input 1
v4l2-ctl -d /dev/video0 –set-ctrl=video_bitrate=8000000,video_peak_bitrate=12000000
v4l2-ctl -d /dev/video0 –set-ctrl=audio_layer_ii_bitrate=13

phomlish@a2:~$ v4l2-ctl –log-status

Status Log:

[2226091.504363] ivtv0: ================= START STATUS =================
[2226091.504370] ivtv0: Version: 1.4.3 Card: Hauppauge WinTV PVR-350
[2226091.562698] tveeprom 2-0050: Hauppauge model 48132, rev K168, serial# 7336201
[2226091.562704] tveeprom 2-0050: tuner model is LG TAPE H001F MK3 (idx 68, type 47)
[2226091.562709] tveeprom 2-0050: TV standards NTSC(M) (eeprom 0x08)
[2226091.562713] tveeprom 2-0050: audio processor is MSP4448 (idx 27)
[2226091.562716] tveeprom 2-0050: decoder processor is SAA7115 (idx 19)
[2226091.562720] tveeprom 2-0050: has radio, has IR receiver, has no IR transmitter
[2226091.562724] saa7115 2-0021: Audio frequency: 48000 Hz
[2226091.564756] saa7115 2-0021: Input: S-Video 0
[2226091.564763] saa7115 2-0021: Video signal: broadcast/DVD
[2226091.564766] saa7115 2-0021: Frequency: 60 Hz
[2226091.564769] saa7115 2-0021: Detected format: NTSC
[2226091.564772] saa7115 2-0021: Width, Height: 720, 480
[2226091.564776] saa7115 2-0021: Brightness: 128
[2226091.564781] saa7115 2-0021: Contrast: 64
[2226091.564785] saa7115 2-0021: Saturation: 64
[2226091.564788] saa7115 2-0021: Hue: 0
[2226091.564791] saa7115 2-0021: Chroma AGC: true
[2226091.564794] saa7115 2-0021: Chroma Gain: 40 inactive volatile
[2226091.564800] saa7127 2-0044: Standard: 60 Hz
[2226091.564802] saa7127 2-0044: Input: normal
[2226091.564805] saa7127 2-0044: Output: S-Video + Composite
[2226091.564807] saa7127 2-0044: WSS: disabled
[2226091.564809] saa7127 2-0044: VPS: disabled
[2226091.564812] saa7127 2-0044: CC: disabled
[2226091.566401] msp3400 2-0040: msp3400 rev1 = 0x0117 rev2 = 0x3042
[2226091.566405] msp3400 2-0040: Audio: Volume: 58880
[2226091.566409] msp3400 2-0040: Audio: Balance: 32768
[2226091.566412] msp3400 2-0040: Audio: Mute: false
[2226091.566416] msp3400 2-0040: Mode: External input
[2226091.566419] msp3400 2-0040: Audmode: 0x0001
[2226091.566423] msp3400 2-0040: Routing: 0x00222220 (input) 0x00000044 (output)
[2226091.566425] msp3400 2-0040: ACB: 0x0c00
[2226091.566430] tda9887 2-0043: Data bytes: b=0x14 c=0x30 e=0x44
[2226091.566434] tuner 2-0061: Tuner mode: analog TV
[2226091.566437] tuner 2-0061: Frequency: 67.25 MHz
[2226091.566440] tuner 2-0061: Standard: 0x0000b000
[2226091.566444] ivtv0: Video Input: S-Video 1
[2226091.566446] ivtv0: Audio Input: Line In 1
[2226091.566449] ivtv0: Video Output: S-Video + Composite
[2226091.566451] ivtv0: Output Mode: None
[2226091.566625] ivtv0: Overlay: Off, Alpha: Global, Pixel Format: ARGB 8:8:8:8
[2226091.566627] ivtv0: Tuner: TV
[2226091.566630] ivtv0: Stream Type: MPEG-2 Program Stream
[2226091.566634] ivtv0: Stream VBI Format: No VBI
[2226091.566637] ivtv0: Audio Sampling Frequency: 48 kHz
[2226091.566640] ivtv0: Audio Encoding: MPEG-1/2 Layer II
[2226091.566643] ivtv0: Audio Layer II Bitrate: 384 kbps
[2226091.566647] ivtv0: Audio Stereo Mode: Stereo
[2226091.566650] ivtv0: Audio Stereo Mode Extension: Bound 4 inactive
[2226091.566653] ivtv0: Audio Emphasis: No Emphasis
[2226091.566656] ivtv0: Audio CRC: No CRC
[2226091.566659] ivtv0: Audio Mute: false
[2226091.566662] ivtv0: Video Encoding: MPEG-2
[2226091.566665] ivtv0: Video Aspect: 4×3
[2226091.566668] ivtv0: Video B Frames: 2
[2226091.566671] ivtv0: Video GOP Size: 15
[2226091.566674] ivtv0: Video GOP Closure: true
[2226091.566677] ivtv0: Video Bitrate Mode: Variable Bitrate
[2226091.566680] ivtv0: Video Bitrate: 8000000
[2226091.566683] ivtv0: Video Peak Bitrate: 12000000
[2226091.566686] ivtv0: Video Temporal Decimation: 0
[2226091.566689] ivtv0: Video Mute: false
[2226091.566692] ivtv0: Video Mute YUV: 32896
[2226091.566695] ivtv0: Spatial Filter Mode: Manual
[2226091.566698] ivtv0: Spatial Filter: 0
[2226091.566701] ivtv0: Spatial Luma Filter Type: 1D Horizontal
[2226091.566704] ivtv0: Spatial Chroma Filter Type: 1D Horizontal
[2226091.566707] ivtv0: Temporal Filter Mode: Manual
[2226091.566710] ivtv0: Temporal Filter: 8
[2226091.566713] ivtv0: Median Filter Type: Off
[2226091.566716] ivtv0: Median Luma Filter Minimum: 0 inactive
[2226091.566719] ivtv0: Median Luma Filter Maximum: 255 inactive
[2226091.566723] ivtv0: Median Chroma Filter Minimum: 0 inactive
[2226091.566726] ivtv0: Median Chroma Filter Maximum: 255 inactive
[2226091.566730] ivtv0: Insert Navigation Packets: false
[2226091.566733] ivtv0: Video Decoder PTS: 0 volatile
[2226091.566737] ivtv0: Video Decoder Frame Count: 0 volatile
[2226091.566741] ivtv0: Audio Playback: Stereo
[2226091.566744] ivtv0: Audio Multilingual Playback: Left
[2226091.566748] ivtv0: Status flags: 0x00200080
[2226091.566752] ivtv0: Stream encoder MPG: status 0x0000, 0% of 4096 KiB (128 buffers) in use
[2226091.566756] ivtv0: Stream encoder YUV: status 0x0000, 0% of 2048 KiB (64 buffers) in use
[2226091.566759] ivtv0: Stream encoder VBI: status 0x0000, 0% of 1040 KiB (61 buffers) in use
[2226091.566763] ivtv0: Stream encoder PCM: status 0x0000, 0% of 324 KiB (72 buffers) in use
[2226091.566766] ivtv0: Stream decoder MPG: status 0x0000, 0% of 1024 KiB (16 buffers) in use
[2226091.566770] ivtv0: Stream decoder VBI: status 0x0000, 0% of 65 KiB (29 buffers) in use
[2226091.566773] ivtv0: Stream decoder YUV: status 0x0000, 0% of 1024 KiB (16 buffers) in use
[2226091.566776] ivtv0: Read MPG/VBI: 68661184/0 bytes
[2226091.566779] ivtv0: ================== END STATUS ==================

[2224705.806491] ivtv0: Video Bitrate: 6000000
[2224705.806495] ivtv0: Video Peak Bitrate: 8000000
video_bitrate (int) : min=0 max=27000000 step=1 default=6000000 value=6000000
video_peak_bitrate (int) : min=0 max=27000000 step=1 default=8000000 value=8000000

v4l2-ctl –get-ctrl=video_bitrate,video_peak_bitrate
v4l2-ctl –get-ctrl=video_peak_bitrate

v4l2-ctl -d /dev/video0 –list-audio-input
ioctl: VIDIOC_ENUMAUDIO
Input : 0
Name : Tuner 1

Input : 1
Name : Line In 1

Input : 2
Name : Line In 2

v4l2-ctl -d /dev/video0 –list-inputs
ioctl: VIDIOC_ENUMINPUT
Input : 0
Name : Tuner 1
Type : 0x00000001
Audioset : 0x00000007
Tuner : 0x00000000
Standard : 0x0000000000001000 (NTSC-M)
Status : 0x00000000 (ok)
Capabilities: 0x00000004 (SDTV standards)

Input : 1
Name : S-Video 1
Type : 0x00000002
Audioset : 0x00000007
Tuner : 0x00000000
Standard : 0x0000000000FFFFFF (PAL-B/B1/G/H/I/D/D1/K/M/N/Nc/60 NTSC-M/M-JP/443/M-KR SECAM-B/D/G/H/K/K1/L/Lc)
Status : 0x00000000 (ok)
Capabilities: 0x00000004 (SDTV standards)

Input : 2
Name : Composite 1
Type : 0x00000002
Audioset : 0x00000007
Tuner : 0x00000000
Standard : 0x0000000000FFFFFF (PAL-B/B1/G/H/I/D/D1/K/M/N/Nc/60 NTSC-M/M-JP/443/M-KR SECAM-B/D/G/H/K/K1/L/Lc)
Status : 0x00000000 (ok)
Capabilities: 0x00000004 (SDTV standards)

Input : 3
Name : S-Video 2
Type : 0x00000002
Audioset : 0x00000007
Tuner : 0x00000000
Standard : 0x0000000000FFFFFF (PAL-B/B1/G/H/I/D/D1/K/M/N/Nc/60 NTSC-M/M-JP/443/M-KR SECAM-B/D/G/H/K/K1/L/Lc)
Status : 0x00000000 (ok)
Capabilities: 0x00000004 (SDTV standards)

Input : 4
Name : Composite 2
Type : 0x00000002
Audioset : 0x00000007
Tuner : 0x00000000
Standard : 0x0000000000FFFFFF (PAL-B/B1/G/H/I/D/D1/K/M/N/Nc/60 NTSC-M/M-JP/443/M-KR SECAM-B/D/G/H/K/K1/L/Lc)
Status : 0x00000000 (ok)
Capabilities: 0x00000004 (SDTV standards)

Input : 5
Name : Composite 3
Type : 0x00000002
Audioset : 0x00000007
Tuner : 0x00000000
Standard : 0x0000000000FFFFFF (PAL-B/B1/G/H/I/D/D1/K/M/N/Nc/60 NTSC-M/M-JP/443/M-KR SECAM-B/D/G/H/K/K1/L/Lc)
Status : 0x00000000 (ok)
Capabilities: 0x00000004 (SDTV standards)

phomlish@a2:~$ v4l2-ctl -d /dev/video0 –all
Driver Info (not using libv4l2):
Driver name : ivtv
Card type : Hauppauge WinTV PVR-350
Bus info : PCI:0000:02:05.0
Driver version: 4.4.95
Capabilities : 0x812702D3
Video Capture
Video Output
Video Output Overlay
VBI Capture
Sliced VBI Capture
Sliced VBI Output
Tuner
Audio
Radio
Read/Write
Extended Pix Format
Device Capabilities
Device Caps : 0x01230001
Video Capture
Tuner
Audio
Read/Write
Extended Pix Format
Priority: 2
Frequency for tuner 0: 1076 (67.250000 MHz)
Tuner 0:
Name : ivtv TV Tuner
Type : Analog TV
Capabilities : 62.5 kHz multi-standard stereo lang1 lang2 freq-bands
Frequency range : 44.000 MHz – 958.000 MHz
Signal strength/AFC : 0%/0
Current audio mode : stereo
Available subchannels: mono
Video input : 0 (Tuner 1: ok)
Audio input : 0 (Tuner 1)
Video Standard = 0x00001000
NTSC-M
Format Video Capture:
Width/Height : 720/480
Pixel Format : ‘MPEG’
Field : Interlaced
Bytes per Line : 0
Size Image : 131072
Colorspace : SMPTE 170M
Transfer Function : Default
YCbCr Encoding : Default
Quantization : Default
Flags :
Crop Capability Video Capture:
Bounds : Left 0, Top 0, Width 720, Height 480
Default : Left 0, Top 0, Width 720, Height 480
Pixel Aspect: 10/11
Crop Capability Video Output:
Bounds : Left 0, Top 0, Width 720, Height 480
Default : Left 0, Top 0, Width 720, Height 480
Pixel Aspect: 10/11
Selection: crop_default, Left 0, Top 0, Width 720, Height 480
Selection: crop_bounds, Left 0, Top 0, Width 720, Height 480
Selection: compose, Left 0, Top 0, Width 720, Height 480
Selection: compose_default, Left 0, Top 0, Width 720, Height 480
Selection: compose_bounds, Left 0, Top 0, Width 720, Height 480
Streaming Parameters Video Capture:
Frames per second: 29.970 (30000/1001)
Read buffers : 2

User Controls

brightness (int) : min=0 max=255 step=1 default=128 value=128 flags=slider
contrast (int) : min=0 max=127 step=1 default=64 value=64 flags=slider
saturation (int) : min=0 max=127 step=1 default=64 value=64 flags=slider
hue (int) : min=-128 max=127 step=1 default=0 value=0 flags=slider
volume (int) : min=0 max=65535 step=655 default=58880 value=58880 flags=slider
balance (int) : min=0 max=65535 step=655 default=32768 value=32768 flags=slider
mute (bool) : default=0 value=1
chroma_agc (bool) : default=1 value=1 flags=update
chroma_gain (int) : min=0 max=127 step=1 default=40 value=15 flags=inactive, slider, volatile

Codec Controls

stream_type (menu) : min=0 max=5 default=0 value=0 flags=update
stream_vbi_format (menu) : min=0 max=1 default=0 value=0
audio_sampling_frequency (menu) : min=0 max=2 default=1 value=1
audio_encoding (menu) : min=0 max=4 default=1 value=1 flags=update
audio_layer_ii_bitrate (menu) : min=0 max=13 default=10 value=10
audio_stereo_mode (menu) : min=0 max=3 default=0 value=0 flags=update
audio_stereo_mode_extension (menu) : min=0 max=3 default=0 value=0 flags=inactive
audio_emphasis (menu) : min=0 max=2 default=0 value=0
audio_crc (menu) : min=0 max=1 default=0 value=0
audio_mute (bool) : default=0 value=0
audio_playback (menu) : min=0 max=5 default=1 value=1
audio_multilingual_playback (menu) : min=0 max=5 default=2 value=2
video_encoding (menu) : min=0 max=1 default=1 value=1
video_aspect (menu) : min=0 max=3 default=1 value=1
video_b_frames (int) : min=0 max=33 step=1 default=2 value=2 flags=update
video_gop_size (int) : min=1 max=34 step=1 default=15 value=15
video_gop_closure (bool) : 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=6000000
video_peak_bitrate (int) : min=0 max=27000000 step=1 default=8000000 value=8000000
video_temporal_decimation (int) : min=0 max=255 step=1 default=0 value=0
video_mute (bool) : default=0 value=0
video_mute_yuv (int) : min=0 max=16777215 step=1 default=32896 value=32896
video_decoder_pts (int64) : min=0 max=8589934591 step=1 default=0 value=0 flags=read-only, volatile
video_decoder_frame_count (int64) : min=0 max=9223372036854775807 step=1 default=0 value=0 flags=read-only, volatile
spatial_filter_mode (menu) : min=0 max=1 default=0 value=0 flags=update
spatial_filter (int) : min=0 max=15 step=1 default=0 value=0 flags=slider
spatial_luma_filter_type (menu) : min=0 max=4 default=1 value=1
spatial_chroma_filter_type (menu) : min=0 max=1 default=1 value=1
temporal_filter_mode (menu) : min=0 max=1 default=0 value=0 flags=update
temporal_filter (int) : min=0 max=31 step=1 default=8 value=8 flags=slider
median_filter_type (menu) : min=0 max=4 default=0 value=0 flags=update
median_luma_filter_minimum (int) : min=0 max=255 step=1 default=0 value=0 flags=inactive, slider
median_luma_filter_maximum (int) : min=0 max=255 step=1 default=255 value=255 flags=inactive, slider
median_chroma_filter_minimum (int) : min=0 max=255 step=1 default=0 value=0 flags=inactive, slider
median_chroma_filter_maximum (int) : min=0 max=255 step=1 default=255 value=255 flags=inactive, slider
insert_navigation_packets (bool) : default=0 value=0

Leave a Reply

Your email address will not be published. Required fields are marked *