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

Video plays but no audio #309

Open
atljoseph opened this issue Oct 29, 2023 · 4 comments
Open

Video plays but no audio #309

atljoseph opened this issue Oct 29, 2023 · 4 comments

Comments

@atljoseph
Copy link

On Mac. Installed with brew.

@yangxuhui
Copy link

Can you please provide more details about how you download video ?

@DEfusion
Copy link

For me if I set -q '' to get best quality I have no audio, if I don't then I get audio.

When I pass -q '' codecs I get this info:

quality=hd1080 mimeType="video/mp4; codecs="avc1.64002a"

When I don't I get this info, so seems it's not getting the audio stream when hd1080

quality=medium mimeType="video/mp4; codecs="avc1.42001E, mp4a.40.2"

@DEfusion
Copy link

Related to #273

For now I'm downloading 2 videos and combining the audio with ffmpeg as a hack, I only have a few to download so that's fine for me.

@Eric-lab-star
Copy link

I encountered same issued but solved by running command with the tag that has both audio and video.

For example, url of video you want to download is https://www.youtube.com/watch?v=5JberwYl-Zo

  1. Run, youtubedr info https://www.youtube.com/watch?v=5JberwYl-Zo
    you can see ITAG 22 has both video and audio
  2. Run youtubedr download -q 22 https://www.youtube.com/watch?v=5JberwYl-Zo -o happydog.mp4
    pass ITAG 22 to -q flag so you can download video and audio
  3. open happydog.mp4 file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants