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?