bugGnash - The GNU Flash player - Bugs: bug #19913, Youtube: the movie stops playing...

 
 

bug #19913: Youtube: the movie stops playing while streaming after 10-15 secs (GST)

Submitted by:  Rino <ordeal>
Submitted on:  Sun 20 May 2007 03:16:58 PM UTC  
 
Category: video-gstSeverity: 5 - Blocker
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Tomas Groth <tgc>
Open/Closed: Closed

Add a New Comment(Rich 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 08 Jun 2007 01:05:32 PM UTC, comment #11:

Rob told be a few days ago that it works for him now, so would anybody object to me closing this bug?

Tomas Groth <tgc>In charge of this item.
Fri 25 May 2007 09:41:47 AM UTC, comment #10:

It locks up until the movie is fully loaded? Is the pauses more noticable than before?

Tomas Groth <tgc>In charge of this item.
Fri 25 May 2007 05:50:05 AM UTC, comment #9:

It still locks up for me on an x86 Ubuntu Edgy system. The pauses are also more noticable.

Rob Savoye <rsavoye>
Project Administrator
Fri 25 May 2007 12:18:00 AM UTC, comment #8:

the small pauses are clearly noticeable to me. I noticed the pauses before seeing the comment :(

great work still!

Dongxu Li <butdiene>
Thu 24 May 2007 10:33:51 PM UTC, comment #7:

I just committed a patch that fixes this for me. There will most likely still be some small pauses (not always notable) about every 12th second, and this is caused by some gnash internal (tu_file) which can't be easily fixed :-(
Anyway, please test!

Tomas Groth <tgc>In charge of this item.
Thu 24 May 2007 12:39:12 AM UTC, comment #6:

Ok, i think i found the issue... The problem is that in LoadThread we have a loop accessing a mutex protected function that downloads the data, and sometimes the media decoder has to lock the same mutex from a different function, but the loop-called function just continues to get the loop, which makes the decoder stall - sometimes until the download is complete. Maybe this can be fixed by making the loop sleep a few milliseconds from time to time.

Tomas Groth <tgc>In charge of this item.
Wed 23 May 2007 03:24:34 PM UTC, comment #5:

The bug is still there,(tried with cvs20070523)

Rino <ordeal>
Wed 23 May 2007 09:16:56 AM UTC, comment #4:

I just committed a patch that might fix this, please test with latest cvs.

Tomas Groth <tgc>In charge of this item.
Sun 20 May 2007 04:32:16 PM UTC, comment #3:

*I should have said that the cursor rolls forward of 1-2 minutes depending on the time elapsed between the stop and the completion of download

Rino <ordeal>
Sun 20 May 2007 04:14:21 PM UTC, comment #2:

After all the video is downloaded the cursor rolls forward of 1-2 minutes (depending on the size of the whole video) and starts playing again from there.
When it reaches the end,then the playback is resumed.

Gstreamer version on my system is 0.10.12-2 .

Rino <ordeal>
Sun 20 May 2007 03:56:06 PM UTC, comment #1:

I just to be sure what the problem is... The video stops after 10-15 seconds, but when the whole movie is downloaded, then playback is resumed?

What exact version of gstreamer do you have on your system?

Tomas Groth <tgc>In charge of this item.
Sun 20 May 2007 03:16:58 PM UTC, original submission:

Hi,even trying the last CVS releases (052007) and building with gst media handler,i got this bug:
when i try playing a video with youtube,it stops playing after 10-15 secs,the streaming bar keeps on being filled,but the video starts playing again after the whole bar is full.

Here it's my gnash-gdb.log

Verbose output turned on
Setting width to 450
Setting height to 370
Setting root URL to http://www.youtube.com/player2.swf?video_id=WzMS42BbnJU&l=203&t=OEgsToPDskJiCnvDckFRCSdpk_wcnkcz&soff=1&sk=NvZgbHGWXiYhwlKb9D12aAC
Setting base URL to http://www.youtube.com/watch?v=WzMS42BbnJU&feature=dir
No rendering flags specified, using rcfile
Timer delay set to 50 milliseconds
16:28:14: DEBUG: virtual bool gnash::GtkGui::init(int, char***) enter
OpenGL extension version - 1.2
Got double-buffered visual.
Created XEmbedded window
16:28:14: DEBUG: virtual bool gnash::GtkGui::createMenu() enter
16:28:14: DEBUG: returning
16:28:14: DEBUG: virtual bool gnash::GtkGui::setupEvents() enter
16:28:14: DEBUG: returning
16:28:14: DEBUG: static gboolean gnash::GtkGui::realize_event(GtkWidget, GdkEvent, void*) enter
16:28:14: DEBUG: returning
16:28:14: DEBUG: returning
Base url set to: http://www.youtube.com/watch?v=WzMS42BbnJU&feature=dir
16:28:14: DEBUG: virtual bool gnash::GtkGui::createWindow(int, int) enter
16:28:14: DEBUG: returning
16:28:14: DEBUG: virtual bool gnash::GtkGui::run() enter
ERROR: Unimplemented: FIXME: debugger doesn't deal with anonymous function calls
ERROR: Unimplemented: sharedobject_getlocal
ERROR: Unimplemented: MovieClip.attachAudio()
16:28:15: DEBUG: gnash::as_value gnash::netconnection_new(const gnash::fn_call&) enter
16:28:15: DEBUG: returning
16:28:15: DEBUG: static gnash::as_value gnash::NetConnection::connect_method(const gnash::fn_call&) enter
16:28:15: DEBUG: returning
SECURITY: Load from host http://www.youtube.com granted (default).
Connecting to movie: http://www.youtube.com/get_video?video_id=WzMS42BbnJU&t=OEgsToPDskJiCnvDckFRCSdpk_wcnkcz
SECURITY: Load from host http://www.youtube.com granted (default).
Connection etablished to movie: http://www.youtube.com/get_video?video_id=WzMS42BbnJU&t=OEgsToPDskJiCnvDckFRCSdpk_wcnkcz
16:28:19: DEBUG: Building FLV video decoding pipeline
16:28:19: DEBUG: Connecting video handoff signal
16:28:19: DEBUG: New _handoffVideoSigHandler id : 81
16:28:19: DEBUG: Building FLV video decoding pipeline
16:28:19: DEBUG: Connecting audio handoff signal
16:28:19: DEBUG: New _handoffAudioSigHandler id : 82
Pausing pipeline on startPlayback
16:28:20: DEBUG: Setting pipeline state to PAUSE
16:28:20: DEBUG: State change to paused will be asynchronous.. waiting for it
16:28:20: DEBUG: Pause still not completed after X seconds
16:28:20: DEBUG: Async pause completed successfully
16:28:20: DEBUG: Setting status to bufferFull and enabling pipeline
16:28:20: DEBUG: State change to PLAYING successful
16:28:20: DEBUG: Processing 1 status notifications
16:28:20: DEBUG: Invoking onStatus(NetStream.Play.Start)
16:31:03: DEBUG: gnash::as_value gnash::xml_sendandload(const gnash::fn_call&) enter
ERROR: Unimplemented: sendAndLoad
16:31:03: DEBUG: returning
16:31:43: DEBUG: Playback paused (out of data?)
16:31:43: DEBUG: Load completed, setting playStop status and shutting down pipeline
16:31:43: DEBUG: Disconnecting video handoff signal 81
16:31:43: DEBUG: Disconnecting audio handoff signal 82
16:31:44: DEBUG: State change to NULL successful
16:31:44: DEBUG: Processing 2 status notifications
16:31:44: DEBUG: Invoking onStatus(NetStream.Buffer.Empty)
16:31:44: DEBUG: Invoking onStatus(NetStream.Play.Stop)
Pausing pipeline on user request
16:31:44: DEBUG: Setting pipeline state to PAUSE
16:31:44: DEBUG: Won't set the pipeline to PAUSE state if m_go is false
ERROR: Could not pause pipeline

And here it's my make dumpconfig

Building in directories: libbase libgeometry libamf server backend utilities gui testsuite po plugin extensions cygnal
Some directories may be excluded from the build
Linux debian 2.6.18-4-powerpc #1 Wed Apr 18 01:52:23 UTC 2007 ppc GNU/Linux
g++ -v
Using built-in specs.
Target: powerpc-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 --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --disable-softfloat --enable-secureplt --enable-targets=powerpc-linux,powerpc64-linux --with-cpu=default32 --with-long-double-128 --enable-checking=release powerpc-linux-gnu
Thread model: posix
gcc version 4.1.3 20070423 (prerelease) (Debian 4.1.2-4)

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 -pthread -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lrt -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
PTHREAD_CFLAGS is -pthread
PTHREAD_LIBS is -lpthread
CURL_CFLAGS is
CURL_LIBS is -lcurl
BOOST_CFLAGS is -I/usr/include
BOOST_LIBS is -lboost_date_time -lboost_thread
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
GLEXT_CFLAGS is -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0
GLEXT_LIBS is -Wl,--export-dynamic -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lGLU -lGL -lXmu -lXt -lSM -lICE -lgtk-x11-2.0 -lpangox-1.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
OPENGL_CFLAGS is
OPENGL_LIBS is -lGL -lGLU
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: opengl
GUI: gtk2

Thank you all.

Rino <ordeal>

 

(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 rsavoye (Posted a comment)
  • -unavailable- added by butdiene (Posted a comment)
  • -unavailable- added by strk (Updated the item)
  • -unavailable- added by tgc (Posted a comment)
  • -unavailable- added by ordeal (Submitted the item)
  •  

    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
    Thu 21 Jun 2007 01:53:30 PM UTCtgcStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Thu 31 May 2007 02:22:35 PM UTCstrkCategoryNone=>video-gst
      SummaryYoutube: the movie stops playing while streaming after 10-15 secs=>Youtube: the movie stops playing while streaming after 10-15 secs (GST)
    Thu 24 May 2007 10:33:51 PM UTCtgcStatusNone=>Ready For Test
      Assigned toNone=>tgc
    Sun 20 May 2007 07:55:31 PM UTCstrkSeverity3 - Normal=>5 - Blocker

    Back to the top


    Powered by Savane 3.1-cleanup1