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

Failure to create GIF using yuv4 #339

Open
WillM200 opened this issue Oct 14, 2024 · 2 comments
Open

Failure to create GIF using yuv4 #339

WillM200 opened this issue Oct 14, 2024 · 2 comments

Comments

@WillM200
Copy link

I'm attempting to use the new yuv4 pipeline to create a GIF direct from an MP4 file.

It begins the process when the command is entered through and actually creates a GIF file that seems to be corrupted, with CMD spitting out the following error: "Error parsing y4m header"

Used the exact command listed out in the README ffmpeg -i video.mp4 -f yuv4mpegpipe - | gifski -o anim.gif -

{820310DD-4574-485A-A7BB-F83F30B62CBE}

@vtsrpkn
Copy link

vtsrpkn commented Oct 17, 2024

I got same issue using ffmpeg 7

@kornelski
Copy link
Member

kornelski commented Oct 27, 2024

Can you include an example y4m file that is failing?

ffmpeg -i video.mp4 -f yuv4mpegpipe file.y4m
# gifski -o anim.gif < file.y4m

You may need to add -t 1 (duration) to keep the file small.

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

3 participants