[Libav-user] programmatically output streaming (mpeg-ts over udp)
battistel at gmail.com
Sat Jun 8 19:48:17 CEST 2013
ok, I started from mux sample here:
I made these changes:
1. I forced mpegts as muxer
2. I set output file as udp://ipaddr:port
3. The while cicle that writes packets runs forever (it never checks if pts
I test stream with: ffplay udp://ipaddr:port
I can hear audio but no video (I can only see first frame), plus cpu is too
high (> 65%)
Do I have to control the speed at which I output packets? How? If adding
Sleep(x) in the while cicle, it goes well for the first 10 seconds, then
video starts loosing frames and audio becomes choppy.
2013/6/8 Kalileo <kalileo at universalx.net>
> On Jun 9, 2013, at 00:19 , Massimo Battistel wrote:
> > hello,
> > I would like to know if there are some code samples and/or tutorials for
> programmatically output streaming (mpeg-ts over udp) using
> > I can't find anything on ffmpeg web site.
> Nothing special needed, because it's not different then writing to a file,
> select mpegts as muxer and your target udp url as filename.
> Libav-user mailing list
> Libav-user at ffmpeg.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user