mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-09-27 06:20:05 +00:00
0b922b0e89
Use can change the video player zoom using the next keys: * +: Zoom in * -: Zoom out * Up/Down/Right/Left: Move the frame * r: reset the zoom Also mouse navigation events can be used for a better UX. Furthermore, it works with an pipeline using other video compositor filters like glvideomixer. For instance: glvideomixer \ name=mix background=1 \ sink_0::xpos=0 sink_0::ypos=0 sink_0::zorder=0 \ sink_0::width={WIDTH} sink_0::height={HEIGHT} \ ! glimagesinkelement \ gltestsrc pattern=mandelbrot name=src \ ! video/x-raw(memory:GLMemory),framerate=30/1,width={WIDTH},height={HEIGHT},pixel-aspect-ratio=1/1 \ ! queue \ ! mix.sink_0 Probe was added in the sink pad to get direct navigation events w/o transformation done by the mixer. More info about it in the PR [1]. [1] https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1495 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1217> |
||
---|---|---|
.. | ||
appsink.rs | ||
appsrc.rs | ||
cairo_compositor.rs | ||
custom_events.rs | ||
custom_meta.rs | ||
d3d11videosink.rs | ||
debug_ringbuffer.rs | ||
decodebin.rs | ||
discoverer.rs | ||
encodebin.rs | ||
events.rs | ||
fd_allocator.rs | ||
futures.rs | ||
ges.rs | ||
glfilter.rs | ||
glib-futures.rs | ||
glwindow.rs | ||
gtksink.rs | ||
gtkvideooverlay.rs | ||
iterator.rs | ||
launch.rs | ||
launch_glib_main.rs | ||
overlay-composition.rs | ||
pad_probes.rs | ||
pango-cairo.rs | ||
play.rs | ||
playbin.rs | ||
player.rs | ||
queries.rs | ||
rtpfecclient.rs | ||
rtpfecserver.rs | ||
rtsp-server-record.rs | ||
rtsp-server-subclass.rs | ||
rtsp-server.rs | ||
subclass.rs | ||
tagsetter.rs | ||
thumbnail.rs | ||
toc.rs | ||
transmux.rs | ||
video_converter.rs | ||
zoom.rs |