mithro / gst-filter-media

Tool for creating a media file (as similar to the original as possible) by filtering it through a gstreamer plugin.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gst-filter-media - Run gstreamer plugin over a media file

Tool for creating a media file by filtering it through a gstreamer plugin.

gst-filter-media tries to produce an output file which is identical format as the given input file.

The tool uses;

  • GstPbutils.Discoverer to discover the media format and create a GstPbutils.EncodingProfile.
  • decodebin to decode the input media file.
  • encodebin2 to encode the output media file.
gst-filter-media.py \
    --plugin timeoverlay \
    input-media.mp4

gst-filter-media.py \
    --output output-file.mp4 \
    --plugin 'timeoverlay draw-outline,color=#ff0000' \
    input-media.mp4

About

Tool for creating a media file (as similar to the original as possible) by filtering it through a gstreamer plugin.

License:Apache License 2.0


Languages

Language:Python 100.0%