TeamNewPipe / NewPipe

A libre lightweight streaming front-end for Android.
https://newpipe.net
GNU General Public License v3.0
31.22k stars 3.03k forks source link

Playing in VLC disables the audio for some reason #7997

Open JVT038 opened 2 years ago

JVT038 commented 2 years ago

Checklist

Affected version

0.22.1

Steps to reproduce the bug

  1. Enable use in external video player & use external audio player
  2. Play video with VLC
  3. Hear nothing, because the audio doesn't work

Expected behavior

I expected the video to play including the audio, but it doesn't work.

Actual behavior

I know it says 'removes audio at some resolutions', but for me it removes the audio at all resolutions, for all videos. When I play another stream via VLC from my Jellyfin server for example, the audio works fine, and when I play a local file with VLC, it works fine as well. Only with NewPipe it doesn't work for some reason

Screenshots/Screen recordings

No response

Logs

No response

Affected Android/Custom ROM version

Android 11 /e/ OS 0.21-20220123158735

Affected device model

Fairphone 4

Additional information

I have degoogled my phone, meaning all the Google services are replaced and/or removed

Amanse commented 2 years ago

the external player option states that it will remove audio at some formats since youtube actually doesn't have audio+video combined for all resolutions, newpipe combines the streams

jonholdsworth commented 2 years ago

On my android, NewPipe via VLC as external player can no longer play audio for any 1080p videos. This stopped working a couple of versions back. I presume it is a change at Youtube.

Seeking on 1080p videos is also extremely bad now, but that's another issue.

I've tried another external video player besides VLC and the same problem exists. 720p plays with audio, 1080p has no audio and seeks very unpredictably.

Audio is always present at 1080p in the Internal player.

If this is a separate bug I will happily create one.

Amanse commented 2 years ago

audio will be present in the internal player since it combines the audio and video for you, external players like VLC can't do that, atleast when they are provided a link to play like with newpipe, you cannot give them 2 links, YouTube itself only has 720p(and another at 240p or 144p i think) video which has audio in-built

the scrolling on 1080p is another issue which i think will be addressed in the player rewrite or it probably has its own issue, if it doesn't opening an issue can help

jonholdsworth commented 2 years ago

Ah, did that change at Youtube recently then? Audio used to work fine for 1080p in VLC external.

(Just as an irrelevant note: the whole reason I care is that VLC can cast to a TV, but I can't cast 1080p with audio now.)