After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 705663 - bad audio quality (with noise) when using playbin on files with mp3 or ac3 audio in windows
bad audio quality (with noise) when using playbin on files with mp3 or ac3 au...
Status: RESOLVED DUPLICATE of bug 705477
Product: GStreamer
Classification: Platform
Component: dont know
1.0.9
Other Windows
: Normal major
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-08-08 11:52 UTC by boballo34dc
Modified: 2013-08-26 09:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description boballo34dc 2013-08-08 11:52:05 UTC
The audio is really really bad (with lots of noise) under windows when gst-launch-1.0.exe is used with the playbin command for mp3 or ac3 files or videos with these as audio. Tested this on my Laptop and my Desktop PC.
Both have Windows 7 64 bit.
I used the install files from here:
http://gstreamer.freedesktop.org/data/pkg/windows/
tested these versions:
gstreamer-1.0-x86-1.0.7.msi
gstreamer-1.0-x86-1.0.8.msi
gstreamer-1.0-x86-1.0.9.msi
gstreamer-1.0-x86_64-1.0.9.msi
All have the same result.

Example command lines:
gst-launch-1.0.exe playbin uri=file:///c:/temp/some.mp3
or for mp4 h264 video file with ac3 as audio:
gst-launch-1.0.exe playbin uri=file:///c:/temp/somevideo.mp4
Same when mp4 or mkv file with mp3 audio is used.

AAC for audio is fine.

I tried different mp3 and video files.

If I use this command:
gst-launch-1.0.exe filesrc location=some.mp3 ! mpegaudioparse ! avdec_mp3 ! autoaudiosink
the audio is perfect

The files work in an older GStreamer 0.10.x version (using playbin or playbin2).
I did not find an older 1.0.x version to test it.

As I said it also does not work on my Desktop PC so it does not seem to be a sound driver problem.

We use GStreamer in an application and want to just use playbin for video files but with these issues porting to the current version is not possible.

(I am on holiday for the next 2 weeks and can't therefore not answer any questions.)

thanks for the help
Comment 1 Sebastian Dröge (slomo) 2013-08-13 11:40:10 UTC
This is *most* probably a duplicate of bug #705477 . Please test what I've written there, if resampling or converting to a different sample format fixes anything before the sink.

*** This bug has been marked as a duplicate of bug 705477 ***
Comment 2 boballo34dc 2013-08-26 09:18:13 UTC
I retested some files using the fixed libgstdirectsoundsink.dll from the bug #705477. (Just the normal playbin command without any resampling)
Everything works OK. No sound problems.
Thank you.