RTSP-MJPEG stream playback: Poor image quality problem

pavel justason at mail.ru
Mon Oct 15 04:59:32 PDT 2012


*Hello,

I repost:*


 gst-launch rtspsrc location=$STREAMB1 latency=1 ! decodebin2 !
ffmpegcolorspace! video/x-raw-yuv ! autovideosink


verbose output looks fine to me:

gst-launch rtspsrc location=$STREAMB1 latency=1 ! decodebin2 !
ffmpegcolorspace! video/x-raw-yuv ! autovideosink -v
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0: latency = 1
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0: buffer-mode =
slave (1)
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1: timeout =
5000000
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1: timeout = 0
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind.GstPad:src:
caps = application/x-rtp, media=(string)video, payload=(int)26,
clock-rate=(int)90000, a-tool=(string)\"LIVE555\\ Streaming\\ Media\\
v2009.01.26\", a-type=(string)broadcast, x-qt-text-nam=(string)\"Session\\
streamed\\ by\\ stream\", x-qt-text-inf=(string)1, a-framerate=(string)25.0,
clock-base=(uint)557477834, seqnum-base=(uint)16223, npt-start=(guint64)0,
play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind.GstPad:sink:
caps = application/x-rtp, media=(string)video, payload=(int)26,
clock-rate=(int)90000, a-tool=(string)\"LIVE555\\ Streaming\\ Media\\
v2009.01.26\", a-type=(string)broadcast, x-qt-text-nam=(string)\"Session\\
streamed\\ by\\ stream\", x-qt-text-inf=(string)1, a-framerate=(string)25.0,
clock-base=(uint)557477834, seqnum-base=(uint)16223, npt-start=(guint64)0,
play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20.GstGhostPad:sink: caps =
application/x-rtp, media=(string)video, payload=(int)26,
clock-rate=(int)90000, a-tool=(string)\"LIVE555\\ Streaming\\ Media\\
v2009.01.26\", a-type=(string)broadcast, x-qt-text-nam=(string)\"Session\\
streamed\\ by\\ stream\", x-qt-text-inf=(string)1, a-framerate=(string)25.0,
clock-base=(uint)557477834, seqnum-base=(uint)16223, npt-start=(guint64)0,
play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_0_730172831_26:
caps = application/x-rtp, media=(string)video, payload=(int)26,
clock-rate=(int)90000, a-tool=(string)\"LIVE555\\ Streaming\\ Media\\
v2009.01.26\", a-type=(string)broadcast, x-qt-text-nam=(string)\"Session\\
streamed\\ by\\ stream\", x-qt-text-inf=(string)1, a-framerate=(string)25.0,
clock-base=(uint)557477834, seqnum-base=(uint)16223, npt-start=(guint64)0,
play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_0_730172831_26.GstProxyPad:proxypad6:
caps = application/x-rtp, media=(string)video, payload=(int)26,
clock-rate=(int)90000, a-tool=(string)\"LIVE555\\ Streaming\\ Media\\
v2009.01.26\", a-type=(string)broadcast, x-qt-text-nam=(string)\"Session\\
streamed\\ by\\ stream\", x-qt-text-inf=(string)1, a-framerate=(string)25.0,
clock-base=(uint)557477834, seqnum-base=(uint)16223, npt-start=(guint64)0,
play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:recv_rtp_src_0_730172831_26.GstProxyPad:proxypad5:
caps = application/x-rtp, media=(string)video, payload=(int)26,
clock-rate=(int)90000, a-tool=(string)\"LIVE555\\ Streaming\\ Media\\
v2009.01.26\", a-type=(string)broadcast, x-qt-text-nam=(string)\"Session\\
streamed\\ by\\ stream\", x-qt-text-inf=(string)1, a-framerate=(string)25.0,
clock-base=(uint)557477834, seqnum-base=(uint)16223, npt-start=(guint64)0,
play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20.GstGhostPad:sink.GstProxyPad:proxypad0:
caps = application/x-rtp, media=(string)video, payload=(int)26,
clock-rate=(int)90000, a-tool=(string)\"LIVE555\\ Streaming\\ Media\\
v2009.01.26\", a-type=(string)broadcast, x-qt-text-nam=(string)\"Session\\
streamed\\ by\\ stream\", x-qt-text-inf=(string)1, a-framerate=(string)25.0,
clock-base=(uint)557477834, seqnum-base=(uint)16223, npt-start=(guint64)0,
play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstRtpJPEGDepay:rtpjpegdepay0.GstPad:sink:
caps = application/x-rtp, media=(string)video, payload=(int)26,
clock-rate=(int)90000, a-tool=(string)\"LIVE555\\ Streaming\\ Media\\
v2009.01.26\", a-type=(string)broadcast, x-qt-text-nam=(string)\"Session\\
streamed\\ by\\ stream\", x-qt-text-inf=(string)1, a-framerate=(string)25.0,
clock-base=(uint)557477834, seqnum-base=(uint)16223, npt-start=(guint64)0,
play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstRtpJPEGDepay:rtpjpegdepay0.GstPad:src:
caps = image/jpeg, framerate=(fraction)25/1, width=(int)800, height=(int)600
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstJpegDec:jpegdec0.GstPad:sink:
caps = image/jpeg, framerate=(fraction)25/1, width=(int)800, height=(int)600
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20.GstDecodePad:src0: caps =
video/x-raw-yuv, format=(fourcc)I420, width=(int)800, height=(int)600,
framerate=(fraction)25/1
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstJpegDec:jpegdec0.GstPad:src:
caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)800,
height=(int)600, framerate=(fraction)25/1
/GstPipeline:pipeline0/GstFFMpegCsp:ffmpegcsp0.GstPad:src: caps =
video/x-raw-yuv, format=(fourcc)I420, width=(int)800, height=(int)600,
framerate=(fraction)25/1
/GstPipeline:pipeline0/GstFFMpegCsp:ffmpegcsp0.GstPad:sink: caps =
video/x-raw-yuv, format=(fourcc)I420, width=(int)800, height=(int)600,
framerate=(fraction)25/1
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20.GstDecodePad:src0.GstProxyPad:proxypad9:
caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)800,
height=(int)600, framerate=(fraction)25/1
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps =
video/x-raw-yuv, format=(fourcc)I420, width=(int)800, height=(int)600,
framerate=(fraction)25/1
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps =
video/x-raw-yuv, format=(fourcc)I420, width=(int)800, height=(int)600,
framerate=(fraction)25/1
/GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-actual-sink-xvimage.GstPad:sink:
caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)800,
height=(int)600, framerate=(fraction)25/1
/GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0.GstGhostPad:sink:
caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)800,
height=(int)600, framerate=(fraction)25/1
/GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0.GstGhostPad:sink.GstProxyPad:proxypad1:
caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)800,
height=(int)600, framerate=(fraction)25/1


What am I missing?

- Pavel 



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/RTSP-MJPEG-stream-playback-Poor-image-quality-problem-tp4656577p4656590.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list