<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wk.sound4.biz/index.php?action=history&amp;feed=atom&amp;title=File.CL_command-line</id>
	<title>File.CL command-line - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wk.sound4.biz/index.php?action=history&amp;feed=atom&amp;title=File.CL_command-line"/>
	<link rel="alternate" type="text/html" href="https://wk.sound4.biz/index.php?title=File.CL_command-line&amp;action=history"/>
	<updated>2026-11-05T13:39:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wk.sound4.biz/index.php?title=File.CL_command-line&amp;diff=1155&amp;oldid=prev</id>
		<title>Camille: /* Processing */</title>
		<link rel="alternate" type="text/html" href="https://wk.sound4.biz/index.php?title=File.CL_command-line&amp;diff=1155&amp;oldid=prev"/>
		<updated>2024-03-13T14:12:23Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Processing&lt;/span&gt;&lt;/p&gt;
&lt;a href=&quot;https://wk.sound4.biz/index.php?title=File.CL_command-line&amp;amp;diff=1155&amp;amp;oldid=1154&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Camille</name></author>
	</entry>
	<entry>
		<id>https://wk.sound4.biz/index.php?title=File.CL_command-line&amp;diff=1154&amp;oldid=prev</id>
		<title>Camille: Created</title>
		<link rel="alternate" type="text/html" href="https://wk.sound4.biz/index.php?title=File.CL_command-line&amp;diff=1154&amp;oldid=prev"/>
		<updated>2024-03-13T14:09:14Z</updated>

		<summary type="html">&lt;p&gt;Created&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The File.CL software provides a command-line tool for Linux and Windows on x86_64.&lt;br /&gt;
&lt;br /&gt;
It can be used to process files directly.&lt;br /&gt;
&lt;br /&gt;
=== Installing ===&lt;br /&gt;
For Windows, the command-line tool is installed with the installer in &amp;lt;code&amp;gt;C:\Program Files\SOUND4\File.CL\SOUND4 File.CL Cmd.exe&amp;lt;/code&amp;gt;, and the processing libraries are already in the same folder.&lt;br /&gt;
&lt;br /&gt;
For Linux, you will need to create a folder, put the program &amp;lt;code&amp;gt;sound4file.cl&amp;lt;/code&amp;gt; in it, and put the processing libraries in the same folder, or in &amp;lt;code&amp;gt;../lib&amp;lt;/code&amp;gt; if the program is in a folder named &amp;lt;code&amp;gt;bin&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
You can get the libraries from http://download.sound4.biz (libsound4.x1.cloud.so, libsound4.impact.cl.so, libsound4.bigvoice.cl.so...).&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
&lt;br /&gt;
==== Parameters always needed ====&lt;br /&gt;
You will need to configure the software to use a license and a storage directory. The storage directory will hold the settings and preset to use.&lt;br /&gt;
&lt;br /&gt;
Some parameters can be set from environment variables.&lt;br /&gt;
&lt;br /&gt;
Use &amp;lt;code&amp;gt;sound4file.cl -h&amp;lt;/code&amp;gt; to get all help up to date.&lt;br /&gt;
&lt;br /&gt;
===== Process selection =====&lt;br /&gt;
Depending on the installed processing libraries, you will have to choose which process to use. This is mandatory if multiple processes are installed.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;--x1&amp;lt;/code&amp;gt; : select X1.CL processor&lt;br /&gt;
* &amp;lt;code&amp;gt;--impact&amp;lt;/code&amp;gt; : select IMPACT.CL processor&lt;br /&gt;
* &amp;lt;code&amp;gt;--bigvoice&amp;lt;/code&amp;gt; : select BIG VOICE.CL processor&lt;br /&gt;
&lt;br /&gt;
===== Storage =====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--storage=&amp;#039;&amp;#039;dir&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; : Storage directory for configuration (env:&amp;lt;code&amp;gt;S4STORE_PATH&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
This selects the processing configuration. You should not reuse a folder for a different processor.&lt;br /&gt;
&lt;br /&gt;
===== License =====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-a&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--key=&amp;#039;&amp;#039;mykey&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; : License access key (env:&amp;lt;code&amp;gt;ACCESS_KEY_ID&amp;lt;/code&amp;gt;)&lt;br /&gt;
* &amp;lt;code&amp;gt;-l&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--login=&amp;#039;&amp;#039;mylogin&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; : License login key (env:&amp;lt;code&amp;gt;S4LOGINKEY&amp;lt;/code&amp;gt;)&lt;br /&gt;
* &amp;lt;code&amp;gt;-r&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--radioname=&amp;#039;&amp;#039;myradio&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; : License radio name (env:&amp;lt;code&amp;gt;RADIO_NAME&amp;lt;/code&amp;gt;)&lt;br /&gt;
* &amp;lt;code&amp;gt;-x&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--secret=&amp;#039;&amp;#039;mysecret&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; : License access secret (env:&amp;lt;code&amp;gt;ACCESS_KEY_SECRET&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
==== Setup ====&lt;br /&gt;
To configure the process, use:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;--setup&amp;lt;/code&amp;gt; : Setup mode: web access to set up the process (no file processing)&lt;br /&gt;
* &amp;lt;code&amp;gt;-w&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--webport=&amp;#039;&amp;#039;port&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; : Web port in setup mode (0:auto)&lt;br /&gt;
&lt;br /&gt;
If no web port is given, one will be automatically chosen and displayed in output logs.&lt;br /&gt;
&lt;br /&gt;
Use a web browser to the local port for setup.&lt;br /&gt;
&lt;br /&gt;
==== Processing ====&lt;br /&gt;
To process files (ie without --setup), you need to give 2 parameters:&lt;br /&gt;
&lt;br /&gt;
# Input file&lt;br /&gt;
# Output file&lt;br /&gt;
&lt;br /&gt;
If the input and output file extensions are the same, the default is to re-encode the output as close as possible as was the input.&lt;br /&gt;
&lt;br /&gt;
===== Encoding change =====&lt;br /&gt;
You can force the encoding of output with&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;--aac&amp;lt;/code&amp;gt; : Select AAC encoder&lt;br /&gt;
* &amp;lt;code&amp;gt;--flac&amp;lt;/code&amp;gt; : Select FLAC encoder&lt;br /&gt;
* &amp;lt;code&amp;gt;--heaac&amp;lt;/code&amp;gt; : Select He-AAC encoder&lt;br /&gt;
* &amp;lt;code&amp;gt;--heaacv2&amp;lt;/code&amp;gt; : Select He-AAC v2 encoder&lt;br /&gt;
* &amp;lt;code&amp;gt;--mp2&amp;lt;/code&amp;gt; : Select MPEG-1 Layer 2 encoder&lt;br /&gt;
* &amp;lt;code&amp;gt;--mp3&amp;lt;/code&amp;gt; : Select MPEG-1 Layer 3 encoder&lt;br /&gt;
* &amp;lt;code&amp;gt;--opus&amp;lt;/code&amp;gt; : Select Opus encoder&lt;br /&gt;
* &amp;lt;code&amp;gt;--vorbis&amp;lt;/code&amp;gt; : Select Vorbis encoder&lt;br /&gt;
* &amp;lt;code&amp;gt;--wav&amp;lt;/code&amp;gt; : Select WAV encoder&lt;br /&gt;
&lt;br /&gt;
You can also adjust some parameters, depending on the codec:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;--bitrate=&amp;#039;&amp;#039;bps&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; : Set encoder bit-rate&lt;br /&gt;
* &amp;lt;code&amp;gt;--samplerate=&amp;#039;&amp;#039;hz&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; : Set encoder sample-rate&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;--samplebits=&amp;#039;&amp;#039;bits&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; : Set encoder bit per sample&lt;br /&gt;
&lt;br /&gt;
===== Output/Progress options =====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-b&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--batch&amp;lt;/code&amp;gt; : Batch mode: progress is reported on stdout by lines like 35.2%&lt;br /&gt;
* &amp;lt;code&amp;gt;-q&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--quiet&amp;lt;/code&amp;gt; : Quiet: do not report progress, reduce log level&lt;br /&gt;
* &amp;lt;code&amp;gt;-v&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--verbose&amp;lt;/code&amp;gt; : Be more verbose&lt;br /&gt;
&lt;br /&gt;
===== Advanced options =====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--param=&amp;#039;&amp;#039;key=value&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; : Set parameter in library (see individual library documention)&lt;br /&gt;
&lt;br /&gt;
===== KANTAR Watermarking specific =====&lt;br /&gt;
If you use the KANTAR watermarking, you need to give more information to be able to watermark the file.&lt;br /&gt;
&lt;br /&gt;
This can be done either by command-line arguments, or by using an XML file with the same name and path as input file, with .xml extension added.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-u&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--contentid=&amp;#039;&amp;#039;uid&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; : Watermarking unique content id&lt;br /&gt;
* &amp;lt;code&amp;gt;--wmlog=&amp;#039;&amp;#039;directory&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; : Watermark logs directory (env:&amp;lt;code&amp;gt;WMLOG_PATH&amp;lt;/code&amp;gt;)&lt;br /&gt;
* &amp;lt;code&amp;gt;-f&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--metadata=&amp;#039;&amp;#039;file&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; : Watermarking metadata filename (default: inputfile.xml)&lt;br /&gt;
* &amp;lt;code&amp;gt;--bbis=&amp;#039;&amp;#039;YYYY-MM-DDThh:mm:ssZ&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; : Watermarking BBis&lt;br /&gt;
* &amp;lt;code&amp;gt;--channel=&amp;#039;&amp;#039;channel&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; : Watermarking channel name&lt;br /&gt;
* &amp;lt;code&amp;gt;--license=&amp;#039;&amp;#039;license&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; : Watermarking license name&lt;br /&gt;
* &amp;lt;code&amp;gt;--liclogin=&amp;#039;&amp;#039;login_name&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; : Kantar license login (for online license)&lt;br /&gt;
* &amp;lt;code&amp;gt;--licpwd=&amp;#039;&amp;#039;password&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; : Kantar license password (for online license)&lt;br /&gt;
&lt;br /&gt;
The parameters can also be with --setup, except for the contentid which is unique per file.&lt;br /&gt;
&lt;br /&gt;
To get help on the XML format, use &amp;lt;code&amp;gt;sound4file.cl --help-meta&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==== Help and version ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-h&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--help&amp;lt;/code&amp;gt; : Show full help&lt;br /&gt;
* &amp;lt;code&amp;gt;--help-meta&amp;lt;/code&amp;gt; : Show help on metadata file&lt;br /&gt;
* &amp;lt;code&amp;gt;--list-encoders&amp;lt;/code&amp;gt; : List possible encoders&lt;br /&gt;
* &amp;lt;code&amp;gt;--list-processors&amp;lt;/code&amp;gt; : List possible processors (depends on library installed)&lt;br /&gt;
* &amp;lt;code&amp;gt;-V&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--version&amp;lt;/code&amp;gt; : Print software version&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
[[Category:Cloud]]&lt;/div&gt;</summary>
		<author><name>Camille</name></author>
	</entry>
</feed>