Le lundi 18 décembre 2017 à 03:21 +0000, Liu Xin a écrit :
> Dear community,
>
> I need help on our product's HDMI input port. We want this feature:
> when the port is plugged in by a camera, it captures video stream
> from it, when it's unplugged, it just send a still image to the down
> stream pipeline. I know certain plugins are suitable for this job,
> like the diagram I draw below.
>
> filesrc -> jpegdec -> imagefreeze -> input-selector-> downstream
> v4l2src -^
>
> I just don't like the complexity of dealing with hotplug requirement,
> and wonder if there's better/simpler implementation, or even a single
> plugin that's just able to do that.
There was some attempt I've seen over the time, but nothing has been
merged upstream really. One of these was a relatively independant
utility called FsIo:
https://gitlab.collabora.com/ocrete/farstream/tree/fsioWas by far the most robust implementation I have seen. You could
plug/unplug cameras, it would seamlessly switch from one to another. Or
in the case there was nothing, it would produce snow for you. All
configurable of course.
>
> Please share your thoughts, thanks.
>
> Best,
> Xin
> _______________________________________________
> gstreamer-devel mailing list
>
[hidden email]
>
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel