gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-dev] YouTube not working in stand alone player


From: Udo Giacomozzi
Subject: [Gnash-dev] YouTube not working in stand alone player
Date: Wed, 11 Jul 2007 11:18:00 +0200

Can you play YouTube videos using the standalone player (not plugin)?

I see the player controls, the FLV movie is being loaded, the
progress bar advances and I even hear the sound, but no video. Do you
have the same problems?

I use this little script:

-----8<---------------------------------------------------------------
#!/bin/sh
url="http://youtube.com/watch?v=xJOGq5XTojo";
swf=$(wget --quiet -O - "$url" | grep -F player2.swf | cut -d \" -f 2)
gui/gnash -v $* "http://youtube.com$swf";
-----8<---------------------------------------------------------------




$ make dumpconfig

Building in directories: libbase libgeometry libamf server backend utilities 
gui testsuite po   plugin extensions
Some directories may be excluded from the build
Linux DebianLaptop 2.6.18-4-686 #1 SMP Wed Apr 18 09:55:10 UTC 2007 i686 
GNU/Linux
g++ -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v 
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr 
--enable-shared --with-system-zlib --libexecdir=/usr/lib 
--without-included-gettext --enable-threads=posix --enable-nls 
--program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu 
--enable-libstdcxx-debug --enable-mpfr --with-tune=i686 
--enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
CXXFLAGS: -g -O2 -pthread     -W     -Wall     -Wcast-align     -Wcast-qual     
-Wpointer-arith     -Wreturn-type

Image decoding support...
        JPEG_CFLAGS is
        JPEG_LIBS is -ljpeg
        PNG_CFLAGS is
        PNG_LIBS is
Audio decoding support...
        GSTREAMER_CFLAGS is -pthread -I/usr/include/gstreamer-0.10 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2
        GSTREAMER_LIBS is -Wl,--export-dynamic -pthread -lgstreamer-0.10 
-lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lxml2 -lglib-2.0
GUI Toolkit decoding support...
        SDL_CFLAGS is
        SDL_LIBS is
        GTK2_CFLAGS is -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include 
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 
-I/usr/include/libpng12
        GTK2_LIBS is -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm 
-lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr 
-lXcursor -lXfixes -lpango-1.0 -lcairo -lX11 -lgobject-2.0 -lgmodule-2.0 -ldl 
-lglib-2.0
        PANGO_CFLAGS is -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include
        PANGO_LIBS is -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl 
-lglib-2.0
        ATK_CFLAGS is -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include
        ATK_LIBS is -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
        X11_CFLAGS is -I/usr/include
        X11_LIBS is -lX11 -lXinerama -lXext -lSM -lICE
Support libraries...
        INCLTDL
        LIBLTDL -lltdl
        GLIB_CFLAGS is -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
        GLIB_LIBS is -lglib-2.0
        Z_CFLAGS is
        Z_LIBS is -lz
        LIBXML_CFLAGS is -I/usr/include/libxml2
        LIBXML_LIBS is -lxml2
        FREETYPE2_CFLAGS is -I/usr/include/freetype2
        FREETYPE2_LIBS is -lfreetype -lz
        FONTCONFIG_CFLAGS is
        FONTCONFIG_LIBS is -lfontconfig
        PTHREAD_CFLAGS is -pthread
        PTHREAD_LIBS is -lpthread
        CURL_CFLAGS is
        CURL_LIBS is -L/usr/lib -lcurl
        BOOST_CFLAGS is -I/usr/include
        BOOST_LIBS is -lboost_date_time -lboost_thread
        MING_VERSION_CODE 00040005
        MING_LIBS -L/usr/local/lib -lz -lm -lungif -lpng -lming
        MING_CFLAGS -I/usr/local/include
        MAKESWF /usr/local/bin/makeswf
        MTASC /usr/bin/mtasc
        MTASC CLASSPATH /usr/bin/std
Graphics support...
        CAIRO_CFLAGS is -I/usr/include/cairo -I/usr/include/freetype2 
-I/usr/include/libpng12
        CAIRO_LIBS is -lcairo
        AGG_CFLAGS is -I/usr/include/agg2
        AGG_LIBS is -lagg_pic
A blank value for CFLAGS means the header is installed in the
default system header location. All the LIBS should have a
legit value

Configurable options are:
Media handler: gst
Renderer engine: agg
GUI: gtk2
Extensions:





$ ./youtube_test.sh
19763] 11:18:24: Verbose output turned on
19763] 11:18:24: No rendering flags specified, using rcfile

(<unknown>:19763): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
19763] 11:18:24: Checking support for MIT-SHM...
19763] 11:18:24: NOTICE: MIT-SHM available (version 1.1)!
19763] 11:18:24: Created top level window
19763] 11:18:24: ERROR: Couldn't find pixmap file: GnashG.png

** (<unknown>:19763): WARNING **: Couldn't find pixmap file: GnashG.png
19763] 11:18:24: X server pixel format is (R16:8, G8:8, B0:8, 32 bpp)
19763] 11:18:24: X server is using BGRA32 pixel format
19763] 11:18:24: framebuffer pixel format is BGRA32
19763] 11:18:24: Base url set to: 
http://youtube.com/player2.swf?hl=en&BASE_YT_URL=http://youtube.com/&video_id=xJOGq5XTojo&l=193&t=OEgsToPDskJ-wi4cj3V_gQTS6ubMuZhn&soff=1&sk=q8FsIowkJ8mn_hrEbmkyIgC
19763] 11:18:24: SECURITY: Load from host youtube.com granted (default).
19763] 11:18:25: Movie 
http://youtube.com/player2.swf?hl=en&BASE_YT_URL=http://youtube.com/&video_id=xJOGq5XTojo&l=193&t=OEgsToPDskJ-wi4cj3V_gQTS6ubMuZhn&soff=1&sk=q8FsIowkJ8mn_hrEbmkyIgC
 (SWF7) added to library
19763] 11:18:25: GTK-AGG: Using shared memory image
19763] 11:18:25: initialized AGG buffer <0xb69dd000>, 666000 bytes, 450x370, 
rowsize is 1800 bytes
19763] 11:18:26: frame load advancement (from 4294967295 to 1)
19763] 11:18:26: ERROR: At end of stream, still no 'LogWindow' symbol found in 
m_exports (28 entries in it, follow)
19763] 11:18:26: frame load advancement (from 4294967295 to 1)
19763] 11:18:26: ERROR: At end of stream, still no 'LogWindowScrollbar' symbol 
found in m_exports (28 entries in it, follow)
19763] 11:18:26: DEBUG: video_stream_instance 0x82e3198 ctor
19763] 11:18:26: ERROR: Unimplemented: localconnection_send
19763] 11:18:26: ERROR: Unimplemented: sharedobject_getlocal
19763] 11:18:26: ERROR: Unimplemented: MovieClip.attachAudio()
19763] 11:18:26: ERROR: Unimplemented: localconnection_send
19763] 11:18:26: DEBUG: gnash::as_value gnash::netconnection_new(const 
gnash::fn_call&) enter
19763] 11:18:26: DEBUG: static gnash::as_value 
gnash::NetConnection::connect_method(const gnash::fn_call&) enter
19763] 11:18:26: SECURITY: Load from host youtube.com granted (default).
19763] 11:18:26: Connecting to movie: 
http://youtube.com/get_video?video_id=xJOGq5XTojo&t=OEgsToPDskJ-wi4cj3V_gQTS6ubMuZhn
19763] 11:18:26: SECURITY: Load from host youtube.com granted (default).
19763] 11:18:27: Connection etablished to movie: 
http://youtube.com/get_video?video_id=xJOGq5XTojo&t=OEgsToPDskJ-wi4cj3V_gQTS6ubMuZhn
19763] 11:18:27: Pausing pipeline on startPlayback






reply via email to

[Prev in Thread] Current Thread [Next in Thread]