ffmpeg: capture audio that's playing (command line)
I'd like to capture the audio playing in itunes (OSX) to a file (from the command line).
I currently use Wiretap Pro, but i'd like a non-gui. I tried installing sox, but after installing about 40-50 dependencies it crashed out. I do have ffmpeg working and I am pretty sure it can capture what's playing.
I've tried stuff i googled like:
However, i get errors on audio_device and /dev/audio
Quote:
Unknown input or output format: audio_device
Quote:
/dev/audio: I/O error occured
Usually that means that input file is truncated and/or corrupted.
I've also downloaded streamripper but that requires a URL.
I am not too concerned about hte format the audio is saved in, i can convert it to mp3 using ffmpeg later.
Hi all,
I play audio through the web browser and it plays ok on windows. When i try the same thing on unix i get the error message "sh: /usr/local/bin/sox: not found. I've tried 'locate sox' and can't seem to find it. Is there some way I can change the browser settings so they play the audio... (3 Replies)
Hi All,
Looking for an assistance on how to access the speakers of my machine and play audio files using C.
Any tutorials will be of great help.
Regards,
Sayantan. (1 Reply)
I need to determine what processes are running at certain times of the day. I have a script that issues the /usr/ucb/ps aux command and captures it to a file.
I want to see the cpu usage and memory usage.
This command lops off the end of the of the display line so I can't see the entire... (2 Replies)
i mean command line WEBCAM image capture. sorry fo rleaving webcam out of the title... how do i edit that?
anyways...
imagemagick, ffmpeg are installed.
cheese works fine. webcam is there. i can take movies and photos.
i would like to take command line snapshots from the camera. how do i do... (0 Replies)
Hello guys,
I was working with my data (a tab delimted text file) in Linux and wanted to replace all "NaN" values in my huge table with "NA", so i used the following sed command:
sed 's/NaN/NA/g' /filepath -> outputfile.txt
The results were good, all "NaN" were replaced with "NA", but the... (7 Replies)
Hi
I want to know how capture all user command line output and save this commands and outputs to text files?
if you have script for this subject please give me.:o
please help me
thank you (6 Replies)
I'm trying to record audio using Audacity 2.0.5 installed from SlackBuilds. My system is 64-bit Slackware 14.1 and a sound card is Intel HD Audio. I didn't change my sound system to OSS. (Default sound system in Slackware 14.1 is ALSA, isn't it?) First, I set Internal Microphone slider in KMix... (2 Replies)
This site is the first to get this snippet.
It will capture an audio recording of any time length within the limits of OSX's QuickTime Player's capablility...
A shell script derivative of this will be used as a further capture for CygWin's AudioScope.sh.
Thoroughly read ALL the comments in... (0 Replies)
Hi,
Currently having some trouble with FFMPEG....
I have the following files:
0001_.gif
0002_.gif
.............
0584_.gif
0585_.gif
0586_.gif
0587_.gif
0588_.gif
0589_.gif
0590_.gif
0591_.gif
And am trying to use ffmpeg to join them to a video as follows: (7 Replies)
Hi everyone...
I don't know if this is the correct forum but it is Apple OSX specific.
It is a proper pseudo-man page for the sparse official one...
This is as thorough as experimentation can get...
Command line afplay, August 2016.
---------------------------------
afplay -h
... (0 Replies)
Discussion started by: wisecracker
0 Replies
LEARN ABOUT XFREE86
mixerctl
mixerctl(1) User Commands mixerctl(1)NAME
mixerctl - audio mixer control command line application
SYNOPSIS
/usr/sbin/mixerctl [-a | -d dev] [-iv] [-e | -o]
DESCRIPTION
Some audio devices support the audio mixer functionality. See mixer(7I) for a complete description of the audio mixer. The mixerctl command
is used to control the mode of the audio mixer and to get information about the audio mixer and the audio device. See audio(7I) for
details.
OPTIONS
The following options are supported. If none are specified, option -i is assumed:
-a The command applies to all audio devices.
-d dev The dev argument specifies an alternate audio control device for the command to use.
-e Enables the audio mixer function if the audio device supports it. If supported, the audio mixer may be enabled at any time.
The command silently ignores the enable option if the audio mixer is already enabled.
-i Prints the audio device type information for the device and indicates whether the audio device uses the audio mixer. If the
device does use the audio mixer, this option displays the audio mixer's mode.
-o Turns off the audio mixer function if the audio device supports it. If supported, the audio mixer may be turned off if only
one process has the device opened with the O_RDWR flag, or, if two different processes have the device opened, one with the
O_RDONLY flag and the other with the O_WRONLY flag. (See open(2).) The command silently ignores the disable option if the
audio mixer function is already disabled.
-v Verbose mode. Prints the audio_info_t structure for the device, along with the device type information. This option implies
the -i option.
ENVIRONMENT VARIABLES
AUDIODEV If the -d and -a options are not specified, the AUDIODEV environment variable is consulted. If set, AUDIODEV will contain
the full path name of the user's default audio device. The default audio device will be converted into a control device,
and then used. If the AUDIODEV variable is not set, /dev/audioctl is used.
FILES
/dev/audioctl
/dev/sound/{0...n}ctl
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Architecture |SPARC, x86 |
+-----------------------------+-----------------------------+
|Availability |SUNWauda |
+-----------------------------+-----------------------------+
|Stability Level |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO audioconvert(1), audioplay(1), audiorecord(1), open(2), attributes(5), usb_ac(7D), audio(7I), audio_support(7I), mixer(7I)SunOS 5.10 12 Mar 2001 mixerctl(1)