Hi all
I need to use gstreamer and TI plugin using DSP for decode and show
a DVBT stream (MPEG2) caming from an udp source. I run the gstreamer
with the following command line:
gst-launch udpsrc multicast-group="239.0.0.1" port=1234 ! typefind !
mpegtsdemux name=demux demux.video_0101 ! TIViddec2
genTimeStamps=false codecName=mpeg2dec e
ngineName=codecServer ! TIDmaiVideoSink
The gstreamer show the video stream correctly but after some seconds
the video start to show some noise that seem caused by an incorrect
mpeg packets received. I tried to add the option
"displayBuffer=true" for show the circular frame buffer status and I
found the problem of this noise. Basically (as showed in the
"report" of circular buffer generated by TI plugin following) there
is a moment when the circular buffer is full (then the status
written is "B" and not "W" or "R") and, my supposition, the TI
plugin stop to receive data in await of new space into the circular
buffer. When a new space is available start to insert new data into
the buffer. This mechanism work without problems in case of read
from a file since the read can be stopped in any time and started
again from the same point. Unfortunately this doesn't work well for
mpeg stream since in the moment the buffer engine stop to store data
for buffer full all the next mpeg packes coming from the real time
stream are lost and when start again to put packets into buffer
there is an "hole" between the mpeg stream that cause the
syncroniztion noises into the video. I don't understand why this
problem happen. It seem that the visualization of the frame in the
video is a little too slow and can not guarantee to show 25 frames
per second as trasmitted by the DVBT stream, this create the buffer
overrun.
Someone know how to fix this probem?
Thank you
[R=====================|==========================W
]
[R=====================|===========================W
]
[R=====================|============================W
]
[
R=====================|===========================W
]
[
R=====================|============================W
]
[
R=====================|=============================W
]
[
R=====================|============================W
]
[
R=====================|===========================W
]
[
R=====================|============================W
]
[
R=====================|=============================W
]
[
R=====================|============================W
]
[
R=====================|=============================W
]
[
R=====================|============================W
]
[
R=====================|=============================W
]
[
R=====================|============================W
]
[
R=====================|===========================W
]
[
R=====================|============================W
]
[
R=====================|=============================W
]
[
R=====================|============================W
]
[
R=====================|=============================W
]
[
R=====================|============================W
]
[
R=====================|=============================W
]
[
R=====================|============================W ]
[
R=====================|=============================W ]
[
R=====================|==============================W ]
[
R=====================|=============================W ]
[
R=====================|==============================W ]
[
R=====================|=============================W ]
[
R=====================|==============================W ]
[
R=====================|=============================W ]
[
R=====================|==============================W ]
[
R=====================|=============================W ]
[
R=====================|==============================W ]
[
R=====================|=============================W ]
[
R=====================|==============================W ]
[
R=====================|=============================W ]
[
R=====================|============================W ]
[
R=====================|=============================W ]
[
R=====================|==============================W ]
[
R=====================|=============================W ]
[
R=====================|==============================W ]
[
R=====================|===============================W ]
[
R=====================|==============================W ]
[
R=====================|=============================W ]
[
R=====================|==============================W ]
[
R=====================|=============================W ]
[
R=====================|==============================W ]
[
R=====================|=============================W ]
[
R=====================|==============================W ]
[
R=====================|=============================W ]
[
R=====================|==============================W]
[
R=====================|=============================W]
[
R=====================|============================W]
[
R=====================|===========================W]
[
R=====================|==========================W]
[===========================B=====================|===========================]
[===========================WR=====================|==========================]
[============================B=====================|==========================]
[============================WR=====================|=========================]
[=============================B=====================|=========================]
[=============================WR=====================|========================]
[==============================B=====================|========================]
[==============================WR=====================|=======================]
[===============================B=====================|=======================]
[===============================WR=====================|======================]
[================================B=====================|======================]
[================================WR=====================|=====================]
[=================================B=====================|=====================]
[=================================WR=====================|====================]
[==================================B=====================|====================]
[==================================WR=====================|===================]
[===================================B=====================|===================]
[===================================WR=====================|==================]
[====================================B=====================|==================]
[====================================WR=====================|=================]
[=====================================B=====================|=================]
[=====================================WR=====================|================]
[======================================B=====================|================]
[======================================WR=====================|===============]
[=======================================B=====================|===============]
[=======================================WR=====================|==============]
[========================================B=====================|==============]
[========================================WR=====================|=============]
[=========================================B=====================|=============]
[=========================================WR=====================|============]
[==========================================B=====================|============]
[==========================================WR=====================|===========]
[==========================================W
R=====================|==========]
[===========================================WR=====================|==========]
[============================================B=====================|==========]
[============================================WR=====================|=========]
[=============================================B=====================|=========]
[=============================================WR=====================|========]
[==============================================B=====================|========]
[==============================================WR=====================|=======]
[===============================================B=====================|=======]
[===============================================WR=====================|======]
[================================================B=====================|======]
[================================================WR=====================|=====]
[=================================================B=====================|=====]
[R=====================|==========================W
]
[R=====================|===========================W
]
[R=====================|============================W
]
[
R=====================|===========================W
]
[
R=====================|============================W
]
[
R=====================|===========================W
]
[
R=====================|============================W
]
[
R=====================|===========================W
]
[
R=====================|============================W
]
[
R=====================|===========================W
]
[
R=====================|============================W
]
[
R=====================|===========================W
]
[
R=====================|============================W
]
[
R=====================|=============================W
]
[
R=====================|============================W
]
[
R=====================|=============================W
]
[
R=====================|============================W
]
[
R=====================|===========================W
]
[
R=====================|============================W
]
[
R=====================|=============================W
]
[
R=====================|============================W
]
[
R=====================|=============================W
]
[
R=====================|============================W ]
[
R=====================|=============================W ]
[
R=====================|============================W ]
[
R=====================|=============================W ]
[
R=====================|==============================W ]
[
R=====================|=============================W ]
[
R=====================|============================W ]
[
R=====================|=============================W ]
[
R=====================|============================W ]
[
R=====================|=============================W ]
[
R=====================|==============================W ]
[
R=====================|=============================W ]
[
R=====================|==============================W ]
[
R=====================|=============================W ]
[
R=====================|==============================W ]
[
R=====================|=============================W ]
[
R=====================|==============================W ]
[
R=====================|=============================W ]
[
R=====================|==============================W ]
[
R=====================|===============================W ]
[
R=====================|==============================W ]
[
R=====================|=============================W ]
[
R=====================|==============================W ]
[
R=====================|=============================W ]
[
R=====================|==============================W ]
[
R=====================|=============================W ]
[
R=====================|==============================W ]
[
R=====================|=============================W ]
[
R=====================|==============================W]
[
R=====================|=============================W]
[
R=====================|============================W]
[
R=====================|===========================W]
[
R=====================|==========================W]
[
R=====================|=========================W]
[===========================WR=====================|==========================]
[============================B=====================|==========================]
[============================WR=====================|=========================]
[=============================B=====================|=========================]
[=============================WR=====================|========================]
[==============================B=====================|========================]
[==============================WR=====================|=======================]
[===============================B=====================|=======================]
[===============================WR=====================|======================]
[================================B=====================|======================]
[================================WR=====================|=====================]
[=================================B=====================|=====================]
[=================================WR=====================|====================]
[==================================B=====================|====================]
[==================================WR=====================|===================]
[===================================B=====================|===================]
[===================================WR=====================|==================]
[====================================B=====================|==================]
[====================================WR=====================|=================]
[=====================================B=====================|=================]
[=====================================WR=====================|================]
[======================================B=====================|================]
[======================================WR=====================|===============]
[=======================================B=====================|===============]
[=======================================WR=====================|==============]
[========================================B=====================|==============]
[========================================WR=====================|=============]
[=========================================B=====================|=============]
[=========================================WR=====================|============]
[==========================================B=====================|============]
[==========================================WR=====================|===========]
[===========================================B=====================|===========]