Using cameraundistort plugin with calculated distortion coefficient

yasoua yasmineouahid at gmail.com
Thu Feb 18 12:46:08 UTC 2021


After some reaserches , i found this method to implement setting property for
cameraundistort plugin: 

$DIST_COEFF="{\"k1\":7.33183864e+03,\"k2\":1.52395233e-01,\"p1\":2.53983049e+00,\"p2\":2.20587897e+00,\"k3\":2.61869010e-06}"

$gst-launch-1.0 filesrc location=ChessUOledS_It2.JPG   ! jpegdec !
videoconvert  ! cameraundistort settings="$DIST_COEFF" !  videoconvert  ! 
imagefreeze !  autovideosink

I want to make sure that is correct, if it is correct why i get the
following error when i run the pipeline :

Définition du pipeline à PAUSED...
Le pipeline est en phase de PREROLL…
Caught SIGSEGV
Spinning.  Please run 'gdb gst-launch-1.0 2728080' to continue debugging,
Ctrl-C to quit, or Ctrl-\ to dump core.
ERREUR : de l’élément
/GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-actual-sink-xvimage :
Output window was closed
Information de débogage supplémentaire :
xvimagesink.c(554): gst_xv_image_sink_handle_xevents ():
/GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-actual-sink-xvimage
ERREUR : le pipeline refuse de passer en phase de préparation.
Définition du pipeline à NULL…




Could someone help me please.







--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list