-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
No audio in 720p60 and 1080p (or higher) streams for external players (VLC & MX) #517
Comments
Right, we should disable the option for 720p60 and 1080p, etc. To be watched in an external player sice the external player woulf not be able to mix video only and audio only streams together. |
this is not a problem that occurs only watching videos with external players. thanks for this app |
Confirmed. Ok now the details (for anyone else wanting to fix it): Here and here is the code we talk about. NewPipe nows 3 Types of streams:
Since 0.9.3 we mix together non audio and audio only streams. The combined once somehow get ignored. But they should not when it comes in terms of downloading, external player, old internal player. So we need code that can select the steams based on the action. |
@theScrabi I think you misunderstood this part, we never really mux the streams, the ExoPlayer just play both the I found a library that allows us to mux at least the MP4+M4A, and it maybe get implemented, it just needs more testing (it's the Android has it's own media library/muxer, although I don't have the necessary knowledge to implement it, I did tried some examples that I found and it went well, bad thing that's for API 18+. I even considered adding For now I'm thinking in adding some warning to the user like this (a rough idea):
If you have another idea of what to do for now, tell me here |
Sorry it ask here: What kind of audio can we select currently |
@mauriciocolli I know, thats what I meant. I just didn't know the correct words and explanation. Also I think your solution is quiet good :) About ffmpeg, in another thread I said that we should not put it into NewPipe. If we ever have to add it we should put ffmpeg into another app, and than make NewPipe work with that app. |
@utack: it's either Ogg Vorbis or Ogg Opus, but Ogg by itself is like MP4 (e.g. containing AVC/H264 and HE-AAC): not the actual codec, but a kind of container. |
Yea I thought webm audio was vorbis in a webm container. |
Here is a quick comparison for 2 audios' codecs downloaded with NewPipe (bitrate of 128kpbs):
And I disabled the Opus codec from being extracted, as it was causing problems with old devices/APIs. But I think I'll enable it again, just to be able to download these files as they have a 160kpbs bitrate, and I guess that's the highest bitrate that you can find in most of the videos (it does have higher, but only some videos have) without having to convert anything. |
@mauriciocolli I like the solution of displaying a no-sound icon beside the formats when an external player is selected. I'm not an Android developer, but does anyone know if it's technically possible to pass two streams to MX Player, if it added support for that? If so, maybe I could try begging the devs to add a feature. Another possible fix: add a config option that says "use internal player when audio is in a separate stream" |
@epitron that's a thing I've been searching for since I take a look at this issue. I found that this feature is already listed in the high-priority list (nº 14): I'll take that idea in consideration when implementing the "final" solution. And what do you think about putting a warning/summary in the option itself (which I already did)? |
Would there be possible to make a player like mpv or VLC able to play separate video and audio simultaneously ? |
I know youtube-dl using ffmpeg to mux the video and audio stream together. Could NewPipe technically do this, mux the streams on the fly? I don't know the limitations of ffmpeg though, i.e. is it possible to start muxing at any point of the streams instead of just the beginning, etc. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Has this idea by @doodhout been given any thought? Without this video+audio the external video player is useless for most use-cases, so this feature would be amazing to have. |
I think this issue (or a similar/new one related to audio missing in some streams) should be open. As has been pointed out, it might technically be possible to implement/fix this in the future (see the |
You can open a new issue. |
Preface:
I suppose this PR is included in the 0.9.3 release from a few days ago, because I only noticed the new streams being available in that version.
Context:
I use VLC for Android and MX Player as an external player when watching videos through NewPipe.
The issue:
When watching 720p60, 1080p or 1080p60 (and higher of course) (in one of the mentioned external players), then there is no sound to be heard. Inspecting the properties of the mux/container in MX Player indicates the absence of an audio stream in the mux.
Can it be that the sound is only successfully muxed when using the (new) integrated player?
The text was updated successfully, but these errors were encountered: