2020-06-08, 12:44 AM
As per the thread https://forums.nextpvr.com/showthread.php?tid=59499 I have set up an extras device that calls a batch script to encode raw video from a capture card using VLC. This has all been working fine, however since upgrading to the most recent version of NPVR, I cannot get a stream to play. The blaster part of my code is still functioning fine, however my VLC commands are no longer being called. I have a quick look through the logs and I kept seeing references to FFMPEG.
The logs can be found here:
https://filebin.ca/5PGRWjdWojRu
My batch file looks like this:
And my extras file looks like this:
Can someone please tell me what the issue is? If I've put all this effort in to get my extras device to work and now it suddenly won't I will be very upset...
Thanks
The logs can be found here:
https://filebin.ca/5PGRWjdWojRu
My batch file looks like this:
Code:
"G:\Visual Studio 2017\C++ Projects\SkyQChannelChanger\Release\SkyQChannelChanger.exe" %1
taskkill /f /im vlc.exe /t
"G:\VLC\vlc" --ffmpeg-hw --avcodec-hw=any dshow:// :dshow-vdev="Video (00 Pro Capture HDMI 4K+)" :dshow-adev="Audio (2- 00 Pro Capture HDMI 4K+)" :dshow-threads=8 :dshow-aspect-ratio=16\:9 :dshow-size="3840x2160" :dshow-pixel_format=yuv444p16le :dshow-tune=film :dshow-preset=lossless :dshow-profile=main10 show-vcodec=x265 :dshow-fps=50 :dshow-crf=0 :dshow-acodec=mp4a :dshow-stereo-mode=5 :dshow-force-surround-sound=0 :dshow-ab=128 :dshow-samplerate=44100 :no-dshow-config :live-caching=300 --sout "#transcode{venc=ffmpeg,vcodec=mp2v,threads=8,aspect=16:9,width=3840,height=2160,fps=50,acodec=a52,ab=1500,channels=2,samplerate=48000,soverlay}:standard{access=file,dst=-,mux=ts}"
And my extras file looks like this:
Code:
<extras>
<channel name="{channel-name}">
<command>cmd</command>
<args>/c C:\Users\Public\NPVR-data\scripts\ProCapture.bat {channel}</args>
</channel>
</extras>
Can someone please tell me what the issue is? If I've put all this effort in to get my extras device to work and now it suddenly won't I will be very upset...
Thanks