[FFmpeg-user] what's wrong with my H264_TO_TS(const char* h264, const char* udp_addr) funtion?

Nemo 377307289 at qq.com
Tue Jun 2 03:31:01 CEST 2015


My application read local ***.h264 file (raw h264) 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. If you need, I can send you whole ***.sln Visual Studio project.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: H264_TO_TS.cpp
Type: application/octet-stream
Size: 8086 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20150602/92fa76d2/attachment.obj>


More information about the ffmpeg-user mailing list