Kethsar / ytarchive

Garbage Youtube livestream downloader
MIT License
1.01k stars 83 forks source link

Request/question #193

Closed JIGASHI closed 1 month ago

JIGASHI commented 1 month ago

Any chance for AVC or at least x265/hevc if it is possible, any time soon? Thanks for creating this.

Kethsar commented 1 month ago

Do you have any examples of a stream being in AV1? I know they supposedly accept it as ingest but I don't recall seeing anything about it being used as output yet.

JIGASHI commented 1 month ago

Do you have any examples of a stream being in AV1? I know they supposedly accept it as ingest but I don't recall seeing anything about it being used as output yet.

I see, I figured it was default at this point and it was merely a choice which was missing, but as I am writing this I am only seeing 2 av1 streams and by the time you read this they are sure to be offline. I also assumed that there would be other options for the audio format or make it download as one file video + audio.

Then another thing I would ask or suggest to be added is if you could integrate a shutdown, sleep, hibernate script so it asks you what to do what to do after the download is complete and you can select do nothing, shutdown, sleep or hibernate system.

Also wonder if this is something that exists for android OS as well, I am surprised something like newpipe or a fork of it does not have this functionality, from what I know. And whether there are any plans on your part to make this compatible with other sites like Rumble.com

Thanks.

Kethsar commented 1 month ago

You can link the channels those AV1 streams are from, that way I can periodically check them for streams since I imagine they'd consistently be using AV1.

another thing I would ask or suggest to be added is if you could integrate a shutdown, sleep, hibernate script

There is a plan to eventually add a post-download hook that could be used for this, probably. I haven't done much of any work on ytarchive recently since I just don't program much after work these days, and there haven't been any features that I personally feel the burning need to add.

any plans on your part to make this compatible with other sites

Nope, never. This entire thing is a hack and only works with the way Youtube does things. While theoretically some of the logic could be used for other sites, those sites would also need to use sequential fragment files and have them be persistent while the stream is online. But I have no interest in other sites as I do not have anyone I watch from other sites.

JIGASHI commented 1 month ago

Do you have any examples of a stream being in AV1? I know they supposedly accept it as ingest but I don't recall seeing anything about it being used as output yet.

So I searched "av1" at various times and clicked "live" and collected a couple of channels, They all mentioned av1, so I am assuming they meant that they were streaming in av1.

https://www.youtube.com/@925Warriors https://www.youtube.com/channel/UCTpP5m-ecJby7NeiC6R5shQ https://www.youtube.com/@planetaryengineer https://www.youtube.com/@Fixzao https://www.youtube.com/@JapanGame https://www.youtube.com/@Sat1sfayeR https://www.youtube.com/@DiamondSigns https://www.youtube.com/@AppleCham

Kethsar commented 1 month ago

One of those channels is live, mentions AV1 in the title, but the output is only H264 and VP9. AV1 output is not a thing yet as far as I can see. 06-08_20-55-51