Strict Standards: Non-static method Flyspray::absoluteURI() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/constants.inc.php on line 29 Strict Standards: Non-static method Flyspray::get_tmp_dir() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/constants.inc.php on line 78 Strict Standards: Non-static method Flyspray::base_version() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/header.php on line 29 Strict Standards: Non-static method Flyspray::base_version() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/header.php on line 29 Strict Standards: Non-static method Req::val() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/header.php on line 39 Strict Standards: Non-static method Req::has() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.gpc.php on line 26 Strict Standards: Non-static method Req::num() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/header.php on line 40 Strict Standards: Non-static method Req::val() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.gpc.php on line 32 Strict Standards: Non-static method Req::has() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.gpc.php on line 26 Strict Standards: Non-static method Filters::num() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.gpc.php on line 32 Strict Standards: Non-static method Req::num() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/header.php on line 42 Strict Standards: Non-static method Req::val() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.gpc.php on line 32 Strict Standards: Non-static method Req::has() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.gpc.php on line 26 Strict Standards: Non-static method Filters::num() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.gpc.php on line 32 Strict Standards: Non-static method Req::enum() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/index.php on line 15 Strict Standards: Non-static method Req::val() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.gpc.php on line 37 Strict Standards: Non-static method Req::has() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.gpc.php on line 26 Strict Standards: Non-static method Filters::enum() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.gpc.php on line 37 Strict Standards: Non-static method Req::has() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/index.php on line 21 Strict Standards: Non-static method Req::has() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/index.php on line 21 Strict Standards: Non-static method Cookie::has() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/index.php on line 28 Strict Standards: Non-static method Get::val() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/index.php on line 36 Strict Standards: Non-static method Get::has() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.gpc.php on line 100 Strict Standards: Non-static method Get::val() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/index.php on line 95 Strict Standards: Non-static method Get::has() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.gpc.php on line 100 Strict Standards: Non-static method Flyspray::requestDuplicated() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/index.php on line 104 Strict Standards: Non-static method Req::has() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/index.php on line 143 Strict Standards: Non-static method Req::num() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/scripts/details.php on line 15 Strict Standards: Non-static method Req::val() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.gpc.php on line 32 Strict Standards: Non-static method Req::has() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.gpc.php on line 26 Strict Standards: Non-static method Filters::num() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.gpc.php on line 32 Strict Standards: Non-static method Flyspray::GetTaskDetails() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/scripts/details.php on line 17 Strict Standards: Non-static method Flyspray::GetAssignees() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.flyspray.php on line 358 Strict Standards: Non-static method Get::val() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/scripts/details.php on line 34 Strict Standards: Non-static method Get::has() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.gpc.php on line 100 Strict Standards: Non-static method Post::has() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/scripts/details.php on line 34 Strict Standards: Non-static method TextFormatter::render() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/scripts/details.php on line 128 FS#1071 : Compile fails with ffmpeg 0.6
homepage | forum | wiki | feature requests & bugs

MMS

Before posting a bug report please read: http://wiki.mymediasystem.org/wiki/index.php/Bug_reports
Tasklist

FS#1071 - Compile fails with ffmpeg 0.6

Attached to Project: MMS
Opened by Strict Standards: array_map() expects parameter 1 to be a valid callback, non-static method Filters::noXSS() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.tpl.php on line 281 Roman (Uatschitchun) - Strict Standards: Non-static method Filters::noXSS() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.tpl.php on line 613 Tuesday, 29 June 2010, 21:59 GMT+1
Last edited by Roman (Uatschitchun) - Strict Standards: Non-static method Filters::noXSS() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.tpl.php on line 613 Wednesday, 30 June 2010, 17:07 GMT+1
Task Type Bug Report
Category Plugins → Video
Status New
Assigned To Strict Standards: array_map() expects parameter 1 to be a valid callback, non-static method Filters::noXSS() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.tpl.php on line 281 lorenzodes (lorenzodes)
Operating System Linux
Severity Low
Priority Normal
Reported Version 1.1.1
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

$ make -C plugins/feature/movie/
make: Entering directory `/usr/local/src/mms/mms-1.1.0/plugins/feature/movie'
g++ -I/usr/local/include -L/usr/local/lib -I/usr/include/ -I. -pthread -pipe -O0 -g -Wall -W -Wno-sign-compare -Wold-style-cast -Wundef -Wno-long-long -D_GNU_SOURCE -isystem /usr/include/boost/ -isystem /usr/include/boost-1_36/ -isystem /usr/include/boost-1_35/ -isystem /usr/include/boost-1_34_1/ -isystem /usr/include/boost-1_34_0/ -I../ -I../../ -I../../../ -I../../output/ -I../../input/ -fPIC -shared `pkg-config --cflags libavcodec libavutil libswscale libavformat` -c movie_plugin.cpp
In file included from /usr/include/libavutil/avutil.h:81,
from /usr/include/libavcodec/avcodec.h:30,
from thumbnailer.h:29,
from movie_db.hpp:13,
from graphical_movie.hpp:4,
from movie_plugin.cpp:8:
/usr/include/libavutil/common.h: In function ‘int32_t av_clipl_int32(int64_t)’:
/usr/include/libavutil/common.h:154: error: ‘UINT64_C’ was not declared in this scope
In file included from movie_db.hpp:13,
from graphical_movie.hpp:4,
from movie_plugin.cpp:8:
thumbnailer.h: At global scope:
thumbnailer.h:73: warning: ‘typedef’ was ignored in this declaration
In file included from graphical_movie.hpp:4,
from movie_plugin.cpp:8:
movie_db.hpp:58: warning: unused parameter ‘id’
make: *** [movie_plugin.o] Fehler 1
This task depends upon

Comment by lorenzodes (lorenzodes) - Strict Standards: Non-static method Filters::noXSS() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.tpl.php on line 613 Wednesday, 30 June 2010, 09:03 GMT+1
Should be just a matter of adding a #define statement for "__STDC_CONSTANT_MACROS" in the proper place. Looking into it.
Comment by lorenzodes (lorenzodes) - Strict Standards: Non-static method Filters::noXSS() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.tpl.php on line 613 Wednesday, 30 June 2010, 09:42 GMT+1
Please, try revno #2254.
Comment by lorenzodes (lorenzodes) - Strict Standards: Non-static method Filters::noXSS() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.tpl.php on line 613 Wednesday, 30 June 2010, 17:34 GMT+1
Roman, what's up with all the notifications I'm getting for this bug?
Comment by Roman (Uatschitchun) - Strict Standards: Non-static method Filters::noXSS() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.tpl.php on line 613 Wednesday, 30 June 2010, 17:42 GMT+1
#2254 gives:

In file included from /usr/include/libavutil/avutil.h:81,
from /usr/include/libavcodec/avcodec.h:30,
from ../../thumbnailer.h:28,
from ../../movie_db.hpp:13,
from ../../graphical_movie.hpp:4,
from mplayer.cpp:3:
/usr/include/libavutil/common.h: In function ‘int32_t av_clipl_int32(int64_t)’:
/usr/include/libavutil/common.h:154: error: ‘UINT64_C’ was not declared in this scope
In file included from ../../movie_db.hpp:13,
from ../../graphical_movie.hpp:4,
from mplayer.cpp:3:
../../thumbnailer.h: At global scope:
../../thumbnailer.h:72: warning: ‘typedef’ was ignored in this declaration
In file included from ../../graphical_movie.hpp:4,
from mplayer.cpp:3:
../../movie_db.hpp:58: warning: unused parameter ‘id’
mplayer.cpp: In member function ‘void Mplayer::setup_movie_in_slave_mode(const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, bool, bool)’:
mplayer.cpp:369: warning: use of old-style cast
mplayer.cpp:377: warning: use of old-style cast
mplayer.cpp: In member function ‘virtual void Mplayer::switch_screen_size()’:
mplayer.cpp:563: warning: suggest braces around empty body in an ‘if’ statement
make[2]: *** [mplayer.o] Fehler 1
Comment by Roman (Uatschitchun) - Strict Standards: Non-static method Filters::noXSS() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.tpl.php on line 613 Wednesday, 30 June 2010, 17:49 GMT+1
notifications? Just opened the bug and assigned it to you ?!
Comment by lorenzodes (lorenzodes) - Strict Standards: Non-static method Filters::noXSS() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.tpl.php on line 613 Wednesday, 30 June 2010, 18:05 GMT+1
I got a couple of spurious "Task assigned to lorenzodes" mails :)

Back to the actual bug.

I have added this:

+ CXXFLAGS += -D__STDC_CONSTANT_MACROS

to the makefiles in movie and movie-library. That variable forces int.h to define UINT64_C and other types.

I missed the mplayer movie player :)
Comment by lorenzodes (lorenzodes) - Strict Standards: Non-static method Filters::noXSS() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.tpl.php on line 613 Wednesday, 30 June 2010, 18:19 GMT+1
Please try revno #2255 :)
Comment by Roman (Uatschitchun) - Strict Standards: Non-static method Filters::noXSS() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.tpl.php on line 613 Wednesday, 30 June 2010, 20:46 GMT+1
notifications? Just opened the bug and assigned it to you ?!
Comment by lorenzodes (lorenzodes) - Strict Standards: Non-static method Filters::noXSS() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.tpl.php on line 613 Wednesday, 30 June 2010, 22:59 GMT+1
I was just curious as to why I got 3 different mails saying I was the new assignee for this bug, but it's not a big deal, actually it's not a deal at all :)

How's the bug fix in revno 2255 working?
Comment by Roman (Uatschitchun) - Strict Standards: Non-static method Filters::noXSS() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.tpl.php on line 613 Thursday, 01 July 2010, 08:31 GMT+1
#2255 works fine ;)

Until one uses external ffmpeg. If one uses '--use-internal-ffmpeg', it gives this one:

In file included from thumbnailer.h:28,
from thumbnailer.cpp:21:
../../..//libs/ffmpeg/libavcodec/avcodec.h:2984:5: warning: "EINVAL" is not defined
thumbnailer.cpp:128: error: integer constant is too large for ‘long’ type
thumbnailer.cpp:130: error: integer constant is too large for ‘long’ type
thumbnailer.cpp:134: error: integer constant is too large for ‘long’ type
In file included from thumbnailer.h:28,
from thumbnailer.cpp:21:
../../..//libs/ffmpeg/libavcodec/avcodec.h:2306: warning: ‘ImgReSampleContext’ is deprecated (declared at ../../..//libs/ffmpeg/libavcodec/avcodec.h:2300)
../../..//libs/ffmpeg/libavcodec/avcodec.h:2316: warning: ‘ImgReSampleContext’ is deprecated (declared at ../../..//libs/ffmpeg/libavcodec/avcodec.h:2300)
In file included from thumbnailer.cpp:21:
thumbnailer.h:72: warning: ‘typedef’ was ignored in this declaration
thumbnailer.cpp: In member function ‘bool thumbnailer::openmovie(const std::string&, thumbnailer::movie_specs*)’:
thumbnailer.cpp:128: error: ‘INT64_C’ was not declared in this scope
thumbnailer.cpp:134: error: ‘INT64_C’ was not declared in this scope
make: *** [thumbnailer.o] Fehler 1
make: Leaving directory `/usr/local/src/mms/mms-1.1.0/plugins/feature/movie'
Comment by lorenzodes (lorenzodes) - Strict Standards: Non-static method Filters::noXSS() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.tpl.php on line 613 Thursday, 01 July 2010, 16:15 GMT+1
Do you still need the internal snapshot of ffmpeg? Please, tell me you don't ;)
Comment by lorenzodes (lorenzodes) - Strict Standards: Non-static method Filters::noXSS() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.tpl.php on line 613 Thursday, 01 July 2010, 16:46 GMT+1
please, try revno 2256 :)
Comment by Roman (Uatschitchun) - Strict Standards: Non-static method Filters::noXSS() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.tpl.php on line 613 Friday, 02 July 2010, 18:00 GMT+1
#2256 with internal ffmpeg

make[1]: Leaving directory `/usr/local/src/mms/mms-1.1.0/plugins/feature/movie/po'
g++ -I/usr/local/include -L/usr/local/lib -I/usr/include/ -I. -pthread -pipe -O0 -g -Wall -W -Wno-sign-compare -Wold-style-cast -Wundef -Wno-long-long -D_GNU_SOURCE -isystem /usr/include/boost/ -isystem /usr/include/boost-1_36/ -isystem /usr/include/boost-1_35/ -isystem /usr/include/boost-1_34_1/ -isystem /usr/include/boost-1_34_0/ -I../ -I../../ -I../../../ -I../../output/ -I../../input/ -fPIC -shared -D__STDC_CONSTANT_MACROS -isystem../../..//libs/ffmpeg/libavcodec/ -isystem../../..//libs/ffmpeg/libavutil/ -isystem../../..//libs/ffmpeg/libswscale/ -isystem../../..//libs/ffmpeg/libavformat/ -I../../..//libs/ffmpeg/ -I../../..//libs/ffmpeg/libavcodec/ -I../../..//libs/ffmpeg/libavutil/ -I../../..//libs/ffmpeg/libswscale/ -I../../..//libs/ffmpeg/libavformat/ \
-Wl,-nostdlib -o lib_feature_movie.so movie_config.o movie.o simple_movie.o movie_plugin.o movie_db.o imdb.o imdb_movie.o graphical_movie.o Movie_info.o thumbnailer.o players/movie_player.o ../../..//libs/ffmpeg/libavformat/libavformat.a ../../..//libs/ffmpeg/libavcodec/libavcodec.a ../../..//libs/ffmpeg/libavutil/libavutil.a ../../..//libs/ffmpeg/libswscale/libswscale.a
g++: ../../..//libs/ffmpeg/libavformat/libavformat.a: Datei oder Verzeichnis nicht gefunden
g++: ../../..//libs/ffmpeg/libavcodec/libavcodec.a: Datei oder Verzeichnis nicht gefunden
g++: ../../..//libs/ffmpeg/libavutil/libavutil.a: Datei oder Verzeichnis nicht gefunden
g++: ../../..//libs/ffmpeg/libswscale/libswscale.a: Datei oder Verzeichnis nicht gefunden
make: *** [all] Fehler 1
make: Leaving directory `/usr/local/src/mms/mms-1.1.0/plugins/feature/movie'
Comment by Roman (Uatschitchun) - Strict Standards: Non-static method Filters::noXSS() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.tpl.php on line 613 Friday, 02 July 2010, 19:47 GMT+1
#2256 with external ffmpeg gives:

g++ -I/usr/local/include -I/usr/include/ -I../ -isystem /usr/include/boost/ -isystem /usr/include/boost-1_36/ -isystem /usr/include/boost-1_35/ -isystem /usr/include/boost-1_34_1/ -isystem /usr/include/boost-1_34_0/ -I../plugins/input -I../plugins/output -I../plugins/feature/ -I../plugins/feature/movie/ -I../plugins/feature/movie/players/ -I../plugins/feature/movie/players/mplayer -I../plugins/ -pipe -O0 -g -DDEBUG -DSTANDALONE `pkg-config --cflags libavcodec libavutil libswscale libavformat` `pkg-config --cflags taglib` -D_GNU_SOURCE -c movie-library.cpp
In file included from /usr/include/libavutil/avutil.h:81,
from /usr/include/libavcodec/avcodec.h:30,
from ../plugins/feature/movie/thumbnailer.h:28,
from movie-library.cpp:13:
/usr/include/libavutil/common.h: In function ‘int32_t av_clipl_int32(int64_t)’:
/usr/include/libavutil/common.h:154: error: ‘UINT64_C’ was not declared in this scope
In file included from movie-library.cpp:13:
../plugins/feature/movie/thumbnailer.h: At global scope:
../plugins/feature/movie/thumbnailer.h:72: warning: ‘typedef’ was ignored in this declaration
make[1]: *** [movie-library.o] Fehler 1
make[1]: Leaving directory `/usr/local/src/mms/mms-1.1.0/movie-library'
Comment by lorenzodes (lorenzodes) - Strict Standards: Non-static method Filters::noXSS() should not be called statically in /var/kunden/webs/mms/flyspray-0.9.9.6/includes/class.tpl.php on line 613 Friday, 02 July 2010, 20:51 GMT+1
Ok, the latest revno should fix the latter problem (i.e. with external ffmpeg). I can't reproduce the problem with the internal snapshot though.

Loading...