public
Fork of honkasuo/gst-sh-mobile
Description: GStreamer Encoder and Decoder for SH Mobile
Homepage:
Clone URL: git://github.com/kfish/gst-sh-mobile.git
Takashi Namiki (author)
Wed Nov 04 22:57:28 -0800 2009
kfish (committer)
Tue Nov 10 15:08:12 -0800 2009
commit  9f8f836fa98908e21d8318ce274ff6238a71dcfb
tree    10d4011097ddabe68bfe8260db1ee4bcdc7b041f
parent  d2f63069b947df466a05e8b506676b8fa8c58b7f
name age message
file AUTHORS Mon Jun 29 00:57:42 -0700 2009 initial import [honkasuo]
file ChangeLog Mon Jun 29 03:51:24 -0700 2009 added support for buffering [honkasuo]
file Makefile.am Loading commit data...
file NEWS Mon Jun 29 00:57:42 -0700 2009 initial import [honkasuo]
file README Wed Sep 02 01:07:52 -0700 2009 Created Video Recorder plug-in which included C... [Takashi Namiki]
file autogen.sh Fri Oct 16 06:49:22 -0700 2009 Correct reporting of configure in autogen.sh [kfish]
directory cntlfile/
directory common/ Mon Jun 29 00:57:42 -0700 2009 initial import [honkasuo]
file configure.ac
directory debian/ Mon Jun 29 03:51:24 -0700 2009 added support for buffering [honkasuo]
file gstshfbdevsink.c
file gstshfbdevsink.h
file gstshvideocapenc.c
file gstshvideocapenc.h
file gstshvideodec.c
file gstshvideodec.h
file gstshvideodec2.c
file gstshvideodec2.h
file gstshvideoenc.c
file gstshvideoenc.h Wed Jul 08 03:52:44 -0700 2009 changed the license to LGPL [honkasuo]
directory m4/ Mon Jun 29 00:57:42 -0700 2009 initial import [honkasuo]
directory vidix/ Mon Jun 29 00:57:42 -0700 2009 initial import [honkasuo]
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