NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) v
« Previous 1 2 3 4 5 6 … 20 Next »
YouTube Plugin

 
  • 0 Vote(s) - 0 Average
YouTube Plugin
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#381
2012-07-26, 02:56 AM
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.
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#382
2012-07-26, 04:48 AM
If anyone wants to play around, this patch has a couple of experimental features:

  1. Changes to list generation code to improve list download speed. (This build does not have the 250 max item limit but Google caps it at 1000.)
  2. Uses alternate url for playing a video (This will hopefully improve performance issues for those having trouble with higher quality streams.)
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#383
2012-07-26, 03:43 PM
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.
macgyver
Offline

Member

Posts: 189
Threads: 32
Joined: Jun 2005
#384
2012-10-03, 09:16 AM
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:

EventType clr20r3, P1 nextpvr.exe, P2 1.0.0.0, P3 5069c9b0, P4 system, P5 2.0.0.0, P6 4ba85929, P7 1fb2, P8 1bd, P9 system.net.webexception, P10 NIL.

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.

Cheers
Dual Pentium 1.8GHz, 4GB, 5TB, Colossus, NOVA-T, NOVA-HD-S2, W10, Latest NPVR 4, 3 PCH A100, 2 PCH A110
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#385
2012-10-16, 04:46 AM
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. Big Grin
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#386
2012-10-16, 09:44 AM
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. Big Grin

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
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#387
2012-10-22, 10:26 PM
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.
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#388
2012-10-27, 05:14 PM
I'll be working on this tonight.
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#389
2012-10-28, 12:29 AM
I've figured out the problem and fixed it. I just need to run some test to make sure I didn't break something and I'll upload a patch tonight.
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#390
2012-10-28, 05:05 AM
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.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (65): « Previous 1 … 37 38 39 40 41 … 65 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Using R5000-HD with Network Recorder Plugin checkbin99 255 52,602 2021-08-24, 07:50 PM
Last Post: checkbin99
  how to configure RemoteRecorder Plugin to use remote NextPVR instance? bm_00 5 3,142 2020-10-06, 12:32 PM
Last Post: mvallevand
  Connecting NVPR to Emby Plugin NVPR Geek 0 1,372 2018-06-10, 12:32 AM
Last Post: NVPR Geek
  Newb here: Can someone help with a Plex Plugin issue? wepham 1 3,245 2017-02-07, 07:10 AM
Last Post: petenshari
  System Plugin Confused by New NPVR Naming Scheme Lao Pan 1 2,746 2016-09-25, 08:26 AM
Last Post: imilne
  Movies2 Plugin Problem... Anyone using it? ga_mueller 5 4,499 2016-08-22, 07:02 PM
Last Post: ga_mueller
  Plex Plugin Nikkie300 4 6,212 2016-01-24, 05:59 PM
Last Post: Nikkie300
  NextPVR Plex plugin, no live TV ajmast 15 9,700 2015-10-29, 03:45 AM
Last Post: ajmast
  Cant restart record service using System plugin on 3.4.8 shaunpatrick77 3 2,849 2015-05-19, 02:20 PM
Last Post: imilne
  Files Plugin crashes when there is an ' in the file name. cbgifford 89 29,794 2015-01-28, 05:19 AM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode