I have a Java function which receives bytes of an H264 stream as follows:
void bytesReceived(byte[] bytes, int size)
Using ffmpeg, how can I transcode these bytes to some sort of image format? I would be happy with mp4, jpeg, etc. I've seen lots of examples using files and ffmpeg, but I don't know how I'd use the command line operations it offers to handle a stream of bytes.
Thanks.