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

About encoding, codec settings, muxers and filter usage
HyP3r
New Cone
New Cone
Posts: 2
Joined: 04 Sep 2023 17:22

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

Postby HyP3r » 04 Sep 2023 17:27

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?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

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

Postby Jean-Baptiste Kempf » 10 Nov 2023 14:58

What format are you muxing to?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

HyP3r
New Cone
New Cone
Posts: 2
Joined: 04 Sep 2023 17:22

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

Postby HyP3r » 22 Nov 2023 17:08

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.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 13 guests