Diego Rivera wrote:
> Maybe this device requires specific firmware to be loaded prior to use? Maybe a userland service needs to be started or configured?
>
> Without one of these devices to test with, it's impossible for me to debug the issue if the device behaves differently from the other "more standard" devices out there. I have tested this script with two different Hauppauge devices, and others have had success with other devices.
>
> Not sure what I can do to help here...
Hello again!
Back with another tuner (Hauppauge) and I think I'm close to figure this out.
Raspberry Pi 3, Wheezy, Kernel 3.19.
VLC, FFmpeg, ivtv-tune and v4l-utils are installed.
root@tvheadend:/home/hts/.hts/tvheadend# ./capture-analog -t europe-west -c SE12 -s /dev/video0 -o
SOURCES=[/dev/video0]
Using frequency table [europe-west]
Will tune to channel [SE12] (table=europe-west)
Begin capture from /dev/video0 (TUNER=true)
+ tune_device /dev/video0
+ local DEVICE=./capture-analog
+ local TUNING_FLAG=
+ local TABLE_FLAG=
+ true
+ true
+ TUNING_FLAG='-c SE12'
+ false
+ true
+ TABLE_FLAG='-t europe-west'
+ /usr/bin/ivtv-tune -t europe-west -c SE12 -d /dev/video0
/dev/video0: 238.250 MHz (Signal Detected)
+ cat /dev/video0
+ /usr/bin/ffmpeg -i pipe:///dev/stdin -f mpegts -c:v copy -c:a ac3 -b:a 224k -
ffmpeg version 0.8.17-6:0.8.17-2+rpi1+deb7u2, Copyright (c) 2000-2014 the Libav developers
built on Jun 18 2016 00:05:51 with gcc 4.6.3
The ffmpeg program is only provided for script compatibility and will be removed
in a future release. It has been deprecated in the Libav project to allow for
incompatible command line syntax improvements in its replacement called avconv
(see Changelog for details). Please use avconv instead.
[mpeg
0x1583660] max_analyze_duration reached
[mpeg
0x1583660] Estimating duration from bitrate, this may be inaccurate
Input #0, mpeg, from 'pipe:///dev/stdin':
Duration: N/A, start: 0.169356, bitrate: 8224 kb/s
Stream #0.0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [PAR 8:9 DAR 4:3], 8000 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 224 kb/s
Unrecognized option 'c:v'
Failed to set value 'copy' for option 'c:v'
+ set +x
root@tvheadend:/home/hts/.hts/tvheadend#