How to save an MP4 format using BeginAnimStream?

Discuss any general programming issues here
Post Reply
ilbarbax
Posts: 155
Joined: Thu Apr 01, 2010 6:41 pm

How to save an MP4 format using BeginAnimStream?

Post by ilbarbax »

As far as I understood from the manual BeginAnimStream can save only on 3 formats gif iff and avi. On the other way it is possible to use the adapter, but I don't understand how.
Of course I loaded avcoded.hwp

thanks for any hint
User avatar
airsoftsoftwair
Posts: 5834
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: How to save an MP4 format using BeginAnimStream?

Post by airsoftsoftwair »

avcodec.hwp currently doesn't export any savers but only loaders for video formats. That's why you can't save in MP4 with it currently.
ilbarbax
Posts: 155
Joined: Thu Apr 01, 2010 6:41 pm

Re: How to save an MP4 format using BeginAnimStream?

Post by ilbarbax »

Thanks.
Then I have to generate an mjpeg file and then convert it with an external application.
By the way concerning avcodec.hwp I start from some MOV files, that avcodec is supposed to read, however I receive a message that this format is not supported. Also in this case to proceed I had to convert the file MP4 first
User avatar
airsoftsoftwair
Posts: 5834
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: How to save an MP4 format using BeginAnimStream?

Post by airsoftsoftwair »

ilbarbax wrote: Sun Nov 09, 2025 9:11 am By the way concerning avcodec.hwp I start from some MOV files, that avcodec is supposed to read, however I receive a message that this format is not supported.
Yes, that can happen. Keep in mind that avcodec is based on an ffmpeg version from 2010 and MOV is only a container format that could use everything from old QuickTime encoders to very recent ones so if avcodec fails to load it, it's very likely a MOV that uses a very recent video compression which wasn't available back in 2010.
ilbarbax
Posts: 155
Joined: Thu Apr 01, 2010 6:41 pm

Re: How to save an MP4 format using BeginAnimStream?

Post by ilbarbax »

Ant hope to have an updated version of avcodec ?
Post Reply