[FFmpeg-user] Encoding a stream of base64 image strings into video

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Jul 14 14:37:18 CEST 2015


Yotam Laufer <y <at> utab.com> writes:

> > You could implement an option to the pipe 
> > protocol to accept (and decode) base64.
> > Note that a base64 decoder exists in libavutil.
> 
> If you have an example on how to approach this 
> it will be most helpful.

I suspect the data protocol that you showed 
before should contain an example.
See libavformat/data_uri.c

> Does this mean modifying ffmpeg source code?

Yes, the pipe protocol is defined in 
libavformat/file.c

> > Please fix your quoting and do not top-post
> 
> I don’t fully understand the meaning here, but 
> would like to comply with the list’s posting
> guidelines. Is this reply formatted correctly?

Mostly; some prefer limits in the size of a line.

But thank you!

Carl Eugen


More information about the ffmpeg-user mailing list