jely2002 / youtube-dl-gui

A cross-platform GUI for youtube-dl made in Electron and node.js
GNU Affero General Public License v3.0
6.5k stars 454 forks source link

When I try to download videos in MP4 format, there is no audio #373

Open amarrero13 opened 2 years ago

amarrero13 commented 2 years ago

When I try to download videos in MP4 format, there is no audio

Steps to reproduce the behavior:

  1. Set Attempt to use output format as "MP4"
  2. Force Audio output to Auto
  3. Download a video
  4. See error no audio on video

Expected behavior There should be audio

Additional info (please complete the following information):

maximilianotaverna commented 2 years ago

same on osx 12.4 (m1 mac)

ghost commented 2 years ago

Have you tried switching the audio codec? go to options > advanced > Show available codecs to download Then select any audio codec.

BentzStream commented 2 years ago

I am also having this problem

BentzStream commented 2 years ago

I have tried every codec and none work

ghost commented 2 years ago

I am also having this problem

Weird, are you having no audio while editing in a video editor perhaps? Or is it by using a media player like VLC?

mwsimmonite commented 2 years ago

Same issue here, MacOS 12.4, when output set to MP4 (needed so I don't need to re-encode an MKV with handbrake) downloads no longer have audio in Quicktime/Final Cut Pro.

Tried with a few links, same issue. Downloading audio only works.

Edit: Tried this on a duplicate machine with IINA and Elmedia Player installed. The videos downloaded DO have audio, it's just no longer in a format being recognised as compatible for native Mac apps e.g Final Cut Pro or Quicktime Player, which states: 'This file contains some media that isn’t compatible with QuickTime Player'. IINA and Elmedia Player play the same files with working audio.

Is there any way to force a specific audio codec to be used during the download/conversion for a combined video+audio download as that would perhaps be a way around this?

mwsimmonite commented 2 years ago

It looks like this may be related to these issues which apparently are resolved for a future release? https://github.com/jely2002/youtube-dl-gui/pull/265#issue-1087207012 https://github.com/jely2002/youtube-dl-gui/issues/258#issuecomment-999880410

When I manually choose M4A audio instead of OPUS audio works fine in FCP and Quicktime as per the workaround in the above comment.