Giter Site home page Giter Site logo

gststabilizer's People

Contributors

guijemont avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

gststabilizer's Issues

numpy float128

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,

Returned array's size error

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...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.