Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

GStreamer

Featured Replies

  Anyone have success with GStreamer and Xenial Desktop? 

 

  Once upon a time (mid 2015) gstreamer used to work like this:  gst-launch-1.0 filesrc location=vid.mp4 ! qtdemux ! vaapidecode ! vaapisink

 

  Time has passed and the many parts that make up GStreamer (libva libcedrus vdpau-sunxi libvdpau gstreamer and gstreamer-vaapi) have evolved.

 

  I revisited this because I have recently stumbled upon an invocation that let's me play videos with hardware acceleration in gstreamer.  I'm trying

to stream h264 vid from my rpi-zero's camera to be saved/played/restreamed from my BPi ( i have both BananaPi and OrangePi+2e). 

 

This works-->

rpi$ raspivid -t 0 -w 1280 -h 720 -fps 30 -b 2000000 -o - | gst-launch-1.0 -e -v fdsrc ! h264parse ! rtph264pay config-interval=1 pt=96 ! gdppay ! tcpserversink host=rpi port=5000

bpi$ gst-launch-1.0 -e -v tcpclientsrc host=rpi port=5000  ! gdpdepay ! rtph264depay ! h264parse ! vaapidecode ! vaapisink

 

 As you can see, the bpi invocation of gstreamer is very similar to the original way gst-launch was called.

 

 

ps..

 

bpi$ export

declare -x VDPAU_DRIVER="sunxi"

declare -x VDPAU_OSD="1"

declare -x LIBVA_DRIVER_NAME="vdpau"

 

 

 

Edited by rexxster

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.