Page 1 of 1

Converting a image to Raw video format

Posted: 2018-12-13T15:12:47-07:00
by i73
It's not specific for .NET but IM but since I'll use it in .NET I'll ask here:

I'm wondering if I'm able to convert to raw video format (raw frames) with IM, Ideally .y4m , to then convert to another format, Is this possible with IM?

Re: Converting a image to Raw video format

Posted: 2018-12-13T16:02:36-07:00
by snibgo
IM uses ffmpeg as delegate for reading and writing video. If ffmpeg supports .y4m, then so does IM.

Re: Converting a image to Raw video format

Posted: 2018-12-13T16:14:45-07:00
by i73
snibgo wrote:
2018-12-13T16:02:36-07:00
IM uses ffmpeg as delegate for reading and writing video. If ffmpeg supports .y4m, then so does IM.
Do you mean IM uses FFmpeg as a task to convert to .y4m?

Re: Converting a image to Raw video format

Posted: 2018-12-13T16:58:10-07:00
by snibgo
IM contains no code to read or write video files (except animated GIF, if we can call that "video"). Instead, IM calls ffmpeg to do those jobs.

If you simply want to convert video from one format to another, IM is the wrong tool. I suggest you use ffmpeg directly.

Re: Converting a image to Raw video format

Posted: 2018-12-14T10:42:38-07:00
by i73
snibgo wrote:
2018-12-13T16:58:10-07:00
IM contains no code to read or write video files (except animated GIF, if we can call that "video"). Instead, IM calls ffmpeg to do those jobs.

If you simply want to convert video from one format to another, IM is the wrong tool. I suggest you use ffmpeg directly.
Yeah unfortunately I've already achieved this in FFmpeg but the FFmpeg licence doesn't allow us to use it in the project, so I'm looking at other alternatives.