Clone wiki

simplemjpegview_gst / Home

This is an Android mjpeg streaming viewer. This project is a clone from SimpleMjpegView.


For streaming from gstreamer, is used instead of See detail here.


Before you build this project, you need to modify the following codes.

(1), at line 19

    private String mHostName = "";      <-- gstreamer host
    private int mPort = 5000;                        <-- gstreamer port

(2), at line 51

        public static final int IMG_WIDTH=320;
        public static final int IMG_HEIGHT=240;

gstreamer server sample

Here is a server sample script.

gst-launch -v v4l2src !\
  ffmpegcolorspace !\
  video/x-raw-yuv,width=320,height=240,framerate=\(fraction\)30/1 !\
  jpegenc !\
  tcpserversink host= port=5000