TS Stream Transport Over UDP from .TS files

∥☆過路亽.° 提交于 2019-12-25 03:38:45

问题


I would like to transport ts stream (.ts files) over UDP.

I have used the below pipeline,

gst-launch-1.0 filesrc location=a.ts ! tsparse ! rtpmp2tpay ! udpsink host="IP" port=port

But, i am getting end of the stream within fraction of seconds.

At, Receiver end i am receiving some data only.

Warning arises when i set do-timestamp=true for filesrc.

0:00:00.051245178  4751       0xe494a0 WARN        mpegtspacketizer mpegtspacketizer.c:1388:calculate_skew: delta - skew: 5124091:34:25.044918089 too big, reset skew

If i removed the do-timestamp property in filesrc, then below warning arised.

0:00:00.031207435  3162       0x6c1a00 WARN                 basesrc gstbasesrc.c:3483:gst_base_src_start_complete:<filesrc0> pad not activated yet

TS file is created by decode and mpegtsmux of a yuv file.

That TS file is properly working when i directly demux & decode it.

But when i stream that ts file through UDP, then this problem arises.

How can i transport ts stream over UDP?

来源:https://stackoverflow.com/questions/34193678/ts-stream-transport-over-udp-from-ts-files

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!