Hi there. Just checking back in to verify that there does seem to be a small change since the last version, but it is still broken. Not sure if it matters, but in my case, the server and the client are on the same machine. When a video is watched through the NCS client, I get video tearing wherever movement takes place. Some of the recordings will play a little longer, but the ones that do seem to degrade a lot between I frames. Every 7-8 seconds in my case, an I frame comes along and it looks better, then it progressively degrades until the next. I can’t notice the I frames at all playing the same file through VLC natively. The built-in Windows 10 player also plays it properly.
I ran verbose debug playing the same 6-second file though both NCS and windows and this is what I think are the relevant entries:
VLC debug when played through windows: Line 264: core debug: EOF reached
VLC debug when played through NCS: Line 253: mp4 warning: track[0x1] will be disabled (eof?)
The file played through the NCS client only played for 2 seconds before it ended.
Looks like the stream through your server ended prematurely. Is the server buffering improperly?
Here is the full text of the VLC log for the file played through the NCS client:
core debug: processing request item: Recorded by Netcam Studio, node: Playlist, skip: 0
core debug: resyncing on Recorded by Netcam Studio
core debug: Recorded by Netcam Studio is at 0
core debug: starting playback of the new playlist item
core debug: resyncing on Recorded by Netcam Studio
core debug: Recorded by Netcam Studio is at 0
core debug: creating new input thread
core debug: Creating an input for ‘Recorded by Netcam Studio’
core debug: requesting art for Recorded by Netcam Studio
core debug: using timeshift granularity of 50 MiB, in path ‘C:\Users\murray\AppData\Local\Temp’
core debug: http://192.168.1.100:8100/Library/201511070944?authToken=0a9e9a3a-1389-4b3b-91a9-183760e49b38' gives access
http’ demux ' path
192.168.1.100:8100/Library/201511070944?authToken=0a9e9a3a-1389-4b3b-91a9-183760e49b38’
core debug: specified demux any' core debug: looking for meta fetcher module matching "any": 1 candidates core debug: creating demux: access='http' demux='any' location='192.168.1.100:8100/Library/201511070944?authToken=0a9e9a3a-1389-4b3b-91a9-183760e49b38' file='\\192.168.1.100:8100\Library\201511070944?authToken=0a9e9a3a-1389-4b3b-91a9-183760e49b38' core debug: looking for access_demux module matching "http": 12 candidates core debug: no access_demux modules matched core debug: creating access 'http' location='192.168.1.100:8100/Library/201511070944?authToken=0a9e9a3a-1389-4b3b-91a9-183760e49b38', path='\\192.168.1.100:8100\Library\201511070944?authToken=0a9e9a3a-1389-4b3b-91a9-183760e49b38' core debug: looking for access module matching "http": 21 candidates http debug: querying proxy for http://192.168.1.100:8100/Library/201511070944?authToken=0a9e9a3a-1389-4b3b-91a9-183760e49b38 http debug: no proxy lua debug: Trying Lua scripts in C:\Users\murray\AppData\Roaming\vlc\lua\meta\fetcher http debug: http: server='192.168.1.100' port=8100 file='/Library/201511070944?authToken=0a9e9a3a-1389-4b3b-91a9-183760e49b38' lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\fetcher lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac core debug: net: connecting to 192.168.1.100 port 8100 core debug: connection succeeded (socket = 1764) lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac core debug: no meta fetcher modules matched core debug: searching art for Recorded by Netcam Studio core debug: looking for art finder module matching "any": 2 candidates lua debug: Trying Lua scripts in C:\Users\murray\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\art lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac http debug: protocol 'HTTP' answer code 206 http debug: Content-Type: video/mp4 http debug: stream size=4095005,pos=0,remaining=2097152 http debug: this frame size=2097152 http debug: Server: Moonware.MiniHttpd/1.2.5.0 lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac core debug: no art finder modules matched http debug: Pragma: no-cache core debug: art not found for Recorded by Netcam Studio core debug: using access module "http" core debug: Using stream method for AStream* core debug: starting pre-buffering core debug: received first data after 0 ms core debug: pre-buffering done 1024 bytes in 0s - 1000000 KiB/s core debug: looking for stream_filter module matching "any": 6 candidates core debug: no stream_filter modules matched core debug: looking for stream_filter module matching "record": 6 candidates core debug: using stream_filter module "record" core debug: creating demux: access='http' demux='any' location='192.168.1.100:8100/Library/201511070944?authToken=0a9e9a3a-1389-4b3b-91a9-183760e49b38' file='\\192.168.1.100:8100\Library\201511070944?authToken=0a9e9a3a-1389-4b3b-91a9-183760e49b38' core debug: looking for demux module matching "any": 66 candidates qt4 debug: IM: Setting an input http debug: trying to seek to 4093263 core debug: net: connecting to 192.168.1.100 port 8100 core debug: connection succeeded (socket = 1764) http debug: protocol 'HTTP' answer code 206 http debug: Content-Type: video/mp4 http debug: stream size=4095005,pos=4093263,remaining=1742 http debug: this frame size=1742 http debug: Server: Moonware.MiniHttpd/1.2.5.0 http debug: Pragma: no-cache mp4 debug: added fragment moov mp4 debug: dumping root Box "root" mp4 debug: | + ftyp size 32 offset 0 mp4 debug: | + free size 8 offset 32 mp4 debug: | + mdat size 4093223 offset 40 mp4 debug: | + moov size 1742 offset 4093263 mp4 debug: | | + mvhd size 108 offset 4093271 mp4 debug: | | + trak size 1394 offset 4093379 mp4 debug: | | | + tkhd size 92 offset 4093387 mp4 debug: | | | + edts size 48 offset 4093479 mp4 debug: | | | | + elst size 40 offset 4093487 mp4 debug: | | | + mdia size 1246 offset 4093527 mp4 debug: | | | | + mdhd size 32 offset 4093535 mp4 debug: | | | | + hdlr size 45 offset 4093567 mp4 debug: | | | | + minf size 1161 offset 4093612 mp4 debug: | | | | | + vmhd size 20 offset 4093620 mp4 debug: | | | | | + dinf size 36 offset 4093640 mp4 debug: | | | | | | + dref size 28 offset 4093648 mp4 debug: | | | | | | | + url size 12 offset 4093664 mp4 debug: | | | | | + stbl size 1097 offset 4093676 mp4 debug: | | | | | | + stsd size 149 offset 4093684 mp4 debug: | | | | | | | + avc1 size 133 offset 4093700 mp4 debug: | | | | | | | | + avcC size 47 offset 4093786 mp4 debug: | | | | | | + stts size 24 offset 4093833 mp4 debug: | | | | | | + stsc size 64 offset 4093857 mp4 debug: | | | | | | + stsz size 816 offset 4093921 mp4 debug: | | | | | | + stco size 36 offset 4094737 mp4 debug: | | + udta size 232 offset 4094773 mp4 debug: | | | + meta size 224 offset 4094781 mp4 debug: | | | | + hdlr size 33 offset 4094793 mp4 debug: | | | | + ilst size 179 offset 4094826 mp4 debug: | | | | | + cnam size 49 offset 4094834 mp4 debug: | | | | | + ctoo size 37 offset 4094883 mp4 debug: | | | | | + ccmt size 85 offset 4094920 mp4 debug: ISO Media file (isom) version 512. mp4 debug: found 1 tracks mp4 warning: elst box found mp4 debug: - [0] duration=33ms media time=-1ms) rate=1.0 mp4 debug: - [1] duration=6634ms media time=0ms) rate=1.0 mp4 debug: track[Id 0x1] read 5 chunk mp4 warning: STTS table of 1 entries mp4 debug: track[Id 0x1] read 199 samples length:6s core debug: selecting program id=0 mp4 debug: adding track[Id 0x1] video (enable) language undef mp4 debug: fragment offset 4093263, data 484093263, duration 0 core debug: using demux module "mp4" core debug: looking for decoder module matching "any": 43 candidates avcodec debug: CPU flags: 0x010053db avcodec debug: trying to use direct rendering avcodec debug: allowing 4 thread(s) for decoding avcodec debug: avcodec codec (H264 - MPEG-4 AVC (part 10)) started avcodec debug: using frame thread mode with 4 threads core debug: using decoder module "avcodec" core debug: looking for meta reader module matching "any": 2 candidates lua debug: Trying Lua scripts in C:\Users\murray\AppData\Roaming\vlc\lua\meta\reader lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\reader lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.luac core debug: no meta reader modules matched core debug:
http://192.168.1.100:8100/Library/201511070944?authToken=0a9e9a3a-1389-4b3b-91a9-183760e49b38’ successfully opened
http debug: trying to seek to 1536
core debug: net: connecting to 192.168.1.100 port 8100
core debug: connection succeeded (socket = 1764)
http debug: protocol ‘HTTP’ answer code 206
http debug: Content-Type: video/mp4
http debug: stream size=4095005,pos=1536,remaining=2097152
http debug: this frame size=2097152
http debug: Server: Moonware.MiniHttpd/1.2.5.0
http debug: Pragma: no-cache
core debug: Buffering 0%
mp4 warning: elst old=0 new=1
core debug: Buffering 6%
avcodec debug: available hardware decoder output format 61 (dxva2_vld)
avcodec debug: available software decoder output format 0 (yuv420p)
core debug: looking for hw decoder module matching “none”: 1 candidates
core debug: no hw decoder modules matched
core debug: looking for text renderer module matching “any”: 2 candidates
core debug: Buffering 9%
core debug: Buffering 13%
core debug: Buffering 16%
freetype debug: Using Arial as font from file C:\WINDOWS\Fonts\arial.ttf
freetype debug: Using Courier New as mono-font from file C:\WINDOWS\Fonts\cour.ttf
core debug: Buffering 19%
core debug: Buffering 23%
core debug: Buffering 26%
freetype debug: using fontsize: 2
core debug: using text renderer module “freetype”
core debug: looking for video filter2 module matching “any”: 58 candidates
core debug: Buffering 29%
core debug: Buffering 33%
core debug: Buffering 36%
swscale debug: 32x32 (32x32) chroma: YUVA → 16x16 (16x16) chroma: RGBA with scaling using Bicubic (good quality)
core debug: using video filter2 module “swscale”
core debug: looking for video filter2 module matching “any”: 58 candidates
yuvp debug: YUVP to YUVA converter
core debug: using video filter2 module “yuvp”
core debug: Buffering 39%
core debug: Buffering 43%
core debug: Buffering 46%
core debug: Deinterlacing available
core debug: Buffering 49%
core debug: deinterlace 0, mode blend, is_needed 0
core debug: Buffering 53%
core debug: Buffering 56%
core debug: Buffering 59%
core debug: Opening vout display wrapper
core debug: Buffering 63%
core debug: Buffering 66%
core debug: looking for vout display module matching “any”: 11 candidates
core debug: Buffering 69%
core debug: Buffering 73%
core debug: Buffering 76%
core debug: Buffering 79%
core debug: Buffering 83%
core debug: Buffering 86%
core debug: Buffering 89%
core debug: Buffering 93%
core debug: Buffering 96%
core debug: Buffering 99%
core debug: Stream buffering done (1032 ms in 5 ms)
direct3d debug: creating Vout EventThread
direct3d debug: Win32VoutCreateWindow
core debug: looking for vout window hwnd module matching “qt4,any”: 3 candidates
qt4 debug: requesting video window…
qt4 debug: Video was requested 0, 0
core debug: using vout window hwnd module “qt4”
direct3d debug: created video sub-window
direct3d debug: Vout EventThread running
direct3d debug: disabling screen saver
direct3d debug: Direct3d Device: Intel(R) HD Graphics 3000 32902 290 9
core debug: VoutDisplayEvent ‘resize’ 656x519 fullscreen
direct3d warning: trying surface pixel format: YV12
direct3d debug: selected surface pixel format is YV12
direct3d debug: Using D3DTEXF_LINEAR for minification
direct3d debug: Using D3DTEXF_LINEAR for magnification
direct3d debug: Direct3D scene created successfully
direct3d debug: Direct3D device adapter successfully initialized
core debug: using vout display module “direct3d”
core debug: original format sz 640x482, of (0,0), vsz 640x480, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
core debug: removing module “freetype”
core debug: looking for text renderer module matching “any”: 2 candidates
core debug: VoutDisplayEvent ‘resize’ 640x480 fullscreen
freetype debug: Using Arial as font from file C:\WINDOWS\Fonts\arial.ttf
freetype debug: Using Courier New as mono-font from file C:\WINDOWS\Fonts\cour.ttf
freetype debug: using fontsize: 2
core debug: using text renderer module “freetype”
avcodec warning: plane 0 not aligned
avcodec warning: disabling direct rendering
core debug: VoutDisplayEvent ‘resize’ 656x592 fullscreen
core debug: VoutDisplayEvent ‘resize’ 1920x1080 fullscreen
core debug: End of video preroll
core debug: Received first picture
qt4 debug: Qt: Entering Fullscreen
core debug: Decoder wait done in 112 ms
avcodec debug: enabling direct rendering
avcodec warning: plane 0 not aligned
avcodec warning: disabling direct rendering
avcodec debug: enabling direct rendering
avcodec warning: plane 0 not aligned
avcodec warning: disabling direct rendering
avcodec debug: enabling direct rendering
avcodec warning: plane 0 not aligned
avcodec warning: disabling direct rendering
avcodec debug: enabling direct rendering
avcodec warning: plane 0 not aligned
avcodec warning: disabling direct rendering
avcodec debug: enabling direct rendering
avcodec warning: plane 0 not aligned
avcodec warning: disabling direct rendering
avcodec debug: enabling direct rendering
avcodec warning: plane 0 not aligned
avcodec warning: disabling direct rendering
avcodec debug: enabling direct rendering
avcodec warning: plane 0 not aligned
avcodec warning: disabling direct rendering
avcodec debug: enabling direct rendering
core debug: auto hiding mouse cursor
avcodec warning: plane 0 not aligned
avcodec warning: disabling direct rendering
avcodec debug: enabling direct rendering
avcodec warning: plane 0 not aligned
avcodec warning: disabling direct rendering
mp4 warning: track[0x1] will be disabled (eof?)
core warning: can’t get output picture
core warning: can’t get output picture
core debug: removing module “avcodec”
core warning: can’t get output picture
avcodec debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) stopped
core debug: killing decoder fourcc `h264’, 1 PES in FIFO
core debug: saving a free vout
core debug: reusing provided vout
qt4 debug: Qt: Fullscreen state changed
core debug: EOF reached
core debug: removing module “mp4”
core debug: finished input
mp4 debug: freeing all memory
core debug: removing module “record”
core debug: object waitpipe triggered
core debug: removing module “http”
core debug: Program doesn’t contain anymore ES
core debug: dead input
core debug: changing item without a request (current 0/1)
core debug: nothing to play
core debug: destroying useless vout
core debug: removing module “direct3d”
direct3d debug: Direct3D scene released successfully
direct3d debug: Win32 Vout EventThread terminating
direct3d debug: Win32VoutCloseWindow
direct3d debug: WinProc WM_DESTROY
qt4 debug: IM: Deleting the input
qt4 debug: releasing video…
qt4 debug: Qt: Quitting Fullscreen
qt4 debug: Video is not needed anymore
core debug: removing module “freetype”
core debug: removing module “yuvp”
core debug: removing module “swscale”