Giter Club home page Giter Club logo

Comments (10)

Tzahi12345 avatar Tzahi12345 commented on July 24, 2024

Weird, I was not able to reproduce this bug. Are there any errors that come back from the frontend or backend? I'd like to better understand where it failed here.

from youtubedl-material.

Twofour2 avatar Twofour2 commented on July 24, 2024

Sorry, there's no errors at all other than the error message with quicktime player. Everything seems to work it's just delivering an invalid file.

from youtubedl-material.

LukasK13 avatar LukasK13 commented on July 24, 2024

@Tzahi12345 Thanks for this awesome project.
I'm using YoutubeDL-Material in a docker container and can confirm this issue. With this video I cannot even get it to work in the browser.
When I download the video audio only and click on play, the clip is only one second and has no audio. The downloaded MP3-file is 4.2 MB, so it seems to be fine but nevertheless I am unable to play it using VLC, iTunes, ...
I'm happy to help you digging further into this issue, if you have any idea where to look for errors.

from youtubedl-material.

Tzahi12345 avatar Tzahi12345 commented on July 24, 2024

@LukasK13 Thanks for the confirmation. Can you verify that no errors appeared in in the backend as well? It's the node app.js screen, if you are using Docker it would appear after you run docker-compose up.

from youtubedl-material.

LukasK13 avatar LukasK13 commented on July 24, 2024

I can confirm that there are no errors shown in the container logs.

from youtubedl-material.

Tzahi12345 avatar Tzahi12345 commented on July 24, 2024

Still not able to reproduce, really strange...

Just a thought: maybe it has to do with the youtube-dl version?

The latest update (3.4 includes a newer (March 2020) version. Could you try the updated version and see if the error persists?

from youtubedl-material.

LukasK13 avatar LukasK13 commented on July 24, 2024

The problem still exists in the latest update 3.4.
However I digged a little further.
I am running YoutubeDL-Material 3.4 in docker on ubuntu server 19.10. My main machine is a MacBook Pro with MacOS Catalina. As I am not sure if the browser playback and media player playback (VLC, Quicktime, ...), I'm listing both issues separately.

Browser Playback

MacOS Catalina

  • Safari: Playback is one second with no audio
  • Firefox: Playback is working fine 🎉
  • Chrome / MS Edge Chromium: Playback is working fine 🎉

Windows 10

  • Firefox: Playback is working fine 🎉
  • MS Edge Chromium: Playback is working fine 🎉

Playback of downloaded MP3

This is not depending on which browser was used for downloading the audio. An error message is never shown.

MacOS Catalina

  • iTunes: Playback is not working
  • VLC Media Player: Playback is one second with no audio
  • QuickTime Player: Playback is 15 seconds with no audio

Windows 10

  • VLC Media Player: Playback is one second with no audio
  • Windows Media Player: Playback is working fine 🎉

from youtubedl-material.

Tzahi12345 avatar Tzahi12345 commented on July 24, 2024

I think I see what is happening. The audio file that is downloaded is not actually an mp3, it's either a webm or mkv file that is just named as an mp3.

I used a file analyzer that confirmed by suspicions:

I'll see if I can get a hotfix out today for it, probably won't take long to fix. I'll close the issue once that's done. Anyways, thanks @LukasK13 for the debugging help! The inconsistent behavior in media players from your testing was really helpful.

from youtubedl-material.

LukasK13 avatar LukasK13 commented on July 24, 2024

Thank you very much for the fast fixing.
I'm glad I could help.

from youtubedl-material.

Tzahi12345 avatar Tzahi12345 commented on July 24, 2024

No problem! Hotfix is out, just pull the new 3.4 image or download the latest zip from the releases :)

from youtubedl-material.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.