[FFmpeg-user] Can MJPEG be live streamed without transcoding?
John Van Ostrand
john at vanostrand.com
Sun Jan 9 16:59:24 EET 2022
On Sun., Jan. 9, 2022, 8:45 a.m. Adam Nielsen via ffmpeg-user, <
ffmpeg-user at ffmpeg.org> wrote:
> > > [mpegts @ 0x6725d0] Stream 0, codec mjpeg, is muxed as a private data
> > > stream and may not be recognized upon reading.
> > You cannot mux random data into mpegts, this is not a limitation of
> > A small change to the FFmpeg source code probably makes possible what
> > you want, but since the resulting stream does not conform to any
> > specification, the developers will not do it.
> It doesn't have to be MPEG-TS, the only thing receiving this stream
> will be another FFmpeg instance, so it doesn't worry me whether it
> conforms to any standards or not, all I need is something FFmpeg can
> send to itself over UDP.
> Since FFmpeg can read raw compressed video from a file in a number of
> different codecs, I assumed it could do the same via UDP, but perhaps
I wonder if you could use netcat to direct the stream from Stdout to a
network socket then use netcat at the other end to put it into the Stdin of
the remote ffmpeg.
More information about the ffmpeg-user