[RDD] different formats in /var/snd
ltyndale at tyndaleweb.com
Sun Jan 18 14:25:16 EST 2015
I'm sure someone else on this list can add their input, but with the 2.x
branch of Rivendell I don't think it matters if you have a mixed MP2 /
PCM library. If you're running with an ASI card then the encoding /
decoding to / from MP2 is done on the ASI card's hardware. If you are
running a non-ASI sound card, then the encoding / decoding to / from MP2
is done by the computer through the libraries and dependencies in the
The big thing is to make sure everything is the same sample rate. If
you're set to 48000 then all the audio needs to be 48000. If you're
44100 then it all needs to be 44100. You can't mix it.
The other thing I've run into is that with some audio cards when running
ALSA or Jack, I find I sometimes have to specify the sample rate for the
card in /etc/asound.conf (specifying the sample rate that I'm using in
Rivendell). This is unrelated to MP2 / PCM in the library.
As an additional note I've got a Rivendell machine that I normally use
as a jukebox in my home work area, I also have used it for doing demos
of Rivendell for people. It has a mixed WAV / MP2 library (it is about
50-50 mixed format). I've never had any problems with audio not playing
correctly, and it has a cheap soundblaster card and another cheap
C-Media based card.
> Am Samstag, den 17.01.2015, 19:20 -0500 schrieb John Anderson:
> > If the audio is playing right, (which means you likely have an ASI or
> > other really decent audio card) you're likely okay, but if it were me,
> > and now knowing if there is a way to convert the files on the fly, you
> > could always export the audio thru rdlibrary, to a wav, and then
> > re-import it to the standard you want..
> this sounds like a lot of work. can I convert just the audio file?
> ffmpeg -i /var/snd/012345_001.wav -ar 48000 -acodec pcm_s16le /tmp/012345_001.wav
> # maybe a check, if conversion was ok
> mv /tmp/012345_001.wav /var/snd/012345_001.wav
> > I don't think I would use two different file formats, on the same
> > machine though...if your cards change to something that doesn't
> > understand both formats, it's going to be a real problem...
> Yes, this is, why I'm worry to.
> Did rivendell store, which CUT has which format?
> This is a more or less accurate reconstruction of what I did:
> Installed computer "wesley" with rivendell. Setup mp2 as format for
> wesley. wesley was my rivendell-"server" (/var/snd, nfs, mysql, http
> Installed computer "lisa" with rivendell with mysql on localhost. rsync
> wesley:/var/snd to lisa.
> add host entry for lisa on rdadmin at wesley, backup rd db with rdadmin on
> wesley, restored on lisa, changed lisa to "server" (http xport, mysql,
> mass import via rdimport on lisa. (here was my mistake, didn't changed
> the host config for lisa properly in rdadmin)
> later in rdadmin: changed for host lisa file format to mp2
> now all files from wesley and the new files are mp2, all mass imported
> files (mostly music) is wav.
> Keywan Najafi Tonekaboni <me at prometoys.net>
> Rivendell-dev mailing list
> Rivendell-dev at lists.rivendellaudio.org
More information about the Rivendell-dev