Opened 8 years ago

Last modified 8 years ago

#5254 new defect

In vidstabdetect filter the shakiness and the stepsize options do not work

Reported by: Tom Steck Owned by:
Priority: normal Component: avfilter
Version: git-master Keywords: libvidstab
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug: I try to stabilize various videos and I am checking different vidstabdetect options.

First I stabilized video with shakiness=1 and stepsize=1 (min values), then I stabilized the same video with shakiness=10 and stepsize=6 (max value). Finally I compared two videos with kdenlive "difference" transition and there was no difference (black screen). Therefore, my conclusion is that shakiness and stepsize options do not work.

How to reproduce:

% ffmpeg -i input -vf vidstabdetect=shakiness=1:stepsize=1:result=video.xml -f null out.null
ffmpeg version N-77953-gcc83177
built with gcc 5.2.0 (GCC)
ffmpeg-20160119-git-cc83177-win64-static.7z

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Change History (5)

comment:1 by Carl Eugen Hoyos, 8 years ago

Component: undeterminedavfilter
Keywords: vidstabdetect shakiness stepsize removed

Please test current FFmpeg git head and please provide the command line that allows to reproduce the issue together with the complete, uncut console output to make this a valid ticket.

comment:2 by Tom Steck, 8 years ago

I opened ​http://ffmpeg.zeranoe.com/builds/ and downloaded ffmpeg-20160219-git-98a0053-win64-static.7z - git-98a0053 (2016-02-19). I don't know how to compile FFmpeg on my Windows 10.

First I stabilized the video with the shakiness=1
I am using Python 2.7 to run first psutil.Popen(step1), where step1 is a list:
['ffmpeg', '-i', 'Young16sec.mp4', '-vf', 'vidstabdetect=shakiness=1:stepsize=5:result=Young16sec.crf25.xml', '-f', 'null', 'out.null']

and for psutil.Popen(step2) step2:
['ffmpeg', '-y', '-i', 'Young16sec.mp4', '-vf', 'vidstabtransform=input=Young16sec.crf25.xml:interpol=bicubic:smoothing=100:optzoom=2:zoomspeed=0.25:maxshift=10:zoom=0,unsharp=5:5:0:5:5:0', '-vcodec', 'libx264', '-level', '4.2', '-preset', 'veryslow', '-tune', 'film', '-crf', '25', '-an', 'Young16sec.crf25.mp4']

For the second stabilization I set shakiness=10
Step 1:
['ffmpeg', '-i', 'Young16sec.mp4', '-vf', 'vidstabdetect=shakiness=10:stepsize=5:result=Young16sec.crf25.xml', '-f', 'null', 'out.null']

Step 2:
['ffmpeg', '-y', '-i', 'Young16sec.mp4', '-vf', 'vidstabtransform=input=Young16sec.crf25.xml:interpol=bicubic:smoothing=100:optzoom=2:zoomspeed=0.25:maxshift=10:zoom=0,unsharp=5:5:0:5:5:0', '-vcodec', 'libx264', '-level', '4.2', '-preset', 'veryslow', '-tune', 'film', '-crf', '25', '-an', 'Young16sec.crf25.mp4']

Below is the entire console output from stabilizing the same video file using two different shakiness settings.

Microsoft Windows [Version 10.0.10586]
(c) 2015 Microsoft Corporation. All rights reserved.

C:\Users\Tom\PycharmProjects\Stabilize>Stabilize.py Young16sec.mp4
Step 1:
['ffmpeg', '-i', 'Young16sec.mp4', '-vf', 'vidstabdetect=shakiness=1:stepsize=5:result=Young16sec.crf25.xml', '-f', 'null', 'out.null']

ffmpeg version N-78598-g98a0053 Copyright (c) 2000-2016 the FFmpeg developers

built with gcc 5.3.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
libavutil 55. 18.100 / 55. 18.100
libavcodec 57. 24.103 / 57. 24.103
libavformat 57. 25.101 / 57. 25.101
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 34.100 / 6. 34.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Young16sec.mp4':

Metadata:

major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf56.25.101

Duration: 00:00:16.05, start: 0.032999, bitrate: 4152 kb/s

Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 4150 kb/s, 29.97 fps, 29.97 tbr, 29971 tbn, 59.94 tbc (default)
Metadata:

handler_name : VideoHandler

[vidstabdetect @ 00000086121fe0b0] Fieldsize: 112, Maximal translation: 154 pixel
[vidstabdetect @ 00000086121fe0b0] Number of used measurement fields: 65 out of 65
[vidstabdetect @ 00000086121fe0b0] Fieldsize: 32, Maximal translation: 32 pixel
[vidstabdetect @ 00000086121fe0b0] Number of used measurement fields: 392 out of 392
[Parsed_vidstabdetect_0 @ 000001bc501b9c40] Video stabilization settings (pass 1/2):
[Parsed_vidstabdetect_0 @ 000001bc501b9c40] shakiness = 1
[Parsed_vidstabdetect_0 @ 000001bc501b9c40] accuracy = 15
[Parsed_vidstabdetect_0 @ 000001bc501b9c40] stepsize = 5
[Parsed_vidstabdetect_0 @ 000001bc501b9c40] mincontrast = 0.250000
[Parsed_vidstabdetect_0 @ 000001bc501b9c40] tripod = 0
[Parsed_vidstabdetect_0 @ 000001bc501b9c40] show = 0
[Parsed_vidstabdetect_0 @ 000001bc501b9c40] result = Young16sec.crf25.xml
Output #0, null, to 'out.null':

Metadata:

major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.25.101
Stream #0:0(und): Video: wrapped_avframe, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc (default)
Metadata:

handler_name : VideoHandler
encoder : Lavc57.24.103 wrapped_avframe

Stream mapping:

Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native))

Press [q] to stop, ? for help
frame= 481 fps=2.1 q=-0.0 Lsize=N/A time=00:00:16.04 bitrate=N/A speed=0.0701x
video:229kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Step 2:
['ffmpeg', '-y', '-i', 'Young16sec.mp4', '-vf', 'vidstabtransform=input=Young16sec.crf25.xml:interpol=bicubic:smoothing=100:optzoom=2:zoomspeed=0.25:maxshift=10:zoom=0,unsharp=5:5:0:5:5:0', '-vcodec', 'libx264', '-level', '4.2', '-preset', 'veryslow', '-tune', 'film', '-crf', '25', '-an', 'Young16sec.crf25.mp4']

ffmpeg version N-78598-g98a0053 Copyright (c) 2000-2016 the FFmpeg developers

built with gcc 5.3.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
libavutil 55. 18.100 / 55. 18.100
libavcodec 57. 24.103 / 57. 24.103
libavformat 57. 25.101 / 57. 25.101
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 34.100 / 6. 34.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Young16sec.mp4':

Metadata:

major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf56.25.101

Duration: 00:00:16.05, start: 0.032999, bitrate: 4152 kb/s

Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 4150 kb/s, 29.97 fps, 29.97 tbr, 29971 tbn, 59.94 tbc (default)
Metadata:

handler_name : VideoHandler

[Parsed_vidstabtransform_0 @ 00000205a38da7c0] Video transformation/stabilization settings (pass 2/2):
[Parsed_vidstabtransform_0 @ 00000205a38da7c0] input = Young16sec.crf25.xml
[Parsed_vidstabtransform_0 @ 00000205a38da7c0] smoothing = 100
[Parsed_vidstabtransform_0 @ 00000205a38da7c0] optalgo = gauss
[Parsed_vidstabtransform_0 @ 00000205a38da7c0] maxshift = 10
[Parsed_vidstabtransform_0 @ 00000205a38da7c0] maxangle = -1.000000
[Parsed_vidstabtransform_0 @ 00000205a38da7c0] crop = Keep
[Parsed_vidstabtransform_0 @ 00000205a38da7c0] relative = True
[Parsed_vidstabtransform_0 @ 00000205a38da7c0] invert = False
[Parsed_vidstabtransform_0 @ 00000205a38da7c0] zoom = 0.000000
[Parsed_vidstabtransform_0 @ 00000205a38da7c0] optzoom = Dynamic (2)
[Parsed_vidstabtransform_0 @ 00000205a38da7c0] zoomspeed = 0.25
[Parsed_vidstabtransform_0 @ 00000205a38da7c0] interpol = Bi-Cubic (3)
[libx264 @ 00000205a3d341e0] using SAR=1/1
[libx264 @ 00000205a3d341e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 SlowShuffle
[libx264 @ 00000205a3d341e0] profile High, level 4.2
[libx264 @ 00000205a3d341e0] 264 - core 148 r2665 a01e339 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=4 deblock=1:-1:-1 analyse=0x3:0x133 me=umh subme=10 psy=1 psy_rd=1.00:0.15 mixed_ref=1 me_range=24 chroma_me=1 trellis=2 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-3 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=8 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=60 rc=crf mbtree=1 crf=25.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'Young16sec.crf25.mp4':

Metadata:

major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.25.101
Stream #0:0(und): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 29.97 fps, 29971 tbn, 29.97 tbc (default)
Metadata:

handler_name : VideoHandler
encoder : Lavc57.24.103 libx264

Side data:

cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1

Stream mapping:

Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))

Press [q] to stop, ? for help
frame= 481 fps=1.0 q=-1.0 Lsize= 11021kB time=00:00:15.98 bitrate=5648.9kbits/s speed=0.033x
video:11014kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.058953%
[libx264 @ 00000205a3d341e0] frame I:2 Avg QP:25.64 size: 69267
[libx264 @ 00000205a3d341e0] frame P:133 Avg QP:27.32 size: 41310
[libx264 @ 00000205a3d341e0] frame B:346 Avg QP:30.91 size: 16315
[libx264 @ 00000205a3d341e0] consecutive B-frames: 0.8% 2.1% 31.2% 54.1% 9.4% 2.5% 0.0% 0.0% 0.0%
[libx264 @ 00000205a3d341e0] mb I I16..4: 13.5% 81.5% 5.0%
[libx264 @ 00000205a3d341e0] mb P I16..4: 9.1% 25.5% 1.1% P16..4: 40.1% 9.7% 4.3% 0.1% 0.0% skip:10.1%
[libx264 @ 00000205a3d341e0] mb B I16..4: 1.3% 3.6% 0.2% B16..8: 40.3% 7.4% 1.2% direct: 3.0% skip:43.0% L0:44.5% L1:51.7% BI: 3.8%
[libx264 @ 00000205a3d341e0] 8x8 transform intra:71.5% inter:85.9%
[libx264 @ 00000205a3d341e0] direct mvs spatial:99.4% temporal:0.6%
[libx264 @ 00000205a3d341e0] coded y,uvDC,uvAC intra: 45.5% 30.0% 1.4% inter: 13.6% 7.2% 0.0%
[libx264 @ 00000205a3d341e0] i16 v,h,dc,p: 23% 31% 17% 29%
[libx264 @ 00000205a3d341e0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 11% 13% 7% 10% 11% 12% 10% 14%
[libx264 @ 00000205a3d341e0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 9% 9% 6% 8% 14% 14% 14% 11% 16%
[libx264 @ 00000205a3d341e0] i8c dc,h,v,p: 64% 20% 10% 5%
[libx264 @ 00000205a3d341e0] Weighted P-Frames: Y:7.5% UV:1.5%
[libx264 @ 00000205a3d341e0] ref P L0: 60.9% 16.8% 16.6% 4.3% 1.3% 0.0%
[libx264 @ 00000205a3d341e0] ref B L0: 91.4% 7.0% 1.6%
[libx264 @ 00000205a3d341e0] ref B L1: 95.8% 4.2%
[libx264 @ 00000205a3d341e0] kb/s:5621.76

Program finished!

C:\Users\Tom\PycharmProjects\Stabilize>Stabilize.py Young16sec.mp4
Step 1:
['ffmpeg', '-i', 'Young16sec.mp4', '-vf', 'vidstabdetect=shakiness=10:stepsize=5:result=Young16sec.crf25.xml', '-f', 'null', 'out.null']

ffmpeg version N-78598-g98a0053 Copyright (c) 2000-2016 the FFmpeg developers

built with gcc 5.3.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
libavutil 55. 18.100 / 55. 18.100
libavcodec 57. 24.103 / 57. 24.103
libavformat 57. 25.101 / 57. 25.101
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 34.100 / 6. 34.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Young16sec.mp4':

Metadata:

major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf56.25.101

Duration: 00:00:16.05, start: 0.032999, bitrate: 4152 kb/s

Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 4150 kb/s, 29.97 fps, 29.97 tbr, 29971 tbn, 59.94 tbc (default)
Metadata:

handler_name : VideoHandler

[vidstabdetect @ 00000076329fe240] Fieldsize: 112, Maximal translation: 154 pixel
[vidstabdetect @ 00000076329fe240] Number of used measurement fields: 65 out of 65
[vidstabdetect @ 00000076329fe240] Fieldsize: 32, Maximal translation: 32 pixel
[vidstabdetect @ 00000076329fe240] Number of used measurement fields: 392 out of 392
[Parsed_vidstabdetect_0 @ 0000021af2159c40] Video stabilization settings (pass 1/2):
[Parsed_vidstabdetect_0 @ 0000021af2159c40] shakiness = 10
[Parsed_vidstabdetect_0 @ 0000021af2159c40] accuracy = 15
[Parsed_vidstabdetect_0 @ 0000021af2159c40] stepsize = 5
[Parsed_vidstabdetect_0 @ 0000021af2159c40] mincontrast = 0.250000
[Parsed_vidstabdetect_0 @ 0000021af2159c40] tripod = 0
[Parsed_vidstabdetect_0 @ 0000021af2159c40] show = 0
[Parsed_vidstabdetect_0 @ 0000021af2159c40] result = Young16sec.crf25.xml
Output #0, null, to 'out.null':

Metadata:

major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.25.101
Stream #0:0(und): Video: wrapped_avframe, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc (default)
Metadata:

handler_name : VideoHandler
encoder : Lavc57.24.103 wrapped_avframe

Stream mapping:

Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native))

Press [q] to stop, ? for help
frame= 481 fps=2.2 q=-0.0 Lsize=N/A time=00:00:16.04 bitrate=N/A speed=0.0723x
video:229kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Step 2:
['ffmpeg', '-y', '-i', 'Young16sec.mp4', '-vf', 'vidstabtransform=input=Young16sec.crf25.xml:interpol=bicubic:smoothing=100:optzoom=2:zoomspeed=0.25:maxshift=10:zoom=0,unsharp=5:5:0:5:5:0', '-vcodec', 'libx264', '-level', '4.2', '-preset', 'veryslow', '-tune', 'film', '-crf', '25', '-an', 'Young16sec.crf25.mp4']

ffmpeg version N-78598-g98a0053 Copyright (c) 2000-2016 the FFmpeg developers

built with gcc 5.3.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
libavutil 55. 18.100 / 55. 18.100
libavcodec 57. 24.103 / 57. 24.103
libavformat 57. 25.101 / 57. 25.101
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 34.100 / 6. 34.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Young16sec.mp4':

Metadata:

major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf56.25.101

Duration: 00:00:16.05, start: 0.032999, bitrate: 4152 kb/s

Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 4150 kb/s, 29.97 fps, 29.97 tbr, 29971 tbn, 59.94 tbc (default)
Metadata:

handler_name : VideoHandler

[Parsed_vidstabtransform_0 @ 00000148b1d3a7c0] Video transformation/stabilization settings (pass 2/2):
[Parsed_vidstabtransform_0 @ 00000148b1d3a7c0] input = Young16sec.crf25.xml
[Parsed_vidstabtransform_0 @ 00000148b1d3a7c0] smoothing = 100
[Parsed_vidstabtransform_0 @ 00000148b1d3a7c0] optalgo = gauss
[Parsed_vidstabtransform_0 @ 00000148b1d3a7c0] maxshift = 10
[Parsed_vidstabtransform_0 @ 00000148b1d3a7c0] maxangle = -1.000000
[Parsed_vidstabtransform_0 @ 00000148b1d3a7c0] crop = Keep
[Parsed_vidstabtransform_0 @ 00000148b1d3a7c0] relative = True
[Parsed_vidstabtransform_0 @ 00000148b1d3a7c0] invert = False
[Parsed_vidstabtransform_0 @ 00000148b1d3a7c0] zoom = 0.000000
[Parsed_vidstabtransform_0 @ 00000148b1d3a7c0] optzoom = Dynamic (2)
[Parsed_vidstabtransform_0 @ 00000148b1d3a7c0] zoomspeed = 0.25
[Parsed_vidstabtransform_0 @ 00000148b1d3a7c0] interpol = Bi-Cubic (3)
[libx264 @ 00000148b22941e0] using SAR=1/1
[libx264 @ 00000148b22941e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 SlowShuffle
[libx264 @ 00000148b22941e0] profile High, level 4.2
[libx264 @ 00000148b22941e0] 264 - core 148 r2665 a01e339 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=4 deblock=1:-1:-1 analyse=0x3:0x133 me=umh subme=10 psy=1 psy_rd=1.00:0.15 mixed_ref=1 me_range=24 chroma_me=1 trellis=2 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-3 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=8 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=60 rc=crf mbtree=1 crf=25.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'Young16sec.crf25.mp4':

Metadata:

major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.25.101
Stream #0:0(und): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 29.97 fps, 29971 tbn, 29.97 tbc (default)
Metadata:

handler_name : VideoHandler
encoder : Lavc57.24.103 libx264

Side data:

cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1

Stream mapping:

Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))

Press [q] to stop, ? for help
frame= 481 fps=0.8 q=-1.0 Lsize= 11021kB time=00:00:15.98 bitrate=5648.9kbits/s speed=0.0255x
video:11014kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.058953%
[libx264 @ 00000148b22941e0] frame I:2 Avg QP:25.64 size: 69267
[libx264 @ 00000148b22941e0] frame P:133 Avg QP:27.32 size: 41310
[libx264 @ 00000148b22941e0] frame B:346 Avg QP:30.91 size: 16315
[libx264 @ 00000148b22941e0] consecutive B-frames: 0.8% 2.1% 31.2% 54.1% 9.4% 2.5% 0.0% 0.0% 0.0%
[libx264 @ 00000148b22941e0] mb I I16..4: 13.5% 81.5% 5.0%
[libx264 @ 00000148b22941e0] mb P I16..4: 9.1% 25.5% 1.1% P16..4: 40.1% 9.7% 4.3% 0.1% 0.0% skip:10.1%
[libx264 @ 00000148b22941e0] mb B I16..4: 1.3% 3.6% 0.2% B16..8: 40.3% 7.4% 1.2% direct: 3.0% skip:43.0% L0:44.5% L1:51.7% BI: 3.8%
[libx264 @ 00000148b22941e0] 8x8 transform intra:71.5% inter:85.9%
[libx264 @ 00000148b22941e0] direct mvs spatial:99.4% temporal:0.6%
[libx264 @ 00000148b22941e0] coded y,uvDC,uvAC intra: 45.5% 30.0% 1.4% inter: 13.6% 7.2% 0.0%
[libx264 @ 00000148b22941e0] i16 v,h,dc,p: 23% 31% 17% 29%
[libx264 @ 00000148b22941e0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 11% 13% 7% 10% 11% 12% 10% 14%
[libx264 @ 00000148b22941e0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 9% 9% 6% 8% 14% 14% 14% 11% 16%
[libx264 @ 00000148b22941e0] i8c dc,h,v,p: 64% 20% 10% 5%
[libx264 @ 00000148b22941e0] Weighted P-Frames: Y:7.5% UV:1.5%
[libx264 @ 00000148b22941e0] ref P L0: 60.9% 16.8% 16.6% 4.3% 1.3% 0.0%
[libx264 @ 00000148b22941e0] ref B L0: 91.4% 7.0% 1.6%
[libx264 @ 00000148b22941e0] ref B L1: 95.8% 4.2%
[libx264 @ 00000148b22941e0] kb/s:5621.76

Program finished!

comment:3 by Carl Eugen Hoyos, 8 years ago

Please provide your input video.

comment:5 by Tom Steck, 8 years ago

After few additional tests with different video files, I can confirm I found the difference between video stabilized with stepsize=1 (a bit better stabilization) and stepsize=6. But still, shakiness=1 and shakiness=10 generated exactly the same output video.

Note: See TracTickets for help on using tickets.