Manevolent / ffmpeg4j

A Java OOP FFmpeg wrapper around the JavaCPP FFmpeg native library bindings
Apache License 2.0
105 stars 15 forks source link

FFmpegIO automatic format parsing #11

Open stashymane opened 1 year ago

stashymane commented 1 year ago

With FFmpegIO input/output streams, you currently have to specify the format manually, however in my use-case it's not always possible to pre-determine the format with either the file name or user input - the only option is to open the file and attempt to read. Would be great if FFmpegIO could automatically determine the file format (with FFProbe, for example).

Manevolent commented 1 year ago

I think there is an option for us to be able to do this. I will keep this in mind; it may require seeking, but I just added that with SeekableByteChannels.