Open GoogleCodeExporter opened 9 years ago
Please jpost your input file online somewhere, and paste a link to it here.
Original comment by art.cla...@gmail.com
on 25 Aug 2009 at 5:36
Hello Art,
The TestSpeex.zip file is attached. Package contents:
pcm_8k_stereo.wav - original input file
pcm_8k_stereo_speexenc.spx - input file transcoded with speexenc.exe
pcm_8k_stereo_ffmpeg.spx - transcoded file to speex using Xuggle-FFMpeg. This
file
cannot be opened by Foobar2000 and is garbled in VLC. It is also double the
size of
the SpeexEnc encoded file.
pcm_8k_mono.wav - stereo file converted to mono
pcm_8k_mono_speexenc.spx - reference file transcoded with speexenc.exe
pcm_8k_mono_ffmpeg.spx - transcoded file to speex using Xuggle-FFMpeg. This
file is
NOT garbled but still cannot be opened by Foobar2000. Again, double the size of
the
SpeexEnc file
In summary, there are three issues:
1. Garbled sound when using stereo.
2. Invalid comment in header.
3. FFMpeg uses non-default Speex bitrate.
Original comment by ra...@raisoftware.ro
on 26 Aug 2009 at 9:14
Attachments:
Hi there,
You're right, and I can reproduce the echo -- I believe it has to do with the
quality
settings that FFmpeg uses.
However, when encoding using the Xuggler API I'm not seeing similar issues.
I added speex encoding to FFmpeg primarily so it could be used through the
Xuggler
API, so I'm afraid this is low priority to fix at the moment.
Other comments: (1) I only added support for encoding to FLV and OGG
containers, not
SPX, so I wouldn't expect that to work; (2) eventually the FFmpeg (Justin in
particular) will add speex encoding proper to FFmpeg, and then I'll drop my
implementation in favor of theirs, so again, not likely to fix it in the free
product.
Original comment by art.cla...@gmail.com
on 2 Sep 2009 at 4:32
Hey Art,
Thanks for the answer. Can you please post your Xuggle test code as attachment?
> You're right, and I can reproduce the echo -- I believe it has to do with the
> quality settings that FFmpeg uses.
It works with mono files, it doesn't work with stereo input files.
> (1) I only added support for encoding to FLV and OGG containers,
> not SPX, so I wouldn't expect that to work;
SPX container *IS* Ogg, it just have the extension changed. You get the same
result
with:
ffmpeg.exe -i pcm_8k_stereo.wav -acodec libspeex ff.ogg
Regards,
Rares
Original comment by ra...@raisoftware.ro
on 2 Sep 2009 at 11:16
Hmm....actually my test code just does mono. I'll look at the stereo thing,
that
might be easier to fix.
Original comment by art.cla...@gmail.com
on 2 Sep 2009 at 2:11
Original issue reported on code.google.com by
ra...@raisoftware.ro
on 25 Aug 2009 at 10:27