https://github.com/davidfoerster/javaflacencoder
A pure Java implementation of a FLAC encoder library
https://github.com/davidfoerster/javaflacencoder
flac java
Last synced: about 1 year ago
JSON representation
A pure Java implementation of a FLAC encoder library
- Host: GitHub
- URL: https://github.com/davidfoerster/javaflacencoder
- Owner: davidfoerster
- License: lgpl-2.1
- Created: 2015-05-30T11:44:48.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2017-02-04T06:04:00.000Z (over 9 years ago)
- Last Synced: 2023-04-12T02:41:59.640Z (about 3 years ago)
- Topics: flac, java
- Language: Java
- Size: 107 KB
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: COPYING
Awesome Lists containing this project
README
/*
* Copyright (C) 2010 Preston Lacey http://javaflacencoder.sourceforge.net/
* All Rights Reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
The javaFlacEncoder project provides a FLAC encoder implemented in java.
It is designed to enable easy addition of FLAC encoding support in java
applications, though a command line file encoding utility is included as well.
For usage of the command line encoder, see the "Console Usage" section below.
For more information, go to http://javaflacencoder.sourceforge.net.
See javadocs for information on how to make use of this library in your own
application.
Console Usage:
[options] inputFilename outputFilename
note: will depend on how your version is packaged, if it's
in a tar file, it will be similar to
java -classpath javaFlacEncoder/FLAC_ConsoleFileEncoder
options:
-bmin minimum block size, where is an integer in range (16-65535)
-bmax maximum block size, where is an integer in range (16-65535)
-lpcmin minimum LPC order, where is an integer in range (1-32)
-lpcmax maximum LPC order, where is an integer in range (1-32)
-Threads Specify whether to use threads. 0 turns threading off, greater
than 0 turns threading on
-sf Specify which subframe type to use, where may be:
exhaustive(this is default and recommended)
fixed
lpc
verbatim;