gnash-dev
[Top][All Lists]
Advanced

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

Re: [Gnash-dev] Plugin and codec error messages on YouTube


From: Jeremy C. Reed
Subject: Re: [Gnash-dev] Plugin and codec error messages on YouTube
Date: Fri, 3 Apr 2009 16:28:44 -0500 (CDT)

> > ffmpeg/MediaParserFfmpeg.cpp: In member function '__int64_t 
> > gnash::media::ffmpeg::MediaParserFfmpeg::seekMedia(__int64_t, int)':
> > ffmpeg/MediaParserFfmpeg.cpp:523: error: ISO C++ says that these are 
> > ambiguous, even though the worst conversion for the first is better than 
> > the worst conversion for the second:
> > /usr/include/g++/bits/postypes.h:175: note: candidate 1: 
> > std::fpos<_StateT> std::fpos<_StateT>::operator+(std::streamoff) const 
> > [with _StateT = __mbstate_t]
> > ffmpeg/MediaParserFfmpeg.cpp:523: note: candidate 2: 
> > operator+(std::streamoff, __int64_t) <built-in>
> > gmake[2]: *** [libgnashmedia_la-MediaParserFfmpeg.lo] Error 1
> > gmake[2]: Leaving directory `/home/reed/tmp/gnash-0.8.5/libmedia'
> 
> 
> Line numbers don't match up the same, but I see this is at
> https://savannah.gnu.org/bugs/?25762
> (which is unassigned)

My workaround to get it compiled is:

--- libmedia/ffmpeg/MediaParserFfmpeg.cpp.orig  2009-04-03 
15:14:27.000000000 -0500
+++ libmedia/ffmpeg/MediaParserFfmpeg.cpp       2009-04-03 
15:14:48.000000000 -0500
@@ -520,7 +520,7 @@
        }
        else if (whence == SEEK_CUR)
        {
-               _stream->seek(_stream->tell() + offset);
+               _stream->seek((int64_t)_stream->tell() + offset);
                // New position is offset + end of file
        }
        else if (whence == SEEK_END)


Now the flash video that used to play (with no audio) doesn't show video 
either.

But when I started up firefox some flash comes up quickly (within a few 
seconds), some pages hang for 15 to 30 pages (hang firefox so firefox 
buttons don't work and won't redraw in X11). But then some videos start 
playing if you wait about 90 seconds. I tested going to a few Google 
videos and Youtube pages (but Yahoo videos never play). But the audio and 
video is choppy -- plays for short bursts and then pauses for a couple 
seconds. So wait for over a minute and then watch the video very slowly. 
But I think this is better progress than when using gstreamer (but maybe 
not since I don't know if I waited long enough...)

Now I can't play the videos I could play before (gnash built with 
gstreamer) even I wait for a few minutes to make sure.

And now periodically my console is getting:

  SDL: Audio timeout - buggy audio driver? (disabled)

I am not sure what is causing that. Note that I can use SDL-based ffmpeg's 
ffplay to play videos fine and hear them.

Now on a different google video (that took about 120 seconds to start 
playing) I got not sound and a Gnash Error popup:

MediaHandlerFfmpeg::createAudioDecoder:
AudioDecoderFfmpeg: libavcodec could not find a
decoder for codec 10 (Advanced Audio Coding) --
MediaHandler::createFlashAudioDecoder: no available
FLASH decoders for codec 10 (Advanced Audio Coding)

(Similar to the Gnash Error I got when using gstreamer.)




reply via email to

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