[FFmpeg-user] Can MJPEG be live streamed without transcoding?

Phil Rhodes phil_rhodes at rocketmail.com
Sun Jan 9 17:37:45 EET 2022


 I tried to do something a bit like this some years ago for audio only. Don't ask me for the details as it's been a while, but we tried several solutions and never really got it to work. This was under Windows.
The idea was to create a wireless free space link using off the shelf wifi gear.
P
    On Sunday, 9 January 2022, 14:59:45 GMT, John Van Ostrand <john at vanostrand.com> wrote:  
 
 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
> FFmpeg.
> >
> > 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
> not.
>

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.

>
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
  


More information about the ffmpeg-user mailing list