Page 1 of 1

Transcode from MxPEG to H.264 (HTTP Client and RTSP Server)

Posted: 04 Sep 2023 17:27
by HyP3r
Hello,

I want to transcode MxPEG to H.264.

First I call this command:

Code: Select all

vlc.exe --avformat-format=mxg "http://MTMW-CAM13:80/control/faststream.jpg?stream=MxPEG"

I can see Video and have following Code Information:

Code: Select all

Stream 0 Codec: Mxpeg (MXPG) Type: Video Video resolution: 1024x768 Buffer dimensions: 1024x768 Frame rate: 7.583333 Decoded format: Planar 4:2:0 YUV full scale Orientation: Top left Color space: ITU-R BT.601 range Color saturation position: Centered Stream 1 Codec: PCM ALAW (alaw) Type: Audio Channels: Mono Sampling rate: 80C0 Hz Bits per sample: 16

In the next step I call vlc to transcode:

Code: Select all

vlc.exe --avformat-format=mxg --sout-x264-profile=main --sout-x264-preset=fast --sout-x264-tune=zerolatency --sout "#transcode{vcodec=h264,scale=Automatisch,acodec=none,scodec=none}:rtp{sdp=rtsp://localhost:10013/}" "http://MTMW-CAM13:80/control/faststream.jpg?stream=MxPEG&noaudio"

It seems like its working fine but when I connect to this stream with another vlc instance (to rtsp://localhost:10013/) I can see no video.

What should I try? What do you think?

Re: Transcode from MxPEG to H.264 (HTTP Client and RTSP Server)

Posted: 10 Nov 2023 14:58
by Jean-Baptiste Kempf
What format are you muxing to?

Re: Transcode from MxPEG to H.264 (HTTP Client and RTSP Server)

Posted: 22 Nov 2023 17:08
by HyP3r
What do you mean by "What format are you muxing to?"? As you can see, the input stream is MxPEG via HTTP and the output stream is H.264 via RTSP.