Converting a image to Raw video format

Magick.NET is an object-oriented C# interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick.NET
Post Reply
i73
Posts: 50
Joined: 2016-08-24T11:30:27-07:00
Authentication code: 1151

Converting a image to Raw video format

Post by i73 » 2018-12-13T15:12:47-07:00

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?

snibgo
Posts: 12289
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Converting a image to Raw video format

Post by snibgo » 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.
snibgo's IM pages: im.snibgo.com

i73
Posts: 50
Joined: 2016-08-24T11:30:27-07:00
Authentication code: 1151

Re: Converting a image to Raw video format

Post by i73 » 2018-12-13T16:14:45-07:00

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?

snibgo
Posts: 12289
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Converting a image to Raw video format

Post by snibgo » 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.
snibgo's IM pages: im.snibgo.com

i73
Posts: 50
Joined: 2016-08-24T11:30:27-07:00
Authentication code: 1151

Re: Converting a image to Raw video format

Post by i73 » 2018-12-14T10:42:38-07:00

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.

Post Reply