[vlc-devel] Need help developing text-to-speech-module in VLC - offering £5.000
kaarlo.raiha at gmail.com
Thu Apr 7 13:39:01 CEST 2011
2011/4/7 Juha Jeronen <juha.jeronen at jyu.fi>
> A brief remark here...
> On Apr 7, 2011, at 13:34 , Rémi Denis-Courmont wrote:
> >>> And last, you need to filter out the original voice from the original
> >>> audio track. Or do you not mind loosing the original audio sound
> >>> effects? I
> >>> don't suppose you will always have a clear/speech-less audio channel
> >>> available in the original media.
> >> We were hoping to be able to preserve the original sound, but to
> > evaluate
> >> the finished module, we are interested in letting the users set their
> > own
> >> preferences in terms of volume for the different channels. Do you think
> >> this would be possible? If not, we'd liked it filtered out but not mute.
> > Balancing or remixing channels is feasible, except that VLC has no user
> > interface concept for this at the moment.
> > However, sound effects and voices are on the same channels in the
> > medium. So I meant it's difficult to remove the original voices while
> > keeping the original sound effects.
> With all stereo sources, yes, exactly.
With some movies one could filter out certain frequencies do lower the
volume of the original voices (like overdubbing). Karaoke filtering would
also work for certain videos where voices are balanced to middle of stereo
> With 5.1 sources, on the other hand, it may be possible to get the speech
> track only, from the center channel. But this only applies to a small
> minority of videos. (Hollywood movies, mainly? From my personal experience,
> I can say that at least almost all Japanese animation is stereo only.)
> Even for 5.1 sources, there is at least one complication. Many computers
> only have a digital audio connector for outputting 5.1. Usually, S/PDIF
> passthrough is used for viewing DVDs with 5.1 audio in such setups. But due
> to the requirements of S/PDIF, the audio must be encoded in A52 or DTS
> format, like it is on the DVD.
> Thus, one would need to 1) decode the original sound, 2) rewrite the speech
> track on the fly, and 3) immediately re-encode. Personally I don't know of
> the status of A52 encoders, whether there is an open source implementation
> available. Also, it needs to be fast enough for realtime use to be
> applicable for this approach.
Some soundcards support 3. via Dolby Live and DTS Connect. And AC3filter can
do this via software. This feature would also be useful for many other
cases, e.g. when someone wants to watch movie with 7.1 LPCM soundtrack using
older AV receiver.
> Downmixing a 5.1 source to stereo may be easier. In this case, one needs
> only to do steps 1) and 2) above, and then apply the downmix (and handle the
> resulting stereo audio as usual).
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel