Code Monkey home page Code Monkey logo

videosnap'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

videosnap's Issues

Is there a way to record audio only with no video?

This code is a true gem! I've got it up and running, and it works as stated. My one question: I see that it is possible to record video with no audio, but is it possible tor record audio only (no video)? Any adjustments I could do from my end, or would this require a revision from ground up? Any input or ideas are appreciated! Sorry if this is the improper way to ask, I'm unfamiliar. Thanks for sharing!

Resultant Files Won't Play on iOS 12

I apologize if this has nothing to do with this program; I suspect this is the case, but I've searched about high and low and cannot figure it out. I'm wondering if you might have some time to offer any input/advice.

I'm running on a Mac Mini (Late 2014) 2.6ghz i5, running the public beta of Mojave 10.14.3.

When I execute the program, I immediately get the following output:

GVA encoder info: recomputed for fps: 29.970030, got size in pics: 29, got size in sec: 1.000000

Everything appears to run smoothly after this, and it creates a file that I can view as I would expect...

The thing is: the files won't play on iOS. I see a thumbnail, and when I tap it, the timeline appears to load, but then just nothing happens; no audio, no video.

I've been uploading the files to iCloud Drive and sharing them out to family members; they can only view the files on a Mac (haven't tried on a windows box). Out of 6-7 different iOS devices (mostly running iOS 12), nobody can view the videos (unless they use a Mac).

I've tried several other more direct file transfers to account for iCloud Drive weirdness (e.g. directly to my iPhone X); nothing plays.

The only thing that does work on iOS is to view things through VLC.

Are you aware of any codec changes that might have happened in AVFoundation in Mojave or its betas that might cause this? Any idea how to work around it? I'm going to attempt to un-enrol from the beta and see what happens.

Many thanks for your time and expertise! Feel free to close this without comment if you just don't have time.

unknown duration?

What if you want to record a video of an unknown length? Is there a way to have it record the video until you press Ctrl+C?

'videosnap: Bad CPU type in executable' on Intel Core Duo 1.66ghz / 10.5.8

Hello. I've been using this happily on newer hardware, but I just inherited an older 2006 era Mac Mini running at 1.66ghz and on Mac OS X.5.8 (Leopard). As per the readme, this should be supported? The thing is, I get "videosnap: Bad CPU type in executable" when running videosnap -l

Any ideas?

Thank you for the awesome utility :)

Add crop

I would like a CLI for recording a specific part of the screen with Quicktime Player
Current manual method:
Quicktime Player (10.4)

  • File > New Screen Recording
  • Click red circle "Record" button.
  • Drag with mouse rectangle dimensions that you want to record. (Starts recording on mouseup).
  • Stop recording by clicking round black circle in menu bar.

Need to be able to pass TopLeft(x,y) and BottomRight(x,y) to record just that part of the screen.

Camera access privacy-sensitive

I use command line tool app and i have a crash because "because it attempted to access privacy-sensitive data without a usage description".

I tried to build my own command line tool which record from connected camera but I get the same issue. I tried to add info.plist with NSCameraUsageDescription key and add Request authorization for Capture function but i didn't get any success. It crashes and I get the same error.

Multiple simultaneous recordings support

When I open two terminals and call videosnap in both at roughly the same time, the second instance waits till the first is done recording and only then starts recording even when using two different webcams. So it is not possible to capture multiple webcam streams at the same time

AVFoundation/Pipes?

This is a useful application. I forked it because I need pipes support. While I'm digging around, I noticed that QTKit is deprecated. I'm just about done moving it to AVFoundation. Do you want me to do a pull request when I'm done?

Fantastical

Maybe this is outdated and there's a better Solution but if not then I don't know what people think what is important.

I mean what is practical. I am living on windows still unfortunately though.

Maybe there is a Windows version or a possibility to execute this from

I just have to get the OS X Docker container running. And then I will try this amazing thing. Thank you

Devices with diacritics in a name can't be used

Thanks you very much for this tool!

I found out during testing it that it doesn't handle diacritics in a device name properly. (Maybe non-ASCII characters or some issue with UTF-8 vs. UTF-16 encoding?)

kaspar@Matejs-MacBook-Pro Downloads % ./videosnap -l
Found 2 available video devices:
* FaceTime HD Camera (Built-in)
* Kašpar's iPhone XS
kaspar@Matejs-MacBook-Pro Downloads % ./videosnap --no-audio -d "Kašpar's iPhone XS"
Device "Kašpar's iPhone XS" not found - aborting

Faster startup time?

videosnap is awesome, it gives much better experience compared to ffmpeg on video recording. Onething is that the startup time is quite costly, which is not ideal if you need to record multiple small videos instead of a big one. I wonder if there is a way to speed that up, if not, perhaps allow videosnap to run in server mode where it possible to tell it when to start/stop capture video and it will respond in just a matter of milliseconds.

Running multiple videosnap sessions simultaneously

I was wondering if it was possible to run multiple versions of videosnap (say I have 3 cameras attached) is there a way to launch videosnap on each one simultaneously (perhaps by defining which attached camera I am want for each)? Or will it kill the earlier session when I run the new one?

Cannot record video from iPhone on M1 based Macs

I am not able to capture any videorecording on connected iPhone. Recording works as expected using QuickTime.
See the verbose output of videosnap -p High -d "$DEVICE_NAME" "$FILENAME" below:

(caught signal: [2])
(stopping recording)
(finished writing to movie file)
(stopping capture session)

Failed to capture any video
(reason: Cannot Record)

Turns out this is supposedly an issue on Apple side. See https://developer.apple.com/forums/thread/677199?login=true&page=1#692431022

Select audio source

Hi,
I'm trying to capture both audio and video from a USB device (AV to USB). While the video capture works perfectly, the audio is being recorded from my Mac's mic. Is there a flag to force the audio source as well? Thanks :)

Webcams with same name: target by port ID?

Hi,

Thanks for this tool. I’ve been using it a lot for multiple plugged webcams.

Yet, lately the webcams lost their unique identifier, they are all named BRIO. There is no way for me to rename then. It makes it impossible to target one since the name is always the same.

Is there a way, I could target the Port instead (similar to openCV)?

Kind Regards,

Clément

Fix videosnap millisec record time issues

Exact length timing of captured output is imperfect given camera warm up time. Investigate possible fixes so that exact duration can be specified to the milli-second. (use ffmpeg -i to examine video output)

can not find iphone devices which I plugged into my mac

actually I want to use this command line tool to capture video of my iphone which I plugged into my mac when I do some manipulations on it, but after I execute videosnap in my mac: ./video -l, it only list my facetime HD camera, but no my iphone, but I can see my iphone when I open quicktime, any suggestions,thanks.

2016-05-20 11 27 28

not working on Remotely(SSH)

Target device:
ProductName: Mac OS X
ProductVersion: 10.14.4
BuildVersion: 18E226

Error: abort trap: 6

_Request:

  1. is it possible to run this remotely??
  2. is it possible to add a screenrecord,screenshot and camcapture. like FFMPEG, the video is so much smoother than the FFMPEG. great job._

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.