codec/mjpeg: create RTP MJPEG 'extractor' to parse out MJPEG from RTP packets

Issue #159 resolved
Saxon Milton created an issue

The GeoVision will send MJPEG over RTP when in MJPEG mode. As such, we will need an extractor to retrieve the MJPEG from the RTP packets; probably something similar to the RTP H264 extractor. Specifications for MJPEG over RTP are here.

Comments (7)

  1. Saxon Milton reporter

    RTSP can only request an RTP stream, and I can’t find anything on the web interface to set up video over HTTP. Did something give you the impression that this is possible ?

  2. Alan Noble

    I only ask the question because when MJPEG is played by a web browser using the HTML <img> element, it is over HTTP, using the latter’s “chunked” transfer encoding. Browsers generally don’t have built in support for RTP…

  3. Saxon Milton reporter

    yeah okay, I see what you mean.

    Interestingly you can watch the live streams in the browser on the web interface, and looking at what’s happening over wireshark, it probably is MJPEG over HTTP, however, these streams seem not to be affected by changes in settings - so maybe they are encoded separately. Also, these streams viewable in the browser are only 1 fps.

  4. Alan Noble

    If RTP is needed for the GV cameras, so be it. I just wanted to ensure we’re not missing a simpler solution.

    In summary, GV cameras would be configured to send MJPEG/RTP and revid would then transmux that to MJPEG/MTS/HTTP.

    And MJPEG/RTMP is not an option.

  5. Log in to comment