Hello!
Thanks, I got ivtv-utils working on jessie release on raspberry pi.
With dependencies libc6, libstdc++6, perl, licconfig-inifiles-perl, libvideo-ivtv-perl, libvideo-capture-v4l-perl, v4l-utils
However the ivtv-utils did not work from backports (jessie backports) I compiled source and put bin files in /usr/bin/
However, when I run the script from tvheadend it can't detect channel.
Log >
Loglevel debug: enabled
2016-03-06 16:38:43.586 mpegts: in Analog-TV - tuning on IPTV
2016-03-06 16:38:43.606 spawn: Executing "/home/tvheadend/capture-analog"
2016-03-06 16:38:43.611 subscription: 000C: "scan" subscribing to mux "", weight: 6, adapter: "IPTV", network: "Analog-TV", service: "Raw PID Subscription"
2016-03-06 16:38:43.769 spawn: SOURCES=[/dev/video0]
2016-03-06 16:38:43.843 spawn: Will tune to channel [7] (table=default)
2016-03-06 16:38:43.924 spawn: Begin capture from /dev/video0 (TUNER=true)
2016-03-06 16:38:44.003 spawn: ffmpeg version N-78927-gf3c00be Copyright (c) 2000-2016 the FFmpeg developers
2016-03-06 16:38:44.007 spawn: built with gcc 4.9.2 (Raspbian 4.9.2-10)
2016-03-06 16:38:44.008 spawn: configuration: --arch=armel --target-os=linux --enable-gpl --enable-libx264 --enable-nonfree
2016-03-06 16:38:44.013 spawn: libavutil 55. 19.100 / 55. 19.100
2016-03-06 16:38:44.013 spawn: libavcodec 57. 27.101 / 57. 27.101
2016-03-06 16:38:44.014 spawn: libavformat 57. 28.100 / 57. 28.100
2016-03-06 16:38:44.014 spawn: libavdevice 57. 0.101 / 57. 0.101
2016-03-06 16:38:44.015 spawn: libavfilter 6. 39.100 / 6. 39.100
2016-03-06 16:38:44.020 spawn: libswscale 4. 0.100 / 4. 0.100
2016-03-06 16:38:44.021 spawn: libswresample 2. 0.101 / 2. 0.101
2016-03-06 16:38:44.021 spawn: libpostproc 54. 0.100 / 54. 0.100
2016-03-06 16:38:48.000 mpegts: in Analog-TV - scan no data, failed
2016-03-06 16:38:48.000 subscription: 000C: "scan" unsubscribing
If I run it from CLI (shell) It works.
Log >
$ ./capture-analog -c 7 -s /dev/video0 -o 3.mpg
SOURCES=[/dev/video0]
Will tune to channel [7] (table=default)
Begin capture from /dev/video0 (TUNER=true)
/dev/video0: 175.250 MHz (Signal Detected)
ffmpeg version N-78927-gf3c00be Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.9.2 (Raspbian 4.9.2-10)
configuration: --arch=armel --target-os=linux --enable-gpl --enable-libx264 --enable-nonfree
libavutil 55. 19.100 / 55. 19.100
libavcodec 57. 27.101 / 57. 27.101
libavformat 57. 28.100 / 57. 28.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 39.100 / 6. 39.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Input #0, mpeg, from 'pipe:///dev/stdin':
Duration: N/A, start: 0.156089, bitrate: N/A
Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv), 720x576 [SAR 16:15 DAR 4:3], max. 8000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16p, 224 kb/s
Output #0, mpegts, to '3.mpg':
Metadata:
encoder : Lavf57.28.100
Stream #0:0: Video: mpeg2video, yuv420p, 720x576 [SAR 16:15 DAR 4:3], q=2-31, max. 8000 kb/s, 25 fps, 25 tbr, 90k tbn, 90k tbc
Stream #0:1: Audio: ac3, 48000 Hz, stereo, fltp, 224 kb/s
Metadata:
encoder : Lavc57.27.101 ac3
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (mp2 (native) -> ac3 (native))
frame= 206 fps= 65 q=-1.0 size= 6780kB time=00:00:08.32 bitrate=6671.8kbits/s speed=2.63x
I tried with the -E vlc flag but it loads ffmpeg.
Any ideas?
Regards
fa1