-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
ffmpeg conversion => broken duration #1022
Comments
Same error here, noticed it also yesterday. |
I guess its ffmpeg's bug not of youtube-dl's because youtube-dl is just calling ffmpeg for file conversion and all the rest of the work is handled by ffmpeg. |
maybe we can modify some options in the call, any idead on where i can set it ? Thanks. |
@vanilla38 In module Postprocessors. |
thanks I'll check for smthg to change. |
Is there some sort of workaround for this problem? |
First the downloaded videos doesn't even have the same duration (according to ffprobe):
The duration of the audio files is 00:07:11.94 and 00:07:12.07, it may happens with all videos, but you have noticed here because players seem to truncate the duration. |
Yea but we're talking about 2 or 3 minutes of difference between two quality selections. |
@vanilla38 Can you post a command line (like @jaimeMF did) of two videos that differ significantly? |
After doing some tests with different versions of avconv (see #1866), I have more information:
I guess that any player using the version of avconv with the bug will also report the wrong duration, you'll have to report the problem to its author. For example Quicktime player and VLC report the right durations. Could someone confirm if this is the problem, please?, so that we can close the issue. |
Historical ffmpeg issue. |
Hello, i downloaded some files with this command:
youtube-dl --extract-audio --max-quality=18 http://www.youtube.com/watch?v=ZnXZR6MB5qI
Then
youtube-dl --extract-audio --max-quality=6 http://www.youtube.com/watch?v=ZnXZR6MB5qI
The 2 mp3 files have different durations for the same video :o it's only a graphic bug since the video stops at the correct time but show a different duration.
this is due to ffmpeg calculating wrong duration for files when converting.
The text was updated successfully, but these errors were encountered: