GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Android_Samples/Camera221 at master · Probir-CSE/Android_Samples

Expand file tree

/

Camera221

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

Camera221

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
.idea
.idea
 
 
app
app
 
 
gradle/wrapper
gradle/wrapper
 
 
library
library
 
 
screenshot
screenshot
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle
settings.gradle
 
 

README.md

Outline

Camera 221 - Android Samples

record Video using Camera2 API and MediaCodec

the VLC and ffplay can play h264 file as Video

however, MediaRecorder is best, for the purpose of recording Video


screenshot

Camera Preview

show Setting Activity, when click "Setting" icon

ImageFormatConverter

convert YUV420_888 to YUV420Planar
https://github.com/ohwada/Android_Samples/tree/master/ImageFormatConverter

Note

the VLC and the ffplay can play H264 file as Video
they can not play neither H263 nor VP8

TODO

played video turns green, at only resolution 480x360

Reference

  • https://developer.android.com/reference/android/hardware/camera2/package-summary
  • https://developer.android.com/reference/android/media/MediaCodec
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.