问题
I'm searching for a video format that would be compatible both with most media website like flickr and with Windows Phone 8.
WP8 support: MP3, WMA, WMA, 3GP, 3G2, AMR, 3GP, 3G2, MP4, M4A, MPR, AAC, 3GP, 3G2, MP4, M4A, AAC, 3GP, 3G2, MP4, M4A, AAC
I've read several documentation about media encoding on Windows Phone to find that nothing can turn images into video. Most WP apps are using online Azure services to encode medias, because of CPU concerns, I guess.
I'm currently developing an application where I need to convert frames to video "on the fly". Saving it as an AVI would be the simplest - though space consuming - way to achieve it. But I fear it won't be compatible on both side.
To summarize, what I'm doing is capturing video with VideoSink
, receiving frames with OnSample
, and re-encoding it. I'm just searching the simplest codec to encode it. Or "coder", since I won't decode it.
Are there some codecs, either lossless or non-lossless, that can easily be adapted into C# without any C++ or native DLL?
来源:https://stackoverflow.com/questions/16905826/easiest-well-known-video-compression-codec-that-can-be-coded-from-scratch