DVR not working on Windows 8.1

Both the 2017.10.11.2339 and the 2017.10.13.2123 will not work for me on Windows 8.1. I get an error message saying the site is not accessible. The executable is running (can see in task manager) but cannot browse to ip/port.

I manually started the 2017.10.10.0006 from the channelsdvr folder and everything works as expected.

I assume something changed in the 10.11.2339 version that is causing this. Any ideas?

The DVR has been running without issue for 8 or 9 months until this occurred.

Can you check what the channels-dvr.log file says?

running the .11 or .13 logs nothing. The following is the log from where it upgraded on the 11th until now. As you can see, it was simply down for a couple days until I realized it and started the old version.

2017/10/11 21:43:02 [DVR] Commercial detection finished with 12 markers.
2017/10/11 22:15:56 [SYS] Downloading new version v2017.10.11.2339
2017/10/11 22:16:11 [SYS] Update downloaded and verified successfully.
2017/10/11 22:16:11 [SYS] Shutting down for upgrade from v2017.10.10.0006 to v2017.10.11.2339
2017/10/11 22:16:11 [SYS] Bonjour service stopped.
2017/10/11 22:16:11 [DVR] Recording engine stopped.
2017/10/14 14:33:00 [SYS] Starting Channels DVR v2017.10.10.0006 (windows-x86_64) in C:\ProgramData\ChannelsDVR\data
2017/10/14 14:33:03 [HDR] Found 1 devices
2017/10/14 14:33:03 [SYS] Started HTTP Server
2017/10/14 14:33:05 [DVR] Recording engine started in G:\Channels
2017/10/14 14:33:05 [SYS] Bonjour service running for dvr-pfountzlaptop.local. [192.168.15.12]
2017/10/14 14:33:05 [SYS] Removing old update 2017.02.23.2046
2017/10/14 14:33:05 [SYS] Removing old update 2017.09.01.0513
2017/10/14 14:33:05 [SYS] Removing old update 2017.10.05.1806
2017/10/14 14:33:05 [SYS] Removing old update 2017.10.05.2234
2017/10/14 14:33:05 [SYS] Downloading new version v2017.10.13.2123
2017/10/14 14:33:05 [SYS] Created database snapshot: backup-20171014.143305
2017/10/14 14:33:05 [SYS] Removing old backup backup-20170913.213139
2017/10/14 14:33:18 [SYS] Error checking for update: rename C:\ProgramData\ChannelsDVR\latest C:\ProgramData\ChannelsDVR\2017.10.13.2123: Access is denied.
2017/10/14 14:33:21 [IDX] Pruned 2935 expired airings from USA-OTA29707 in 6.2333887s.
2017/10/14 14:35:20 [SYS] Starting Channels DVR v2017.10.10.0006 (windows-x86_64) in C:\ProgramData\ChannelsDVR\data
2017/10/14 14:35:23 [HDR] Found 1 devices
2017/10/14 14:35:23 [SYS] Started HTTP Server
2017/10/14 14:35:25 [DVR] Recording engine started in G:\Channels
2017/10/14 14:35:25 [SYS] Bonjour service running for dvr-pfountzlaptop.local. [192.168.15.12]
2017/10/14 14:35:25 [SYS] Removing old update 2017.10.06.1807
2017/10/14 14:35:25 [SYS] Downloading new version v2017.10.13.2123
2017/10/14 14:35:26 [SYS] Created database snapshot: backup-20171014.143525
2017/10/14 14:35:26 [SYS] Removing old backup backup-20170914.221743
2017/10/14 14:35:35 [IDX] Pruned 0 expired airings from USA-OTA29707 in 3.0328ms.
2017/10/14 14:35:39 [SYS] Error checking for update: rename C:\ProgramData\ChannelsDVR\latest C:\ProgramData\ChannelsDVR\2017.10.13.2123: The process cannot access the file because it is being used by another process.
2017/10/14 14:37:36 [NAT] Failed to discover upnp: write udp4 0.0.0.0:63444->239.255.255.250:1900: i/o timeout
2017/10/14 14:37:36 [NAT] Failed to discover router using natpmp and upnp.
2017/10/14 14:40:57 [SYS] Starting Channels DVR v2017.10.10.0006 (windows-x86_64) in C:\ProgramData\ChannelsDVR\data
2017/10/14 14:40:59 [HDR] Found 1 devices
2017/10/14 14:41:00 [SYS] Started HTTP Server
2017/10/14 14:41:00 [DVR] Recording engine started in G:\Channels
2017/10/14 14:41:00 [SYS] Bonjour service running for dvr-pfountzlaptop.local. [192.168.15.12]
2017/10/14 14:41:01 [SYS] Downloading new version v2017.10.13.2123
2017/10/14 14:41:01 [SYS] Created database snapshot: backup-20171014.144101
2017/10/14 14:41:01 [SYS] Removing old backup backup-20170915.222904
2017/10/14 14:41:10 [IDX] Pruned 1 expired airings from USA-OTA29707 in 48.6958ms.
2017/10/14 14:41:14 [SYS] Error checking for update: rename C:\ProgramData\ChannelsDVR\latest C:\ProgramData\ChannelsDVR\2017.10.13.2123: The process cannot access the file because it is being used by another process.
2017/10/14 14:43:11 [NAT] Failed to discover upnp: write udp4 0.0.0.0:63066->239.255.255.250:1900: i/o timeout
2017/10/14 14:43:11 [NAT] Failed to discover router using natpmp and upnp.

Weird it doesn’t log anything.

If you copy the 10.10 ffmpeg.exe into the newer version folder, does it start working?

Yes - copied the 10.10 ffmpeg and it starts working.

1 Like

Hmmm.

If you open powershell and try to run the newest ffmpeg.exe, does it work or just hang?

I’d like to fix this but I don’t have ready access to a windows 8.1 machine at the moment…

I found a Windows 7 VM but it works just fine.

I noticed when running channels with the newest ffmpeg it shows ffmpeg.exe in the task manager (and doesn’t work). if I run channels with the old ffmpeg it does not show ffmpeg.exe in the task manager (but works).

Okay the ffmpeg is getting stuck as I suspected. With the broken version running, run this in Powershell:

Get-WmiObject Win32_Process | select commandline | Select-String -Pattern “ffmpeg”

If I run ffmpeg.exe from the command line it does not error out. It just lists a ton of usage options. Both versions seem to act the same.

ok - testing that now

With that command you’ll see the entire command option line being used. Try running it yourself, but change the loglevel warning to loglevel verbose

@{commandline=C:\ProgramData\ChannelsDVR\latest\ffmpeg.exe -hide_banner -nostats -loglevel warning -loglevel quiet -f
lavfi -t 0.1 -i color=black:640x480 -c:v h264_mf -profile:v high -level 42 -b:v 400k -maxrate:v 600k -f null -y nul}

PS C:\Windows\System32\WindowsPowerShell\v1.0> Get-WmiObject Win32_Process | select commandline | Select-String -Pattern
 "ffmpeg"

@{commandline=C:\ProgramData\ChannelsDVR\latest\ffmpeg.exe -hide_banner -nostats -loglevel warning -loglevel quiet -f
lavfi -t 0.1 -i color=black:640x480 -c:v h264_mf -profile:v high -level 42 -b:v 400k -maxrate:v 600k -f null -y nul}


PS C:\Windows\System32\WindowsPowerShell\v1.0> C:\ProgramData\ChannelsDVR\latest\ffmpeg.exe -hide_banner -nostats -logle
vel verbose  -flavfi -t 0.1 -i color=black:640x480 -c:v h264_mf -profile:v high -level 42 -b:v 400k -maxrate:v 600k -f n
ull -y nul}
At line:1 char:204
+ ...  -f null -y nul}
+                    ~
Unexpected token '}' in expression or statement.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : UnexpectedToken

PS C:\Windows\System32\WindowsPowerShell\v1.0> C:\ProgramData\ChannelsDVR\latest\ffmpeg.exe -hide_banner -nostats -logle
vel verbose  -flavfi -t 0.1 -i color=black:640x480 -c:v h264_mf -profile:v high -level 42 -b:v 400k -maxrate:v 600k -f n
ull -y nul
Unrecognized option 'flavfi'.
Error splitting the argument list: Option not found
PS C:\Windows\System32\WindowsPowerShell\v1.0> C:\ProgramData\ChannelsDVR\latest\ffmpeg.exe -hide_banner -nostats -logle
vel verbose  -f lavfi -t 0.1 -i color=black:640x480 -c:v h264_mf -profile:v high -level 42 -b:v 400k -maxrate:v 600k -f
null -y nul
[Parsed_color_0 @ 0000000001cc3f20] size:640x480 rate:25/1 duration:-1.000000 sar:1/1
Input #0, lavfi, from 'color=black:640x480':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo, 1 reference frame (I420 / 0x30323449), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 25 tbr, 25
tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (h264_mf))
Press [q] to stop, [?] for help
[graph 0 input from stream 0:0 @ 0000000001dae0a0] w:640 h:480 pixfmt:yuv420p tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2
[auto_scaler_0 @ 0000000001dadf00] w:iw h:ih flags:'bicubic' interl:0
[format @ 0000000001dadfe0] auto-inserting filter 'auto_scaler_0' between the filter 'Parsed_null_0' and the filter 'for
mat'
[auto_scaler_0 @ 0000000001dadf00] w:640 h:480 fmt:yuv420p sar:1/1 -> w:640 h:480 fmt:nv12 sar:1/1 flags:0x4
[h264_mf @ 0000000001da7cc0] MF 0 attributes:
[h264_mf @ 0000000001da7cc0]    MFT_ENUM_HARDWARE_URL_Attribute='AA243E5D-2F73-48c7-97F7-F6FA17651651'
[h264_mf @ 0000000001da7cc0]    MFT_FRIENDLY_NAME_Attribute='Intel« Quick Sync Video H.264 Encoder MFT'
[h264_mf @ 0000000001da7cc0]    {3aecb0cc-035b-4bcc-8185-2b8d551ef3af}='VEN_8086'
[h264_mf @ 0000000001da7cc0]    {4276c9b1-759d-4bf3-9cd0-0d723d138f96}=<blob size 64: 76 69 64 73 00 00 10 00 80 00 00 A
A 00 38 9B 71 4E 56 31 32 61 39 AE 42 BA 67 FF 47 CC C1 3E ED 76 69 64 73 00 00 10 00 80 00 00 AA 00 38 9B 71 4E 56 31 3
2 00 00 10 00 80 00 00 AA 00 38 9B 71 >
[h264_mf @ 0000000001da7cc0]    {53476a11-3f13-49fb-ac42-ee2733c96741}=1
[h264_mf @ 0000000001da7cc0]    MFT_TRANSFORM_CLSID_Attribute={4be8d3c0-0515-4a37-ad55-e4bae19af471}
[h264_mf @ 0000000001da7cc0]    {88a7cb15-7b07-4a34-9128-e64c6703c4d3}=7
[h264_mf @ 0000000001da7cc0]    {8eae8cf3-a44f-4306-ba5c-bf5dda242818}=<blob size 32: 76 69 64 73 00 00 10 00 80 00 00 A
A 00 38 9B 71 48 32 36 34 00 00 10 00 80 00 00 AA 00 38 9B 71 >
[h264_mf @ 0000000001da7cc0]    {9359bb7e-6275-46c4-a025-1c01e45f1a86}=4
[h264_mf @ 0000000001da7cc0]    {ceabba49-506d-4757-a6ff-66c184987e4e}={f79eac7d-e545-4387-bdee-d647d7bde42a}
[h264_mf @ 0000000001da7cc0]    {f81a699a-649a-497d-8c73-29f8fed6ad7a}=1
[h264_mf @ 0000000001da7cc0] activate MFT 0
[h264_mf @ 0000000001da7cc0] MFT attributes
[h264_mf @ 0000000001da7cc0]    ff_MF_SA_D3D11_AWARE=1
[h264_mf @ 0000000001da7cc0]    MFT_ENUM_HARDWARE_URL_Attribute='AA243E5D-2F73-48c7-97F7-F6FA17651651'
[h264_mf @ 0000000001da7cc0]    {3aecb0cc-035b-4bcc-8185-2b8d551ef3af}='VEN_8086'
[h264_mf @ 0000000001da7cc0]    {53476a11-3f13-49fb-ac42-ee2733c96741}=1
[h264_mf @ 0000000001da7cc0]    {f81a699a-649a-497d-8c73-29f8fed6ad7a}=1
[h264_mf @ 0000000001da7cc0] MFT name: 'Intel« Quick Sync Video H.264 Encoder MFT'
[h264_mf @ 0000000001da7cc0] MFT supports ICodecAPI.
[h264_mf @ 0000000001da7cc0] input types:
[h264_mf @ 0000000001da7cc0] (need to set output type 1)
[h264_mf @ 0000000001da7cc0] output types:
[h264_mf @ 0000000001da7cc0] output type 0:
[h264_mf @ 0000000001da7cc0]    MF_MT_MAJOR_TYPE=MFMediaType_Video
[h264_mf @ 0000000001da7cc0]    MF_MT_SUBTYPE=MFVideoFormat_H264
[h264_mf @ 0000000001da7cc0] picking output type 0.
[h264_mf @ 0000000001da7cc0] setting output type:
[h264_mf @ 0000000001da7cc0]    MF_MT_FRAME_SIZE=2748779069920 (640x480)
[h264_mf @ 0000000001da7cc0]    MF_MT_AVG_BITRATE=400000
[h264_mf @ 0000000001da7cc0]    MF_MT_MAJOR_TYPE=MFMediaType_Video
[h264_mf @ 0000000001da7cc0]    MF_MT_MPEG2_LEVEL=42
[h264_mf @ 0000000001da7cc0]    MF_MT_MPEG2_PROFILE=100
[h264_mf @ 0000000001da7cc0]    MF_MT_FRAME_RATE=107374182401 (25:1)
[h264_mf @ 0000000001da7cc0]    MF_MT_INTERLACE_MODE=2
[h264_mf @ 0000000001da7cc0]    MF_MT_SUBTYPE=MFVideoFormat_H264
[h264_mf @ 0000000001da7cc0] input types:
[h264_mf @ 0000000001da7cc0] input type 0:
[h264_mf @ 0000000001da7cc0]    MF_MT_FRAME_SIZE=2748779069920 (640x480)
[h264_mf @ 0000000001da7cc0]    MF_MT_MAJOR_TYPE=MFMediaType_Video
[h264_mf @ 0000000001da7cc0]    MF_MT_FRAME_RATE=107374182401 (25:1)
[h264_mf @ 0000000001da7cc0]    MF_MT_INTERLACE_MODE=2
[h264_mf @ 0000000001da7cc0]    MF_MT_SUBTYPE={3231564e-3961-42ae-ba67-ff47ccc13eed}
[h264_mf @ 0000000001da7cc0] input type 1:
[h264_mf @ 0000000001da7cc0]    MF_MT_FRAME_SIZE=2748779069920 (640x480)
[h264_mf @ 0000000001da7cc0]    MF_MT_MAJOR_TYPE=MFMediaType_Video
[h264_mf @ 0000000001da7cc0]    MF_MT_FRAME_RATE=107374182401 (25:1)
[h264_mf @ 0000000001da7cc0]    MF_MT_INTERLACE_MODE=2
[h264_mf @ 0000000001da7cc0]    MF_MT_SUBTYPE=<FourCC NV12>
[h264_mf @ 0000000001da7cc0]    FF-pixel-format=nv12
[h264_mf @ 0000000001da7cc0] picking input type 1.
[h264_mf @ 0000000001da7cc0] setting input type:
[h264_mf @ 0000000001da7cc0]    MF_MT_FRAME_SIZE=2748779069920 (640x480)
[h264_mf @ 0000000001da7cc0]    MF_MT_MAJOR_TYPE=MFMediaType_Video
[h264_mf @ 0000000001da7cc0]    MF_MT_FRAME_RATE=107374182401 (25:1)
[h264_mf @ 0000000001da7cc0]    MF_MT_INTERLACE_MODE=2
[h264_mf @ 0000000001da7cc0]    MF_MT_SUBTYPE=<FourCC NV12>
[h264_mf @ 0000000001da7cc0]    FF-pixel-format=nv12
[h264_mf @ 0000000001da7cc0] output types:
[h264_mf @ 0000000001da7cc0] output type 0:
[h264_mf @ 0000000001da7cc0]    MF_MT_FRAME_SIZE=2748779069920 (640x480)
[h264_mf @ 0000000001da7cc0]    MF_MT_AVG_BITRATE=400000
[h264_mf @ 0000000001da7cc0]    MF_MT_MAJOR_TYPE=MFMediaType_Video
[h264_mf @ 0000000001da7cc0]    MF_MT_MPEG2_LEVEL=42
[h264_mf @ 0000000001da7cc0]    MF_MT_MPEG2_PROFILE=100
[h264_mf @ 0000000001da7cc0]    MF_MT_FRAME_RATE=107374182401 (25:1)
[h264_mf @ 0000000001da7cc0]    MF_MT_INTERLACE_MODE=2
[h264_mf @ 0000000001da7cc0]    MF_MT_SUBTYPE=MFVideoFormat_H264
[h264_mf @ 0000000001da7cc0] picking output type 0.
[h264_mf @ 0000000001da7cc0] setting output type:
[h264_mf @ 0000000001da7cc0]    MF_MT_FRAME_SIZE=2748779069920 (640x480)
[h264_mf @ 0000000001da7cc0]    MF_MT_AVG_BITRATE=400000
[h264_mf @ 0000000001da7cc0]    MF_MT_MAJOR_TYPE=MFMediaType_Video
[h264_mf @ 0000000001da7cc0]    MF_MT_MPEG2_LEVEL=42
[h264_mf @ 0000000001da7cc0]    MF_MT_MPEG2_PROFILE=100
[h264_mf @ 0000000001da7cc0]    MF_MT_FRAME_RATE=107374182401 (25:1)
[h264_mf @ 0000000001da7cc0]    MF_MT_INTERLACE_MODE=2
[h264_mf @ 0000000001da7cc0]    MF_MT_SUBTYPE=MFVideoFormat_H264
[h264_mf @ 0000000001da7cc0] in_info: size=0, align=0
[h264_mf @ 0000000001da7cc0] out_info: size=0, align=0 (provides samples)
[h264_mf @ 0000000001da7cc0] final output type:
[h264_mf @ 0000000001da7cc0]    MF_MT_FRAME_SIZE=2748779069920 (640x480)
[h264_mf @ 0000000001da7cc0]    MF_MT_AVG_BITRATE=400000
[h264_mf @ 0000000001da7cc0]    MF_MT_MAJOR_TYPE=MFMediaType_Video
[h264_mf @ 0000000001da7cc0]    MF_MT_MPEG2_LEVEL=42
[h264_mf @ 0000000001da7cc0]    MF_MT_MPEG2_PROFILE=100
[h264_mf @ 0000000001da7cc0]    MF_MT_FRAME_RATE=107374182401 (25:1)
[h264_mf @ 0000000001da7cc0]    MF_MT_INTERLACE_MODE=2
[h264_mf @ 0000000001da7cc0]    MF_MT_SUBTYPE=MFVideoFormat_H264
Output #0, null, to 'nul':
  Metadata:
    encoder         : Lavf57.71.100
    Stream #0:0: Video: h264 (h264_mf), 1 reference frame, nv12, 640x480 [SAR 1:1 DAR 4:3], q=2-31, 400 kb/s, 25 fps, 25
 tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.89.100 h264_mf
[h264_mf @ 0000000001da7cc0] stream format change
[h264_mf @ 0000000001da7cc0] output types:
[h264_mf @ 0000000001da7cc0] output type 0:
[h264_mf @ 0000000001da7cc0]    MF_MT_FRAME_SIZE=2748779069920 (640x480)
[h264_mf @ 0000000001da7cc0]    MF_MT_AVG_BITRATE=400000
[h264_mf @ 0000000001da7cc0]    MF_MT_MAJOR_TYPE=MFMediaType_Video
[h264_mf @ 0000000001da7cc0]    MF_MT_MPEG2_LEVEL=42
[h264_mf @ 0000000001da7cc0]    MF_MT_MPEG2_PROFILE=100
[h264_mf @ 0000000001da7cc0]    MF_MT_FRAME_RATE=107374182401 (25:1)
[h264_mf @ 0000000001da7cc0]    MF_MT_INTERLACE_MODE=2
[h264_mf @ 0000000001da7cc0]    MF_MT_SUBTYPE=MFVideoFormat_H264
[h264_mf @ 0000000001da7cc0] picking output type 0.
[h264_mf @ 0000000001da7cc0] setting output type:
[h264_mf @ 0000000001da7cc0]    MF_MT_FRAME_SIZE=2748779069920 (640x480)
[h264_mf @ 0000000001da7cc0]    MF_MT_AVG_BITRATE=400000
[h264_mf @ 0000000001da7cc0]    MF_MT_MAJOR_TYPE=MFMediaType_Video
[h264_mf @ 0000000001da7cc0]    MF_MT_MPEG2_LEVEL=42
[h264_mf @ 0000000001da7cc0]    MF_MT_MPEG2_PROFILE=100
[h264_mf @ 0000000001da7cc0]    MF_MT_FRAME_RATE=107374182401 (25:1)
[h264_mf @ 0000000001da7cc0]    MF_MT_INTERLACE_MODE=2
[h264_mf @ 0000000001da7cc0]    MF_MT_SUBTYPE=MFVideoFormat_H264
[h264_mf @ 0000000001da7cc0] in_info: size=0, align=0
[h264_mf @ 0000000001da7cc0] out_info: size=0, align=0 (provides samples)
[h264_mf @ 0000000001da7cc0] final output type:
[h264_mf @ 0000000001da7cc0]    MF_MT_FRAME_SIZE=2748779069920 (640x480)
[h264_mf @ 0000000001da7cc0]    MF_MT_AVG_BITRATE=400000
[h264_mf @ 0000000001da7cc0]    MF_MT_MPEG_SEQUENCE_HEADER=<blob size 47: 00 00 01 27 64 00 2A AC 2B 60 50 1E D8 08 80 0
0 00 03 00 80 00 00 19 70 20 00 C3 50 00 30 D4 DE F7 C1 DA 1C 32 E0 00 00 00 01 28 EE 3C B0 00 >
[h264_mf @ 0000000001da7cc0]    MF_MT_MAJOR_TYPE=MFMediaType_Video
[h264_mf @ 0000000001da7cc0]    MF_MT_MPEG2_LEVEL=42
[h264_mf @ 0000000001da7cc0]    MF_MT_MPEG2_PROFILE=100
[h264_mf @ 0000000001da7cc0]    MF_MT_FRAME_RATE=107374182401 (25:1)
[h264_mf @ 0000000001da7cc0]    MF_MT_INTERLACE_MODE=2
[h264_mf @ 0000000001da7cc0]    MF_MT_SUBTYPE=MFVideoFormat_H264
No more output streams to write to, finishing.

Run this and post what it says:

C:\ProgramData\ChannelsDVR\latest\ffmpeg.exe -hide_banner -nostats -loglevel verbose -loglevel quiet -f
lavfi -t 0.1 -i color=black:640x480 -c:v h264_mf -profile:v high -level 42 -b:v 400k -maxrate:v 600k -f null -y nul

I think that’s what i have above except I removed -loglevel quiet since that was supressing the log

I can upgrade to windows 10 if that’s the answer. I was reluctant since the upgrade removes media center which is what i was using pre-channels.

Does that command hang or finish?

seems to hang. Says “No more output streams to write to, finishing” and then just sits there. But i’m not sure what the expected behavior is

open Task Manager, select the Processes tab, find the ffmpeg.exe listed in the list, right-click it, select “Create Dump File,” wait for the dump file to be written, then email it to [email protected]