Closed AmyXS closed 4 years ago
Hello,
Thanks for the report.
Alltube downloads the M4A file from the server without modifying it. But it seems youtube-dl uses ffmpeg to somehow fix the file:
[ffmpeg] Correcting container in "Fleetwood Mac - Big Love (Official Music Video)-4hPv6EuV7dM.m4a"
[debug] ffmpeg command line: ffmpeg -y -loglevel 'repeat+info' -i 'file:Fleetwood Mac - Big Love (Official Music Video)-4hPv6EuV7dM.m4a' -c copy -f mp4 'file:Fleetwood Mac - Big Love (Official Music Video)-4hPv6EuV7dM.temp.m4a'
I guess we could do something similar, but only if stream mode is enabled (which means not on https://alltubedownload.net/).
Thanks for looking into it Rudloff! That makes sense :)
New issue
Your environment
Please answer these questions when reporting a new issue:
What is your operating system (Windows, Linux, OSX, etc.)?
OSX visiting https://alltubedownload.net/ I will skip the following questions as I was using alltubedownload.net
What is your web server (Apache, IIS, etc.)?
What version of AllTube are you using?
How did you install AllTube (with Git or with a release package)?
What version of PHP are you using?
What version of Python are you using?
What version of youtube-dl are you using?
Do you get any PHP-related errors in your webserver's logs?
What is the content of your
config/config.yml
file?Please provide the URL of a video that causes the issue. https://www.youtube.com/watch?v=4hPv6EuV7dM
Describe your issue
When downloading a file as m4a, the file is missing file info such as maximum packet size. As a result, the file can't be opened by some music players such as Audacity. Here's the output of file info related to this file.
Actual output from afinfo videoplayback.mp4:
Expected output: (here's the output from afinfo on the file downloaded from command youtube-dl -f "bestaudio[ext=m4a]" -o "%(title)s.%(ext)s" https://www.youtube.com/watch\?v\=4hPv6EuV7dM)
Any idea why the file is different than what I get from calling youtube-dl -f "bestaudio[ext=m4a]" ?
Thanks very much in advance!