Hello all, I use tvheadend (Ubuntu 18.04 server) with external HDMI encoders (TBS). The encoder send udp multicast to the tvheadend units (5) where it is piped using ffmpeg.
URL: pipe:////usr/bin/ffmpeg -loglevel fatal -i udp://@xxx.xxx.xxx.xxx:xxxxx -vcodec copy -acodec copy -f mpegts pipe:1
I have been asked to add local devices to some of the tvheadend (satellite receiver / android set top box), a magewell pro capture quad port HDMI pcie device was installed and seems to be working but I am unable to get the stream into tvheadend. I was hoping just changing the input part of the stream would do it but not so.
URL: pipe:////usr/bin/ffmpeg -loglevel fatal -i /dev/video0 -vcodec copy -acodec copy -f mpegts pipe:1
I added the stream in dvb inputs-networks(iptv automatic networks)-muxes(scan result OK) but I can not play the stream through the play button, vlc just does the knight rider thing bouncing back and forth no video. I mapped the service but there was no change. any help would be awesome
here is the info for the installed card:
mwcap-info -l
total: 4
device path firmware ver hardware ver driver ver alsa name device name
/dev/video0 1.32 A 1.3.4068 hw:0,0 00:00 Pro Capture Quad HDMI
/dev/video1 1.32 A 1.3.4068 hw:1,0 00:01 Pro Capture Quad HDMI
/dev/video2 1.32 A 1.3.4068 hw:2,0 00:02 Pro Capture Quad HDMI
/dev/video3 1.32 A 1.3.4068 hw:3,0 00:03 Pro Capture Quad HDMI
mwcap-info --info-input-video /dev/video0
Input common
Video input ............................ HDMI
Audio input ............................ HDMI
Auto scan .............................. Yes
AV Link ................................ Yes
Input video
Signal state ........................... Locked
Resolution ............................. 1920x1080p 59.95 Hz
Aspect ................................. 16:9
Total size ............................. 2200x1125
X offset ............................... 192
Y offset ............................... 41
Color space ............................ YUV BT.709
Quantization ........................... Limited
Saturation ............................. Limited
might have to set the video explicitly through ffmpeg ?
[video4linux2,v4l2
0x556e53005e00] Raw : yuyv422 : YUYV 4:2:2 : {48-2048, 1}x{32-2160, 1}
[video4linux2,v4l2
0x556e53005e00] Raw : uyvy422 : UYVY 4:2:2 : {48-2048, 1}x{32-2160, 1}
[video4linux2,v4l2
0x556e53005e00] Raw : nv12 : Y/CbCr 4:2:0 : {48-2048, 1}x{32-2160, 1}
[video4linux2,v4l2
0x556e53005e00] Raw : yuv420p : Planar YVU 4:2:0 : {48-2048, 1}x{32-2160, 1}
[video4linux2,v4l2
0x556e53005e00] Raw : yuv420p : Planar YUV 4:2:0 : {48-2048, 1}x{32-2160, 1}
[video4linux2,v4l2
0x556e53005e00] Raw : rgb24 : 24-bit RGB 8-8-8 : {48-2048, 1}x{32-2160, 1}
[video4linux2,v4l2
0x556e53005e00] Raw : 0rgb : 32-bit A/XRGB 8-8-8-8 : {48-2048, 1}x{32-2160, 1}
[video4linux2,v4l2
0x556e53005e00] Raw : bgr24 : 24-bit BGR 8-8-8 : {48-2048, 1}x{32-2160, 1}
[video4linux2,v4l2
0x556e53005e00] Raw : bgr0 : 32-bit BGRA/X 8-8-8-8 : {48-2048, 1}x{32-2160, 1}
[video4linux2,v4l2
0x556e53005e00] Raw : gray : 8-bit Greyscale : {48-2048, 1}x{32-2160, 1}
[video4linux2,v4l2
0x556e53005e00] Raw : gray16le : 16-bit Greyscale : {48-2048, 1}x{32-2160, 1}
[video4linux2,v4l2
0x556e53005e00] Raw : Unsupported : 32-bit A/XYUV 8-8-8-8 : {48-2048, 1}x{32-2160, 1}
/dev/video0: Immediate exit requested