vladmandic / sd-extension-steps-animation

Save Interim Steps as Animation extension for SD WebUI
143 stars 19 forks source link

video not playable on all codeces #18

Closed catalpaaa closed 1 year ago

catalpaaa commented 1 year ago

attempt to play it will show image or a black screen on some video player

catalpaaa commented 1 year ago

using ffmpeg from https://anaconda.org/conda-forge/ffmpeg on ubuntu 22

catalpaaa commented 1 year ago

note that if i drag the file into desktop chrome then its playable there, but not on ios devices adding -pix_fmt yuv420p to all the presets fix the issue

vladmandic commented 1 year ago

i'll take a look at presets.

catalpaaa commented 1 year ago

i'll take a look at presets.

thanks, is there a way to change the default settings of say the codecs used or the save directory

vladmandic commented 1 year ago

not via config, you can edit the source file: https://github.com/vladmandic/sd-extension-steps-animation/blob/0c7e93583265eca6e766f81d1ce85ddb39f7636d/scripts/steps_animation.py#L30

catalpaaa commented 1 year ago

not via config, you can edit the source file: https://github.com/vladmandic/sd-extension-steps-animation/blob/0c7e93583265eca6e766f81d1ce85ddb39f7636d/scripts/steps_animation.py#L30

I tried to edit the value of gr.textbox but somehow after rebooting webui the default directory still doesn't change.

Can you look into that

vladmandic commented 1 year ago

textbox with presets is not designed to save config. that would be a feature request and not sure if its worth it. my goal is to have presets that are good-enough for 99% of users.

catalpaaa commented 1 year ago

textbox with presets is not designed to save config. that would be a feature request and not sure if its worth it. my goal is to have presets that are good-enough for 99% of users.

Thanks.

Maybe is me but changing non of the values in ui() makes different in webui

angrysky56 commented 1 year ago

attempt to play it will show image or a black screen on some video player

I changed my settings setting "File format for images" from png to jpg and it worked.

vladmandic commented 1 year ago

i've added -pix_fmt yuv420p to x264 and x265 codecs.