Bug 267776 - Playing a 3gp video - Sound is only noise
Summary: Playing a 3gp video - Sound is only noise
Status: RESOLVED NOT A BUG
Alias: None
Product: dragonplayer
Classification: Applications
Component: general (show other bugs)
Version: 2.0.x
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-06 12:27 UTC by Pascal d'Hermilly
Modified: 2012-07-13 18:21 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal d'Hermilly 2011-03-06 12:27:32 UTC
Version:           2.0.x (using KDE 4.6.1) 
OS:                Linux

I'm playing a 3gp video file in dragonplayer - but the sound is only horrible noise. The sound plays fine in VLC.
I'm using the Xine phonon backend - which must be default in Kubuntu.

pascal@pascal-t410s:~$ file VIDEO0016.3gp 
VIDEO0016.3gp: ISO Media, MPEG v4 system, 3GPP


Reproducible: Always

Steps to Reproduce:
wget http://dhermilly.dk/pascal/VIDEO0001.3gp
dragon VIDEO0001.3gp

Actual Results:  
horrible noise

Expected Results:  
good sound or a message that the audio could not be played.

OS: Linux (x86_64) release 2.6.35-27-generic
Compiler: cc
Comment 1 Harald Sitter 2012-07-13 02:35:58 UTC
The audio encoding is actually pretty much broken. So there is data that gets decoded and there is audio that comes out, but it does not actually sound like anything.

VLC, featuring a better bogus-encoding-recovery technology does slightly better, but still mostly garbage.

Nothing we can do about semi-broken files unfortunately.
Comment 2 Pascal d'Hermilly 2012-07-13 09:20:05 UTC
OK. All my phone videos are like this in the audio(htc desire)... anyway if we cannot play the sound like in VLC then I think the best would be to turn off the sound entirely because it is quite shocking that unexpected loud noise are charging out through the speakers. 
Can we do that?
Comment 3 Pascal d'Hermilly 2012-07-13 09:22:32 UTC
another sound test video: http://dhermilly.dk/pascal/VIDEO0052.3gp
Comment 4 mgolden 2012-07-13 13:54:12 UTC
I don't understand why this ticket is resolved INVALID.  vlc has no issue playing 3gp files.  The file linked above works fine in vlc and even in the vlc plugin for firefox.  Clearly there is something with the backend's decoding of perfectly well-formed data.
Comment 5 Harald Sitter 2012-07-13 14:21:06 UTC
(In reply to comment #4)
> I don't understand why this ticket is resolved INVALID.  vlc has no issue
> playing 3gp files.  The file linked above works fine in vlc and even in the
> vlc plugin for firefox.  Clearly there is something with the backend's
> decoding of perfectly well-formed data.

Does not on master. The encoding is still defunct, as apparently the time stamping of the audio samples is way off.
Comment 6 Pascal d'Hermilly 2012-07-13 14:37:55 UTC
When switching the Phonon backend to VLC through systemsettings->multimedia ->phonon ->backend (first install package: phonon-vlc) Dragon plays the file without any issues.

So the problem is not in Dragon. I suppose it's in Gstreamer which is used before. Right?
Comment 7 Harald Sitter 2012-07-13 15:04:57 UTC
Not it is still with the file. But as I said VLC features better compensation features. The underlying issue still stands. For instance in my VLC git installation it is once again semi-broken (i.e. it is compensating worse for the broken encoding)
Comment 8 mgolden 2012-07-13 18:21:20 UTC
I am not sure I understand.  I have never seen dragonplayer ever properly play a 3gp file.  The audio is always noise.  3gp files are what is produced by mobile phones - mine from Android.  Is the claim that somehow all of these files are out of the 3gp spec?  I can post some others if that helps.