Giter Club home page Giter Club logo

push_to_talk's People

Contributors

britalmeida avatar darkdefender avatar fsiddi avatar rainerschoe avatar tin2tin avatar

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

push_to_talk's Issues

Resulting strip is (too) short

Is it only on Windows the resulting strip is cut shorter. Like this?
Push_to_too_short

The fps seems to be set correct in the command line. Any ideas how to solve this?

EDIT: If it is the first part which is missing(slow start up of ffmpeg?), maybe the strip end should be aligned with the stopped playhead position instead of the start position?

Push to Talk not Finding Mic

Hi, I've installed the add on to Blender 3.3. I can't select my mic from the drop down in the configuration in the video editor. Please advise on what configuration I'm missing.

Thank you

Investigate exposing Blender support for audio recording

In the interest of saving people from having to install ffmpeg separately, it would be good to use Blender's own ffmpeg, but that is currently not possible.

Needs doing: look up what functionality Blender offers via ffmpeg or audaspace and how that is (not?) exposed to add-ons.
Volunteers willing to investigate are welcome.

Recording Lag

I noticed in recent Blender 2.92 that recording has "lag". Sometimes the recording only started few frames after recording already running, so the audio being cut incorrectly.

If I do multiple recording with frame running, I can also see gap.

Attempting to do a patch to add Windows recording

Fork:
https://github.com/tin2tin/blender_addon_push_to_talk/blob/master/__init__.py

Showstoppers:

c:\> ffmpeg -list_devices true -f dshow -i dummy
ffmpeg version N-45279-g6b86dd5... --enable-runtime-cpudetect
  libavutil      51. 74.100 / 51. 74.100
  libavcodec     54. 65.100 / 54. 65.100
  libavformat    54. 31.100 / 54. 31.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 19.102 /  3. 19.102
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 16.100 /  0. 16.100
[dshow @ 03ACF580] DirectShow video devices
[dshow @ 03ACF580]  "Integrated Camera"
[dshow @ 03ACF580]  "screen-capture-recorder"
[dshow @ 03ACF580] DirectShow audio devices
[dshow @ 03ACF580]  "Internal Microphone (Conexant 2"
[dshow @ 03ACF580]  "virtual-audio-capturer"
dummy: Immediate exit requested

Investigate SoundCard library

Instead of using ffmpeg, we could use the SoundCard package. It seems to be portable and based on the portaudio library. This means that the add-on would need to be packaged with some OS-relative dependencies. Adopting this solution should make it more predictable to display and use sound devices for audio recording in Blender.

There is no priority to do this, but volunteers willing to investigate are welcome.

No input for any Sound Card possible

Great addon to assemble tutorial videos directly in blender!
I can not get audio recorded with any Sound Card in the list... not sure if it is my system's fault, though.
Any help I can get would be appreciated, thanks...

Windows?

Any hints on how to get this great thing working on Windows? Or is it downright impossible?

instructions

link to ffmpeg instructions lead to a site were download links are broken

macOS issue: ffmpeg not found

Screenshot 2023-12-08 at 8 44 59 am Screenshot 2023-12-08 at 8 44 40 am

On macOS, I think ffmpeg issue still persist. Even if I install it through Python Module Manager addon, it does not seem to work.

ffmpeg path/alert

If this add-on is included in Blender, maybe it would be a nice gesture to users to include what pullusb suggests here(manual entry of ffmpeg path & and an alert if no ffmpeg found anywhere): #3 (comment)

macOS: record using native tools

Here is an AppleScript that could be used to record audio using QuickTime instead of FFmpeg.

on run argv
	
	set startStop to item 1 of argv
	
	if startStop = "start" then
		tell application "QuickTime Player"
			set newAudioRecording to new audio recording
			tell newAudioRecording
				start
			end tell
		end tell
	else
		set thePackagePath to POSIX path of "/tmp/NewAudio.qtpxcomposition/"
		tell application "QuickTime Player"
			stop document 1 -- to stop capture
			delay 1
			set thePackageFile to (thePackagePath as POSIX file)
			save document 1 in thePackageFile
			quit
		end tell
		
		set theAudio to POSIX path of thePackagePath & "Audio Recording.m4a"
	end if
end run

run with

osascript /path/to/script.scpt {start, stop}

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.