GithubHelp home page GithubHelp logo

tlstorycamera's Introduction

TLStoryCamera

TODO

  • Support CocoaPods
  • Fix bugs

Introduce

  • 仿照instagramStory & WeiBoStory。可以在拍摄视频后贴图,贴字,涂鸦。
  • You can put up picture, text or doodle after shooting a video. just like the app Instagram and Weibo 's story

Requirements

  • iOS 8.0 or later
  • Swift 4.0 or later
  • Xcode 8.0 or later

Character

  • 基本实现WeiboStory的大部分功能
  • Implement most of the function of Weibo's story
  • 支持滑动切换滤镜
  • Support slide filter
  • 支持码率,美颜开关等多项配置
  • Support config kpbs, beautifyFilter
  • 支持长按录像&短按拍照
  • Support long press to shoot a video or short press to take a photo
  • 支持相册选择图片&视频
  • Support import video or photo from album
  • 支持添加导出视频水印
  • Support watermark of output movie

Depend on framwork

  • GPUImage
  • MBProgressHUD

Usage

  • 请使用真机运行Demo
  • Please use iOS device run this demo
let storyVc = TLStoryViewController()
storyVc.view.frame = CGRect.init(x: 0, y: -44, width: screenWidth, height: screenHeight)
storyVc.delegate = self
scrollView.addSubview(storyVc.view)
self.addChildViewController(storyVc)

extension ViewController:TLStoryViewDelegate {
    func storyViewClose() {
    }
    
    func storyViewRecording(running complete: Bool) {
    
    }
     
    //get output video & photo
    func storyViewDidPublish(type: TLStoryType, url: URL?) {
        guard let u = url else {
            return
        }
        print("\(type)-----\(u)")
    }
}

FAQ

Warning!

  • 项目部分图片素材来自WeiBo,请替换后使用!
  • Partial resourse come frome Weibo, please use after replacing

Images

tlstorycamera's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tlstorycamera's Issues

Memory leak in framework

If you dismiss a TLStoryViewController, but all the other views still remain in memory, you can check the memory graph in xcode.
I also found a solution all you need to do is just add weak with TLStoryDoodleViewDelegate in TLStoryDoodleView class

BTW thank you for the library!!!

Audio sync issue in video preview

Hello,

We are using this library for our application it works well.

But while capturing video with front face camera, I have found an issue serval times that voice in the video and video preview do not match. There is no sync in video and its sound. For ex. I have turned on the front camera and start recording with some speech. When i look into the preview my words do not match with audio. There is some delay in the audio.

Is there any way to solve out this issue?

Please do let me know.

Thank You,
Bhavin

Processing takes longer time

Hi

We are using this library in one of the application & its awesome. We have an issue with the time required to do the processing that generate new video.

What we found is if we are taking video of 55 seconds, to generate the final video, it takes around 1:00-1:20 minutes to process & make final video.

Is there any improvement which can be used so that video can be generated within 10-15 seconds?

Please do let me know.

OR

What I want to do is not to wait until video is processing. Means after I click Publish, I want go back & record new video.
I want user to record multiple videos even old video is processing.

Thanking You,
Fahim

No Focus or Two Tap Camera Switch

With the latest release of TLStoryCamera a few things have taken a step backward.

First off, focus does not exist anymore on the latest version for some reason.

Second, recording or not you cannot tap the screen two times to make the camera switch.

Crash

When I writing text in video then heppen crash
Unexpectedly found nil while unwrapping an Optional value

screen shot 2018-03-31 at 14 52 03

screen shot 2018-03-31 at 14 52 17

Can’t run when adding the project as sub-project

Successfully builds, but then on run time it crashes with the following error:

dyld: Library not loaded: @rpath/TLStoryCameraFramework.framework/TLStoryCameraFramework
  Referenced from: /var/containers/Bundle/Application/58611AD6-F3FB-48D3-85EE-9C92AB0F6E61/<app_file_name>.app/<app_name>
  Reason: image not found

Force photo only mode. Disable video

Hey there, first I wanna say that your project is awesome and I can’t wait to start using it in my app.

My project is photos only and I can’t yet support videos. Is there a way to disable taking videos and force it to take photos for tap and long press?

Thanks!

Video Quality is low when captured from TLStoryCamera

The video captured from TLStoryCamera is blurred as compared to video taken from device camera.
Please let us know the exact setting values so that we can capture clear videos using library similar to the device camera

Front camera flash not working

Hello,
There is an issue related the front camera flash we are unable to find the camera position also , kindly do help if any one has solved this issue

Thank you

Unexpectedly found nil, on first run

@timelessg This is an amazing project, Great job. Theres just one issue. when i run the app i get a crash saying unexpectedly found nil and i don't know why. can you fix this. There is an image below

screen shot 2017-06-15 at 10 21 43 pm

Cocoapods

Is there a way to install it using Cocoapods? or any guide to install the camera on my project?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.