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

Ffmpeg extract audio duration #1572

Closed
vanilla38 opened this issue Oct 7, 2013 · 3 comments
Closed

Ffmpeg extract audio duration #1572

vanilla38 opened this issue Oct 7, 2013 · 3 comments

Comments

@vanilla38
Copy link

@vanilla38 vanilla38 commented Oct 7, 2013

Hello, everyone knows that ffmpeg returns wrong duration when we extract mp3 file using youtube-dl.

I wonder if someone already solved this problem and if not, if someone can tell me where i can find ffmpeg instruction in the code.

Thanks.

@phihag
Copy link
Contributor

@phihag phihag commented Oct 7, 2013

Closing as duplicate of #1022. The code of youtube-dl that calls ffmpeg is in PostProcessor.py.

@phihag phihag closed this Oct 7, 2013
@vanilla38
Copy link
Author

@vanilla38 vanilla38 commented Oct 7, 2013

Okay, i started to work on it, btw do you got any way to pass "video_duration" variable from youtube.py to PostProcessor.py file ? Thanks.

@vanilla38
Copy link
Author

@vanilla38 vanilla38 commented Oct 10, 2013

For people still trying to fix this => apt-get install vbrfix

syntax:
vbrfix file1.mp3 file2.mp3

this will correct mp3 headers and set a correct duration and bitrate without remuxe it.

thanks.

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.