04-06-2004
playing audio
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 using a different program? The audio is in wav format by the way.
Manni
9 More Discussions You Might Find Interesting
1. SCO
Hey everyone! I'm trying to retrieve old files from my Xenix computers. So the option I've now come down to is to load up a second harddrive and do a doscp of my tar'd backup file. Now, How do I go about this? I am not a unix user myself so I'm not quite sure. I need help! I have a VERY short... (1 Reply)
Discussion started by: Slaughter
1 Replies
2. Programming
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)
Discussion started by: Sayantan
1 Replies
3. UNIX for Dummies Questions & Answers
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... (0 Replies)
Discussion started by: sentinel
0 Replies
4. UNIX for Dummies Questions & Answers
This is my crontab:
MAILTO=""
# m h dom mon dow command
# Check to see if the fridge door has been left open
* * * * * fridgedoor
#Get temperature readings from fridge and save to monthly file in Downloads
30 0,4,8,12,16,20 * * * fridge
40 0 * * * sendfridge
* * * * *... (2 Replies)
Discussion started by: Fitch
2 Replies
5. Shell Programming and Scripting
Can someone help me of doing something like this
send.sh
#!/bin/bash
for last; do true; done
echo $* | gammu sendsms TEXT $last
every thing is good except that when i launch the script like this
./send.sh This is the message i want to send +63922XXXXXXX
it turned out the message of... (2 Replies)
Discussion started by: arturo322
2 Replies
6. Red Hat
please any body tell me how to play sound using RealPlayer11 loaded in Rhel5.1? (1 Reply)
Discussion started by: rangaprem
1 Replies
7. UNIX for Dummies Questions & Answers
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)
Discussion started by: Error404
7 Replies
8. Slackware
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)
Discussion started by: qzxcvbnm
2 Replies
9. UNIX for Beginners Questions & Answers
Hi Friends,
I am having an issue playing Netflix. Any idea what might cause the issue? (5 Replies)
Discussion started by: Ronald0258
5 Replies
LEARN ABOUT DEBIAN
lav2wav
lav2wav(1) MJPEG tools manual lav2wav(1)
NAME
lav2wav - Extract the audio out of MJPEG container files to stdout
SYNOPSIS
lav2wav [-s num] [-c num] [-v num] [-I] [-R] [-r samplerate, bitesize, channels] lavfile1 [lavfile2 ... lavfileN]
DESCRIPTION
lav2wav can be used to extract the audio to stdout. This output goes to stdout and can be saved as a wav file or piped to another sound
processing tool that is able to handle the wav format. This can be mp2enc and toolame for mpeg layer 2 audio, or for example lame for mpeg
layer 3 audio.
The input files may be any combination of AVI (.avi), Quicktime (.qt) or editlist files so long as they are all lavtools- readable (e.g.
MJPEG-encoded AVI/Quicktime or DV type 2 AVI).
OPTIONS
lav2wav accepts the following options:
-s num
Start extracting at video frame (num)
-c num
Extract (num) frames of audio
-v num
Verbosity level (0, 1 or 2)
-I Ignore unsupported bitrates/bits per sample
-R If the file does not contain any sound. lav2wav will create silence with 44100kHz Sampelrate, 16 Bit audio bitsize and 2 Chanels
-r sr,bs,ch
If the file does not contain any sound lav2wav will generate silence with the values you supply the samplerate (sr), audio-bitsize
(bs) and channel (ch).
BUGS
The "WAV" file format (technically: RIFF) is really very much less than ideal for a tool intended to be used in pipelines as lav2wav is.
The problem is that the header includes a field specifying the length of the file. This can't be filled in except by seeking back to the
begining and over-writing. If the output is unseekable (e.g. pipe) lav2wav simply writes a large length into the header and leaves it at
that. Most tools like sox(1) or mp2enc(1) either ignore the length field anyway or only give a warning.
The audio length is inacurate calculated when lav2wav generates silence. This happens only if you have NTSC framerate and than it creates
for every hour of video 1.1498sec too less of silence.
AUTHOR
This man page was written by Bernhard Praschinger.
If you have questions, remarks, problems or you just want to contact the developers, the main mailing list for the MJPEG-tools is:
mjpeg-users@lists.sourceforge.net
For more info, see our website at
http://mjpeg.sourceforge.net
SEE ALSO
mjpegtools(1), mp2enc(1), sox(1)
MJPEG Linux Square 2 June 2001 lav2wav(1)