Freezing video after some time - A lot of buffers are being droped

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Freezing video after some time - A lot of buffers are being droped

ソリューションへジャンプ
8,115件の閲覧回数
radojko
Contributor II

I'm using Gstreamer pipeline to play rtsp stream : gst-launch rtspsrc location=rtsp://192.168.180.230:5501/live latency=1000 ! rtph264depay ! vpudec ! mfw_v4lsink

Video quality in beginning  is good but after several minutes playback start to freezing - like slow motion video and never back to normal state. From that moment in console output I have many warnings:

WARNING: from element /GstPipeline:pipeline0/MFW_GST_V4LSINK_INFO_T:mfw_gst_v4lsink_info_t0: A lot of buffers are being dropped.

Additional debug info:

gstbasesink.c(2875): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/MFW_GST_V4LSINK_INFO_T:mfw_gst_v4lsink_info_t0:

There may be a timestamping problem, or this computer is too slow.

Does anybody have similar problem?

ラベル(3)
1 解決策
4,383件の閲覧回数
Yuri
NXP Employee
NXP Employee

Please try the following :


gst-launch rtspsrc protocols=tcp location=rtsp://dw.edge.wowza.gl-systemhaus.de/liveedge/dw_w_tv-europa_l ! rtph264depay ! vpudec frame-plus = 10 low-latency=true  ! queue ! mfw_v4lsink axis-left=0 axis-top=0 disp-width=320 disp-height=240

元の投稿で解決策を見る

4 返答(返信)
4,383件の閲覧回数
Yuri
NXP Employee
NXP Employee

Please try to add buffering :

vpudec ! queue ! mfw_v4lsink

vpudec ! queue max-size-bytes=0 max-size-time=0 ! mfw_v4lsink

0 件の賞賛
4,383件の閲覧回数
radojko
Contributor II

Thanks Yuri,

it seems local stream works better then online, online stream is not good from start.

Can you check this online stream, for me it's unwatchable on imx6 but on PC/VLC is good:

gst-launch rtspsrc protocols=tcp location=rtsp://dw.edge.wowza.gl-systemhaus.de/liveedge/dw_w_tv-europa_l latency=1000 ! rtph264depay ! vpudec ! queue max-size-bytes=0 max-size-time=0 ! mfw_v4lsink axis-left=0 axis-top=0 disp-width=320 disp-height=240

0 件の賞賛
4,384件の閲覧回数
Yuri
NXP Employee
NXP Employee

Please try the following :


gst-launch rtspsrc protocols=tcp location=rtsp://dw.edge.wowza.gl-systemhaus.de/liveedge/dw_w_tv-europa_l ! rtph264depay ! vpudec frame-plus = 10 low-latency=true  ! queue ! mfw_v4lsink axis-left=0 axis-top=0 disp-width=320 disp-height=240

4,383件の閲覧回数
radojko
Contributor II

Thanks Yuri, online stream is now much better.

Now I have problem with noticeable audio delay if I try to decode video with audio:

gst-launch rtspsrc protocols=tcp location=rtsp://dw.edge.wowza.gl-systemhaus.de/liveedge/dw_w_tv-europa_l name=demux demux. ! queue max-size-buffers=0 max-size-time=0 ! rtph264depay ! vpudec frame-plus = 2 low-latency=true ! mfw_v4lsink axis-left=0 axis-top=0 disp-width=1280 disp-height=720 demux. ! queue max-size-buffers=0 max-size-time=0 ! rtpmp4gdepay ! beepdec ! audioconvert ! 'audio/x-raw-int, channels=2' ! alsasink device='hw:1,0'

0 件の賞賛