vid.stab

Website, builds, or other suggestions.
rogerdpack
Posts: 1876
Joined: Fri Aug 05, 2011 9:56 pm

Re: vid.stab

Post by rogerdpack » Wed May 08, 2013 5:47 am

how did you overcome those problems exactly?

Ajaja
Posts: 69
Joined: Fri Mar 08, 2013 2:00 pm

Re: vid.stab

Post by Ajaja » Wed May 08, 2013 7:11 am

rogerdpack wrote:how did you overcome those problems exactly?
Part of my build script:

Code: Select all

build_vidstab()
{
#https://github.com/georgmartius/vid.stab/archive/master.zip
 cd $build_path
 cd vid.stab-master
 
cat >"src/strndub.h" <<EOLLLL
#ifndef HAVE_STRNDUP
#define HAVE_STRNDUP
static inline char *strndup(const char *s, size_t n)
{
    char *result;
    size_t len = strlen (s);
    if (n < len) len = n;
    result = (char *) malloc (len + 1);
    if (!result) return 0;
    result[len] = '\0';
    return (char *) strncpy (result, s, len);
}
#endif /*HAVE_STRNDUP*/

EOLLLL

 sed -i 's/#include <stdarg.h>/#include <stdarg.h>\n#include "strndub.h"/' "src/libvidstab.c"
 sed -i 's/vidstab SHARED/vidstab STATIC/' "src/CMakeLists.txt"

 mkdir build
 cd build
 cmake ../src -G "MSYS Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$mingw_prefix || exit 1
 make clean  || exit 1
 make install || exit 1
}

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

Re: vid.stab

Post by rogerdpack » Mon May 13, 2013 4:41 pm

@Ajaja are you using mingw-w64 here?
Also what is imposing the 1024 limit do you know?

Ajaja
Posts: 69
Joined: Fri Mar 08, 2013 2:00 pm

Re: vid.stab

Post by Ajaja » Tue May 14, 2013 1:17 pm

rogerdpack wrote:@Ajaja are you using mingw-w64 here?
Yes. MSYS+Mingw from http://sourceforge.net/projects/mingwbuilds/
rogerdpack wrote:Also what is imposing the 1024 limit do you know?
Maybe char line[1024] in log_callback_report() function (cmdutils.c). I don't know exactly. I just reduced my configuration srting by removing some options to avoid this problem.

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

Re: vid.stab

Post by rogerdpack » Wed May 15, 2013 9:10 pm

Ajaja wrote:
rogerdpack wrote:@Ajaja are you using mingw-w64 here?
Yes. MSYS+Mingw from http://sourceforge.net/projects/mingwbuilds/
rogerdpack wrote:Also what is imposing the 1024 limit do you know?
Maybe char line[1024] in log_callback_report() function (cmdutils.c). I don't know exactly. I just reduced my configuration srting by removing some options to avoid this problem.
that's "mingw" you might get better behavior from using mingw-w64...but then again, maybe not :)

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

Re: vid.stab

Post by hydra3333 » Tue May 21, 2013 11:43 am

so does this mean it's good to go for the nightly builds here, or there's some waiting for it to stabilize 8-)

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

Re: vid.stab

Post by Zeranoe » Thu May 23, 2013 4:56 am

The source code for vid.stab still needs to be modified before it can be compiled, correct?

Before providing a relatively untested, patched version of this lib to the public to download, I would like to see these patches applied upstream to vid.stab. While it should be completely possible to compile this library for the Windows builds, I would like to see the patches applied upstream.

Ajaja, would you consider sending these to the dev?

Ajaja
Posts: 69
Joined: Fri Mar 08, 2013 2:00 pm

Re: vid.stab

Post by Ajaja » Thu May 23, 2013 6:48 pm

Zeranoe wrote:Ajaja, would you consider sending these to the dev?
OK. https://github.com/georgmartius/vid.stab/issues/7#

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

Re: vid.stab

Post by hydra3333 » Thu Jul 11, 2013 3:10 am

I received a notification email (below) which suggests that "ffmpeg 2.0" has arrived and it includes the statement
"- vidstabdetect and vidstabtransform filters for video stabilization using the vid.stab library"

Does this mean that the builds here now also contain the features listed below including vid.stab stuff ?

Oops, hang on, I just noticed the download page says "Latest Zeranoe FFmpeg Build Version: git-00b1401 (2013-07-06)" which clearly would not be ffmpeg 2.0 ... so, any news on when "2.0" will be available for download ?

Thanks
July 10, 2013, FFmpeg 2.0
We have made a new major release (2.0) It contains all features and bugfixes of the git master branch from 10th July. A partial list of new stuff is below:

- curves filter
- reference-counting for AVFrame and AVPacket data
- ffmpeg now fails when input options are used for output file
or vice versa
- support for Monkey's Audio versions from 3.93
- perms and aperms filters
- audio filtering support in ffplay
- 10% faster aac encoding on x86 and MIPS
- sine audio filter source
- WebP demuxing and decoding support
- new ffmpeg options -filter_script and -filter_complex_script, which allow a
filtergraph description to be read from a file
- OpenCL support
- audio phaser filter
- separatefields filter
- libquvi demuxer
- uniform options syntax across all filters
- telecine filter
- new interlace filter
- smptehdbars source
- inverse telecine filters (fieldmatch and decimate)
- colorbalance filter
- colorchannelmixer filter
- The matroska demuxer can now output proper verbatim ASS packets. It will
become the default at the next libavformat major bump.
- decent native animated GIF encoding
- asetrate filter
- interleave filter
- timeline editing with filters
- vidstabdetect and vidstabtransform filters for video stabilization using
the vid.stab library

- astats filter
- trim and atrim filters
- ffmpeg -t and -ss (output-only) options are now sample-accurate when
transcoding audio
- Matroska muxer can now put the index at the beginning of the file.
- extractplanes filter
- avectorscope filter
- ADPCM DTK decoder
- ADP demuxer
- RSD demuxer
- RedSpark demuxer
- ADPCM IMA Radical decoder
- zmq filters
- DCT denoiser filter (dctdnoiz)
- Wavelet denoiser filter ported from libmpcodecs as owdenoise (formerly "ow")
- Apple Intermediate Codec decoder
- Escape 130 video decoder
- FTP protocol support
- V4L2 output device
- 3D LUT filter (lut3d)
- SMPTE 302M audio encoder
- support for slice multithreading in libavfilter
- Hald CLUT support (generation and filtering)
- VC-1 interlaced B-frame support
- support for WavPack muxing (raw and in Matroska)
- XVideo output device
- vignette filter
- True Audio (TTA) encoder
- Go2Webinar decoder
- mcdeint filter ported from libmpcodecs
- sab filter ported from libmpcodecs
- ffprobe -show_chapters option
- WavPack encoding through libwavpack
- rotate filter
- spp filter ported from libmpcodecs
- libgme support
- psnr filter

ffmpeg software page:
http://ffmpeg.org

Direct download link:
http://ffmpeg.zeranoe.com/builds/

VideoHelp.com software page:
http://www.videohelp.com/tools/ffmpeg

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

Re: vid.stab

Post by hydra3333 » Sat Jul 20, 2013 9:23 am

bump ... any news on whether current builds now support vid.stab ?

Post Reply