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

Video output doesn't work on windows? #6

Open
joshnajera opened this issue Aug 8, 2023 · 2 comments
Open

Video output doesn't work on windows? #6

joshnajera opened this issue Aug 8, 2023 · 2 comments

Comments

@joshnajera
Copy link

Having an issue with windows not understanding the codec.

What works for me is changing outputdict to include pix_fmt.

outputdict={
                '-vcodec': 'libx264',  # Use the H.264 codec, widely supported on Windows
                '-pix_fmt': 'yuv420p',  # Use pixel format compatible with most players
                '-crf': '22'
            }
@skvnev
Copy link

skvnev commented Sep 20, 2023

outputdict={
'-vcodec': 'libx264', # Use the H.264 codec, widely supported on Windows
'-pix_fmt': 'yuv420p', # Use pixel format compatible with most players
'-crf': '22'
}

@skvnev
Copy link

skvnev commented Sep 20, 2023

outputdict={ '-vcodec': 'libx264', # Use the H.264 codec, widely supported on Windows '-pix_fmt': 'yuv420p', # Use pixel format compatible with most players '-crf': '22' }

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

No branches or pull requests

2 participants