[FFmpeg-trac] #5850(undetermined:new): Using Hauppauge HD-PVR fails (streaming I/O)
FFmpeg
trac at avcodec.org
Fri Sep 16 20:53:16 EEST 2016
#5850: Using Hauppauge HD-PVR fails (streaming I/O)
-------------------------------------+-------------------------------------
Reporter: naums | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: hdpvr, | Blocked By:
video4linux | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
Using the Hauppauge HD-PVR does not work anymore. Used to work on Ubuntu
14.04, does not at Ubuntu 16.04 nor at Arch Linux. A self-compiled avplay
does the job. If it helps: open broadcast studio (obs-studio) cannot open
the device-file either, same error as 'ffplay /dev/video0'
I used Arch Linux for the output below:
How to reproduce:
{{{
% ffplay /dev/video0
ffplay started on 2016-09-16 at 19:44:29
Report written to "ffplay-20160916-194429.log"
Command line:
ffplay /dev/video0 -report
ffplay version 3.1.3 Copyright (c) 2003-2016 the FFmpeg developers
built with gcc 6.1.1 (GCC) 20160802
configuration: --prefix=/usr --disable-debug --disable-static --disable-
stripping --enable-avisynth --enable-avresample --enable-fontconfig
--enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libass
--enable-libbluray --enable-libfreetype --enable-libfribidi --enable-
libgsm --enable-libiec61883 --enable-libmodplug --enable-libmp3lame
--enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg
--enable-libopus --enable-libpulse --enable-libschroedinger --enable-
libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-
libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-
libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-netcdf
--enable-shared --enable-version3 --enable-x11grab
libavutil 55. 28.100 / 55. 28.100
libavcodec 57. 48.101 / 57. 48.101
libavformat 57. 41.100 / 57. 41.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 47.100 / 6. 47.100
libavresample 3. 0. 0 / 3. 0. 0
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100
[video4linux2,v4l2 @ 0x7f5478009240] fd:7 capabilities:81220001/0
[video4linux2,v4l2 @ 0x7f5478009240] The device does not support the
streaming I/O method.
/dev/video0: Function not implemented
}}}
Using the device with 'cat /dev/video0 > test.mp4' works perfectly well.
Even 'gst-play-1.0 /dev/video0' works. Output of v4l2-ctl:
{{{
% v4l2-ctl --all -d /dev/video0
Driver Info (not using libv4l2):
Driver name : hdpvr
Card type : Hauppauge HD PVR
Bus info : usb-0000:00:14.0-4
Driver version: 4.7.2
Capabilities : 0x81220001
Video Capture
Audio
Read/Write
Extended Pix Format
Device Capabilities
Device Caps : 0x01220001
Video Capture
Audio
Read/Write
Extended Pix Format
Priority: 2
Video input : 0 (Component: ok)
Audio input : 0 (RCA back)
Video Standard = 0x0000f900
PAL-M/60
NTSC-M/M-JP/443/M-KR
DV timings:
Active width: 720
Active height: 480
Total width: 858
Total height: 525
Frame format: interlaced
Polarities: -vsync -hsync
Pixelclock: 13500000 Hz (59.94 fields per second)
Horizontal frontporch: 19
Horizontal sync: 62
Horizontal backporch: 57
Field 1:
Vertical frontporch: 4
Vertical sync: 3
Vertical backporch: 15
Field 2:
Vertical frontporch: 4
Vertical sync: 3
Vertical backporch: 16
Standards: CEA-861
Flags: half-line, CE-video
DV timings capabilities:
Minimum Width: 720
Maximum Width: 1920
Minimum Height: 480
Maximum Height: 1080
Minimum PClock: 27000000
Maximum PClock: 74250000
Standards: CEA-861
Capabilities: Interlaced, Progressive
Format Video Capture:
Width/Height : 720/480
Pixel Format : 'MPEG'
Field : Interlaced
Bytes per Line : 0
Size Image : 8192
Colorspace : SMPTE 170M
Transfer Function : Default
YCbCr Encoding : Default
Quantization : Default
Flags :
User Controls
brightness (int) : min=0 max=255 step=1
default=128 value=128 flags=slider
contrast (int) : min=0 max=255 step=1 default=64
value=64 flags=slider
saturation (int) : min=0 max=255 step=1 default=64
value=64 flags=slider
hue (int) : min=0 max=30 step=1 default=15
value=15 flags=slider
sharpness (int) : min=0 max=255 step=1
default=128 value=128 flags=slider
Codec Controls
stream_type (menu) : min=0 max=1 default=1 value=1
flags=update
audio_encoding (menu) : min=0 max=4 default=3 value=3
flags=update
video_encoding (menu) : min=0 max=2 default=2 value=2
video_bitrate_mode (menu) : min=0 max=1 default=1 value=1
flags=update
video_bitrate (int) : min=1000000 max=13500000
step=100000 default=6500000 value=6500000
video_peak_bitrate (int) : min=1100000 max=20200000
step=100000 default=9000000 value=9000000 flags=inactive
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5850>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list