trizen / pipe-viewer

A lightweight YouTube client for Linux, without requiring an API key.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] How to increase mpv download speed with pipe viewer?

sun95n opened this issue · comments

So YouTube video and audio download speed is limited by ffmpeg as mentioned in this thread. Although I understand that pipe-viewer manages both URLs separately. So the logical thing to do would be to pass the URL to mpv to make it work. The problem is that mpv takes 5-7 seconds to parse a URL unlike pipe-viewer which only takes 2. So is there any other method to achieve this?

commented

I didn't think I would find a solution for this, haha.
It was enough to set split_videos to 0 to avoid the download limits. Although you will only be able to view videos with 720p and 360p resolution, 1080p or higher will revert to 720p

@trizen do you think you can explain why this behavior happens? According to the documentation:

pipe-viewer/bin/pipe-viewer

Lines 5075 to 5077 in 25c176b

=head2 split_videos
Enable or disable support for split-videos. Split-videos are videos that do not include audio and video in the same file.

Although I would appreciate if it would be easier to explain in this context.

commented

Thanks a lot. I guess now I can close it.