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

Wrong resulting file duration when merging VBR files #1

Open
Aquassaut opened this issue Dec 2, 2014 · 0 comments
Open

Wrong resulting file duration when merging VBR files #1

Aquassaut opened this issue Dec 2, 2014 · 0 comments
Assignees
Labels

Comments

@Aquassaut
Copy link
Owner

This comes from ffmpeg not computing the concat'd file size correctly. It will be difficult to handle after ffmpeg if we want to retain proper streaming. Three possible solutions:

  • Hope that something will fix ffmpeg (hint: -write_xing 0 is not a fix).
  • Maybe we could cheat and precalculate the duration with some other tool (sox for instance) and write our own VBR header. This seems like it could backfire easily and build a ton of unneeded complexity.
  • Stop direct-streaming the output of ffmpeg if we detect a VBR input, and instead keep it in a temp location, fix the vbr header with something like vbrfix, and then send it. This seems like the easiest and most probable solution, but it would involve massive speed decrease.
@Aquassaut Aquassaut self-assigned this Dec 2, 2014
@Aquassaut Aquassaut added the bug label Dec 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant