Skip to content

kfish/gst-sh-mobile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

*** 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

About

GStreamer Encoder and Decoder for SH Mobile

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 86.1%
  • Python 6.0%
  • Shell 5.9%
  • Perl 2.0%