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

Apply fixups to individual streams (fixes #10644/#9913) #10645

Closed
wants to merge 2 commits into from

Conversation

johnpatch
Copy link

@johnpatch johnpatch commented Sep 14, 2016

This isn't very pretty as it calls post_process multiple times, so _pps needs to be cleared temporarily to avoid duplicate processing. Maybe someone has a more elegant solution?

In the case where info_dict['protocol'] == 'm3u8' in process_info, FFmpegFixupM3u8PP may be applied multiple times: once for each stream, and once for the whole file. I don't know if it can happen, or if it's a problem if it happens. Perhaps we don't need to apply it to the whole file.

Note that in the example from #10644, new_info['protocol'] == 'm3u8' for the audio stream but info_dict['protocol'] is not set, so that problem does not appear.

@johnpatch johnpatch changed the title Apply fixups to individual streams (fixes #10644) Apply fixups to individual streams (fixes #10644/#9913) Sep 14, 2016
@xantares
Copy link
Contributor

xantares commented Oct 22, 2016

this fixes my bug too but it may seem that the final filename returned by the progress hook is wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defunct PR source branch is not accessible
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants