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, -- Francesco Romani