[FFmpeg-user] Play from a FileDescriptor

Fabian Schuetz fabian.m.schuetz at googlemail.com
Sat Feb 8 13:05:06 CET 2014


I am using https://github.com/appunite/AndroidFFmpeg in an Android-Project
and was looking to add a way to the library to play from a Java FileDescriptor.

It is possible to get a low-level fd from a Java FileDescriptor. 
And I know that ffmpeg supports the 'pipe' protocol, to play from stdin, f.e.

So I think it should not be too much effort to write some jni-code that allows playing
from a FileDescriptor. However I cannot find the write function to start from in ffmpeg.

Any leads would be great. 


More information about the ffmpeg-user mailing list