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

2022-01-09 Thread Moritz Barsnick
On Sun, Jan 09, 2022 at 09:59:24 -0500, John Van Ostrand wrote: > 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. You don't need netcat, ffmpeg has TCP, UDP, HTTP (and

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

2022-01-09 Thread Phil Rhodes via ffmpeg-user
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

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

2022-01-09 Thread John Van Ostrand
On Sun., Jan. 9, 2022, 8:45 a.m. Adam Nielsen via ffmpeg-user, < ffmpeg-user@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

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

2022-01-09 Thread Adam Nielsen via ffmpeg-user
> > [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,

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

2022-01-09 Thread Gyan Doshi
On 2022-01-09 03:36 pm, Carl Eugen Hoyos wrote: Am Sa., 8. Jan. 2022 um 07:54 Uhr schrieb Adam Nielsen via ffmpeg-user : [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

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

2022-01-09 Thread Carl Eugen Hoyos
Am Sa., 8. Jan. 2022 um 07:54 Uhr schrieb Adam Nielsen via ffmpeg-user : > [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-user] Can MJPEG be live streamed without transcoding?

2022-01-07 Thread Adam Nielsen via ffmpeg-user
Hi all, I'm trying to stream video from a USB camera plugged into a Raspberry Pi[1], however I can't work out how to stream the camera's MJPEG data over a network without transcoding it first[2]. If I use a command like this: $ ffmpeg -f v4l2 -input_format mjpeg -video_size 1280x720 -i