Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
GStreamer Encoder and Decoder for SH Mobile
C Python Shell Perl

This branch is 69 commits ahead of honkasuo:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
common
debian
gst
m4
AUTHORS
ChangeLog
Makefile.am
NEWS
README
autogen.sh
configure.ac

README

*** GSTREAMER SH ENCODER AND DECODER ***

This gst-sh-mobile contains the encoder and decoder Gstreamer elements for
SuperH environment. These elements are depending to libshcodes and it provides
the hardware acceleration for gst-sh-mobile elements.

HOWTO BUILD

Please use the autoconf and automake configurations in this package. You can
configure and build the elements like this:

$ ./autogen.sh
$ ./configure
$ make

HOWTO USE

These two basic use cases are just examples of the usage possibilities. Please
note that the decoder is a sink and it will play the video on the screen.

Encode file to file:

$ gst-launch filesrc location=source_video_to_encode ! gst-sh-mobile-enc \
cntl_file=encoder_control_file.ctl ! filesink location=encoded_video_file

Encode camera to file with LCD preview:

$gst-launch -v gst-sh-mobile-camera-enc cntl_file=k264-v4l2.ctl preview=1\
 ! video/x-h264,width=640,height=480,framerate=30/1 ! filesink location=encoded_video.h264

Decode a file and playback on the screen:

$ gst-launch filesrc location=video_file.avi  ! avidemux name=demux \
demux.video_00 ! queue ! gst-sh-mobile-dec-sink
Something went wrong with that request. Please try again.