bugGnash - The GNU Flash player - Bugs: bug #24245, Youtube embedded player is broken

 
 

bug #24245: Youtube embedded player is broken

Submitter:  Ed Martin <edman007>
Submitted:  Fri 12 Sep 2008 02:04:06 AM UTC
   
 
Category:  None Severity:  3 - Normal
Release:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Mon 14 Feb 2011 04:59:02 PM UTC, comment #11: 

Looks kind of expired. I'll assume fixed.

If anyone else has problems with embedded youtube please file a new bug with a possibly stable url to look at.

Sandro Santilli <strk>
Group Member
Mon 25 May 2009 10:03:29 PM UTC, comment #10: 

Hi,

Just a quick note: the following cmdline allows me to reproduce the "blank picture with white text" issue:

/usr/bin/gtk-gnash -j 640 -k 385 -u http://s.ytimg.com/yt/swf/watch-vfl98338.swf -F 59 -U http://www.youtube.com/watch?v=9sJUDx7iEJw -P allowfullscreen=true -P allowscriptaccess=always -P 'bgcolor=#000000' -P 'flashvars=usef=0&fexp=52464&vq=null&video_id=9sJUDx7iEJw&l=121&sk=FhGDJBRZTBbHugTLJyP1wRYviqEzXfFFC&fmt_map=18/512000/9/0/115,34/0/9/0/115,5/0/7/0/0&t=vjVQa1PpcFMmUAOAUO8pKfYKvxuoah3VdPGnVORoMGk=&hl=en&plid=AARqw7fjFxsG3Rsd&keywords=linux%2Crichard%2Cstallman%2Cfree%2Csoftware%2Csong%2Cazathor%2Cruddy%2Ccatalan%2Cespa%C3%B1a%2Cjulian%2Ccoccia&cr=US&playnext=0&enablejsapi=1' -P 'height=100%' -P id=movie_player -P name=movie_player -P quality=high -P 'src=http://s.ytimg.com/yt/swf/watch-vfl98338.swf' -P 'style=' -P 'type=application/x-shockwave-flash' -P 'width=100%' http://s.ytimg.com/yt/swf/watch-vfl98338.swf

I get the same error in the browser as well.

Thanks.

Miklos Vajna <vmiklos>
Mon 25 May 2009 09:50:40 PM UTC, comment #9: 

Hi,

First, sorry for the later reply, I did not spend time to debug this issue.

I just checked this again with 0.8.5 on PPC, and gtk-gnash works fine. First it played video only, then I installed gstreamer-plugins-bad-* and gstreamer-plugins-ugly-* and then I had audio as well. (Later I can see what was the exact package if needed.) So in short it no longer segfauled when it did not have the necessary audio codec.

What is a bit more annoying is that the in-browser play still doesn't work, it shows a black screen and there is a white "An error ocurred, please try again later." message on it, but that's all.

Should I try a build from trunk?

I'm building with:

--enable-mp3 --enable-plugin --with-plugindir=/usr/lib/mozilla/plugins --enable-gui=gtk --enable-visibility --enable-media=gst

Thanks!

Miklos Vajna <vmiklos>
Tue 03 Mar 2009 09:08:48 PM UTC, comment #8: 

This is very interesting. What plugins did you install to fix the issue? The reason I'd like to know is so that I can perhaps try to prevent this from happening to other people, or at least have a useful solution.

Bastiaan Jacques <bjacques>
Group Member
Tue 03 Mar 2009 08:57:44 PM UTC, comment #7: 


> My best guess at this point is that you stumbled upon a bug in
> gstreamer-ffmpeg.


It seems you are right. whaawmp did not crash but claimed about missing plugins, when I installed them, gnash started to use them, instead of gst-ffmpeg, and now it works fine on i686.

I'll try to test it on ppc as well, probably that's more interesting. :)

Thanks for the hint!

Miklos Vajna <vmiklos>
Tue 03 Mar 2009 02:17:18 AM UTC, comment #6: 

Thank you for the report, Miklos. I retraced your steps, and I don't get a peep from either gdb or valgrind. I tried with a 32-bit and a 64-bit machine, and with --enable-visibility an with optimization and without either one.

My best guess at this point is that you stumbled upon a bug in gstreamer-ffmpeg. Are you able to play the FLV using a different Gstreamer-based player?

Bastiaan Jacques <bjacques>
Group Member
Tue 03 Mar 2009 01:30:43 AM UTC, comment #5: 


> Should be fixed in release branch and trunk.


I tried to test this, but it seems the gnash plugin just segfaults, after I click on the play button.

Here is a trace:

$ url=http://youtube.com/watch?v=9sJUDx7iEJw
$ vars=$(wget --quiet -O - "$url" | grep -F watch_fullscreen | cut -d \? -f 2 | cut -d \" -f1)
$ gdb --args gtk-gnash -v -F 2 -P "FlashVars=$vars" http://youtube.com/player2.swf
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-frugalware-linux"...
(gdb) run
Starting program: /usr/bin/gtk-gnash -v -F 2 -P FlashVars=fs=1\&fexp=900137\&vq=None\&video_id=9sJUDx7iEJw\&l=121\&sk=l1_vV-y9Lni_ZEiXcEJwMENwnRLhtFPzC\&fmt_map=34%2F0%2F9%2F0%2F115\&t=vjVQa1PpcFP_7C8YyZLKgWxLquOXyAJV5PzoorxaHe8%3D\&hl=en\&plid=AARkLJq9KBn0AsvYAAAAoAAIQAA\&cr=US\&title=Richar\ Stallman\ Free\ software\ Song\'\; http://youtube.com/player2.swf
[Thread debugging using libthread_db enabled]
[New Thread 0xb68616d0 (LWP 6370)]
[New Thread 0xb6523b90 (LWP 6374)]
6370:3062240976] 02:26:23 SECURITY: Checking security of URL 'http://youtube.com/player2.swf'
6370:3062240976] 02:26:23 SECURITY: Load from host youtube.com granted (default)
[New Thread 0xb5aaab90 (LWP 6375)]
6370:3047861136] 02:26:24 UNIMPLEMENTED: LanguageCode in DefineFont (2 or 3)
6370:3062240976] 02:26:25 ERROR: No Video info in video definition
[Thread 0xb5aaab90 (LWP 6375) exited]
6370:3062240976] 02:26:25 ERROR: No export symbol LogWindow found in movie http://youtube.com/player2.swf. Frames loaded 1/1
6370:3062240976] 02:26:25 ERROR: No export symbol LogWindowScrollbar found in movie http://youtube.com/player2.swf. Frames loaded 1/1
6370:3062240976] 02:26:25 ERROR: MovieClip.attachAudio([undefined]): first arg doesn't cast to an object
GET :javascript:checkCurrentVideo('undefined');
6370:3062240976] 02:26:25 UNIMPLEMENTED: MovieClip.attachAudio() - TESTING
6370:3062240976] 02:26:25 SECURITY: Connecting to movie: /get_video?video_id=9sJUDx7iEJw&t=vjVQa1PpcFP_7C8YyZLKgWxLquOXyAJV5PzoorxaHe8=&fmt=34
6370:3062240976] 02:26:25 SECURITY: Checking security of URL 'http://youtube.com/get_video?video_id=9sJUDx7iEJw&t=vjVQa1PpcFP_7C8YyZLKgWxLquOXyAJV5PzoorxaHe8=&fmt=34'
6370:3062240976] 02:26:25 SECURITY: Load from host youtube.com granted (default)
[New Thread 0xb5184b90 (LWP 6376)]
6370:3062240976] 02:26:26 ERROR: Error decoding encoded video frame in NetStream input
6370:3062240976] 02:26:26 ERROR: nextVideoFrameTimestamp returned true (0), but decodeNextVideoFrame returned null, I don't think this should ever happen
GET :javascript:checkCurrentVideo('9sJUDx7iEJw');
6370:3062240976] 02:26:27 SECURITY: Checking security of URL 'http://video-stats.video.google.com/s?ns=yt&plid=AARkLJq9KBn0AsvYAAAAoAAIQAA&vid=l1_vV-y9Lni_ZEiXcEJwMENwnRLhtFPzC&docid=9sJUDx7iEJw&fmt=34&el=detailpage&rt=0.764&fs=1&bc=329454&len=121&st=0.068&et=0.068&fv=LNX%209%2C0%2C999%2C0'
6370:3062240976] 02:26:27 SECURITY: Load from host video-stats.video.google.com granted (default)
6370:3062240976] 02:26:27 ERROR: Can't read file header
6370:3062240976] 02:26:27 ERROR: unknown file type (5)
6370:3062240976] 02:26:27 ERROR: Couldn't load library movie 'http://video-stats.video.google.com/s?ns=yt&plid=AARkLJq9KBn0AsvYAAAAoAAIQAA&vid=l1_vV-y9Lni_ZEiXcEJwMENwnRLhtFPzC&docid=9sJUDx7iEJw&fmt=34&el=detailpage&rt=0.764&fs=1&bc=329454&len=121&st=0.068&et=0.068&fv=LNX%209%2C0%2C999%2C0'
6370:3062240976] 02:26:27 ERROR: can't create movie_definition for http://video-stats.video.google.com/s?ns=yt&plid=AARkLJq9KBn0AsvYAAAAoAAIQAA&vid=l1_vV-y9Lni_ZEiXcEJwMENwnRLhtFPzC&docid=9sJUDx7iEJw&fmt=34&el=detailpage&rt=0.764&fs=1&bc=329454&len=121&st=0.068&et=0.068&fv=LNX%209%2C0%2C999%2C0

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb68616d0 (LWP 6370)]
0xb418b42e in float_to_int16_interleave_misc_sse2 () from /usr/lib/gstreamer-0.10/libgstffmpeg.so
(gdb) bt
#0  0xb418b42e in float_to_int16_interleave_misc_sse2 () from /usr/lib/gstreamer-0.10/libgstffmpeg.so
#1  0xb419854b in aac_decode_frame () from /usr/lib/gstreamer-0.10/libgstffmpeg.so
#2  0x00000001 in ?? ()
#3  0x00000160 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

I have gst-ffmpeg 0.10.6 installed.

The gnash configure options I used are:

--enable-mp3 --enable-plugin --with-plugindir=/usr/lib/mozilla/plugins --enable-gui=gtk --enable-visibility --enable-media=gst

Let me know if I missed some detail.

Thanks.

Miklos Vajna <vmiklos>
Tue 03 Mar 2009 12:26:10 AM UTC, comment #4: 

I also experience this. I am using Gnash 0.8.4  with the Firefox plug-in on Firefox 3.0.6 on Ubuntu 8.10 on a 32 bit Intel processor. I can give more info to anyone who wants it.


Anonymous
Mon 02 Mar 2009 06:27:53 AM UTC, comment #3: 

Should be fixed in release branch and trunk.

Benjamin Wolsey <bwy>
Group Member
Sun 12 Oct 2008 10:46:31 AM UTC, comment #2: 

Same here in a Debian unstable with trunk-9980 by Russ Nelson.

Annoying, but youtube.com works great.

SebastiĆ 

Anonymous
Fri 19 Sep 2008 04:53:23 PM UTC, comment #1: 

I can reproduce this one one x86 32-bit as well.

Miklos Vajna <vmiklos>
Fri 12 Sep 2008 02:04:06 AM UTC, original submission:  

When i play a video using the youtube embedded player (such as what is seen at the top of http://postsecret.blogspot.com/ right now) it does not play as it should. It loads, i click the play button and it plays, but the play button fails to disappear and just sits there right in the middle of the video blocking whatever i'm looking at

my config info (trunk as or 15 minutes ago, 64-bit build)

Build options trunk
   Target:
   Renderer: cairo - GUI: GTK - Media handler: ffmpeg
   Configured with: --prefix=/usr --libdir=/usr/lib64 --sysconfdir=/etc --localstatedir=/var --mandir=/usr/man --docdir=/usr/doc/gnash-bzr --enable-gui=gtk --enable-renderer=cairo --enable-jpeg --enable-freetype2 --enable-fontconfig --enable-Xft --enable-gstreamer --with-ffmpeg-incl=/usr/include --enable-media=ffmpeg
   CXXFLAGS: -O3 -fPIC -march=native -pthread -pthread     -W     -Wall     -Wcast-align     -Wcast-qual     -Wpointer-arith     -Wreturn-type     -Wnon-virtual-dtor     -Wunused

Ed Martin <edman007>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #17566:  Gnash problem.png added by None (398KiB - image/png - Here's a screenshot of the embedded player not working correctly.)

 

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 bwy (Posted a comment)
  • -email is unavailable- added by maarons
  • -email is unavailable- added by vmiklos (Posted a comment)
  • -email is unavailable- added by edman007 (Submitted the item)
  •  

    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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-02-14 strk StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2009-03-03 None Attached File- Added Gnash problem.png, #17566
    2009-03-02 bwy StatusNone Ready For Test
    2008-12-12 maarons Carbon-Copy- Added maarons

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code