<html><span class="comment-copy"><code>Hi again,<br /><br />Moving on to my hdpvr1212<br /><br />The device works and can capture video using cat of /dev/video0 to test.ts<br /><br />v4l lists the following device info:</code></span><br />$ v4l2-ctl -d /dev/video0 --all<br />Driver Info (not using libv4l2):<br /> Driver name : hdpvr<br /> Card type : Hauppauge HD PVR<br /> Bus info : usb-0000:00:13.2-5<br /> Driver version: 4.13.13<br /> Capabilities : 0x81220001<br /> Video Capture<br /> Audio<br /> Read/Write<br /> Extended Pix Format<br /> Device Capabilities<br /> Device Caps : 0x01220001<br /> Video Capture<br /> Audio<br /> Read/Write<br /> Extended Pix Format<br />Priority: 2<br />Video input : 0 (Component: ok)<br />Audio input : 2 (SPDIF)<br />Video Standard = 0x000000ff<br /> PAL-B/B1/G/H/I/D/D1/K<br />DV timings:<br /> Active width: 720<br /> Active height: 480<br /> Total width: 858<br /> Total height: 525<br /> Frame format: interlaced<br /> Polarities: -vsync -hsync<br /> Pixelclock: 13500000 Hz (59.94 fields per second)<br /> Horizontal frontporch: 19<br /> Horizontal sync: 62<br /> Horizontal backporch: 57<br /> Field 1:<br /> Vertical frontporch: 4<br /> Vertical sync: 3<br /> Vertical backporch: 15<br /> Field 2:<br /> Vertical frontporch: 4<br /> Vertical sync: 3<br /> Vertical backporch: 16<br /> Standards: CEA-861<br /> Flags: half-line, CE-video<br />DV timings capabilities:<br /> Minimum Width: 720<br /> Maximum Width: 1920<br /> Minimum Height: 480<br /> Maximum Height: 1080<br /> Minimum PClock: 27000000<br /> Maximum PClock: 74250000<br /> Standards: CEA-861<br /> Capabilities: Interlaced, Progressive<br />Format Video Capture:<br /> Width/Height : 720/576<br /> Pixel Format : 'MPEG'<br /> Field : Interlaced<br /> Bytes per Line : 0<br /> Size Image : 8192<br /> Colorspace : SMPTE 170M<br /> Transfer Function : Default<br /> YCbCr/HSV Encoding: Default<br /> Quantization : Default<br /> Flags :<br /><br />User Controls<br /><br /> brightness (int) : min=0 max=255 step=1 default=128 value=128 flags=slider<br /> contrast (int) : min=0 max=255 step=1 default=64 value=64 flags=slider<br /> saturation (int) : min=0 max=255 step=1 default=64 value=64 flags=slider<br /> hue (int) : min=0 max=30 step=1 default=15 value=14 flags=slider<br /> sharpness (int) : min=0 max=255 step=1 default=128 value=128 flags=slider<br /><br />Codec Controls<br /><br /> stream_type (menu) : min=0 max=1 default=1 value=1 flags=update<br /> audio_encoding (menu) : min=0 max=4 default=4 value=4 flags=update<br /> video_encoding (menu) : min=0 max=2 default=2 value=2<br /> video_bitrate_mode (menu) : min=0 max=1 default=1 value=0 flags=update<br /> video_bitrate (int) : min=1000000 max=13500000 step=100000 default=6500000 value=9000000<br /> video_peak_bitrate (int) : min=1100000 max=20200000 step=100000 default=9000000 value=13500000<ul><li><span class="comment-copy"><code>I have set up the card pointing to video device /dev/video0, with audio input SPDIF and Tuning timeout 15000ms</code></span></li><li><span class="comment-copy"><code>Recording profiles are left as defaults</code></span></li><li><span class="comment-copy"><code>A video source has been set, with listings grabber, numbered channel list configured and listings grabbed, other settings at default</code></span></li><li><span class="comment-copy"><code>input connection set [HDPVR:/dev/video0](component)->video source name, video source set, channel change script=/bin/true, starting channel = 1 (exists), input interactions at default values</code></span></li><li><span class="comment-copy"><code>default storage group set /var/lib/mythtv/recordings/ which is writable by mythtv. mythbackend is running in the context of the mythtv user.</code></span></li></ul><br /><span class="comment-copy"><code>but if I schedule a recording from mythtv I get:</code></span><br /><br /><br />Preview: Encountered problems running '/usr/bin/mythpreviewgen --size 0x0 --chanid 1022 --starttime 20171212192900 --outfile /var/lib/mythtv/recordings/1022_20171212192900.ts.png' - (128)<br />Dec 12 20:31:15 mythbox mythbackend: mythbackend[710]: E HttpServer67 previewgenerator.cpp:275 (Run) Preview: Encountered problems running '/usr/bin/mythpreviewgen --size 0x0 --chanid 2008 --starttime 20141116204000 --outfile /var/lib/mythtv/recordings/2008_20141116204000.mpg.png' - (128)<br />Dec 12 20:31:15 mythbox mythbackend: mythbackend[710]: E DeviceReadBuffer recorders/DeviceReadBuffer.cpp:545 (Poll) DevRdB(/dev/video0): Poll giving up after 2500ms<br />Dec 12 20:31:15 mythbox mythbackend: mythbackend[710]: E RecThread<br />...<br />...<br />recorders/mpegrecorder.cpp:1070 (run) MPEGRec[1](/dev/video0): Device error detected<br />Dec 12 20:32:16 mythbox mythbackend: mythbackend[710]: E DeviceReadBuffer recorders/DeviceReadBuffer.cpp:545 (Poll) DevRdB(/dev/video0): Poll giving up after 2500ms<br />Dec 12 20:32:16 mythbox mythbackend: mythbackend[710]: E RecThread recorders/mpegrecorder.cpp:1070 (run) MPEGRec[1](/dev/video0): Device error detected<br />Dec 12 20:32:16 mythbox mythbackend: mythbackend[710]: E RecThread recorders/mpegrecorder.cpp:1420 (StartEncoding) MPEGRec[1](/dev/video0): StartEncoding: read failed, retry in 100 msec:#012#011#011#011eno: Resource temporarily unavailable (11)<br /><br />Please can anyone suggest what I'm doing wrong?<br /><br /><br />BR.<br /><br />--Marius--</html>