frei0r-filter-perspective parameters? Found them but internal dataflow error

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

frei0r-filter-perspective parameters? Found them but internal dataflow error

josvanr
trying this:

gst-launch v4l2src ! video/x-raw-yuv,width=320,height=240 !
ffmpegcolorspace !
frei0r-filter-perspective,top-left-X=10,top-left-Y=10,top-right-X=100,top-right-Y=100,bottom-left-X=10,bottom-left-Y=100,bottom-right-X=100,bottom-right-Y=100
! xvimagesink


ie view webcam and remove perspective distortion

First it complains it cannot find a file
/usr/share/opencv/haarcascades/haarcascade_frontalface_alt2.xml
but turns out to be an installation problem. After I get this from
some package however:...

reason not negotiated?


josvanr




Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Internal data flow error.
Additional debug info:
gstbasesrc.c(2574): gst_base_src_loop ():
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 2507571638 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: frei0r-filter-perspective parameters? Found them but internal dataflow error

Luciana Fujii Pontello-2
On Tue, 2011-06-07 at 09:11 +0200, Jos van Riswick wrote:
> trying this:
>
> gst-launch v4l2src ! video/x-raw-yuv,width=320,height=240 !
> ffmpegcolorspace !
> frei0r-filter-perspective,top-left-X=10,top-left-Y=10,top-right-X=100,top-right-Y=100,bottom-left-X=10,bottom-left-Y=100,bottom-right-X=100,bottom-right-Y=100
> ! xvimagesink

Have you tried adding a colorspace between the filter and xvimagesink?

Best regards,

Luciana Fujii

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: frei0r-filter-perspective parameters? Found them but internal dataflow error

josvanr
hi

thnx, I put ffmpegcolorspace in. I see the image from the cam, but
unfortunately,
the filter doesn't do anything (I just see the entire image, not distorted)

jos

On Wed, Jun 8, 2011 at 9:21 PM, Luciana Fujii Pontello
<[hidden email]> wrote:

> On Tue, 2011-06-07 at 09:11 +0200, Jos van Riswick wrote:
>> trying this:
>>
>> gst-launch v4l2src ! video/x-raw-yuv,width=320,height=240 !
>> ffmpegcolorspace !
>> frei0r-filter-perspective,top-left-X=10,top-left-Y=10,top-right-X=100,top-right-Y=100,bottom-left-X=10,bottom-left-Y=100,bottom-right-X=100,bottom-right-Y=100
>> ! xvimagesink
>
> Have you tried adding a colorspace between the filter and xvimagesink?
>
> Best regards,
>
> Luciana Fujii
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel