The mp4 streams have H.264 video and AAC audio which ffmpeg just remuxes into the TS container. No transcoding had to be done which is why we can buffer it on the fly.
cooper43 Wrote:Well, everything seems to work via NMT but there is a problem when run from PC. When I select a video to play the following error comes up. When I say "Continue" it says it is buffering but doesn't play the video.
thanks,
Steve
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at NextPVR.YouTube.Utils.GetCookies() in F:\Projects\NextPVR\YouTube\YouTube\Utils.cs:line 21
at NextPVR.YouTube.VideoStream.GetVideoStreamsAsync() in F:\Projects\NextPVR\YouTube\YouTube\VideoStream.cs:line 46
at NextPVR.YouTube.YouTubePlugin.PlayVideo(Hashtable args) in F:\Projects\NextPVR\YouTube\YouTube\NewStyleButtonListPlugin.cs:line 456
at NextPVR.YouTube.YouTubePlugin.ActivateItem(ListObject selectedObject) in F:\Projects\NextPVR\YouTube\YouTube\NewStyleButtonListPlugin.cs:line 337
...
I've found and fixed this bug for the next build. It was related to cookie handling.
Does anyone else have a problem with YouTube currently?
Was working fine last week but now gets stuck at 'buffering' message on NMT and nothing is downloaded. nPVR crashes with no errors in log files (sorry don't have one to upload at present, just seeing if it's only me that has the issue) but event log shows:
Happens on both PC and NMT. If it's just me and everyone else is still working OK I'll investigate further, something must have changed. I did upgrade to latest 2.5.9 to see if it fixed it but it was broken before.
Youtube made a change about the time of your post that breaks the plugin. Attempting to play/download the video through DirectShow or ffmpeg results in a 403 (Forbidden) code from youtube. I plan to look into it this weekend but I've been working on some paying projects (for the first time in over a year) over the past couple of weeks.
My 20 month old son is not happy about not getting to see his videos so it is fairly high priority for me.
whurlston Wrote:Youtube made a change about the time of your post that breaks the plugin. Attempting to play/download the video through DirectShow or ffmpeg results in a 403 (Forbidden) code from youtube. I plan to look into it this weekend but I've been working on some paying projects (for the first time in over a year) over the past couple of weeks.
My 20 month old son is not happy about not getting to see his videos so it is fairly high priority for me.
Contragts on the paying work!
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
whurlston Wrote:Youtube made a change about the time of your post that breaks the plugin. Attempting to play/download the video through DirectShow or ffmpeg results in a 403 (Forbidden) code from youtube. I plan to look into it this weekend .....
Hi whurlston, good on you for the work, great to hear. Just checking back on the update, no hurry.
I'll create a full package on Monday and update the first post but here is a patch for now.
1) Videos will now play again.
2) Will no longer crash when using a skin that does not include one for this plugin. The skin.xml from the default skin folder will be used.
3) Improved memory/thread handling of precaching images.