Filarius / video2video

Automatic1111 Stable Diffusion WebUI Video Extension
84 stars 14 forks source link

Video output doesn't work on windows? #6

Open joshnajera opened 11 months ago

joshnajera commented 11 months ago

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 commented 10 months ago

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 commented 10 months ago

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