NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Kodi / XBMC v
« Previous 1 … 13 14 15 16 17 … 43 Next »
Uncaught exception: System.Web.HttpException (0x80004005): File does not exist.

 
  • 0 Vote(s) - 0 Average
Uncaught exception: System.Web.HttpException (0x80004005): File does not exist.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,184
Threads: 958
Joined: May 2006
#11
2016-10-18, 01:35 PM
There still is a problem with the NextPVR installer not updating the 64 bit ffmpeg to 32 bit which might be a problem for you.

The URL you used needs to be wrapped in quotes "http://127.0.0.1:8866/live?channel=3&transcoder=bfaf1fd4-6064-4ec7-b57e-bf7e773a9821"

Martin
MrReis
Offline

Member

Posts: 58
Threads: 6
Joined: Oct 2013
#12
2016-10-18, 01:58 PM
mvallevand Wrote:...The URL you used needs to be wrapped in quotes "http://127.0.0.1:8866/live?channel=3&transcoder=bfaf1fd4-6064-4ec7-b57e-bf7e773a9821"

Martin

The following is the result from the LOCAL machine with the URL wrapped in quotes.

Code:
C:\Users\dreis>"C:\Program Files (x86)\NPVR\Other\ffmpeg.exe" -y -i "http://127.
0.0.1:8866/live?channel=3&transcoder=bfaf1fd4-6064-4ec7-b57e-bf7e773a9821" -map_
metadata -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -pix_fmt y
uv420p -preset superfast -crf 23 -b:v 2000000 -maxrate 2000000 -bufsize 4000000
-vsync vfr -profile:v high -level 41 -aspect 16:9 -force_key_frames "expr:gte(t,
n_forced*3)" -s 1280x720 -flags -global_header -sc_threshold 0 -codec:a:0 aac -s
trict experimental -ac 2 -ab 128000 -af "adelay=1,aresample=async=1" -hls_time 3
-start_number 0 -hls_list_size 0 -y "C:\Users\Public\NPVR\web\temp\KNTV-bfaf1fd
460644ec7b57ebf7e773a9821.m3u8"
ffmpeg version N-76598-g2905c51 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 5.2.0 (GCC)
  configuration: --arch=x86_64 --target-os=mingw32 --cross-prefix=/home/mceuser/
ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/bin/x86_64-w64-mingw32- --
pkg-config=pkg-config --disable-w32threads --enable-gpl --enable-libsoxr --enabl
e-fontconfig --enable-libass --enable-libutvideo --enable-libbluray --enable-ico
nv --enable-libtwolame --extra-cflags=-DLIBTWOLAME_STATIC --enable-libzvbi --ena
ble-libcaca --enable-libmodplug --extra-libs=-lstdc++ --extra-libs=-lpng --enabl
e-libvidstab --enable-libx265 --enable-decklink --extra-libs=-loleaut32 --enable
-libx264 --enable-libxvid --enable-libmp3lame --enable-version3 --enable-zlib --
enable-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enable-
libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-libopu
s --enable-frei0r --enable-filter=frei0r --enable-libvo-aacenc --enable-bzlib --
enable-libxavs --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-li
bvo-amrwbenc --enable-libschroedinger --enable-libvpx --enable-libilbc --enable-
libwavpack --enable-libwebp --enable-libgme --enable-dxva2 --enable-libdcadec --
enable-avisynth --enable-gray --enable-libmfx --extra-libs=-lpsapi --extra-cflag
s= --enable-static --disable-shared --prefix=/home/mceuser/ffmpeg-windows-build-
helpers/sandbox/mingw-w64-x86_64/x86_64-w64-mingw32 --enable-runtime-cpudetect
  libavutil      55.  5.100 / 55.  5.100
  libavcodec     57. 15.100 / 57. 15.100
  libavformat    57. 14.100 / 57. 14.100
  libavdevice    57.  0.100 / 57.  0.100
  libavfilter     6. 15.100 /  6. 15.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[mpeg2video @ 000000000042ec40] Invalid frame dimensions 0x0.
    Last message repeated 11 times
Input #0, mpegts, from 'http://127.0.0.1:8866/live?channel=3&transcoder=bfaf1fd4
-6064-4ec7-b57e-bf7e773a9821':
  Duration: N/A, start: 64622.454700, bitrate: N/A
  Program 7972
    Stream #0:0[0x1aa5]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv42
0p(tv), 704x480 [SAR 10:11 DAR 4:3], max. 18000 kb/s, 29.97 fps, 29.97 tbr, 90k
tbn, 59.94 tbc
    Stream #0:1[0x1aa6](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, 5.
1(side), fltp, 384 kb/s
    Stream #0:2[0x1aa7](spa): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, mo
no, fltp, 192 kb/s (visual impaired)
[libx264 @ 00000000030dfe60] using SAR=1/1
[libx264 @ 00000000030dfe60] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1
Cache64
[libx264 @ 00000000030dfe60] profile High, level 4.1
Output #0, hls, to 'C:\Users\Public\NPVR\web\temp\KNTV-bfaf1fd460644ec7b57ebf7e7
73a9821.m3u8':
  Metadata:
    encoder         : Lavf57.14.100
    Stream #0:0: Video: h264 (libx264), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=
-1--1, 2000 kb/s, 29.97 fps, 90k tbn, 29.97 tbc
    Metadata:
      encoder         : Lavc57.15.100 libx264
    Stream #0:1: Audio: aac, 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc57.15.100 aac
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (ac3 (native) -> aac (native))
Press [q] to stop, [?] for help
[mpegts @ 0000000000405940] PES packet size mismatch bitrate=N/A
[mpeg2video @ 00000000030353c0] ac-tex damaged at 13 22
[mpeg2video @ 00000000030353c0] Warning MVs not available
[mpeg2video @ 00000000030353c0] concealing 352 DC, 352 AC, 352 MV errors in P fr
ame
[ac3 @ 0000000002f85640] incomplete frame00:00:50.21 bitrate=N/A
frame= 1493 fps= 18 q=-1.0 Lsize=N/A time=00:00:50.68 bitrate=N/A
video:11968kB audio:800kB subtitle:0kB other streams:0kB global headers:0kB muxi
ng overhead: unknown
[libx264 @ 00000000030dfe60] frame I:17    Avg QP:17.60  size: 48966
[libx264 @ 00000000030dfe60] frame P:457   Avg QP:20.60  size: 15058
[libx264 @ 00000000030dfe60] frame B:1019  Avg QP:21.90  size:  4457
[libx264 @ 00000000030dfe60] consecutive B-frames:  5.2%  9.1%  6.6% 79.0%
[libx264 @ 00000000030dfe60] mb I  I16..4: 34.0% 31.1% 34.9%
[libx264 @ 00000000030dfe60] mb P  I16..4:  6.7%  7.3%  1.2%  P16..4: 48.0%  0.0
%  0.0%  0.0%  0.0%    skip:36.6%
[libx264 @ 00000000030dfe60] mb B  I16..4:  1.0%  0.5%  0.1%  B16..8: 17.7%  0.0
%  0.0%  direct:12.3%  skip:68.4%  L0:32.4% L1:50.3% BI:17.3%
[libx264 @ 00000000030dfe60] 8x8 transform intra:43.1% inter:49.0%
[libx264 @ 00000000030dfe60] coded y,uvDC,uvAC intra: 42.7% 58.9% 22.6% inter: 1
0.7% 14.3% 0.2%
[libx264 @ 00000000030dfe60] i16 v,h,dc,p: 36% 40% 15%  9%
[libx264 @ 00000000030dfe60] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 30% 25%  5%  5%
4%  7%  4%  9%
[libx264 @ 00000000030dfe60] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 37% 10%  6%  6%
5%  7%  4%  7%
[libx264 @ 00000000030dfe60] i8c dc,h,v,p: 38% 35% 16% 10%
[libx264 @ 00000000030dfe60] Weighted P-Frames: Y:4.4% UV:1.5%
[libx264 @ 00000000030dfe60] kb/s:1962.80
[aac @ 000000000040dc80] Qavg: 552.213
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,184
Threads: 958
Joined: May 2006
#13
2016-10-18, 02:11 PM
When it settles down does the fps pick up fps= 18 won't give you enough for live transcoding.

Martin
MrReis
Offline

Member

Posts: 58
Threads: 6
Joined: Oct 2013
#14
2016-10-18, 02:11 PM
mvallevand Wrote:...The URL you used needs to be wrapped in quotes "http://127.0.0.1:8866/live?channel=3&transcoder=bfaf1fd4-6064-4ec7-b57e-bf7e773a9821"

Martin

The following is the result from the REMOTE machine with the URL wrapped in quotes.

Code:
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.

C:\Windows\system32>"C:\Program Files (x86)\NPVR\Other\ffmpeg.exe" -y -i "http://127.0.0.1:8866/live?channel=3&transcoder=bfaf1fd4-6064-4ec7-b57e-bf7e773a9821" -map_metadata -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 -b:v 2000000 -maxrate 2000000 -bufsize 4000000 -vsync vfr -profile:v high -level 41 -aspect 16:9 -force_key_frames "expr:gte(t,n_forced*3)" -s 1280x720 -flags -global_header -sc_threshold 0 -codec:a:0 aac -strict experimental -ac 2 -ab 128000 -af "adelay=1,aresample=async=1" -hls_time 3 -start_number 0 -hls_list_size 0 -y "C:\Users\Public\NPVR\web\temp\KNTV-bfaf1fd460644ec7b57ebf7e773a9821.m3u8"
ffmpeg version N-76598-g2905c51 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 5.2.0 (GCC)
  configuration: --arch=x86 --target-os=mingw32 --cross-prefix=/home/mceuser/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/bin/i686-w64-mingw32- --pkg-config=pkg-config --disable-w32threads --enable-gpl --enable-libsoxr --enable-fontconfig --enable-libass --enable-libutvideo --enable-libbluray --enable-iconv --enable-libtwolame --extra-cflags=-DLIBTWOLAME_STATIC --enable-libzvbi --enable-libcaca --enable-libmodplug --extra-libs=-lstdc++ --extra-libs=-lpng --enable-libvidstab --enable-libx265 --enable-decklink --extra-libs=-loleaut32 --enable-libx264 --enable-libxvid --enable-libmp3lame --enable-version3 --enable-zlib --enable-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-libopus --enable-frei0r --enable-filter=frei0r --enable-libvo-aacenc --enable-bzlib --enable-libxavs --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libvpx --enable-libilbc --enable-libwavpack --enable-libwebp --enable-libgme --enable-dxva2 --enable-libdcadec --enable-avisynth --enable-gray --enable-libmfx --extra-libs=-lpsapi --extra-cflags= --enable-static --disable-shared --prefix=/home/mceuser/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32 --enable-runtime-cpudetect
  libavutil      55.  5.100 / 55.  5.100
  libavcodec     57. 15.100 / 57. 15.100
  libavformat    57. 14.100 / 57. 14.100
  libavdevice    57.  0.100 / 57.  0.100
  libavfilter     6. 15.100 /  6. 15.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[mpeg2video @ 039d8360] Invalid frame dimensions 0x0.
    Last message repeated 26 times
Input #0, mpegts, from 'http://127.0.0.1:8866/live?channel=3&transcoder=bfaf1fd4-6064-4ec7-b57e-bf7e773a9821':
  Duration: N/A, start: 65343.586667, bitrate: N/A
  Program 7972
    Stream #0:0[0x1aa5]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 704x480 [SAR 10:11 DAR 4:3], max. 18000 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x1aa6](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, 5.1(side), fltp, 384 kb/s
    Stream #0:2[0x1aa7](spa): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, mono, fltp, 192 kb/s (visual impaired)
[libx264 @ 05b06680] using SAR=1/1
[libx264 @ 05b06680] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[libx264 @ 05b06680] profile High, level 4.1
Output #0, hls, to 'C:\Users\Public\NPVR\web\temp\KNTV-bfaf1fd460644ec7b57ebf7e773a9821.m3u8':
  Metadata:
    encoder         : Lavf57.14.100
    Stream #0:0: Video: h264 (libx264), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 2000 kb/s, 29.97 fps, 90k tbn, 29.97 tbc
    Metadata:
      encoder         : Lavc57.15.100 libx264
    Stream #0:1: Audio: aac, 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc57.15.100 aac
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (ac3 (native) -> aac (native))
Press [q] to stop, [?] for help
frame= 1797 fps= 18 q=-1.0 Lsize=N/A time=00:01:01.76 bitrate=N/A
video:13825kB audio:963kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[libx264 @ 05b06680] frame I:21    Avg QP:17.44  size: 43414
[libx264 @ 05b06680] frame P:664   Avg QP:20.63  size: 14449
[libx264 @ 05b06680] frame B:1112  Avg QP:21.45  size:  3283
[libx264 @ 05b06680] consecutive B-frames: 12.5% 10.5% 13.9% 63.2%
[libx264 @ 05b06680] mb I  I16..4: 39.7% 28.8% 31.5%
[libx264 @ 05b06680] mb P  I16..4: 12.7%  6.1%  2.9%  P16..4: 39.7%  0.0%  0.0%  0.0%  0.0%    skip:38.7%
[libx264 @ 05b06680] mb B  I16..4:  0.7%  0.3%  0.0%  B16..8: 14.0%  0.0%  0.0%  direct:10.7%  skip:74.2%  L0:33.6% L1:53.8% BI:12.6%
[libx264 @ 05b06680] 8x8 transform intra:28.3% inter:52.5%
[libx264 @ 05b06680] coded y,uvDC,uvAC intra: 40.1% 49.0% 27.6% inter: 8.8% 13.2% 0.7%
[libx264 @ 05b06680] i16 v,h,dc,p: 45% 45%  7%  3%
[libx264 @ 05b06680] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 32% 22%  5%  5%  5%  6%  4%  8%
[libx264 @ 05b06680] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 60%  7%  3%  3%  3%  4%  3%  5%
[libx264 @ 05b06680] i8c dc,h,v,p: 48% 32% 14%  7%
[libx264 @ 05b06680] Weighted P-Frames: Y:3.2% UV:1.5%
[libx264 @ 05b06680] kb/s:1888.77
[aac @ 05b38140] Qavg: 559.522
MrReis
Offline

Member

Posts: 58
Threads: 6
Joined: Oct 2013
#15
2016-10-18, 02:22 PM
mvallevand Wrote:When it settles down does the fps pick up fps= 18 won't give you enough for live transcoding.

Martin

On both the local and remote machines the fps settled to around 32 fps.
MrReis
Offline

Member

Posts: 58
Threads: 6
Joined: Oct 2013
#16
2016-10-18, 03:01 PM
I was able to get the NextPVR web server to play live TV for about 10 seconds.


The following are the relevant NextPVR web log events.
At 07:27:19.625 [ERROR][21] Unexpected error streaming channel: System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host

Code:
2016-10-18 07:26:10.450    [DEBUG][23]    Got Web Request (192.168.1.123): /logon.aspx    ReturnUrl=%2fdefault.aspx
2016-10-18 07:26:10.804    [INFO][23]    Loading Config...
2016-10-18 07:26:10.807    [INFO][23]    Checking default login page configuration setting....
2016-10-18 07:26:10.852    [INFO][23]    authentication section of web.config found.
2016-10-18 07:26:10.852    [INFO][23]    Default login configuration setting and web.config match.  No update and redirect are needed.
2016-10-18 07:26:10.852    [INFO][23]    
2016-10-18 07:26:10.852    [INFO][23]    Pulled Credential from Config...
2016-10-18 07:26:10.852    [INFO][23]    User= admin
2016-10-18 07:26:10.852    [INFO][23]    Password = 5F4DCC3B5AA765D61D8327DEB882CF99
2016-10-18 07:26:10.852    [INFO][23]    
2016-10-18 07:26:10.875    [INFO][23]    URL-Before-Replace = http://192.168.1.108:8866/logon.aspx?ReturnUrl=/default.aspx
2016-10-18 07:26:10.875    [INFO][23]    URL-After-Replace = http://192.168.1.108:8866/logon.aspx?ReturnUrl=/default.aspx
2016-10-18 07:26:10.876    [INFO][23]    URL-After-Context = http://192.168.1.108:8866
2016-10-18 07:26:10.876    [INFO][23]    Postback not found....now pulling User Host Info...
2016-10-18 07:26:10.876    [INFO][23]    IP V4 Detected on Server
2016-10-18 07:26:10.877    [INFO][23]    Using IP4 Address: 192.168.1.123
2016-10-18 07:26:10.877    [INFO][23]    
2016-10-18 07:26:10.886    [INFO][23]    You have made it to the complete login method....this is a good thing....
2016-10-18 07:26:10.891    [INFO][23]    Checking if new theme flag is set....
2016-10-18 07:26:10.891    [INFO][23]    New theme flag is not set...
2016-10-18 07:26:10.891    [INFO][23]    Checking username not blank, redirect uri = request path...
2016-10-18 07:26:10.891    [INFO][23]    Checking to see if the redirect uri is equal to default.aspx or logout.aspx
2016-10-18 07:26:10.891    [INFO][23]    Redirect uri was equal to default.aspx or logout.aspx....seting the redirect to guide.aspx......
2016-10-18 07:26:10.891    [INFO][23]    
2016-10-18 07:26:10.891    [INFO][23]    
2016-10-18 07:26:10.891    [INFO][23]    Automatic login from 192.168.1.123
2016-10-18 07:26:10.891    [INFO][23]    
2016-10-18 07:26:10.891    [INFO][23]    Initializing Forms Authentication....
2016-10-18 07:26:10.891    [INFO][23]    
2016-10-18 07:26:10.891    [INFO][23]    Setting Forms Authentication Cookie....
2016-10-18 07:26:10.891    [INFO][23]    Username =
2016-10-18 07:26:10.891    [INFO][23]    Cookie Path = /
2016-10-18 07:26:10.891    [INFO][23]    
2016-10-18 07:26:10.969    [INFO][23]    Checking for auto search execution....
2016-10-18 07:26:10.969    [INFO][23]    Auto Search is not set to run or it has aleady run today....
2016-10-18 07:26:10.969    [INFO][23]    
2016-10-18 07:26:10.969    [INFO][23]    Redirecting to the modern UI....
2016-10-18 07:26:10.970    [INFO][23]    
2016-10-18 07:26:10.970    [INFO][23]    
2016-10-18 07:26:10.970    [INFO][23]    Establishing login salt
2016-10-18 07:26:10.970    [INFO][23]    Login salt = b58dd730-4f69-4413-be27-cae9eaabd1ad
2016-10-18 07:26:10.971    [INFO][23]    Registering hidden field...LoginButton.UniqueID = LoginButton
2016-10-18 07:26:10.971    [INFO][23]    
2016-10-18 07:26:11.951    [DEBUG][18]    Got Web Request (192.168.1.123): /modern/classes/index.js    
.
.
.
2016-10-18 07:27:18.713    [DEBUG][21]    About to send 50000 bytes
2016-10-18 07:27:18.713    [DEBUG][21]    Sent 50000 bytes
2016-10-18 07:27:18.713    [DEBUG][21]    About to send 50000 bytes
2016-10-18 07:27:18.714    [DEBUG][21]    Sent 50000 bytes
2016-10-18 07:27:18.714    [DEBUG][28]    ErrorData: frame=  752 fps= 32 q=24.0 size=N/A time=00:00:26.62 bitrate=N/A    
2016-10-18 07:27:18.815    [DEBUG][21]    About to send 50000 bytes
2016-10-18 07:27:18.815    [DEBUG][21]    Sent 50000 bytes
2016-10-18 07:27:19.017    [DEBUG][21]    About to send 50000 bytes
2016-10-18 07:27:19.018    [DEBUG][21]    Sent 50000 bytes
2016-10-18 07:27:19.018    [DEBUG][21]    About to send 50000 bytes
2016-10-18 07:27:19.018    [DEBUG][21]    Sent 50000 bytes
2016-10-18 07:27:19.119    [DEBUG][21]    About to send 50000 bytes
2016-10-18 07:27:19.119    [DEBUG][21]    Sent 50000 bytes
2016-10-18 07:27:19.220    [DEBUG][21]    About to send 50000 bytes
2016-10-18 07:27:19.220    [DEBUG][21]    Sent 50000 bytes
2016-10-18 07:27:19.232    [DEBUG][28]    ErrorData: frame=  768 fps= 32 q=24.0 size=N/A time=00:00:27.16 bitrate=N/A    
2016-10-18 07:27:19.321    [DEBUG][21]    About to send 50000 bytes
2016-10-18 07:27:19.321    [DEBUG][21]    Sent 50000 bytes
2016-10-18 07:27:19.422    [DEBUG][21]    About to send 50000 bytes
2016-10-18 07:27:19.422    [DEBUG][21]    Sent 50000 bytes
2016-10-18 07:27:19.523    [DEBUG][21]    About to send 50000 bytes
2016-10-18 07:27:19.523    [DEBUG][21]    Sent 50000 bytes
2016-10-18 07:27:19.523    [DEBUG][21]    About to send 50000 bytes
2016-10-18 07:27:19.523    [DEBUG][21]    Sent 50000 bytes
2016-10-18 07:27:19.581    [DEBUG][26]    Lease expired. Stopping transcode
2016-10-18 07:27:19.624    [DEBUG][21]    About to send 50000 bytes
2016-10-18 07:27:19.625    [ERROR][21]    [color=#FF0000]Unexpected error streaming channel: System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host[/color]
   at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
   at NShared.Streaming.StreamingHelper.StreamNative(Socket conn, Dictionary`2 parameters)
2016-10-18 07:27:20.627    [DEBUG][21]    StopStream(1507336)...
2016-10-18 07:27:20.627    [DEBUG][21]    clientHandle[default] = 1507336
2016-10-18 07:27:20.627    [DEBUG][21]    Calling StopStream()
2016-10-18 07:27:21.566    [DEBUG][21]    StopStream() done
2016-10-18 07:27:21.566    [DEBUG][21]    RollingFile.Close()
2016-10-18 07:27:21.573    [DEBUG][21]    About to delete temp file: D:\TEMP\live-KNTV-6884-8.ts
2016-10-18 07:27:21.587    [DEBUG][21]    Cleaning up: D:\TEMP\live-KNTV-6884-8.ts
2016-10-18 07:27:22.587    [DEBUG][18]    Deleting web temp files


The following are the relevant NRecord log events.

Code:
2016-10-18 07:26:47.688    [DEBUG][19]    StartStream(7149:KNTV)
2016-10-18 07:26:47.688    [DEBUG][19]    looking for capture source
2016-10-18 07:26:47.688    [DEBUG][19]    checking: HDHomeRun Device 131EA57B
2016-10-18 07:26:47.688    [DEBUG][19]    enabled and present
2016-10-18 07:26:47.688    [DEBUG][19]    has channel
2016-10-18 07:26:47.688    [DEBUG][19]    live tv is possible
2016-10-18 07:26:47.688    [DEBUG][19]    HDHomeRunRecorder.StartStream()
2016-10-18 07:26:47.689    [DEBUG][19]    HDHomeRunRecorder@2.0
2016-10-18 07:26:47.689    [DEBUG][19]    HDHomeRunRecorder@2.1
2016-10-18 07:26:47.689    [DEBUG][19]    HDHomeRunRecorder@2.2 nextPort=36315
2016-10-18 07:26:47.689    [DEBUG][19]    HDHomeRunRecorder@2.2.0
2016-10-18 07:26:47.689    [DEBUG][19]    HDHomeRunRecorder@2.2.0@allocated
2016-10-18 07:26:47.689    [DEBUG][19]    HDHomeRunRecorder@2.3
2016-10-18 07:26:47.689    [DEBUG][19]    Allocated port: 36315
2016-10-18 07:26:47.689    [DEBUG][19]    HDHomeRunRecorder@3
2016-10-18 07:26:47.689    [DEBUG][19]    About to start HDHR device. Checking status for information sake... (could tell if it's already in use elsewhere)
2016-10-18 07:26:47.689    [DEBUG][19]    Executing: C:\Program Files\Silicondust\HDHomeRun\hdhomerun_config.exe 131EA57B get /tuner0/status
2016-10-18 07:26:47.767    [DEBUG][19]    Status: ch=none lock=none ss=0 snq=0 seq=0 bps=0 pps=0

2016-10-18 07:26:48.768    [DEBUG][19]    Executing: C:\Program Files\Silicondust\HDHomeRun\hdhomerun_config.exe 131EA57B set /tuner0/lockkey 99023
2016-10-18 07:26:48.945    [DEBUG][19]    SetIncomingPort@2
2016-10-18 07:26:48.946    [DEBUG][19]    SetIncomingPort@exit
2016-10-18 07:26:48.946    [DEBUG][19]    Executing: C:\Program Files\Silicondust\HDHomeRun\hdhomerun_config.exe 131EA57B key 99023 set /tuner0/vchannel 3
2016-10-18 07:26:49.101    [DEBUG][19]    ForcedIP.xml does not exists
2016-10-18 07:26:49.268    [DEBUG][19]    131EA57B can be found via adapter with ip address: 192.168.1.108
2016-10-18 07:26:49.268    [DEBUG][19]    Executing: C:\Program Files\Silicondust\HDHomeRun\hdhomerun_config.exe 131EA57B key 99023 set /tuner0/target rtp://192.168.1.108:36315
2016-10-18 07:26:49.275    [DEBUG][19]    SetIncomingPort@2
2016-10-18 07:26:49.275    [DEBUG][19]    SetIncomingPort@exit
2016-10-18 07:26:51.488    [DEBUG][19]    StartStream() returned handle=8
2016-10-18 07:26:51.488    [DEBUG][19]    Allocated Handle: 8
2016-10-18 07:26:51.490    [DEBUG][19]    Live TV handle: 0x170008
2016-10-18 07:26:51.697    [DEBUG][19]    Renew lease ok (0x170008)
2016-10-18 07:26:51.700    [DEBUG][19]    Renew lease ok (0x170008)
2016-10-18 07:26:56.775    [DEBUG][19]    Renew lease ok (0x170008)
2016-10-18 07:27:01.898    [DEBUG][19]    Renew lease ok (0x170008)
2016-10-18 07:27:06.966    [DEBUG][19]    Renew lease ok (0x170008)
2016-10-18 07:27:12.033    [DEBUG][19]    Renew lease ok (0x170008)
2016-10-18 07:27:17.095    [DEBUG][19]    Renew lease ok (0x170008)
2016-10-18 07:27:20.628    [DEBUG][19]    [color=#FF0000]StopStream(8)[/color]
2016-10-18 07:27:20.662    [INFO][19]    No more streams active. Stopping device.
2016-10-18 07:27:20.662    [DEBUG][19]    SetIncomingPort@2
2016-10-18 07:27:20.662    [DEBUG][19]    SetIncomingPort@exit
2016-10-18 07:27:20.864    [DEBUG][19]    stopping graph
2016-10-18 07:27:20.864    [DEBUG][19]    Graph stopping...
2016-10-18 07:27:21.278    [DEBUG][19]    Graph stopped
2016-10-18 07:27:21.278    [DEBUG][19]    destroying graph
2016-10-18 07:27:21.278    [DEBUG][19]    Removing filter  NPVR Writer
2016-10-18 07:27:21.280    [DEBUG][19]    Removing filter  NPVR Net Push Source
2016-10-18 07:27:21.383    [DEBUG][19]    deallocating ports
2016-10-18 07:27:21.383    [DEBUG][19]    Executing: C:\Program Files\Silicondust\HDHomeRun\hdhomerun_config.exe 131EA57B key 99023 set /tuner0/channel none
2016-10-18 07:27:21.487    [DEBUG][19]    Executing: C:\Program Files\Silicondust\HDHomeRun\hdhomerun_config.exe 131EA57B key 99023 set /tuner0/lockkey none
chris4824
Offline

Member

Posts: 61
Threads: 4
Joined: May 2018
#17
2018-06-25, 06:46 PM
was this ever figured out?



MrReis Wrote:I was able to get the NextPVR web server to play live TV for about 10 seconds.


The following are the relevant NextPVR web log events.
At 07:27:19.625 [ERROR][21] Unexpected error streaming channel: System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host

Code:
2016-10-18 07:26:10.450    [DEBUG][23]    Got Web Request (192.168.1.123): /logon.aspx    ReturnUrl=%2fdefault.aspx
2016-10-18 07:26:10.804    [INFO][23]    Loading Config...
2016-10-18 07:26:10.807    [INFO][23]    Checking default login page configuration setting....
2016-10-18 07:26:10.852    [INFO][23]    authentication section of web.config found.
2016-10-18 07:26:10.852    [INFO][23]    Default login configuration setting and web.config match.  No update and redirect are needed.
2016-10-18 07:26:10.852    [INFO][23]    
2016-10-18 07:26:10.852    [INFO][23]    Pulled Credential from Config...
2016-10-18 07:26:10.852    [INFO][23]    User= admin
2016-10-18 07:26:10.852    [INFO][23]    Password = 5F4DCC3B5AA765D61D8327DEB882CF99
2016-10-18 07:26:10.852    [INFO][23]    
2016-10-18 07:26:10.875    [INFO][23]    URL-Before-Replace = http://192.168.1.108:8866/logon.aspx?ReturnUrl=/default.aspx
2016-10-18 07:26:10.875    [INFO][23]    URL-After-Replace = http://192.168.1.108:8866/logon.aspx?ReturnUrl=/default.aspx
2016-10-18 07:26:10.876    [INFO][23]    URL-After-Context = http://192.168.1.108:8866
2016-10-18 07:26:10.876    [INFO][23]    Postback not found....now pulling User Host Info...
2016-10-18 07:26:10.876    [INFO][23]    IP V4 Detected on Server
2016-10-18 07:26:10.877    [INFO][23]    Using IP4 Address: 192.168.1.123
2016-10-18 07:26:10.877    [INFO][23]    
2016-10-18 07:26:10.886    [INFO][23]    You have made it to the complete login method....this is a good thing....
2016-10-18 07:26:10.891    [INFO][23]    Checking if new theme flag is set....
2016-10-18 07:26:10.891    [INFO][23]    New theme flag is not set...
2016-10-18 07:26:10.891    [INFO][23]    Checking username not blank, redirect uri = request path...
2016-10-18 07:26:10.891    [INFO][23]    Checking to see if the redirect uri is equal to default.aspx or logout.aspx
2016-10-18 07:26:10.891    [INFO][23]    Redirect uri was equal to default.aspx or logout.aspx....seting the redirect to guide.aspx......
2016-10-18 07:26:10.891    [INFO][23]    
2016-10-18 07:26:10.891    [INFO][23]    
2016-10-18 07:26:10.891    [INFO][23]    Automatic login from 192.168.1.123
2016-10-18 07:26:10.891    [INFO][23]    
2016-10-18 07:26:10.891    [INFO][23]    Initializing Forms Authentication....
2016-10-18 07:26:10.891    [INFO][23]    
2016-10-18 07:26:10.891    [INFO][23]    Setting Forms Authentication Cookie....
2016-10-18 07:26:10.891    [INFO][23]    Username =
2016-10-18 07:26:10.891    [INFO][23]    Cookie Path = /
2016-10-18 07:26:10.891    [INFO][23]    
2016-10-18 07:26:10.969    [INFO][23]    Checking for auto search execution....
2016-10-18 07:26:10.969    [INFO][23]    Auto Search is not set to run or it has aleady run today....
2016-10-18 07:26:10.969    [INFO][23]    
2016-10-18 07:26:10.969    [INFO][23]    Redirecting to the modern UI....
2016-10-18 07:26:10.970    [INFO][23]    
2016-10-18 07:26:10.970    [INFO][23]    
2016-10-18 07:26:10.970    [INFO][23]    Establishing login salt
2016-10-18 07:26:10.970    [INFO][23]    Login salt = b58dd730-4f69-4413-be27-cae9eaabd1ad
2016-10-18 07:26:10.971    [INFO][23]    Registering hidden field...LoginButton.UniqueID = LoginButton
2016-10-18 07:26:10.971    [INFO][23]    
2016-10-18 07:26:11.951    [DEBUG][18]    Got Web Request (192.168.1.123): /modern/classes/index.js    
.
.
.
2016-10-18 07:27:18.713    [DEBUG][21]    About to send 50000 bytes
2016-10-18 07:27:18.713    [DEBUG][21]    Sent 50000 bytes
2016-10-18 07:27:18.713    [DEBUG][21]    About to send 50000 bytes
2016-10-18 07:27:18.714    [DEBUG][21]    Sent 50000 bytes
2016-10-18 07:27:18.714    [DEBUG][28]    ErrorData: frame=  752 fps= 32 q=24.0 size=N/A time=00:00:26.62 bitrate=N/A    
2016-10-18 07:27:18.815    [DEBUG][21]    About to send 50000 bytes
2016-10-18 07:27:18.815    [DEBUG][21]    Sent 50000 bytes
2016-10-18 07:27:19.017    [DEBUG][21]    About to send 50000 bytes
2016-10-18 07:27:19.018    [DEBUG][21]    Sent 50000 bytes
2016-10-18 07:27:19.018    [DEBUG][21]    About to send 50000 bytes
2016-10-18 07:27:19.018    [DEBUG][21]    Sent 50000 bytes
2016-10-18 07:27:19.119    [DEBUG][21]    About to send 50000 bytes
2016-10-18 07:27:19.119    [DEBUG][21]    Sent 50000 bytes
2016-10-18 07:27:19.220    [DEBUG][21]    About to send 50000 bytes
2016-10-18 07:27:19.220    [DEBUG][21]    Sent 50000 bytes
2016-10-18 07:27:19.232    [DEBUG][28]    ErrorData: frame=  768 fps= 32 q=24.0 size=N/A time=00:00:27.16 bitrate=N/A    
2016-10-18 07:27:19.321    [DEBUG][21]    About to send 50000 bytes
2016-10-18 07:27:19.321    [DEBUG][21]    Sent 50000 bytes
2016-10-18 07:27:19.422    [DEBUG][21]    About to send 50000 bytes
2016-10-18 07:27:19.422    [DEBUG][21]    Sent 50000 bytes
2016-10-18 07:27:19.523    [DEBUG][21]    About to send 50000 bytes
2016-10-18 07:27:19.523    [DEBUG][21]    Sent 50000 bytes
2016-10-18 07:27:19.523    [DEBUG][21]    About to send 50000 bytes
2016-10-18 07:27:19.523    [DEBUG][21]    Sent 50000 bytes
2016-10-18 07:27:19.581    [DEBUG][26]    Lease expired. Stopping transcode
2016-10-18 07:27:19.624    [DEBUG][21]    About to send 50000 bytes
2016-10-18 07:27:19.625    [ERROR][21]    [color=#FF0000]Unexpected error streaming channel: System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host[/color]
   at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
   at NShared.Streaming.StreamingHelper.StreamNative(Socket conn, Dictionary`2 parameters)
2016-10-18 07:27:20.627    [DEBUG][21]    StopStream(1507336)...
2016-10-18 07:27:20.627    [DEBUG][21]    clientHandle[default] = 1507336
2016-10-18 07:27:20.627    [DEBUG][21]    Calling StopStream()
2016-10-18 07:27:21.566    [DEBUG][21]    StopStream() done
2016-10-18 07:27:21.566    [DEBUG][21]    RollingFile.Close()
2016-10-18 07:27:21.573    [DEBUG][21]    About to delete temp file: D:\TEMP\live-KNTV-6884-8.ts
2016-10-18 07:27:21.587    [DEBUG][21]    Cleaning up: D:\TEMP\live-KNTV-6884-8.ts
2016-10-18 07:27:22.587    [DEBUG][18]    Deleting web temp files


The following are the relevant NRecord log events.

Code:
2016-10-18 07:26:47.688    [DEBUG][19]    StartStream(7149:KNTV)
2016-10-18 07:26:47.688    [DEBUG][19]    looking for capture source
2016-10-18 07:26:47.688    [DEBUG][19]    checking: HDHomeRun Device 131EA57B
2016-10-18 07:26:47.688    [DEBUG][19]    enabled and present
2016-10-18 07:26:47.688    [DEBUG][19]    has channel
2016-10-18 07:26:47.688    [DEBUG][19]    live tv is possible
2016-10-18 07:26:47.688    [DEBUG][19]    HDHomeRunRecorder.StartStream()
2016-10-18 07:26:47.689    [DEBUG][19]    HDHomeRunRecorder@2.0
2016-10-18 07:26:47.689    [DEBUG][19]    HDHomeRunRecorder@2.1
2016-10-18 07:26:47.689    [DEBUG][19]    HDHomeRunRecorder@2.2 nextPort=36315
2016-10-18 07:26:47.689    [DEBUG][19]    HDHomeRunRecorder@2.2.0
2016-10-18 07:26:47.689    [DEBUG][19]    HDHomeRunRecorder@2.2.0@allocated
2016-10-18 07:26:47.689    [DEBUG][19]    HDHomeRunRecorder@2.3
2016-10-18 07:26:47.689    [DEBUG][19]    Allocated port: 36315
2016-10-18 07:26:47.689    [DEBUG][19]    HDHomeRunRecorder@3
2016-10-18 07:26:47.689    [DEBUG][19]    About to start HDHR device. Checking status for information sake... (could tell if it's already in use elsewhere)
2016-10-18 07:26:47.689    [DEBUG][19]    Executing: C:\Program Files\Silicondust\HDHomeRun\hdhomerun_config.exe 131EA57B get /tuner0/status
2016-10-18 07:26:47.767    [DEBUG][19]    Status: ch=none lock=none ss=0 snq=0 seq=0 bps=0 pps=0

2016-10-18 07:26:48.768    [DEBUG][19]    Executing: C:\Program Files\Silicondust\HDHomeRun\hdhomerun_config.exe 131EA57B set /tuner0/lockkey 99023
2016-10-18 07:26:48.945    [DEBUG][19]    SetIncomingPort@2
2016-10-18 07:26:48.946    [DEBUG][19]    SetIncomingPort@exit
2016-10-18 07:26:48.946    [DEBUG][19]    Executing: C:\Program Files\Silicondust\HDHomeRun\hdhomerun_config.exe 131EA57B key 99023 set /tuner0/vchannel 3
2016-10-18 07:26:49.101    [DEBUG][19]    ForcedIP.xml does not exists
2016-10-18 07:26:49.268    [DEBUG][19]    131EA57B can be found via adapter with ip address: 192.168.1.108
2016-10-18 07:26:49.268    [DEBUG][19]    Executing: C:\Program Files\Silicondust\HDHomeRun\hdhomerun_config.exe 131EA57B key 99023 set /tuner0/target rtp://192.168.1.108:36315
2016-10-18 07:26:49.275    [DEBUG][19]    SetIncomingPort@2
2016-10-18 07:26:49.275    [DEBUG][19]    SetIncomingPort@exit
2016-10-18 07:26:51.488    [DEBUG][19]    StartStream() returned handle=8
2016-10-18 07:26:51.488    [DEBUG][19]    Allocated Handle: 8
2016-10-18 07:26:51.490    [DEBUG][19]    Live TV handle: 0x170008
2016-10-18 07:26:51.697    [DEBUG][19]    Renew lease ok (0x170008)
2016-10-18 07:26:51.700    [DEBUG][19]    Renew lease ok (0x170008)
2016-10-18 07:26:56.775    [DEBUG][19]    Renew lease ok (0x170008)
2016-10-18 07:27:01.898    [DEBUG][19]    Renew lease ok (0x170008)
2016-10-18 07:27:06.966    [DEBUG][19]    Renew lease ok (0x170008)
2016-10-18 07:27:12.033    [DEBUG][19]    Renew lease ok (0x170008)
2016-10-18 07:27:17.095    [DEBUG][19]    Renew lease ok (0x170008)
2016-10-18 07:27:20.628    [DEBUG][19]    [color=#FF0000]StopStream(8)[/color]
2016-10-18 07:27:20.662    [INFO][19]    No more streams active. Stopping device.
2016-10-18 07:27:20.662    [DEBUG][19]    SetIncomingPort@2
2016-10-18 07:27:20.662    [DEBUG][19]    SetIncomingPort@exit
2016-10-18 07:27:20.864    [DEBUG][19]    stopping graph
2016-10-18 07:27:20.864    [DEBUG][19]    Graph stopping...
2016-10-18 07:27:21.278    [DEBUG][19]    Graph stopped
2016-10-18 07:27:21.278    [DEBUG][19]    destroying graph
2016-10-18 07:27:21.278    [DEBUG][19]    Removing filter  NPVR Writer
2016-10-18 07:27:21.280    [DEBUG][19]    Removing filter  NPVR Net Push Source
2016-10-18 07:27:21.383    [DEBUG][19]    deallocating ports
2016-10-18 07:27:21.383    [DEBUG][19]    Executing: C:\Program Files\Silicondust\HDHomeRun\hdhomerun_config.exe 131EA57B key 99023 set /tuner0/channel none
2016-10-18 07:27:21.487    [DEBUG][19]    Executing: C:\Program Files\Silicondust\HDHomeRun\hdhomerun_config.exe 131EA57B key 99023 set /tuner0/lockkey none
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,184
Threads: 958
Joined: May 2006
#18
2018-06-25, 08:37 PM
chris4824 Wrote:was this ever figured out?

Many things get fixed in the time that has passeed since this thread started, however not all servers can transcode for the web at the spped required for live tv Open a new thread and post your logs, fully explaining you problem.

Martin
MrReis
Offline

Member

Posts: 58
Threads: 6
Joined: Oct 2013
#19
2018-06-25, 09:26 PM
chris4824 Wrote:was this ever figured out?

As I recall the problem in this thread was a residual problem created by another problem that prevented the NextPVR web server from starting discussed in previous thread: Unexpected error starting web server. Basically NTFS drive compression hoses .NET Framework. My media PC is a mini-PC (Minix Z83-4) which is limited to only a 32GB system drive so I compressed it to get more space. For some unknown reason .NET doesn't work on compressed NTFS drives. Anyway I decompressed the drive and the NextPVR web server started again, but there were residual problems - I think some .NET files were corrupted when the drive was compressed.

That is what this post was about. I had to repair the .NET installation. I used NETFXRepair.exe which I either downloaded from Microsoft or it is part of the .NET installation.
chris4824
Offline

Member

Posts: 61
Threads: 4
Joined: May 2018
#20
2018-06-25, 09:26 PM
i have.. https://forums.nextpvr.com/showthread.ph...post525163 .. just seems alittle similar and trying to help out.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  Cannot open live tv file with CoreElec test addon Oempa 9 3,204 2020-02-03, 04:22 PM
Last Post: sub
  Kodi log file error shaneypoopers 1 2,052 2015-04-04, 01:31 PM
Last Post: mvallevand
  Unexpected socket exception calling StartStream() 0 540 Less than 1 minute ago
Last Post:

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode