This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 ! \ |