video.go: provide option to download depacketised media

Issue #12 resolved
Saxon Milton created an issue

We would like the option to download MJPEG that is stored within MPEG-TS packets. This will require that we extract the MJPEG and concatenate. We will need to create another out option among the others (m3u, live and ts), called media, which will indicate we wish to obtain only the media contained in the MTS. This should work for all media types we use, including H264 and ADPCM. In the case of MJPEG, we will need to provide the MJPEG MIME type = “video/x-motion-jpeg”. To do this, we will need a check on the stream ID to determine what kind of media we’re dealing with. Changes should only need to happen in video.go/getHandler.

Comments (3)

  1. Log in to comment