Francesco Romani wrote:
On 5/30/07, Cyrus A <[EMAIL PROTECTED]> wrote:
Thanks a million. That would be great. This would solve an issue that
has caused me headaches for over a year now.

Ok, here it is. It has took a bit longer than expected due to
ever-standing real life work issues and due to needed refactoring that
this task has pulled in. Anyway.
filter_astat in CVS HEAD (should) can now detect if an audio track is
silence only.
Just use
transcode -i file -a X -J astat

Euhrystic implemented is a bit harsh, maybe it still needs some
extensions/tuning. Can't do it now, but It's planned before 1.1.0
released. Feedback very-welcome.

filter_detectsilence can do a stuff like that as well, but is
trickier. In practice, filter_detectsilence really detects the silence
*intervals* between audio chunks (useful to separate songs or track
parts, for example). Of course, if a silence interval is very long,
one can assume that the whole audio track is silence only, but isn't
so straightforward.

I think the best way is to extend further filter_astat, and that's the
way I will go.

None of those features will be backported to 1.0.x in any foreseable future.
I'm sorry for that, but that is due ever-standind time lacking.
Anyway, patches welcome. ;)

By the way, I'm using the freshrpms version of transcode. I couldn't get
1.0.3 to compile on my machine.

It would nice to see the errors; start a new thread if you like.

Bests,

I tried 'transcode -i soundtest2.mp3 -a X -J astat' on one of my files and got an error:

[EMAIL PROTECTED] transcode]# transcode -i soundtest2.mp3 -a X -J astat
transcode v1.0.2 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
[transcode] critical: invalid parameter for option -a

Again, I'm a total stranger to transcode. Can you tell me what configure options I should be using (if any) to make this work?

Also, in a later post, you mentioned using filter_detectsilence instead of astat. Which should I use? If detectsilence, then how?

Cyrus
(This is all on the latest CVS HEAD copy of transcode. I was finally able to get it to compile.)

Reply via email to