Liquidsoap + mpeg4 audio how? - audio

How to create an audio stream using mpeg4 liquidsoap + icecast?
We do not want to use a third-party utility such as ffmpeg, can we do it only on liquidsoap?
Thank you!

Liquidsoap can play mp4 as long as you have the appropriate libraries compiled in your liquidsoap installation.
The library you probably want is ocaml-faad.
If its not in your liquidsoap installation you can compile liquidsoap from source. Be sure that ocaml-faad is uncommented in the PACKAGES file.
https://github.com/savonet/liquidsoap-full/blob/master/PACKAGES.default#L93
You can try playing a static playlist of mpeg4 files:
http://savonet.sourceforge.net/doc-svn/reference.html#playlist
or a single file:
http://savonet.sourceforge.net/doc-svn/reference.html#single
Hope that helps!

Related

How to convert opus readable stream to PCM or .wav file in node.js?

I have opus readable stream I want to save that into file with .wav extension using fs module.
any working node.js module/npm package?
node v12.0.0

What is a difference between zip and tgz format?

I want to install scala at here and I'm concerned about which one to download: zip or tgz. What is a difference between these, and what are the use cases?
They are different archive formats. They are used because it saves bandwidth and because they bundle files.
Zip is more common on Windows and there is a decompressor preinstalled.
Tgz is gzip + tar and is common on Linux. There is also a decompressor preinstalled, most of the time. Also known as .tar.gz.
If you're on Windows I'd download the zip or the installer, as you don't have to install a third party program to open it. If you're on Linux I recommend installing scala through your package manager.

access video file information using standard Unix utilities

I want to access video file information (specifically, the video horizontal and vertical dimensions) in the Bash terminal of Scientific Linux on a system over which I do not have root privileges. The setup is conservative and does not feature the modern utilities, such as exiftool and avprobe, that would be used to do this. What would be a way of accessing this information using standard Unix utilities or some other means likely to work on a conservative Linux setup? To be specific, I am looking for something such as the following:
<utility> video1.mp4
1280x720
Thanks for any ideas!
How to build and run typical open source software from source without root
Even if you don't have root, provided that:
you can at least use the compiler and related tools
you can download source code
you don't need too many strange libraries
then download the source code for your tool of choice and install it into $HOME/opt/somedir.
For example, for avprobe you could probably download the last stable source release, then build it like this:
tar xzf libav.....gz
cd libav.....
./configure --prefix=$HOME/opt/libav
make
make install
then run it as
$HOME/opt/libav/bin/avprobe
You may or may not need to tweak the value of LD_LIBRARY_PATH or various other things.

Native rsync library?

Do there exist any good rsync libraries that implement:
The rsync algorithm and
The rsync protocol
Such that one could use the library to build the rsync tool itself? (I want my application to be compatible with a normal rsync server or normal rsync over ssh.)
For rsync algorithm :-
rsync uses zlib as part of it's source code .Inside it is adler-32 algorithm and inflate and deflate algorithms (compression - decompression )implemented.
Also do check this, haven't used it myself :-
http://librsync.sourceforge.net/
for rsync protocol :-
But, I highly doubt there is library for rsync protocol(means there is no library for rsync protocol).

Can i play mpeg files in linux

I am trying to play video in browser. I use 'embed' tag in HTML.
The problem is, i am trying with a browser in linux, but i dont have the plugin installed in the browser(firefox). When i click ' install missing plugins', it says error saying unable to install.
Is it because mpeg file can't be played in linux? Please help
No, it is because there isn't a suitable plugin in the browser's database of known plugins. I believe VideoLan Client has a plugin that could cope with it.
If you want to do video on the web, then you are generally best off either simply going down the Flash route, or providing the video in WebM and h.264 and using the <video> element (usually with Flash as a backup for older versions of IE). This has the added benefit of being much more bandwidth efficient than MPEG 1 video.
There are two options, mplayer or xine... I prefer mplayer.. go to
http://www.mplayerhq.hu/homepage/design6/dload.html and download one of the source files...
To install:
1)go to your CLI (Command Line Interface) which should be konsole, xterm or something like that
2)go to the directory using this syntax | cd | cd .. (goto previous directory) and use the command ls to view whats in your current directory.
3)type tar -zxvf "filename"
4)it will create a folder, cd into that folder
5)type ./configure
6)type make
7)type su and enter password for r00t
8)type make install
now in the command line, there should be a command mplayer, have fun!

Resources