¡@

Home 

2014/10/16 ¤W¤È 08:19:09

android Programming Glossary: mediaformat

Encoding H.264 from camera with Android MediaCodec

http://stackoverflow.com/questions/13458289/encoding-h-264-from-camera-with-android-mediacodec

MediaCodec.createEncoderByType video avc MediaFormat mediaFormat MediaFormat.createVideoFormat video avc 320 240 mediaFormat.setInteger.. MediaFormat.createVideoFormat video avc 320 240 mediaFormat.setInteger MediaFormat.KEY_BIT_RATE 125000 mediaFormat.setInteger.. 240 mediaFormat.setInteger MediaFormat.KEY_BIT_RATE 125000 mediaFormat.setInteger MediaFormat.KEY_FRAME_RATE 15 mediaFormat.setInteger..

MediaCodec and Camera: colorspaces don't match

http://stackoverflow.com/questions/13703596/mediacodec-and-camera-colorspaces-dont-match

MediaCodec.createEncoderByType video avc MediaFormat mediaFormat MediaFormat.createVideoFormat video avc 640 480 mediaFormat.setInteger.. MediaFormat.createVideoFormat video avc 640 480 mediaFormat.setInteger MediaFormat.KEY_BIT_RATE 500000 mediaFormat.setInteger.. 480 mediaFormat.setInteger MediaFormat.KEY_BIT_RATE 500000 mediaFormat.setInteger MediaFormat.KEY_FRAME_RATE 15 mediaFormat.setInteger..

Using MediaCodec to save series of images as Video

http://stackoverflow.com/questions/18795353/using-mediacodec-to-save-series-of-images-as-video

codec MediaCodec.createEncoderByType MIMETYPE MediaFormat mediaFormat null if CamcorderProfile.hasProfile CamcorderProfile.QUALITY_720P.. CamcorderProfile.hasProfile CamcorderProfile.QUALITY_720P mediaFormat MediaFormat.createVideoFormat MIMETYPE 1280 720 else mediaFormat.. MediaFormat.createVideoFormat MIMETYPE 1280 720 else mediaFormat MediaFormat.createVideoFormat MIMETYPE 720 480 mediaFormat.setInteger..

Encoding H.264 from camera with Android MediaCodec

http://stackoverflow.com/questions/13458289/encoding-h-264-from-camera-with-android-mediacodec

initialized catch Exception e e.printStackTrace mediaCodec MediaCodec.createEncoderByType video avc MediaFormat mediaFormat MediaFormat.createVideoFormat video avc 320 240 mediaFormat.setInteger MediaFormat.KEY_BIT_RATE 125000 mediaFormat.setInteger.. MediaCodec.createEncoderByType video avc MediaFormat mediaFormat MediaFormat.createVideoFormat video avc 320 240 mediaFormat.setInteger MediaFormat.KEY_BIT_RATE 125000 mediaFormat.setInteger MediaFormat.KEY_FRAME_RATE 15 mediaFormat.setInteger MediaFormat.KEY_COLOR_FORMAT.. mediaFormat MediaFormat.createVideoFormat video avc 320 240 mediaFormat.setInteger MediaFormat.KEY_BIT_RATE 125000 mediaFormat.setInteger MediaFormat.KEY_FRAME_RATE 15 mediaFormat.setInteger MediaFormat.KEY_COLOR_FORMAT MediaCodecInfo.CodecCapabilities.COLOR_FormatYUV420Planar..

MediaCodec and Camera: colorspaces don't match

http://stackoverflow.com/questions/13703596/mediacodec-and-camera-colorspaces-dont-match

I'm instantiating the MediaCodec object as follows mediaCodec MediaCodec.createEncoderByType video avc MediaFormat mediaFormat MediaFormat.createVideoFormat video avc 640 480 mediaFormat.setInteger MediaFormat.KEY_BIT_RATE 500000 mediaFormat.setInteger.. MediaCodec.createEncoderByType video avc MediaFormat mediaFormat MediaFormat.createVideoFormat video avc 640 480 mediaFormat.setInteger MediaFormat.KEY_BIT_RATE 500000 mediaFormat.setInteger MediaFormat.KEY_FRAME_RATE 15 mediaFormat.setInteger MediaFormat.KEY_COLOR_FORMAT.. mediaFormat MediaFormat.createVideoFormat video avc 640 480 mediaFormat.setInteger MediaFormat.KEY_BIT_RATE 500000 mediaFormat.setInteger MediaFormat.KEY_FRAME_RATE 15 mediaFormat.setInteger MediaFormat.KEY_COLOR_FORMAT MediaCodecInfo.CodecCapabilities.COLOR_FormatYUV420Planar..

Using MediaCodec to save series of images as Video

http://stackoverflow.com/questions/18795353/using-mediacodec-to-save-series-of-images-as-video

player so something is wrong. Here is my code MediaCodec codec MediaCodec.createEncoderByType MIMETYPE MediaFormat mediaFormat null if CamcorderProfile.hasProfile CamcorderProfile.QUALITY_720P mediaFormat MediaFormat.createVideoFormat MIMETYPE 1280.. MIMETYPE MediaFormat mediaFormat null if CamcorderProfile.hasProfile CamcorderProfile.QUALITY_720P mediaFormat MediaFormat.createVideoFormat MIMETYPE 1280 720 else mediaFormat MediaFormat.createVideoFormat MIMETYPE 720 480 mediaFormat.setInteger.. CamcorderProfile.QUALITY_720P mediaFormat MediaFormat.createVideoFormat MIMETYPE 1280 720 else mediaFormat MediaFormat.createVideoFormat MIMETYPE 720 480 mediaFormat.setInteger MediaFormat.KEY_BIT_RATE 700000 mediaFormat.setInteger..