vid.stab

Website, builds, or other suggestions.
User avatar
Zeranoe
Site Admin
Posts: 702
Joined: Sat May 07, 2011 7:12 pm
Contact:

Re: vid.stab

Post by Zeranoe » Tue Jul 23, 2013 5:27 am

It looks like that strndup is still an issue. Waiting for a fix upstream.

LaBetonneuse
Posts: 2
Joined: Mon Sep 02, 2013 1:22 pm

Re: vid.stab

Post by LaBetonneuse » Mon Sep 02, 2013 1:25 pm

Hello and thanks for the hard work.

It seems the mischievous function has (finally) been removed from the code, have you tried it yet?

Cheers. :)

hydra3333
Posts: 198
Joined: Sun Apr 28, 2013 1:03 pm
Contact:

Re: vid.stab

Post by hydra3333 » Thu Sep 05, 2013 5:30 am

Agreed. Thankyou.
Looking forward to your comments.

User avatar
Zeranoe
Site Admin
Posts: 702
Joined: Sat May 07, 2011 7:12 pm
Contact:

Re: vid.stab

Post by Zeranoe » Mon Sep 09, 2013 5:59 am

vid.stab support has been added into the git-b4e1630 (2013-09-09) builds, please test and report any bugs.

LaBetonneuse
Posts: 2
Joined: Mon Sep 02, 2013 1:22 pm

Re: vid.stab

Post by LaBetonneuse » Wed Sep 11, 2013 7:58 am

Thanks a lot! How did we even consider processing shaky videos before that? ;)

So far it works like a charm, but I've only used the default settings.

rogerdpack
Posts: 1876
Joined: Fri Aug 05, 2011 9:56 pm

Re: vid.stab

Post by rogerdpack » Fri Oct 04, 2013 12:07 am

@Zeranoe could you post here how you cross compile it?
Thank you :)
-roger

User avatar
Zeranoe
Site Admin
Posts: 702
Joined: Sat May 07, 2011 7:12 pm
Contact:

Re: vid.stab

Post by Zeranoe » Fri Oct 04, 2013 2:56 am

Code: Select all

cmake "../source/vid.stab-git/src" -DCMAKE_TOOLCHAIN_FILE=~/cmake/mingw-w64-i686.cmake -DCMAKE_INSTALL_PREFIX="PREFIX" || exit 1
~/cmake/mingw-w64-i686.cmake:

Code: Select all

# the name of the target operating system
SET(CMAKE_SYSTEM_NAME Windows)

# which compilers to use for C and C++
SET(CMAKE_C_COMPILER i686-w64-mingw32-gcc)
SET(CMAKE_CXX_COMPILER i686-w64-mingw32-g++)
SET(CMAKE_RC_COMPILER i686-w64-mingw32-windres)

# here is the target environment located
SET(CMAKE_FIND_ROOT_PATH /home/kyle/software/mingw-w64/static/mingw-w64-i686)

# adjust the default behaviour of the FIND_XXX() commands:
# search headers and libraries in the target environment, search 
# programs in the host environment
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
Let me know if you have any issues.

rogerdpack
Posts: 1876
Joined: Fri Aug 05, 2011 9:56 pm

Re: vid.stab

Post by rogerdpack » Fri Oct 04, 2013 4:16 pm

(as a side note I sometimes get 500's using the forum site...
500 /forum/posting.php?mode=reply&f=10&t=996 Internal server error
)

Anyway thank you! It appears I also need to do something like
sed -i "s/SHARED/STATIC/" CMakeFiles.txt or something like that do you remember having to also do that?
-roger-

hydra3333
Posts: 198
Joined: Sun Apr 28, 2013 1:03 pm
Contact:

Re: vid.stab

Post by hydra3333 » Sat Jan 17, 2015 2:08 am

fro posterity, an example from over at http://forum.videohelp.com/threads/3696 ... ost2368743

Code: Select all

SET PATH="D:\FFMpeg\64-bit"
for %%a in ("*.mp4") do ffmpeg -i %%a -vf vidstabdetect=shakiness=10:accuracy=15:result="%%~na.trf":show=0-f null NUL
for %%a in ("*.mp4") do ffmpeg -i %%a -vf vidstabtransform=crop=black:input="%%~na.trf" -c:v libx264 -level 40 -pix_fmt yuv420p -crf 20 -c:a copy "stabil_%%~na.mp4"
pause

Post Reply