Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some videos won't play, missing codec? #2228

Closed
3 tasks done
ravilov opened this issue Mar 18, 2019 · 10 comments
Closed
3 tasks done

Some videos won't play, missing codec? #2228

ravilov opened this issue Mar 18, 2019 · 10 comments
Labels
bug Issue is related to a bug requires extractor change This issue requires a change to the extractor

Comments

@ravilov
Copy link

ravilov commented Mar 18, 2019

It gets as far as showing the thumbnail/description/comments screen. But when I tap on the video, it just shows the loading spinner forever. This happens consistently on Android 4.4 but seems to work on Android 7.1. Maybe a missing system codec on older Android versions? Any way to remedy this, or at least detect this condition and show a warning?

Examples:


@theScrabi
Copy link
Member

Can't be, the video would fail to be displayed and end up with an exception if no supported codec was supplied.

@ravilov
Copy link
Author

ravilov commented Mar 18, 2019

Any other ideas for this strange behavior? Is it perhaps possible an exception does indeed happen but ends up suppressed (via an empty catch block or similar), or just sent to logcat, or otherwise kept from reaching the player?

@theScrabi
Copy link
Member

It could be your android system.

@mozbugbox
Copy link

It could be the hardware video decoder that cannot handle the video steam properly. Particularly when playing the webm format.

Try test it by setup NewPipe to play with external player and has the external player (VLC, MX player) plays online stream videos using soft video decoder.

@ravilov
Copy link
Author

ravilov commented Mar 19, 2019

Made some interesting discoveries.

I installed MX Player as suggested and set NewPipe to use external player. Videos that work normally in NP work just fine in MX as well, and videos that don't work in NP don't work in MX either. MX just goes through available codec categories (SW, HW, HW+) and finally displays "Cannot play this link".

Then I thought of something. My default resolution in NP is set to 480p. Just for testing I changed it to 720p. Suddenly all the videos work, both in NP and MX.

Not sure what to make of that. Still think there must be a better way to handle not being able to play a video instead of just showing the loading spinner forever. I'm leaving my default at 720p for now at least.

@theScrabi
Copy link
Member

Ah that was the missing part. Yes 420p also failes on my device.

@theScrabi theScrabi added the bug Issue is related to a bug label Mar 19, 2019
@ghost ghost mentioned this issue Mar 31, 2019
@ghost
Copy link

ghost commented Mar 31, 2019

same problem.
when i select 480p as quality it is loading take too much time . at the this point 720p loading in shorter time than 480p. my network easily play 720p videos, so it's not network problem

@alexandrezia
Copy link

Have this issue too, android 4.4 (honda civic head unity)

@Stypox
Copy link
Member

Stypox commented Sep 27, 2019

#2415 is probably related

@Stypox Stypox added the requires extractor change This issue requires a change to the extractor label Sep 27, 2019
@Stypox
Copy link
Member

Stypox commented Apr 27, 2020

Duplicate of #2415

@Stypox Stypox marked this as a duplicate of #2415 Apr 27, 2020
@Stypox Stypox closed this as completed Apr 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug requires extractor change This issue requires a change to the extractor
Projects
None yet
Development

No branches or pull requests

5 participants