-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
vidstabdetect filter fails on these builds #282
Comments
What do you mean by "official release build"? There are no official builds. Is this based on libvidstab? I have no experience with that set of filters, and thus having a hard time making sense of your report. |
Looks like I mean the Gyan builds - I don't remember if I used Choco or Winget to install it. It is based on Documentation and examples show that using the filter is simply: > ffmpeg -i "input-file.mp4" -vf "vidstabdetect" -f "null" "-"
# vidstabdetect creates a TRF file, consumed here to create an output
> ffmpeg -i "input-file.mp4" -vf "vidstabtransform" "output-file.mp4" |
Looking at https://github.com/georgmartius/vid.stab/blob/master/src/serialize.c, it seems like it can produce either binary or text output. |
It even explicitly defaults to the binary serialization mode if it's unset (and ffmpeg never sets it): So I don't really see how it'd ever end up in text-serialization mode. Is there an entirely different libvidstab out there somewhere, with a compatible API? |
It must relate back to this commit: georgmartius/vid.stab@9d9066d In any case, it's not an issue, just a different serialization method (if you think it is one for some reason, you need to raise it in ffmpeg trac, so it can select text output again at runtime). Or are you having any actual issue, other than the file format being different? |
Sounds like you're right, and I found this one also related: georgmartius/vid.stab#104 I opened it here since this environment was the one broken, but looks like it's not in your control. Thank you for the help! |
I'm still trying to understand what exactly is broken. |
I think vidstab in the BtbN builds is failing to read it back in, but also sounds like a known bug with vidstab. I'm not sure why gyan would be writing it as text, but it looks like that's what is side-stepping the vidstab bug. |
In that case please open a bug in ffmpeg trac. |
I patch vidstab to force it to write ASCII since the 2nd stage filter fopen is U8. |
I am attempting to use the
vidstabdetect
/vidstabtransform
filters.transforms.trf
file is binary data (screenshot attached) while the official release build produces a valid text file.vidstabtransform
fails.vidstabtransform
works on both builds - as long as the TRF is the text instead of the (corrupted?) binary.@BtbN output
Official build output
The text was updated successfully, but these errors were encountered: