[Libav-user] RTP/MJPEG low contrast image on low quality setting
libav at zevv.nl
Thu Mar 24 11:29:04 CET 2016
I have a device sending out a MJPEG/RTP stream on a low quality setting.
Decoding and displaying the video with libavformat results in a washed
out, low contrast, greyish image. Playing the same stream with VLC results
in proper color representation.
Screenshots for comparison:
A pcap capture of a few seconds of video and SDP file for playing the
stream are available at
(On linux, replay the stream with tcpreplay: sudo tcpreplay -i lo mjpeg.pcap)
Can anyone give an explanation on the difference in interpretation
between libav and VLC? Is it likely that the problem is in the device
generating the JPEG stream?
More information about the Libav-user