dasl- / piwall2

0 stars 0 forks source link

integrate improvements pioneered in pifi #19

Closed dasl- closed 1 year ago

dasl- commented 2 years ago

1) process video metadata in-line with playback pipeline: https://github.com/dasl-/pifi/commit/a6f6668b28522d1d1f56d6bb69718f366909d202

This would allow us to get rid of the __get_video_info() calls, and avoid invoking yt-dlp twice (NBD, but still nice). Would also allow us to close https://github.com/dasl-/piwall2/issues/17

2) Ensure video formats we specify for yt-dlp are compatible with live videos. See: https://github.com/dasl-/pifi/commit/0f79a1b052c4496edba1c4c6e5e6fdc0bc11f921#diff-577bc2573e6e9cc4dfea103e546ea5a19ed0f56386fe5db8ce9aa173f4de3b55R324-R325

Also, might need to change audio buffer size, since the audio stream can sometimes contain video data.

3) config simplification https://github.com/dasl-/pifi/issues/27

4) speed up video download initialization by using yt-dlp's --use-extractors option: https://github.com/dasl-/pifi/issues/34

dasl- commented 1 year ago

At this point, we've completed all tasks in this issue except for (3). Filed a new issue for that: https://github.com/dasl-/piwall2/issues/24

Closing this issue now.