LandscapeVideoCamera alternatives and similar packages
Based on the "SDK" category.
Alternatively, view LandscapeVideoCamera alternatives based on common mentions on social networks and blogs.
-
card.io-Android-SDK
card.io provides fast, easy credit card scanning in mobile apps -
Android-ReactiveLocation
Small library that wraps Google Play Service API in brilliant RxJava Observables reducing boilerplate to minimum. -
aws-sdk-android
AWS SDK for Android. For more information, see our web site: -
PayPal-Android-SDK
Accept PayPal and credit cards in your Android app -
android-checkout
Library for Android In-App Billing (Version 3+) -
Applozic-Android-Chat-Messaging-SDK
Official Android SDK for Applozic Real-time Chat & Messaging. Powerful client, offline support, and UI component libraries for awesome in-app chat features. -
countly-sdk-android
Countly Product Analytics Android SDK -
WeatherLib
Android Weather Library: android weather lib to develop weather based app fast and easily -
evernote-sdk-android
Evernote SDK for Android -
ANE-Facebook
Air Native Extension (iOS and Android) for the Facebook mobile SDK -
socialauth-android
SocialAuth repository which contains socialauth android version and samples -
poly-picker
Android library project for providing multiple image selection from the device. -
android-donations-lib
Donations library for Android. Supports Google Play Store, Flattr, PayPal, and Bitcoin -
MultipleImageSelect
Android library that provides for multiple image selection. -
Chat21 SDK Documentation
Android Chat SDK built on Firebase -
Office-365-SDK-for-Android
Microsoft Services SDKs for Android produced by MS Open Tech. -
Clusterkraf
A clustering library for the Google Maps Android API v2 -
android-simpl3r
Amazon S3 multipart file upload for Android, made simple -
Android-ShareEverywhere
Share all the things! -
Horoscope-API
Horoscope API for android to get the horoscope according to the sunsign -
Smartlook Android SDK
Qualitative Analytics for Android Apps -
LinkedIn-SDK-Android
A lightweight android library to implement Login with LinkedIn in your Android app. -
Twiiter Helper
A helper library that helps making twitter integration easy
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of LandscapeVideoCamera or a related project?
README
LandscapeVideoCamera
Highly flexible Android Camera which offers granular control over the video quality and filesize, while restricting recordings to be landscape only.
There are a number of issues with the default Android intent to capture videos (MediaStore.ACTION_VIDEO_CAPTURE
) which led me to create this library project:
- The default intent only accepts integer quality parameters of 0 (MMS quality) or 1 (highest available quality), using the intent extra
MediaStore.EXTRA_VIDEO_QUALITY
. - The default intent does not return the URI of the recorded file if it was specified when launching the intent.
- The default intent doesn't care whether users capture their video in portrait mode or landscape.
Features
This library provides a full and reusable custom camera, which:
- Forces the users to rotate their device to landscape
- Allows to specify the filename, or have the library generate one for you
- Allows very granular control over the capture settings:
- Resolution
- Bitrate
- Max filesize
- Max video duration
- audio/video codec
- switch between front and rear facing camera
- ...
How to use
1) Add the Jitpack repository to your project:
repositories {
maven { url "https://jitpack.io" }
}
2) Add a dependency on the library:
compile 'com.github.jeroenmols:LandscapeVideoCamera:1.3.0'
3) Specify the VideoCaptureActivity in your manifest:
<activity
android:name="com.jmolsmobile.landscapevideocapture.VideoCaptureActivity"
android:screenOrientation="sensor" >
</activity>
4) Request the following permissions in your manifest:
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
5) Create a CaptureConfiguration using the Builder
// Choose one of both
CaptureConfiguration.Builder builder = new CaptureConfiguration.Builder(CaptureResolution resolution, CaptureQuality quality);
CaptureConfiguration.Builder builder = new CaptureConfiguration.Builder(int videoWidth, int videoHeight, int bitrate);
// Optional
builder.maxDuration(maxDurationSec);
builder.maxFileSize(maxFileSizeMb);
builder.frameRate(framesPerSec);
builder.showRecordingTime(); // Show the elapsed recording time
builder.noCameraToggle(); // Remove button to toggle between front and back camera
// Get the CaptureConfiguration
CaptureConfiguration configuration = builder.build();
Note: When no CaptureConfiguration is specified, a default configuration will be used.
Note 2: Subclass the CaptureConfiguration class to set more advanced configurations. (codecs, audio bitrate,...)
6) Launch the VideoCaptureActivity
for result, add the CaptureConfiguration as an parcelable extra EXTRA_CAPTURE_CONFIGURATION
and optionally add a String extra EXTRA_OUTPUT_FILENAME
.
final Intent intent = new Intent(getActivity(), VideoCaptureActivity.class);
intent.putExtra(VideoCaptureActivity.EXTRA_CAPTURE_CONFIGURATION, config);
intent.putExtra(VideoCaptureActivity.EXTRA_OUTPUT_FILENAME, filename);
startActivityForResult(intent, RESULT_CODE);
7) Check the resultcode (RESULT_OK
, RESULT_CANCELLED
or VideoCaptureActivity.RESULT_ERROR
) and in case of success get the output filename in the intent extra EXTRA_OUTPUT_FILENAME
.
Questions
Thanks
*Note that all licence references and agreements mentioned in the LandscapeVideoCamera README section above
are relevant to that project's source code only.