Does anyone succeed in playing back vorbis inside AVI files? I've used ffmpeg (latest CVS 04/19/2005) to encode a vorbis encoded content into an AVI file. I've installed the vorbis directshow codecs from Xiph. (BTW: It seems that is registers several WAVETAGs, can anyone be kind to explain me what the correct one is?) Anyway, when I try to playback in media player (I've tried encoding using all audio tags the oggvorbis directshow decoders register), there is NO sound. Is it anything related to ffmpeg? Thanks, Dario Andrade IP.TV
Hi On Tuesday 19 April 2005 09:54, Dario Andrade wrote:
Does anyone succeed in playing back vorbis inside AVI files?
I've used ffmpeg (latest CVS 04/19/2005) to encode a vorbis encoded content into an AVI file.
I've installed the vorbis directshow codecs from Xiph.
(BTW: It seems that is registers several WAVETAGs, can anyone be kind to explain me what the correct one is?)
Anyway, when I try to playback in media player (I've tried encoding using all audio tags the oggvorbis directshow decoders register), there is NO sound.
iam almost certain that xiphs decoder will not play vorbis in avi, try ffdshow, maybe it will work, maybe not [...] -- Michael "nothing is evil in the beginning. Even Sauron was not so." -- Elrond
Michael Niedermayer schrieb:
Hi On Tuesday 19 April 2005 09:54, Dario Andrade wrote:
Does anyone succeed in playing back vorbis inside AVI files? I've used ffmpeg (latest CVS 04/19/2005) to encode a vorbis encoded content into an AVI file. I've installed the vorbis directshow codecs from Xiph. (BTW: It seems that is registers several WAVETAGs, can anyone be kind to explain me what the correct one is?) Anyway, when I try to playback in media player (I've tried encoding using all audio tags the oggvorbis directshow decoders register), there is NO sound.
iam almost certain that xiphs decoder will not play vorbis in avi, try ffdshow, maybe it will work, maybe not
This moron creating such files should be punished. AVI is incompatible with real Vorbis, the only way i know to create such files it to use the Vorbis ACM codec from Virtualdub. Try to use VirtualdubMod from http://sf.net/projects/virtualdubmod to extract the Vorbis stream from the AVI, i seem to recall the author had added support for this once. Then use Mkvtoolnix to make a valid MKV file from your video AVI and Ogg Vorbis audio stream. If you dont have major interest in the file, and just plan to play it once, installing the Vorbis ACM codec and playing it in WMP should do the trick. Christian matroska project admin http://www.matroska.org
On Mon, Apr 25, 2005 at 03:36:29AM +0200, ChristianHJW wrote:
Michael Niedermayer schrieb:
Hi On Tuesday 19 April 2005 09:54, Dario Andrade wrote:
Does anyone succeed in playing back vorbis inside AVI files? I've used ffmpeg (latest CVS 04/19/2005) to encode a vorbis encoded content into an AVI file. I've installed the vorbis directshow codecs from Xiph. (BTW: It seems that is registers several WAVETAGs, can anyone be kind to explain me what the correct one is?) Anyway, when I try to playback in media player (I've tried encoding using all audio tags the oggvorbis directshow decoders register), there is NO sound.
iam almost certain that xiphs decoder will not play vorbis in avi, try ffdshow, maybe it will work, maybe not
This moron creating such files should be punished. AVI is incompatible with real Vorbis, the only way i know to create such files it to use the
False. AVI is compatible with vorbis if you store it correctly, but it will waste huge amounts of space (up to 168 bytes per frame, I think!) and thus it's not very useful. Read Michael's past posts about how it works.. ffmpeg supports making avi files with vorbis audio now. :) Rich
This moron creating such files should be punished. AVI is incompatible with real Vorbis, the only way i know to create such files it to use the
You should be more careful when writing phrases like that.
Vorbis ACM codec from Virtualdub. Try to use VirtualdubMod from http://sf.net/projects/virtualdubmod to extract the Vorbis stream from the AVI, i seem to recall the author had added support for this once. Then use Mkvtoolnix to make a valid MKV file from your video AVI and Ogg Vorbis audio stream. If you dont have major interest in the file, and just plan to play it once, installing the Vorbis ACM codec and playing it in WMP should do the trick.
Sincerely, although I appreciate your time and help on the subject, I don't know how that may be simpler than storing vorbis (which BTW, IMHO, it should definetelly be container independent, being merely a codec) in a public, widely accepted file format as AVI. As a researcher, I was only trying different possibilities. And since you've mentioned, I'd say I have seen dozens, if not hundrends of different encoded media being wrapped in AVI, and sincerely perhaps thousands of software supporting this file format (despite its disadvantages). I really don't see any reason why VORBIS should be so picky, besides, the whole OGG+VORBIS dependency, AFAIK, is really naive. Anyhow, I sincerely hope the industry comes to a better standard, and if matroska is to be a good candidate, let's go for it. Regards, Dario Andrade
On Tue, Apr 26, 2005 at 02:53:25AM -0300, Dario Andrade wrote:
This moron creating such files should be punished. AVI is incompatible with real Vorbis, the only way i know to create such files it to use the
You should be more careful when writing phrases like that.
Indeed, but in his defense I think he was thinking of windows idiots who tried to do this a long time ago and did it wrong, not gods like Michael who figure out a way that actually works...
Vorbis ACM codec from Virtualdub. Try to use VirtualdubMod from http://sf.net/projects/virtualdubmod to extract the Vorbis stream from the AVI, i seem to recall the author had added support for this once. Then use Mkvtoolnix to make a valid MKV file from your video AVI and Ogg Vorbis audio stream. If you dont have major interest in the file, and just plan to play it once, installing the Vorbis ACM codec and playing it in WMP should do the trick.
Sincerely, although I appreciate your time and help on the subject, I don't know how that may be simpler than storing vorbis (which BTW, IMHO, it should definetelly be container independent, being merely a codec) in a public, widely accepted file format as AVI. As a researcher, I was only trying different possibilities.
And since you've mentioned, I'd say I have seen dozens, if not hundrends of different encoded media being wrapped in AVI, and sincerely perhaps thousands of software supporting this file format (despite its disadvantages). I really don't see any reason why VORBIS should be so picky, besides, the whole OGG+VORBIS dependency, AFAIK, is really naive.
AVI requires constant-framerate (aka constant samples per frame), which vorbis does not give. It's possible to work around this requirement by having constant-bitrate instead (but this means horrible quality) or by using the trick Michael does for variable-framerate in AVI (but this wastes huge amounts of space in AVI overhead). Really, it _IS_ a limitation of the AVI container at work here, not just the arrogance and OGG-centricness of the Xiph team. :) Rich
participants (4)
-
christian@matroska.org -
dalias@aerifal.cx -
dario@sinistro.net -
michaelni@gmx.at