[FFmpeg-devel] [PATCH] img2.c cache packet if loop_input and only one picture
Michael Niedermayer
michaelni
Sat May 23 19:32:04 CEST 2009
On Sat, May 23, 2009 at 12:53:37PM +0200, Peter Holik wrote:
> Hi!
>
> I liked to watch a picture from a cgi script on my TV (VDR / iptv) with
>
> ffmpeg -r 1 -f image2 -vcodec png -loop_input -i "http://server/cgi-bin/graph.cgi" -f mpegts -r 25
> -re -vcodec mpeg2video -b 4000k -an "udp://127.0.0.1:${PORT}?pkt_size=16356"
>
> But img2 with "loop_input" connects for each read (but it's always the same picture).
>
> My idea was to cache the packet if "loop_input" and only one picture to fetch.
An individual demuxer is not the correct place for a packet cache
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090523/ebf7c63b/attachment.pgp>
More information about the ffmpeg-devel
mailing list