Could not link autovideosink to filesink

Matthew Waters ystreet00 at gmail.com
Mon Oct 26 09:25:06 UTC 2020



On 25/10/20 5:52 pm, DanteDom wrote:
> Hey thanks for your help. I am very new so I appreciate the help.
>
>
> Before asking for help I tried numerous different pipelines, one of which
> was what you suggested below. With my Tcpclientsrc and one with videotestsrc
> to see what would happen.
>
>
> I get an error when I utilized "videotestsrc num-buffers=1 ! jpegenc !
> filesink location=screenshot.jpeg"
>
> "app_function Could not retrieve video sink"

You would need to base your code on either android-tutorial-1 or -2 to 
not have the video sink handling code that throws this error (or remove 
the video sink handling code from your existing code).

Cheers
-Matt

> I should mention that am utilizing a modified version of a Gstreamer
> tutorial:  It can be found here.
> <https://gstreamer.freedesktop.org/documentation/tutorials/android/video.html?gi-language=c>
>
> When I attempt to add autovideosink, The error I get is:
>
> "gst_parse_perform_link could not link autovideosink to filesink"
>
> I have tried so many different combinations and potential solutions that I
> am beginning to believe I need to modify the original code in some form
> further?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20201026/b45c6251/attachment.sig>


More information about the gstreamer-devel mailing list