IT Hints

small useful hints for administrators and developers

Tuesday, June 26, 2018

How to play video file using Gstreamer

Tested on Ubuntu.

Variant 1. Using playbin:

gst-launch playbin uri=file:///pathto/test.mp4


Variant 2. Using filesrc:

gst-launch filesrc location=video.avi ! decodebin2 name=dec ! queue !
ffmpegcolorspace ! autovideosink dec. ! queue ! audioconvert ! audioresample !
autoaudiosink
Posted by Element VII at 3:43 AM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

Element VII
View my complete profile

Blog Archive

  • ▼  2018 (16)
    • ►  July (1)
    • ▼  June (15)
      • Permanent disabling digital signature requirement ...
      • Formats of PublicKey in Eliptic Curve Cryptography...
      • How to start / stop Linux service manually
      • How to add Linux service to autostartup
      • How to add pm2 service (node.js) to autostartup
      • How to refresh service list on Ubuntu
      • How to install Java on Linux from .tar.gz
      • Useful command to work with apt-get
      • Streaming video : file -> gstreamer -> vlc
      • How to play video file using Gstreamer
      • Streaming video using gstreamer to VLC
      • GStreamer on Android. Building Tutorials
      • Skype on MeeGo 1.2 (Samsung N100)
      • Capturing audio from microphone on Raspberry Pi (D...
      • Welcome to It Hints blog. Here is posted small IT...
Ethereal theme. Powered by Blogger.