[FFmpeg-user] How do I make ffplay play without high latency?
Jesse Gordon
tojesseg at gmail.com
Sat Nov 24 18:34:35 CET 2012
On 11/23/2012 12:51 PM, Nicolas George wrote:
> Le tridi 3 frimaire, an CCXXI, Jesse Gordon a écrit :
>> ffmpeg -i test.flv -f sdl -
> Yes, exactly.
>
>> (Didn't seem to work -- see below.)
>> [NULL @ 0x969e160] Requested output format 'sdl' is not a suitable output format
> This build of ffmpeg is not linked with SDL. You should try to build your
> own, that is not difficult and usually more efficient in the long run.
Yes, I've built ffmpeg many many times -- but my internet's a bit slow
so git takes a little while, and then compile takes a little while, so
sometimes I get lazy and go grab a static build when I want to know what
the latest version is like :-)
Anyway, so I tried that command above with a fresh git from a couple or
few days ago and it does play the video stream from the HTTP cam nicely
but the delay is still about a quarter of a second, or maybe only a
tenth of a second longer than mplayer -benchmark -- and mplayer adds
about half a second of delay.
So I guess my quest for fast decoding is still on!
I guess my next question is how to remove the delay out of ffmpeg so it
plays as fast/soon as it can.
There should be a call to a function I can comment out. I have a medium
skill with C so if someone can point me in the right direction I should
be able to figure it out.
Or is this the wrong mailing list to ask about source code specifics?
Thank you all very much,
Jesse
More information about the ffmpeg-user
mailing list