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
How to save an MP4 format using BeginAnimStream?
- airsoftsoftwair
- Posts: 5848
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: How to save an MP4 format using BeginAnimStream?
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.
Re: How to save an MP4 format using BeginAnimStream?
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
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
- airsoftsoftwair
- Posts: 5848
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: How to save an MP4 format using BeginAnimStream?
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.
Re: How to save an MP4 format using BeginAnimStream?
Ant hope to have an updated version of avcodec ?
- airsoftsoftwair
- Posts: 5848
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: How to save an MP4 format using BeginAnimStream?
That's unlikely. The problem is 68k compilers. The code quality of 68k compilers is very low nowadays which means that you have to manually find bugs in the code generator and implement workarounds. It was already very difficult to create a stable 68k port of ffmpeg back in 2010 when the avcodec.hwp was started. But since then ffmpeg has grown massively. Porting this to 68k is a nightmare because of the poor code quality of 68k C compilers. For all other platforms it would be much easier.