smplayer-dev / smplayer

Free Media Player for Windows, Linux and Mac OS with YouTube support.
https://smplayer.info
GNU General Public License v2.0
664 stars 93 forks source link

No Audio While Playing 4K Video #689

Open smcoder0707 opened 1 year ago

smcoder0707 commented 1 year ago

Describe the bug 4K videos along with audio used to work fine but it stopped working suddenly. I have tried to update yt-dlp but that still does not solve the issue.

To Reproduce Steps to reproduce the behavior:

  1. Adjust settings like this to force 4K playback image
  2. Take any 4K Video, Say - https://www.youtube.com/watch?v=LXb3EKWsInQ
  3. Insert and play.

Expected behaviour The audio should play fine.

Screenshots There is no audio track while playing a 4K Video image

Your Environment

Logs Reproduce the bug in your computer and attach the smplayer log (menu View) here. SMplayer.log - https://paste.bingner.com/paste/cph2p/raw Mpv.log - https://paste.bingner.com/paste/ggfvf

Additional context Add any other context about the problem here.

Serpentario commented 1 year ago

I share the same problem but in all options equal to or greater than 1080p when the Codec is VP9 or AV1.

In the option of the posted image and also in the unhighlighted option of the combo of options where you can even select the Codec AV1, this same unhighlighted option, does not give results and returns with the H264 Legacy (720p30).

228648200-b049ff6e-a330-492d-b401-4f6e779053e7

smplayer-dev commented 1 year ago

I think this is bug in mpv because if I run mpv alone it has the same problem: mpv --ytdl https://www.youtube.com/watch?v=LXb3EKWsInQ (video but no audio)

You can play the video at 4K using the development version and selecting "auto" in "support for video sites". https://github.com/smplayer-dev/smplayer/releases/tag/v22.7.0.10139

raszpl commented 1 year ago

Experienced this couple of times, the reason might be broken youtube audio sources? It didnt bother me up to this point to investigate further (I just switched to 720 and moved on with my life). Will try to look into it next time I catch this bug.

smplayer-dev commented 1 year ago

It's a bug in mpv 0.35.1, already fixed in the development versions of mpv. I think the development packages of smplayer which include mpv have also the problem fixed: https://github.com/smplayer-dev/smplayer/releases/tag/v2023.06.20