Moxa vbox and gstreamer

Erwin Rol mailinglists at erwinrol.com
Tue Apr 5 03:52:26 PDT 2011


Hallo All,

I am working on a gstreamer based application that should display a 
RTSP/RTP MPEG4 stream from a Moxa Vport  351. It works with the 
following pipeline

gst-launch playbin2 uri=rtsp://192.168.1.160:554/multicastStream

The rtsp part seems to work, and the RTP stream looks OK when looking at 
the sequence numbers with wireshark.

but somehow gstreamer gets confused with the timestamps. The video 
stream has a "clock" in it that shows the hours, minutes and seconds. 
Every few seconds the display is corrupt and old data is show, which can 
be seen because the clock jumps back a second or so.

With debugging enabled ffmpeg also reports endless errors like;

0:00:06.861877897  2297  0x824df78 ERROR                 ffmpeg :0:: 
warning: first frame is no keyframe
0:00:06.958982702  2297  0x824df78 ERROR                 ffmpeg :0:: 
header damaged
0:00:06.959167991  2297  0x824df78 WARN                  ffmpeg 
gstffmpegdec.c:2259:gst_ffmpegdec_frame:<ffdec_mpeg40> ffdec_mpeg4: 
decoding error (len: -1, have_data: 0)
0:00:07.069453665  2297  0x824df78 ERROR                 ffmpeg :0:: 
header damaged
0:00:07.069633157  2297  0x824df78 WARN                  ffmpeg 
gstffmpegdec.c:2259:gst_ffmpegdec_frame:<ffdec_mpeg40> ffdec_mpeg4: 
decoding error (len: -1, have_data: 0)
0:00:07.365365037  2297  0x824df78 ERROR                 ffmpeg :0:: 
header damaged

What I also noticed is the QOS events that seem to also come endlessly 
and seem to have big and ever changing diffs.

gstevent.c:847:gst_event_new_qos: creating qos proportion 20.354596, 
diff 75293916, timestamp 0:00:20.718690461
gstevent.c:847:gst_event_new_qos: creating qos proportion 16.779574, 
diff 91543615, timestamp 0:00:20.818613705
gstevent.c:847:gst_event_new_qos: creating qos proportion 16.291862, 
diff 38436128, timestamp 0:00:20.918632185
gstevent.c:847:gst_event_new_qos: creating qos proportion 15.497463, 
diff -16850580, timestamp 0:00:21.018442293
gstevent.c:847:gst_event_new_qos: creating qos proportion 14.509505, 
diff -77404486, timestamp 0:00:21.118452403
gstevent.c:847:gst_event_new_qos: creating qos proportion 13.412689, 
diff -93598613, timestamp 0:00:21.218393215
gstevent.c:847:gst_event_new_qos: creating qos proportion 9.915291, diff 
238645734, timestamp 0:00:21.318412354

Anny idea where I should start looking ? I already tried the latest GIT 
sources but the result is the same.

Any help is welcome cause i a really stuck with this problem.

- Erwin






More information about the gstreamer-devel mailing list