-
Notifications
You must be signed in to change notification settings - Fork 158
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
dash mp4: bitrate 0 #366
Comments
Can you provide an example file somehow (or send it to me reiter.christoph@gmail.com) ? |
sure ill send you a couple via mail |
sent! btw they were created via https://github.com/ritiek/spotify-downloader, which also uses mutagen |
Thanks. Hm, it's a DASH file, and the bitrate in the file is set to 0 (unknown). I see there is a sidx atom which contains a list of segment sizes and in the tkhd atom there is a track ID to match that. Maybe we can calculate the bitrate from there. |
ok, sidx just has offsets. using tfhd+trun works though..., see ISO_IEC_14496-12_2012 |
ok, for reference, one can get these types of files through
youtube-dl will by default convert the dash files to normal mp4 files: https://github.com/rg3/youtube-dl/blob/d4a24f4091a622b808ff621e78b5cfd0db3c8c11/youtube_dl/postprocessor/ffmpeg.py#L520 You should report this to spotify-downloader as it likely will cause incompatibilities with various software. |
thanks for looking into it! Will report it to them. |
output:
I tried on a lot of different files, always getting bitrate 0
The text was updated successfully, but these errors were encountered: