[FFmpeg-user] Why VLC recieve and play TS stream with 10 seconds delay? I used my own application to send TS.

Nemo 377307289 at qq.com
Mon Jun 1 07:43:16 CEST 2015


My application read local ***.h264 file and pack it as MPEGTS, and write it to UDP address "udp://127.0.0.1:6666". Then, VLC open udp address such as "udp://@6666", it's buffer size param is "1000ms". 





But I found there is 10 seconds delay when VLC playing this network stream.What's wrong with my application? I have studyed it about two days. Please help me!




Attachment is my souce code file.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: h264_to_ts_udp.cpp
Type: application/octet-stream
Size: 8117 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20150601/c62568d9/attachment.obj>


More information about the ffmpeg-user mailing list