rytsikau / ee.Yrewind

Program to rewind and save YouTube live stream
https://rytsikau.github.io/ee.Yrewind
206 stars 13 forks source link

Object reference not set to an instance of an object #57

Open archfan7411 opened 1 year ago

archfan7411 commented 1 year ago

We're getting this error with one specific livestream (https://www.youtube.com/watch?v=60YnbafD6vY)

Is there anything we can do to remedy it?

(snippet of the error)

--> ERROR 9413: Output file not completed, will trying again... (line 0 - Object reference not set to an instance of an object) (2/5/2023 2:33:09 PM)
--> ee.Yrewind (started at 2/5/2023 2:33:09 PM)
getting live stream info...
    stream title        Nerdle Cam 4K-  SpaceX Starbase Starship Launch Facility
    resolutions         2160,1440,1080,720,480,360,240,144
    output file         1675624673145~INCOMPLETEb3ec988_2~INCOMPLETEf422008_2~INCOMPLETEb375d38_2~INCOMPLETEf68bb9e_2~INCOMPLETEbdddbee_2~INCOMPLETE368d6e1_2~INCOMPLETE7278681_2~INCOMPLETEc9b270e_2~INCOMPLETE0a09a1a_2.mkv
--> ERROR 9413: Output file not completed, will trying again... (line 0 - Object reference not set to an instance of an object) (2/5/2023 2:35:12 PM)
--> ee.Yrewind (started at 2/5/2023 2:35:11 PM)
getting live stream info...
    stream title        Nerdle Cam 4K-  SpaceX Starbase Starship Launch Facility
    resolutions         2160,1440,1080,720,480,360,240,144
    output file         1675624673145~INCOMPLETEb3ec988_2~INCOMPLETEf422008_2~INCOMPLETEb375d38_2~INCOMPLETEf68bb9e_2~INCOMPLETEbdddbee_2~INCOMPLETE368d6e1_2~INCOMPLETE7278681_2~INCOMPLETEc9b270e_2~INCOMPLETE0a09a1a_2~INCOMPLETE5cf87a8_2.mkv
--> ERROR 9411: Output file(s) creating error (line 0) (2/5/2023 2:35:56 PM)
rytsikau commented 1 year ago

Possibly, this stream has interruptions on the streamer side. The filename gradually becomes too long, and at some moment the file cannot be saved.

Try saving in shorter clips, сreating bat file something like

yrewind -url=[URL] -duration=30 yrewind -url=[URL] -duration=30 yrewind -url=[URL] -duration=30

rytsikau commented 1 year ago

Also, try a different version of FFmpeg

corona12341 commented 1 year ago

Could you tell me how to apply another version of ffmpeg? I'm sorry. It's too hard for me.