bugGnash - The GNU Flash player - Bugs: bug #31314, gnash not playing sound in google...

 
 

bug #31314: gnash not playing sound in google dict

Submitter:  None
Submitted:  Tue 12 Oct 2010 03:27:34 PM UTC
   
 
Category:  sound Severity:  3 - Normal
Release:  master Status:  Fixed
Privacy:  Public Assigned to:  strk
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Fri 15 Apr 2011 08:20:12 AM UTC, comment #11: 

Filed bug #33086 for the GST problem with re-playing the sound

Sandro Santilli <strk>
Group Member
Fri 15 Apr 2011 08:16:28 AM UTC, comment #10: 

Filed bug #33085 for the FFMPEG problem with re-playing the sound

Sandro Santilli <strk>
Group Member
Fri 15 Apr 2011 08:12:50 AM UTC, comment #9: 

6b47871 fixes the AS part of this.

I can now hear the sound with both FFMPEG and GST media handlers,
altought both of them have issues on sound restart (from second click on) and GST is unstable when tried with easysound.swf

Anyway, since the original report is "not playing sound"
I'd close this if anyone else can confirm, and file new bugs for the other issues.

Sandro Santilli <strk>
Group Member
Thu 14 Apr 2011 10:23:01 PM UTC, comment #8: 

Ah, oh... onLoad needs to be called with an argument, taht's why... I'll stop makin noise now, just need some sleep

Sandro Santilli <strk>
Group Member
Thu 14 Apr 2011 10:21:47 PM UTC, comment #7: 

But... I don't see any Sound.start being invoked, did you see them, bastiaan ?

Sandro Santilli <strk>
Group Member
Thu 14 Apr 2011 10:15:28 PM UTC, comment #6: 

I confirm calling onLoad gets the audio out.
I'm trying to get it to work on multiple clicks,
but might give up sooner.

Sandro Santilli <strk>
Group Member
Thu 14 Apr 2011 09:24:55 PM UTC, comment #5: 
Sandro Santilli <strk>
Group Member
Thu 14 Apr 2011 09:20:28 PM UTC, comment #4: 

c492c1b adds automated test for it.
Given we do call onSoundComplete it may be easy to add onLoad too.

The added test shows that onLoad is also invoked for streaming sound: Sound.loadSOund(sound,true). Test should be extended to double check with loadSound(sound,false).

Sandro Santilli <strk>
Group Member
Wed 02 Mar 2011 09:42:48 PM UTC, comment #3: 

The problem is that this is an 'event' sound, i.e. Sound.loadSound(sound, false) is called, and event sounds are not completely implemented. In particular, Sound.onLoad is never called, thus the AS never calls Sound.start(). When onLoad is (artificially) called, the movie works fine.

Bastiaan Jacques <bjacques>
Group Member
Mon 28 Feb 2011 04:04:21 AM UTC, comment #2: 

another thing, the file is downloaded (media files who appears in preferences)... if you try to heard this file (MP3) with VLC you can't... but if you try with VLC again, but this time you press the PLAY button, but inmediatly press the PAUSE button, you can heard the entire word.

If you are using Nautilus, you leave the mouse over the mp3 file, you can heard without problems the word...

If you play with ffplay you can heard without problems, but seems it can't detect the duration time of it:

Input #0, mp3, from '/home/maximi89/gnash/www.google.com/dictionary_static_sounds_de_0_prompt1.mp3':
  Duration: 00:00:00.67, start: 0.000000, bitrate: 132 kb/s
    Stream #0.0: Audio: mp3, 22050 Hz, 1 channels, s16, 128 kb/s
   0.68 A-V:  0.000 s:0.0 aq=    0KB vq=    0KB sq=    0B f=0/0  

and that is the half second i heard (like a TV with no channel, just static) with a normal play with VLC...

Probably it's a problem of the sound... or how Gnash download it...

there is a way to clone the website and put a correct file?

-X- <maximi89>
Mon 28 Feb 2011 03:39:16 AM UTC, comment #1: 

i can confirm this... the button seems to keep when you press the button, but no sound is heard...
this happens me with master version

-X- <maximi89>
Tue 12 Oct 2010 03:27:34 PM UTC, original submission:  

Thanks for the great job. It's working well on my box for most websites, but not playing the sound with this google dict swf.

http://www.google.com/dictionary?q=prompt&hl=en&langpair=en|en&spell=1&oi=spell

Related HTML source:

<object data="/dictionary/flash/SpeakerApp16.swf" type="application/x-shockwave-flash" id="pronunciation" width=" 16" height="16">
<param name="movie" value="/dictionary/flash/SpeakerApp16.swf">
<param name="flashvars" value="sound_name=http%3A%2F%2Fwww.gstatic.com%2Fdictionary%2Fstatic%2Fsounds%2Fde%2F0%2Fprompt.mp3">
<param name="wmode" value="transparent">
<a href="http://www.gstatic.com/dictionary/static/sounds/de/0/prompt.mp3"><img src="/dictionary/flash/SpeakerOffA16.png" alt="listen" width="16" height="16" border="0"></a>
</object>

Thank you for taking time to look at the bug report.

Yang

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by strk (Posted a comment)
  • -email is unavailable- added by bjacques (Posted a comment)
  • -email is unavailable- added by maximi89 (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-07-12 strk StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2011-04-15 strk StatusIn Progress Ready For Test
    2011-04-14 strk StatusConfirmed In Progress
        Assigned toNone strk
    2011-03-02 bjacques Release0.8.8 master
        StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code