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

 
 

bug #31314: gnash not playing sound in google dict

Submitted by:  None
Submitted on:  Tue 12 Oct 2010 03:27:34 PM UTC  
 
Category: soundSeverity: 3 - Normal
Release: masterStatus: Fixed
Privacy: PublicAssigned to: Sandro Santilli <strk>
Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission 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>
Project MemberIn charge of this item.
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>
Project MemberIn charge of this item.
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>
Project MemberIn charge of this item.
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>
Project MemberIn charge of this item.
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>
Project MemberIn charge of this item.
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>
Project MemberIn charge of this item.
Thu 14 Apr 2011 09:24:55 PM UTC, comment #5:

URL for quick tests:
'http://www.google.com/dictionary/flash/SpeakerApp16.swf?sound_name=http://www.gstatic.com/dictionary/static/sounds/de/0/prompt.mp3'

Sandro Santilli <strk>
Project MemberIn charge of this item.
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>
Project MemberIn charge of this item.
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>
Project 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?

Maximiliano Castañón Araneda <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

Maximiliano Castañón Araneda <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%2Fhttp://www.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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 12 Jul 2011 08:01:55 AM UTCstrkStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Fri 15 Apr 2011 08:12:50 AM UTCstrkStatusIn Progress=>Ready For Test
    Thu 14 Apr 2011 09:20:27 PM UTCstrkStatusConfirmed=>In Progress
      Assigned toNone=>strk
    Wed 02 Mar 2011 09:42:48 PM UTCbjacquesRelease0.8.8=>master
      StatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup