guijemont / gststabilizer Goto Github PK
View Code? Open in Web Editor NEWAn attempt to make GStreamer elements that allow to stabilize shaky video streams
License: GNU Lesser General Public License v3.0
An attempt to make GStreamer elements that allow to stabilize shaky video streams
License: GNU Lesser General Public License v3.0
Hi again,
This datatype (used in flow_revert.py:OpticalFlowRevert.init:L57) seems not to exist.
Moreover self._reference_transform is downcasted latter on to float64 (L79, after appling the transform). So using float128 seems useless, isn't?
Best regards,
Hi,
trying to apply the GstSatbilizer plugin to a bunch of jpg images, I got the following error:
ERREUR : de l'élément /GstPipeline:pipeline0/flow_finder+OpticalFlowFinder:flow_finder+opticalflowfinder0 : total size of new array must be unchanged
Information de débogage supplémentaire :
/home/fab/Boulot/test/PP_stab/GstStabilizer/python/flow_finder.py(96): _chain (): /GstPipeline:pipeline0/flow_finder+OpticalFlowFinder:flow_finder+opticalflowfinder0:
<type 'exceptions.ValueError'>: total size of new array must be unchanged
Any hint?
Complete verbose session
$ gst-launch -v multifilesrc location="im/%d.JPG" index=1 num-buffers=40 caps="image/jpeg,framerate=(fraction)6/1" ! jpegdec ! tee name=tee tee. ! ffmpegcolorspace ! opticalflowfinder ! opticalflowrevert name=mux tee. ! ffmpegcolorspace ! mux. mux. !
ffmpegcolorspace ! jpegenc ! multifilesink location="im_out/%d.JPG"
Définition du pipeline à PAUSED...
/GstPipeline:pipeline0/GstMultiFileSrc:multifilesrc0.GstPad:src: caps = image/jpeg, depth=(int)24, bpp=(int)24, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, width=(int)1, height=(int)1, framerate=(fraction)6/1, sof-marker=(int)0
Le pipeline est en phase de PREROLL...
/GstPipeline:pipeline0/GstMultiFileSrc:multifilesrc0.GstPad:src: caps = image/jpeg, framerate=(fraction)6/1
/GstPipeline:pipeline0/GstJpegDec:jpegdec0.GstPad:sink: caps = image/jpeg, framerate=(fraction)6/1
/GstPipeline:pipeline0/GstJpegDec:jpegdec0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)2250, height=(int)1500, framerate=(fraction)6/1
/GstPipeline:pipeline0/GstTee:tee: alloc-pad = (GstPad) src1
/GstPipeline:pipeline0/GstTee:tee.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)2250, height=(int)1500, framerate=(fraction)6/1
/GstPipeline:pipeline0/GstTee:tee.GstPad:src1: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)2250, height=(int)1500, framerate=(fraction)6/1
/GstPipeline:pipeline0/GstTee:tee.GstPad:src0: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)2250, height=(int)1500, framerate=(fraction)6/1
/GstPipeline:pipeline0/GstTee:tee.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)2250, height=(int)1500, framerate=(fraction)6/1
/GstPipeline:pipeline0/GstFFMpegCsp:ffmpegcsp1.GstPad:src: caps = video/x-raw-rgb, depth=(int)24, width=(int)2250, height=(int)1500, framerate=(fraction)6/1, bpp=(int)24, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255
/GstPipeline:pipeline0/GstFFMpegCsp:ffmpegcsp1.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)2250, height=(int)1500, framerate=(fraction)6/1
/GstPipeline:pipeline0/flow_revert+OpticalFlowRevert:mux.GstPad:mainsink: caps = video/x-raw-rgb, depth=(int)24, width=(int)2250, height=(int)1500, framerate=(fraction)6/1, bpp=(int)24, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255
/GstPipeline:pipeline0/GstFFMpegCsp:ffmpegcsp0.GstPad:src: caps = video/x-raw-gray, depth=(int)8, width=(int)2250, height=(int)1500, framerate=(fraction)6/1, bpp=(int)8
/GstPipeline:pipeline0/GstFFMpegCsp:ffmpegcsp0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)2250, height=(int)1500, framerate=(fraction)6/1
/GstPipeline:pipeline0/flow_finder+OpticalFlowFinder:flow_finder+opticalflowfinder0.GstPad:sink: caps = video/x-raw-gray, depth=(int)8, width=(int)2250, height=(int)1500, framerate=(fraction)6/1, bpp=(int)8
ERREUR : de l'élément /GstPipeline:pipeline0/flow_finder+OpticalFlowFinder:flow_finder+opticalflowfinder0 : total size of new array must be unchanged
Information de débogage supplémentaire :
/home/fab/Boulot/test/PP_stab/GstStabilizer/python/flow_finder.py(96): _chain (): /GstPipeline:pipeline0/flow_finder+OpticalFlowFinder:flow_finder+opticalflowfinder0:
<type 'exceptions.ValueError'>: total size of new array must be unchanged
ERREUR : le pipeline refuse de passer en phase de préparation.
Définition du pipeline à NULL...
/GstPipeline:pipeline0/flow_revert+OpticalFlowRevert:mux.GstPad:mainsink: caps = NULL
/GstPipeline:pipeline0/GstFFMpegCsp:ffmpegcsp1.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstFFMpegCsp:ffmpegcsp1.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/flow_finder+OpticalFlowFinder:flow_finder+opticalflowfinder0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstFFMpegCsp:ffmpegcsp0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstFFMpegCsp:ffmpegcsp0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstTee:tee.GstPad:src1: caps = NULL
/GstPipeline:pipeline0/GstTee:tee.GstPad:src0: caps = NULL
/GstPipeline:pipeline0/GstTee:tee.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstJpegDec:jpegdec0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstJpegDec:jpegdec0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstMultiFileSrc:multifilesrc0.GstPad:src: caps = NULL
Libération du pipeline...
Vstab[1] is a library specifically designed for image stabilisation.
MLT seems to be using it with success[2]
[1] http://vstab.sourceforge.net/
[2] http://libregraphicsworld.org/blog/entry/mlt-0-7-6-released-with-video-stabilization-filters
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.