Skip to content

Videos getting corrupt while downloading large files #12301

@wannabelokesh

Description

@wannabelokesh

Checklist

  • I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected version

0.27.7

Steps to reproduce the bug

  1. Download a video, for example, https://www.youtube.com/watch?v=wBtPGnVnA9g&t=42s&pp=ygUIaHV4biBkc2E%3D in 1080p or 1440p(whatever higher quality available) webm.
  2. then I move it to my desktop (voidlinux) via LocalSend.
  3. I play the video in mpv.

Expected behavior

Downloaded videos should play normal, whatever length or size, whatever resolution they are. Without any lags, without any warnings or error messages.

Actual behavior

When I play the video in mpv, the window frame gets loaded and destroyed within a second.
I tried playing the same video in vlc, kmp (smartphone) and using mpv --demuxer=lavf <filename.webm>.
The video lags while seeking forward/backwards, changing playback speed.
The progress-bar always shows like video is almost finished. When I seek backward/forward, the progress-bar is already like it reached 96% length of actual video length (consider linked video, ~7hrs long), it reflects by moving left/right. The current timestamp is correct, but total length is like -00:00:01.

I downloaded 10s of such longer length youtube videos and a few slightly short ones. I observed most of the videos that shows this error/issue are the ones longer in length (more speficially heavy in size).
I'm using NewPipe for ~1.5yrs now and this behavior never shown up.
Please look into it, it's cause me inconvenience.
I tried downloading videos multiple times: in non-stable internet, in stable-fast internet conditions.
If there's some issue from my side, I apologize from the bottom of my heart.
Thank you.

Screenshots/Screen recordings

output.webm

Logs

The log file https://pastebin.com/37JxP01R which I generated using mpv <filename> --log-file=mpvissue.txt.

Affected Android/Custom ROM version

No response

Affected device model

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    YouTubeService, https://www.youtube.com/bugIssue is related to a bugdownloaderIssue is related to the downloader

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions