[FFmpeg-user] bad performance when streaming udp from png image2pipe source

Paul B Mahol onemda at gmail.com
Wed Oct 31 13:46:42 CET 2012


On 10/31/12, Jacobs <jacobhameiri at gmail.com> wrote:
> Hello, I am streaming png images as a udp stream using this command:
>
> ffmpeg -an -y -f image2pipe -vcodec png -i /sdcard/tempfifo -f mpegts
> udp://192.168.5.52:1234
>
> output:
> http://pastebin.com/iFd07u4V
>
> this works but when trying to open the stream in the destination machine,
> ffplay fails to play the stream.
>
> ffplay command:
> ffplay.exe -i udp://127.0.0.1:1234 2> out.txt
>
> ffplay output:
> http://pastebin.com/NKMBujxy
>
> vlc starts showing the stream but with many frame glitches and with very
> high latency ( bot machines are on a local high speed wifi network )
>
> How can I get better streaming performance that also works in ffplay ?

You really need to use mpegts?

I'm not sure that mpegts(at least implementation in FFmpeg) can
suppport this scenario at all.


More information about the ffmpeg-user mailing list