Sponsored Content
Special Forums UNIX Desktop Questions & Answers arecord not interrupted after specified duration Post 302634845 by thillai_selvan on Friday 4th of May 2012 12:39:18 AM
Old 05-04-2012
It was just waiting.
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

automated sftp procedure interrupted

Dear experts, I have a local computer and remote computer (only sftp accessed). I want to delete files x and y in both local and remote computer using the following automated script: sftp $remote > /dev/null < mdel.file the file mdel.file has been pre-created, and its content is cd... (2 Replies)
Discussion started by: boyin.huang
2 Replies

2. Programming

Problem with signal handler and interrupted system call

Hi, I have a daq program that runs in an infinite loop until it receives SIGINT. A handler catches the signal and sets a flag to stop the while loop. After the loop some things have to be cleaned up. The problem is that I want my main while loop to wait until the next full second begins, to... (2 Replies)
Discussion started by: soeckel
2 Replies

3. Red Hat

ssh connection refused post yum interrupted update

an update of RHEL 5.1 via yum was interrupted after installing the following packages. Running Transaction Updating : libgcc ##################### Updating : setup ##################### Updating : filesystem ... (4 Replies)
Discussion started by: egrotjahn
4 Replies

4. UNIX for Advanced & Expert Users

arecord, pdflush and bfr.

Hi All I'm using arecord to record directly to a USB key: arecord -f cd > /mnt/usb/myfile.wav But I see buffer overruns at 30 second intervals, which correspond with short bursts of USB write activity. I'm assuming this is related to: /proc/sys/vm/dirty_expire_centiseconds And the... (0 Replies)
Discussion started by: bucksbell
0 Replies

5. Shell Programming and Scripting

Sort by Duration

.......................................................................................................................... 03:40 Geonetric File from CCL Complete 03:40:59 03:41:08 00:00:09 00:00:01 N/A 005 sys_runccl ... (7 Replies)
Discussion started by: Daniel Gate
7 Replies

6. Windows & DOS: Issues & Discussions

Interrupted Cygwin install changed permissions on C drive

I was installing cygwin on my Windows 7 desktop. I guess I picked a bad mirror site because the download speed was very slow and it wasn't able to give me all the packages I wanted. I closed the setup in too much haste. I think it was still downloading and not yet installing though. It said that... (1 Reply)
Discussion started by: ethoma7329
1 Replies

7. OS X (Apple)

Folder location interrupted

Have had hidden/interrupted folder. It is on a NTFS-partition I use for OS and Bootcamp. I think that the problem is a HFS+ problem. I happened with all the folder which had a slash "/" in their folder name. So for example I had the folder "test/rand". Recently it disappeared from finder. In... (9 Replies)
Discussion started by: sceltecs
9 Replies

8. UNIX for Dummies Questions & Answers

Is original file modified when pigz is interrupted?

I had to stop a pigz (parallel gzip) compression before it completed. Is the original uncompressed file changed/corrupted? I was under the impression that the original file is not changed during compression, though it is deleted if the compression is successful. (1 Reply)
Discussion started by: colin123
1 Replies
opusenc(1)							    opus-tools								opusenc(1)

NAME
opusenc - encode audio into the Opus format SYNOPSIS
opusenc [ -v ] [ -h ] [ --speech ] [ --music ] [ --bitrate kbit/sec ] [ --vbr ] [ --cvbr ] [ --hard-cbr ] [ --comp complexity ] [ --frame- size 2.5, 5, 10, 20, 40, 60 ] [ --expect-loss pct ] [ --downmix-mono ] [ --downmix-stereo ] [ --max-delay ms ] [ --save-range file ] [ --set-ctl-int ctl=value ] [ --uncoupled ] [ --comment tag=value ] [ --artist author ] [ --title track title ] [ --raw ] [ --raw-bits bits/sample ] [ --raw-rate Hz ] [ --raw-chan N ] [ --raw-endianness flag ] [ --ignorelength ] input.wav output.opus DESCRIPTION
opusenc reads audio data in either raw, Wave, or AIFF format and encodes it into an Opus stream. If the input file is "-" audio data is read from stdin. Likewise, if the output file is "-" opus data is written to stdout. Unless quieted opusenc displays fancy statistics about the encoding progress. OPTIONS
-h, --help Show command help -v, --version Show the version number --speech Optimize for speech --music Optimize for music --bitrate N.nnn Encoding bitrate in kbit/sec (6-256 per channel) --vbr Use variable bitrate encoding (default) --cvbr Use constrained variable bitrate encoding --hard-cbr Use hard constant bitrate encoding --comp N Encoding computational complexity (0-10, default: 10) --framesize N Maximum frame size in milliseconds (2.5, 5, 10, 20, 40, 60, default: 20) Smaller framesizes achieve lower latency but less quality at a given bitrate. Sizes greater than 20ms are only interesting at fairly low bitrates. --expect-loss N Percentage packet loss to expect (default: 0) --downmix-mono Downmix to mono --downmix-stereo Downmix to stereo (if >2 channels input) --max-delay N Maximum container delay in milliseconds (0-1000, default: 1000) --save-range file Saves check values for every frame to a file --set-ctl-int x=y Pass the encoder control x with value y (advanced) Preface with s: to direct the ctl to multistream s This may be used multiple times --uncoupled Use one mono stream per channel --comment tag=value Add an extra comment. This may be used multiple times, and all instances will be added to each of the input files specified. The argument should be in the form "tag=value". See the vorbis-comment specification for well known tag names: http://www.xiph.org/vor- bis/doc/v-comment.html --artist artist Set the artist comment field in the comments to artist --title title Set the track title comment field to title --raw Raw (headerless) PCM input --raw-bits N Set bits/sample for raw input (default: 16) --raw-rate N Set sampling rate for raw input (default: 48000) --raw-chan N Set number of channels for raw input (default: 2) --raw-endianness [0/1] Set the endianness for raw input: 1 for bigendian, 0 for little (defaults to 0) --ignorelength Always ignore the datalength in Wave headers. Opusenc automatically ignores the length when its implausible (very small or very large) but some STDIN usage may still need this option to avoid truncation. EXAMPLES
Simplest usage. Take input as input.wav and produce output as output.opus: opusenc input.wav output.opus Produce a very high quality encode with a target rate of 160kbps: opusenc --bitrate 160 input.wav output.opus Record and send a live stream to an Icecast HTTP streaming server using oggfwd: arecord -c 2 -r 48000 -twav - | opusenc --bitrate 96 - - | oggfwd icecast.somewhere.org 8000 password /stream.opus NOTES
While it is possible to use opusenc for low latency streaming (e.g. with --max-delay set to 0 and netcat instead of Icecast) it's not really designed for this, and the Ogg container and TCP transport aren't the best tools for that application. Shell pipelines themselves will often have high buffering. The ability to set framesizes as low as 2.5 ms in opusenc mostly exists to try out the quality of the for- mat with low latency settings, but not really for actual low latency usage. Interactive usage should use UDP/RTP directly. AUTHORS
Gregory Maxwell <greg@xiph.org> SEE ALSO
opusdec(1), opusinfo(1), oggfwd(1) Xiph.Org Foundation 2012-05-28 opusenc(1)
All times are GMT -4. The time now is 08:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy