USB HDMI Capture

You have to put the names of your devices, like:

capture://dshow/Camera/Microphone/

Use:

c:\programdata\channelsdvr\latest\bin\ffmpeg.exe -list_devices true -f dshow -i dummy to see a list of them.


EDIT: Looks like we need to add dshow support

3 Likes

Using a Cheap HDMI USB Capture Card with FFmpeg on Windows 10 - RickMakes

here is a sample of what I was using when capturing with usb card.

ffmpeg -v panic -re -f dshow -rtbufsize 40M -video_size 1280x720 -framerate 30  -i video="USB3. 0 capture":audio="Digital Audio Interface (USB3. 0 capture)"  -vcodec h264_qsv -b:v 4000k -acodec aac -f mpegts -
1 Like

I get in CMD "The system cannot find the path specified."

EDIT:

Had to modify path,. there is no bin folder
C:\ProgramData\ChannelsDVR\latest\ffmpeg.exe -list_devices true -f dshow -i dummy

That output gives me:

[dshow @ 000001c860b436c0] "J5-CAPTURE" (video)
[dshow @ 000001c860b436c0]   Alternative name "@device_pnp_\\?\usb#vid_0711&pid_0a04&mi_00#6&38a547e9&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global"
[dshow @ 000001c860b436c0] "Digital Audio Interface (J5-AUDIO)" (audio)
[dshow @ 000001c860b436c0]   Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{BA1A252E-EDEC-4321-9AB5-7528DA21FA48}"
dummy: Immediate exit requested

ok so i changed it to:

#EXTM3U
#EXTINF:-1, channel-id="usb-hdmi",USB HDMI Capture
capture://dshow/J5-CAPTURE/J5-AUDIO/?framerate=60

2025/02/23 15:51:18.608464 [TNR] Opened connection to M3U-USBHDMICapture for ch1 USB HDMI Capture
2025/02/23 15:51:18.651871 [HLS] ffmpeg: capture-usb-hdmi: [dshow @ 000002656669ec80] Could not find video device with name ["J5-CAPTURE",audio="J5-AUDIO"] among source devices of type video.
2025/02/23 15:51:18.652376 [HLS] ffmpeg: capture-usb-hdmi: video="J5-CAPTURE",audio="J5-AUDIO": I/O error
2025/02/23 15:51:18.655077 [ERR] Error during stream M3U-USBHDMICapture ch1 USB HDMI Capture: exit status 1
2025/02/23 15:51:18.655077 [TNR] Closed connection to M3U-USBHDMICapture for ch1 USB HDMI Capture

Same issues for a Logitech webcam

2025/02/23 16:01:18.548574 [TNR] Opened connection to M3U-USBHDMICapture for ch1 USB HDMI Capture
2025/02/23 16:01:18.584894 [HLS] ffmpeg: capture-usb-hdmi:  [dshow @ 00000249c35ae240] Could not find video device with name ["HD Pro Webcam C920",audio="Microphone (HD Pro Webcam C920)"] among source devices of type video.
2025/02/23 16:01:18.585398 [HLS] ffmpeg: capture-usb-hdmi:  video="HD Pro Webcam C920",audio="Microphone (HD Pro Webcam C920)": I/O error
2025/02/23 16:01:18.588477 [ERR] Error during stream M3U-USBHDMICapture ch1 USB HDMI Capture: exit status 1
2025/02/23 16:01:18.588477 [TNR] Closed connection to M3U-USBHDMICapture for ch1 USB HDMI Capture
#EXTM3U
#EXTINF:-1, channel-id="usb-hdmi",USB HDMI Capture
capture://dshow/HD Pro Webcam C920/Microphone (HD Pro Webcam C920)/?framerate=60
C:\Windows\System32>C:\ProgramData\ChannelsDVR\latest\ffmpeg.exe -list_devices true -f dshow -i dummy
[dshow @ 0000027f005ed880] "HD Pro Webcam C920" (video)
[dshow @ 0000027f005ed880]   Alternative name "@device_pnp_\\?\usb#vid_046d&pid_082d&mi_00#6&1182fde4&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global"
[dshow @ 0000027f005ed880] "Microphone (HD Pro Webcam C920)" (audio)
[dshow @ 0000027f005ed880]   Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{CD2E62BD-B324-4812-8B32-CC984BE40362}"
dummy: Immediate exit requested

Also, is there a way to not trigger a full system guide data refresh every time i change/save this m3u custom tuner? My guide data now is saying timeout and just hanging cause it has tried about a dozen times in the last few minutes.

Try with DVR Pre-Release Notes - #1669 by fancybot

Same error.

2025/02/23 17:22:23.124583 [TNR] Opened connection to M3U-USBHDMICapture for ch1 USB HDMI Capture
2025/02/23 17:22:23.159919 [HLS] ffmpeg: capture-usb-hdmi:  [dshow @ 000002658cc0e240] Could not find video device with name ["HD Pro Webcam C920"] among source devices of type video.
2025/02/23 17:22:23.160942 [HLS] ffmpeg: capture-usb-hdmi:  video="HD Pro Webcam C920":audio="Microphone (HD Pro Webcam C920)": I/O error
2025/02/23 17:22:23.164803 [ERR] Error during stream M3U-USBHDMICapture ch1 USB HDMI Capture: exit status 1
2025/02/23 17:22:23.164803 [TNR] Closed connection to M3U-USBHDMICapture for ch1 USB HDMI Capture
2025/02/23 17:22:23.164803 [SNR] Buffer statistics for 192.168.0.17 (Apple TV) for ch1 USB HDMI Capture: buf=0% drop=0%

I second this request.

1 Like

Another one: DVR Pre-Release Notes - #1670 by fancybot

1 Like

Always have thought the CDVR transcoder is magic, always looks loads better than if I do a similar transcode through just ffmpeg. So very interested in trying this out.

Would this likely provide better image quality than the linkpi encoders? Unsure what encoding they use..

I have an Mac M2 Pro if that matters.

1 Like

Different error now

2025/02/23 20:13:07.376559 [TNR] Opened connection to M3U-USBHDMICapture for ch1 USB HDMI Capture
2025/02/23 20:13:07.402917 [HLS] ffmpeg: capture-usb-hdmi:  [dshow @ 000002200fc6ebc0] Malformed dshow input string.
2025/02/23 20:13:07.402917 [HLS] ffmpeg: capture-usb-hdmi:  HD Pro Webcam C920:Microphone (HD Pro Webcam C920): I/O error
2025/02/23 20:13:07.405502 [ERR] Error during stream M3U-USBHDMICapture ch1 USB HDMI Capture: exit status 1
2025/02/23 20:13:07.405502 [TNR] Closed connection to M3U-USBHDMICapture for ch1 USB HDMI Capture

@tmm1 Just saw another pre-release...getting better.
As the webcam led comes on, and off, looks like it is trying to stream.

2025/02/23 23:31:52.312930 [TNR] Opened connection to M3U-USBHDMICapture for ch1 USB HDMI Capture
2025/02/23 23:31:52.439365 [HLS] ffmpeg: capture-usb-hdmi:  [dshow @ 000001fdbd7aebc0] Could not set video options
2025/02/23 23:31:52.442724 [HLS] ffmpeg: capture-usb-hdmi:  video=HD Pro Webcam C920:audio=Microphone (HD Pro Webcam C920): I/O error
2025/02/23 23:31:52.445440 [ERR] Error during stream M3U-USBHDMICapture ch1 USB HDMI Capture: exit status 1
2025/02/23 23:31:52.445440 [TNR] Closed connection to M3U-USBHDMICapture for ch1 USB HDMI Capture

The cam does not support 60fps...not sure if that framerate option makes a difference. BUt when i changed it to 30fps, i got this,.

2025/02/23 23:34:55.799289 [TNR] Opened connection to M3U-USBHDMICapture for ch1 USB HDMI Capture
2025/02/23 23:34:56.938383 [HLS] ffmpeg: capture-usb-hdmi:  Guessed Channel Layout for Input Stream #0.1 : stereo
2025/02/23 23:34:56.948883 [HLS] ffmpeg: capture-usb-hdmi:  [h264_mf @ 00000136dc25eac0] COM must not be in STA mode
2025/02/23 23:34:56.949979 [HLS] ffmpeg: capture-usb-hdmi:  Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
2025/02/23 23:34:57.301590 [ERR] Error during stream M3U-USBHDMICapture ch1 USB HDMI Capture: exit status 0xc0000005
2025/02/23 23:34:57.301590 [TNR] Closed connection to M3U-USBHDMICapture for ch1 USB HDMI Capture

EDIT: For the J5Capture HDMI capture...also making progress, but still fails.

2025/02/23 23:40:15.021973 [TNR] Opened connection to M3U-USBHDMICapture for ch1 USB HDMI Capture
2025/02/23 23:40:15.484488 [HLS] ffmpeg: capture-usb-hdmi:  [mjpeg @ 0000024ef04255c0] EOI missing, emulating
2025/02/23 23:40:15.965258 [HLS] ffmpeg: capture-usb-hdmi:  Guessed Channel Layout for Input Stream #0.1 : stereo
2025/02/23 23:40:15.971521 [HLS] ffmpeg: capture-usb-hdmi:  [mjpeg @ 0000024ef2f6ebc0] overread 8
2025/02/23 23:40:15.971521 [HLS] ffmpeg: capture-usb-hdmi:      Last message repeated 1 times
2025/02/23 23:40:15.971521 [HLS] ffmpeg: capture-usb-hdmi:  [mjpeg @ 0000024ef2f6ebc0] EOI missing, emulating
2025/02/23 23:40:15.974688 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 0000024ef2df9600] [swscaler @ 0000024ef2e06600] deprecated pixel format used, make sure you did set range correctly
2025/02/23 23:40:15.975203 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 0000024ef2df9600] [swscaler @ 0000024ef2e135c0] deprecated pixel format used, make sure you did set range correctly
2025/02/23 23:40:15.975203 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 0000024ef2df9600] [swscaler @ 0000024ef2e20580] deprecated pixel format used, make sure you did set range correctly
2025/02/23 23:40:15.975722 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 0000024ef2df9600] [swscaler @ 0000024ef2e3d580] deprecated pixel format used, make sure you did set range correctly
2025/02/23 23:40:15.975722 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 0000024ef2df9600] [swscaler @ 0000024ef7529ac0] deprecated pixel format used, make sure you did set range correctly
2025/02/23 23:40:15.976234 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 0000024ef2df9600] [swscaler @ 0000024ef7536a80] deprecated pixel format used, make sure you did set range correctly
2025/02/23 23:40:15.976748 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 0000024ef2df9600] [swscaler @ 0000024ef785b700] deprecated pixel format used, make sure you did set range correctly
2025/02/23 23:40:15.976748 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 0000024ef2df9600] [swscaler @ 0000024ef7d32980] deprecated pixel format used, make sure you did set range correctly
2025/02/23 23:40:15.977262 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 0000024ef2df9600] [swscaler @ 0000024ef7d60dc0] deprecated pixel format used, make sure you did set range correctly
2025/02/23 23:40:15.977262 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 0000024ef2df9600] [swscaler @ 0000024ef7dc4140] deprecated pixel format used, make sure you did set range correctly
2025/02/23 23:40:15.977776 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 0000024ef2df9600] [swscaler @ 0000024ef7e04b00] deprecated pixel format used, make sure you did set range correctly
2025/02/23 23:40:15.977776 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 0000024ef2df9600] [swscaler @ 0000024ef7e53040] deprecated pixel format used, make sure you did set range correctly
2025/02/23 23:40:15.978288 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 0000024ef2df9600] [swscaler @ 0000024ef7e72f80] deprecated pixel format used, make sure you did set range correctly
2025/02/23 23:40:15.988697 [HLS] ffmpeg: capture-usb-hdmi:  [h264_mf @ 0000024ef2ef28c0] COM must not be in STA mode
2025/02/23 23:40:15.989804 [HLS] ffmpeg: capture-usb-hdmi:  Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
2025/02/23 23:40:16.326603 [ERR] Error during stream M3U-USBHDMICapture ch1 USB HDMI Capture: exit status 0xc0000005
2025/02/23 23:40:16.326603 [TNR] Closed connection to M3U-USBHDMICapture for ch1 USB HDMI Capture
2025/02/23 23:40:16.326603 [SNR] Buffer statistics for 192.168.0.17 (Apple TV) for ch1 USB HDMI Capture: buf=0% drop=0%

I found the link to the specific HDMI capture device i have
Game Capture Station – j5create

Edit2; If i remove the ?framerate entirely, i get this

2025/02/23 23:45:51.962994 [TNR] Opened connection to M3U-USBHDMICapture for ch1 USB HDMI Capture
2025/02/23 23:45:52.388567 [HLS] ffmpeg: capture-usb-hdmi:  [mjpeg @ 0000029ef8b88c00] No JPEG data found in image
2025/02/23 23:45:52.388567 [HLS] ffmpeg: capture-usb-hdmi:  [mjpeg @ 0000029ef8b88c00] Found EOI before any SOF, ignoring
2025/02/23 23:45:52.388567 [HLS] ffmpeg: capture-usb-hdmi:  [mjpeg @ 0000029ef8b88c00] No JPEG data found in image
2025/02/23 23:45:52.877847 [HLS] ffmpeg: capture-usb-hdmi:  Guessed Channel Layout for Input Stream #0.1 : stereo
2025/02/23 23:45:52.880376 [HLS] ffmpeg: capture-usb-hdmi:  [mjpeg @ 0000029ef19b8c80] No JPEG data found in image
2025/02/23 23:45:52.880376 [HLS] ffmpeg: capture-usb-hdmi:  Error while decoding stream #0:0: Invalid data found when processing input
2025/02/23 23:45:52.880376 [HLS] ffmpeg: capture-usb-hdmi:  [mjpeg @ 0000029ef19b8c80] Found EOI before any SOF, ignoring
2025/02/23 23:45:52.880376 [HLS] ffmpeg: capture-usb-hdmi:  [mjpeg @ 0000029ef19b8c80] No JPEG data found in image
2025/02/23 23:45:52.880376 [HLS] ffmpeg: capture-usb-hdmi:  Error while decoding stream #0:0: Invalid data found when processing input
2025/02/23 23:45:52.886886 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 0000029ef1983c00] [swscaler @ 0000029ef8df5a40] deprecated pixel format used, make sure you did set range correctly
2025/02/23 23:45:52.886886 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 0000029ef1983c00] [swscaler @ 0000029ef8c13900] deprecated pixel format used, make sure you did set range correctly
2025/02/23 23:45:52.887414 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 0000029ef1983c00] [swscaler @ 0000029ef8c208c0] deprecated pixel format used, make sure you did set range correctly
2025/02/23 23:45:52.887414 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 0000029ef1983c00] [swscaler @ 0000029ef4397f80] deprecated pixel format used, make sure you did set range correctly
2025/02/23 23:45:52.887928 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 0000029ef1983c00] [swscaler @ 0000029ef8af5280] deprecated pixel format used, make sure you did set range correctly
2025/02/23 23:45:52.887928 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 0000029ef1983c00] [swscaler @ 0000029ef8b24ac0] deprecated pixel format used, make sure you did set range correctly
2025/02/23 23:45:52.887928 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 0000029ef1983c00] [swscaler @ 0000029ef44c23c0] deprecated pixel format used, make sure you did set range correctly
2025/02/23 23:45:52.887928 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 0000029ef1983c00] [swscaler @ 0000029ef44ef380] deprecated pixel format used, make sure you did set range correctly
2025/02/23 23:45:52.888540 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 0000029ef1983c00] [swscaler @ 0000029ef8e44ac0] deprecated pixel format used, make sure you did set range correctly
2025/02/23 23:45:52.888540 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 0000029ef1983c00] [swscaler @ 0000029ef93e8c80] deprecated pixel format used, make sure you did set range correctly
2025/02/23 23:45:52.888540 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 0000029ef1983c00] [swscaler @ 0000029ef9438040] deprecated pixel format used, make sure you did set range correctly
2025/02/23 23:45:52.889054 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 0000029ef1983c00] [swscaler @ 0000029ef94497c0] deprecated pixel format used, make sure you did set range correctly
2025/02/23 23:45:52.889054 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 0000029ef1983c00] [swscaler @ 0000029ef94ca040] deprecated pixel format used, make sure you did set range correctly
2025/02/23 23:45:52.895502 [HLS] ffmpeg: capture-usb-hdmi:  [h264_mf @ 0000029ef19b7500] COM must not be in STA mode
2025/02/23 23:45:52.896042 [HLS] ffmpeg: capture-usb-hdmi:  Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
2025/02/23 23:45:53.237139 [ERR] Error during stream M3U-USBHDMICapture ch1 USB HDMI Capture: exit status 0xc0000005
2025/02/23 23:45:53.237139 [TNR] Closed connection to M3U-USBHDMICapture for ch1 USB HDMI Capture

And it says HLS in the logs, but i have it on mpeg-ts but did try changing it to HLS in the source settings on the server m3u, but makes no difference. Same log output.

Edit again. Should mention, i forgot to change the name of each device, i was just replacing the one channel in the m3u with the code for the device was testing. I have since added both as 2 channels, and named them accordingly. USB Webcam and USB HDMI Capture.

Can some kindly soul help out a newbe here with some pointers on next steps?

What I have done so far:

  1. Turned on ADB on my FireStick.
  2. Hooked it up to an HDMI USB capture dongle hooked into my Windows 10 computer.
  3. Made sure I can see the video from the Firestick on my PC using OBS. Everything plays fine, including Comedy Central (the particular channel that I am trying to hookup) on YTTV,
  4. Installed Docker.
  5. Installed ADBTuner in Docker. Everything comes up, and I can see the webpage for ADBTuner.
  6. Updated my Channels DVR to the latest prerelease (atm it is 2025.02.24.0444).

At this point, I am unsure what the next step is. I have not used the ADBTuner before with the LinkPi encoder device. What do I need to do to determine my stream URL for Comedy Central on YTTV for FireStick?

Any pointers will be much appreciated, thanks.

Neat stuff! I will have to do some testing, dust off the MS2130 based capture card I tested on the LinkPi.

Next step is to create a custom channel as MPEG-TS / Text and see if you can get the stream showing up in Channels DVR

Windows capture isn't quite working yet, but I just pushed another pre-release based on @speedingcheetah's latest logs


1 Like

@tmm1 Upgraded, working now, but looks like crap. (forgot had to change the webcam framerate to 30 not 60 then it worked. Still getting some errors

2025/02/24 10:40:33.925518 [TNR] Opened connection to M3U-USBHDMICapture for ch2 USB Webcam
2025/02/24 10:40:34.987195 [HLS] ffmpeg: capture-usb-webcam:  Guessed Channel Layout for Input Stream #0.1 : stereo
2025/02/24 10:40:35.147391 [HLS] ffmpeg: capture-usb-webcam:  [h264_mf @ 0000017eabb50bc0] stream format change
2025/02/24 10:40:41.992177 [SNR] Buffer statistics for 192.168.0.17 (Apple TV) for ch2 USB Webcam: buf=0% drop=0%
2025/02/24 10:40:41.992767 [TNR] Closed connection to M3U-USBHDMICapture for ch2 USB Webcam
2025/02/24 10:40:41.992767 [ERR] Error during stream M3U-USBHDMICapture ch2 USB Webcam: read |0: file already closed
2025/02/24 10:40:41.992767 [HLS] ffmpeg: capture-usb-webcam:  av_interleaved_write_frame(): Invalid argument
2025/02/24 10:40:42.009556 [HLS] ffmpeg: capture-usb-webcam:  Error writing trailer of pipe:: Invalid argument
2025/02/24 10:40:42.010078 [HLS] ffmpeg: capture-usb-webcam:  Error closing file pipe:: Invalid argument

BUT, is now working for HDMI capture, but it looks like crap. Can't read any words, and is heavy pixelated.

2025/02/24 10:32:10.794289 [TNR] Opened connection to M3U-USBHDMICapture for ch1 USB HDMI Capture
2025/02/24 10:32:11.298068 [HLS] ffmpeg: capture-usb-hdmi:  [mjpeg @ 00000253c8980500] EOI missing, emulating
2025/02/24 10:32:11.743422 [HLS] ffmpeg: capture-usb-hdmi:  Guessed Channel Layout for Input Stream #0.1 : stereo
2025/02/24 10:32:11.752905 [HLS] ffmpeg: capture-usb-hdmi:  [mjpeg @ 00000253cfbdafc0] overread 8
2025/02/24 10:32:11.752905 [HLS] ffmpeg: capture-usb-hdmi:      Last message repeated 1 times
2025/02/24 10:32:11.752905 [HLS] ffmpeg: capture-usb-hdmi:  [mjpeg @ 00000253cfbdafc0] EOI missing, emulating
2025/02/24 10:32:11.756069 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 00000253cfa1f980] [swscaler @ 00000253cfa2c940] deprecated pixel format used, make sure you did set range correctly
2025/02/24 10:32:11.756069 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 00000253cfa1f980] [swscaler @ 00000253cb34a640] deprecated pixel format used, make sure you did set range correctly
2025/02/24 10:32:11.756590 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 00000253cfa1f980] [swscaler @ 00000253c89ad6c0] deprecated pixel format used, make sure you did set range correctly
2025/02/24 10:32:11.756590 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 00000253cfa1f980] [swscaler @ 00000253cb3abec0] deprecated pixel format used, make sure you did set range correctly
2025/02/24 10:32:11.757111 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 00000253cfa1f980] [swscaler @ 00000253cb3ca800] deprecated pixel format used, make sure you did set range correctly
2025/02/24 10:32:11.757787 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 00000253cfa1f980] [swscaler @ 00000253cfc0eec0] deprecated pixel format used, make sure you did set range correctly
2025/02/24 10:32:11.757787 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 00000253cfa1f980] [swscaler @ 00000253cfc1be80] deprecated pixel format used, make sure you did set range correctly
2025/02/24 10:32:11.758317 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 00000253cfa1f980] [swscaler @ 00000253cfa795c0] deprecated pixel format used, make sure you did set range correctly
2025/02/24 10:32:11.758317 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 00000253cfa1f980] [swscaler @ 00000253cb407380] deprecated pixel format used, make sure you did set range correctly
2025/02/24 10:32:11.758841 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 00000253cfa1f980] [swscaler @ 00000253cb1380c0] deprecated pixel format used, make sure you did set range correctly
2025/02/24 10:32:11.758841 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 00000253cfa1f980] [swscaler @ 00000253cfb00040] deprecated pixel format used, make sure you did set range correctly
2025/02/24 10:32:11.758841 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 00000253cfa1f980] [swscaler @ 00000253cfb0e480] deprecated pixel format used, make sure you did set range correctly
2025/02/24 10:32:11.758841 [HLS] ffmpeg: capture-usb-hdmi:  [swscaler @ 00000253cfa1f980] [swscaler @ 00000253cb153e40] deprecated pixel format used, make sure you did set range correctly
2025/02/24 10:32:11.959271 [HLS] ffmpeg: capture-usb-hdmi:  [h264_mf @ 00000253cb315a80] stream format change
2025/02/24 10:34:08.752595 [SNR] Buffer statistics for 192.168.0.17 (Apple TV) for ch1 USB HDMI Capture: buf=0% drop=0%
2025/02/24 10:34:08.752595 [ERR] Error during stream M3U-USBHDMICapture ch1 USB HDMI Capture: read |0: file already closed
2025/02/24 10:34:08.752595 [TNR] Closed connection to M3U-USBHDMICapture for ch1 USB HDMI Capture
2025/02/24 10:34:08.753148 [HLS] ffmpeg: capture-usb-hdmi:  av_interleaved_write_frame(): Invalid argument
2025/02/24 10:34:08.774007 [HLS] ffmpeg: capture-usb-hdmi:      Last message repeated 1 times
2025/02/24 10:34:08.774007 [HLS] ffmpeg: capture-usb-hdmi:  Error writing trailer of pipe:: Invalid argument
2025/02/24 10:34:08.774007 [HLS] ffmpeg: capture-usb-hdmi:  Error closing file pipe:: Invalid argument

I have the capture card hooked to my Dell laptop that is clone display mode 1080p 60hz. Looks the same if i change to Extended display. Picture is crystal clean and perfect in OBS or the Win 11 Camera app.

Just a note that i forgot to change the framerate of webcam in the m3u to 30. Now it works.
I edited my post to include the new log entries.

Things are working, but look so garbo that it is unusable.
Can confirm that the capture image, in native camera app or OBS form webcam/HDMI capture is nice and clean and perfect look, it just garbo in Channels.

Is there more work to be done, there are still some errors and things the logs indicate may be an issue.
Would be great if there was some GUI exposed options in the server, maybe, or other arguments to add to the m3u to improve the picture?

I am using a custom built PC, with a Intel 12th Gen i5-12400 cpu and its integrated graphics as my CDVR server.

Can you submit diagnostics while it is streaming.

1 Like

89f98a49-d0f8-4251-ae7f-97fb04bf2beb

I also did diags from the app after streaming, if that also helps.

Try DVR Pre-Release Notes - #1675 by fancybot