VidStab support - Printable Version +- Selur's Little Message Board (https://forum.selur.net) +-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html) +--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html) +--- Thread: VidStab support (/thread-616.html) Pages:
1
2
|
VidStab support - remus - 15.09.2018 "Vidstab is a video stabilization library which can be plugged-in with Ffmpeg and Transcode. Why is it needed A video acquired using a hand-held camera or a camera mounted on a vehicle, typically suffers from undesirable shakes and jitters. Activities such as surfing, skiing, riding and walking while shooting videos are especially prone to erratic camera shakes. Vidstab targets these video contents to help create smoother and stable videos. Some of the features include:
RE: VidStab support - Selur - 15.09.2018 Hmmm,... To be frank I'm not sure I want to add support for this due to the annoyance of having to do an additional pass. (Single pass is only supported with transcode and I since Hybrid already uses ffmpeg I'm not planing on adding an additional 50+MB to Hybrid.) That said, here are a few questions:
Cu Selur RE: VidStab support - remus - 16.09.2018 I use Arch Linux and for Windows I use Wine. As for the tests, I did some tests and I can say I was very pleased. I used the following commands: ffmpeg -i shaky-input.mp4 -vf vidstabdetect=shakiness=5:result="transforms.trf" -f null - ffmpeg -i shaky-input.mp4 -vf vidstabtransform,unsharp=5:5:0.8:3:3:0.4 stabilized-output.mp4 Okay, I see there is such support in Avisynth and Vapoursynth but it is for Windows users. I did not know that. I do not have Avisynth and Vapoursynth in Arch Linux for this Hybrid-encoder. I do not know how I could add this though I installed Vapoursynth in the system. RE: VidStab support - Selur - 16.09.2018 Okay, so I would have to do all testing etc. myself, I'll look into it, but this will take some time. Cu Selur RE: VidStab support - Selur - 16.09.2018 When calling: "I:\Hybrid\64bit\ffmpeg.exe" -y -threads 8 -i "F:\TestClips&Co\files\test.avi" -map 0:0 -c:v rawvideo -vf vidstabdetect=result="E:/Temp/18_11_50_9710_01.trf":shakiness=5:accuracy=15:stepsize=6:mincontrast=0.3 -f null NUL [vidstabdetect @ 00000191f87c67c0] [Eval @ 00000075b21fde20] Undefined constant or missing '(' in '/Temp/18_11_50_9710_01.trf' Won't add support to Hybrid unless that changes. -> So unless either the authors of the filter change this behavior change this or it is possible and I don't simply know how to do it and someone tells me how this filter will not be supported in Hybrid Cu Selur Ps: in case this is my mistake, I created an issue entry in the vid.stab bug tracker, see: https://github.com/georgmartius/vid.stab/issues/66 RE: VidStab support - remus - 16.09.2018 In the end it will be solved. There are a lot of people who have forgotten about Windows I see. RE: VidStab support - Selur - 17.09.2018 Send you a link to a dev version for testing via PM. Cu Selur RE: VidStab support - remus - 18.09.2018 I see this but the option is disabled. https://drive.google.com/file/d/1qc-O_RlDfluTbaaWAA3ihDxieihV2kXC/view?usp=sharing RE: VidStab support - Selur - 18.09.2018 Ah damn, forgot that 'no Xsynth' is the default 'Support' option for you. -> will fix. RE: VidStab support - remus - 18.09.2018 The options are visible but seems to have no effect. Could you recommend some values? And the *.trf file should be deleted at the end. It should also be seen in the "Job-Queue" section. |