-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ArgumentNullException: Value cannot be null. #5
Comments
hi again, Maybe i understand what happen. if the video is a different type of .mp4 fault parsed to googlevideo. thanks. |
You need to convert your video to .mp4 |
Sorry but i am not owner or co-owner of this project. I use this project to create something i need. I had the same problem. you can update the Youtube explode plugin and find the public static class Extensions.
|
Hi guys, |
I would like to contribute, if not comments like @Top-Man's wouldnt keep me from doing so... |
I am also receiving the ArgumentNullException error, but I appreciate what you have done with this project so far. I wondered if it was the specific file format that might cause the error but I have 2 files (if you need examples) that are both MP4 and only 1 works, so I'm thinking maybe a specific codec is causing it? Here are the 2 examples: I will push forward including this in my project and hope it gets resolved soon! Thanks again. |
It occurs because we need to decrypt some url video,the player do it... see here more have 3 implemented modes, one in scala, one in python and one in csharp In csharp is the best way, I think xD |
Any updates regarding this? Has the YoutubeExplode plugin been updated? |
I would like to comment on how this doesn't support all the videos: Finally, I've updated this package in #10 , feel free to try it and see if it solves your problem. |
Please reopen issue if problem persists. thanks |
Hello,
Some links is ok but with some others youtube links i take this error
e.g: https://www.youtube.com/watch?v=QKm-SOOMC4c
ArgumentNullException: Value cannot be null.
Parameter name: value
Newtonsoft.Json.Utilities.ValidationUtils.ArgumentNotNull (System.Object value, System.String parameterName) (at C:/Users/bhadriche/Desktop/Tag AR/Assets/JsonDotNet/JsonDotNet201Source~/Source/Newtonsoft.Json/Utilities/ValidationUtils.cs:38)
Newtonsoft.Json.Linq.Extensions.Value[T,U] (System.Collections.Generic.IEnumerable
1[T] value) (at C:/Users/bhadriche/Desktop/Tag AR/Assets/JsonDotNet/JsonDotNet201Source~/Source/Newtonsoft.Json/Linq/Extensions.cs:174) Newtonsoft.Json.Linq.Extensions.Value[U] (System.Collections.Generic.IEnumerable
1[T] value) (at C:/Users/bhadriche/Desktop/Tag AR/Assets/JsonDotNet/JsonDotNet201Source~/Source/Newtonsoft.Json/Linq/Extensions.cs:162)YoutubeExplode.YoutubeClient+d__37.MoveNext () (at Assets/YoutubeExplode/YoutubeClient.Video.cs:80)
--- End of stack trace from previous location where exception was thrown ---
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <7d97106330684add86d080ecf65bfe69>:0)
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) (at <7d97106330684add86d080ecf65bfe69>:0)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) (at <7d97106330684add86d080ecf65bfe69>:0)
System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) (at <7d97106330684add86d080ecf65bfe69>:0)
System.Runtime.CompilerServices.TaskAwaiter
1[TResult].GetResult () (at <7d97106330684add86d080ecf65bfe69>:0) YoutubeExplode.YoutubeClient+<GetVideoMediaStreamInfosAsync>d__41.MoveNext () (at Assets/YoutubeExplode/YoutubeClient.Video.cs:362) --- End of stack trace from previous location where exception was thrown --- System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <7d97106330684add86d080ecf65bfe69>:0) System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) (at <7d97106330684add86d080ecf65bfe69>:0) System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) (at <7d97106330684add86d080ecf65bfe69>:0) System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) (at <7d97106330684add86d080ecf65bfe69>:0) System.Runtime.CompilerServices.TaskAwaiter
1[TResult].GetResult () (at <7d97106330684add86d080ecf65bfe69>:0)YoutubePlayer.YoutubePlayer+d__9.MoveNext () (at Assets/YoutubePlayer/Scripts/YoutubePlayer.cs:64)
UnityEngine.Debug:LogException(Exception)
YoutubePlayer.d__9:MoveNext() (at Assets/YoutubePlayer/Scripts/YoutubePlayer.cs:81)
System.Runtime.CompilerServices.AsyncTaskMethodBuilder
1:SetException(Exception) YoutubeExplode.<GetVideoMediaStreamInfosAsync>d__41:MoveNext() (at Assets/YoutubeExplode/YoutubeClient.Video.cs:588) System.Runtime.CompilerServices.AsyncTaskMethodBuilder
1:SetException(Exception)YoutubeExplode.d__37:MoveNext() (at Assets/YoutubeExplode/YoutubeClient.Video.cs:190)
System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:SetResult(IHtmlDocument)
YoutubeExplode.d__35:MoveNext() (at Assets/YoutubeExplode/YoutubeClient.Video.cs:58)
UnityEngine.UnitySynchronizationContext:ExecuteTasks()
The text was updated successfully, but these errors were encountered: