Skip to content

Instantly share code, notes, and snippets.

View semihkurt's full-sized avatar

Semih Kurt semihkurt

  • HAVELSAN A.Ş
  • Ankara, Turkey
View GitHub Profile
@bagong
bagong / msys2-gstreamer
Last active February 11, 2022 12:51
gstreamer msys2 dll's and dependencies for deployment (mingw64)
## Gstreamer itself
Pretty much everything in mingw64/lib/gstreamer-1.0 and all libraries with prefix libgst in mingw64/bin
$ pacman -Fl mingw-w64-x86_64-{gstreamer,gst-{libav,plugins-{good,base,bad}}} | grep mingw64/.*\.dll$
mingw-w64-x86_64-gstreamer mingw64/bin/libgstbase-1.0-0.dll
mingw-w64-x86_64-gstreamer mingw64/bin/libgstcheck-1.0-0.dll
mingw-w64-x86_64-gstreamer mingw64/bin/libgstcontroller-1.0-0.dll
mingw-w64-x86_64-gstreamer mingw64/bin/libgstnet-1.0-0.dll
mingw-w64-x86_64-gstreamer mingw64/bin/libgstreamer-1.0-0.dll
@yashi
yashi / gst-dynamic-pad.c
Last active May 10, 2021 02:25
An Example for GStreamer Dynamic Pad (Decodebin)
#include <gst/gst.h>
static gboolean bus_call (G_GNUC_UNUSED GstBus *bus, GstMessage *msg, gpointer data)
{
GMainLoop *loop = (GMainLoop *) data;
switch (GST_MESSAGE_TYPE (msg)) {
case GST_MESSAGE_EOS:
g_print ("End of stream\n");
@strezh
strezh / GStreamer-1.0 some strings.sh
Last active October 16, 2024 13:31
GStreamer-1.0 personal cheat sheet
#!/bin/bash
# play YUV444 FULL HD file
gst-launch-1.0 -v filesrc location=size_1920x1080.yuv ! \
videoparse width=1920 height=1080 framerate=25/1 format=GST_VIDEO_FORMAT_Y444 ! \
videoconvert ! \
autovideosink
# play YUV422 FULL HD file
gst-launch-1.0 -v filesrc location=size_1920x1080.yuv ! \