On 16/06/2010 13:23, Luca Abeni wrote:
On 06/16/2010 01:39 PM, Mark Kenna wrote:
[...]
Hi - thanks for the reply. I should probably make it clear that I will
not be writing to a file, rather sending the video data over a custom
protocol. When I call avcodec_encode_video it should return 0 or the
number of bytes encoded. I can see from examining outbuf that nothing
has been written to the output buffer.
Depending on the configuration, libx264 can have a high encoding
latency...
You might need to feed a large number of frames before seeing some output
from the encoder.
Luca
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user
Hi Luca
I just found this out myself, I have to read quite alot of data before
the encoder will start to populate the buffer (I was being lazy and not
waiting).
Thanks,
Mark.
--
Mark Kenna
European Fulfilment Manager / Application Developer
SureView Systems
Tel (UK): +44 (0) 1792 485600
Tel (US): 813 413 1314
Email: [email protected]
Web: http://www.sureviewinternational.com
Support: http://www.sureviewinternational.com/support
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user