mplayer에서
글쓴이: semjase / 작성시간: 토, 2006/06/10 - 6:43오전
(현재 쿠분투 데퍼를 사용중)
mplayer와 코덱을 깔아서 동영상은 잘 나오는 상태입니다. (물론 자막이 깨져나오지만)
웹사이트에서 동영상을 보기위한 정보를 얻기위해 이것저것 검색하다 아래의 정보를 얻었습니다.
Quote:
sudo apt-get install firefox-dev libxpm-dev libgtk2.0-dev build-essential checkinstall 실행
http://mplayerplug-in.sourceforge.net/download.php 에서 소스다운로드 후 압축풀고./configure 실핼
make 실핼sudo cp mplayerplug-in*.so /usr/lib/mozilla-firefox/plugins
sudo cp mplayerplug-in*.xpt /usr/lib/mozilla-firefox/components이러면 웹상에서 동영상 보기 가능하다.
configure까지는 이상없이 실행되는데 make에서 걸립니다.
에러내용은 아래와 같습니다. 해결방법을 알고싶습니다.
Quote:
semjase@semjase-desktop:~/mplayerplug-in$ make
g++ -c -o plugin.o -Wall -g -O2 -g -O2 -DXP_UNIX -DMOZ_X11 -I/usr/include/firefox/java -I/usr/include/firefox/plugin -I/usr/include/firefox -I/usr/include/firefox/xpcom -I/usr/include/firefox/string -I/usr/include/firefox/nspr -I/usr/include/firefox -Iinclude -fPIC -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 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGTK_ENABLED Source/plugin.cpp
In file included from Source/plugin.h:55,
from Source/plugin.cpp:37:
Source/plugin-setup.h:4:27: 오류: X11/Intrinsic.h: 그런 파일이나 디렉토리가 없음
Source/plugin-setup.h:5:28: 오류: X11/StringDefs.h: 그런 파일이나 디렉토리가 없음
include/pluginbase.h:55: warning: ‘class nsPluginInstanceBase’ has virtual functions but non-virtual destructor
/usr/include/firefox/nsISupportsBase.h:80: warning: ‘class nsISupports’ has virtual functions but non-virtual destructor
/usr/include/firefox/nsIProgrammingLanguage.h:32: warning: ‘class nsIProgrammingLanguage’ has virtual functions but non-virtual destructor
/usr/include/firefox/nsIClassInfo.h:33: warning: ‘class nsIClassInfo’ has virtual functions but non-virtual destructor
Source/nsIScriptableMplayerPlugin.h:25: warning: ‘class nsIScriptableWMPPlugin’ has virtual functions but non-virtual destructor
Source/nsIScriptableMplayerPlugin.h:120: warning: ‘class nsIScriptableMplayerPlugin’ has virtual functions but non-virtual destructor
Source/nsScriptablePeer.h:56: warning: ‘class nsClassInfoMixin’ has virtual functions but non-virtual destructor
Source/plugin-setup.h:131: error: ‘Widget’ does not name a type
Source/plugin-setup.h:199: error: variable or field ‘DrawUI’ declared void
Source/plugin-setup.h:199: error: ‘Widget’ was not declared in this scope
Source/plugin-setup.h:199: error: expected primary-expression before ‘*’ token
Source/plugin-setup.h:199: error: ‘instance’ was not declared in this scope
Source/plugin-setup.h:199: error: expected primary-expression before ‘char’
Source/plugin-setup.h:200: error: expected primary-expression before ‘int’
Source/plugin-setup.h:200: error: expected primary-expression before ‘int’
Source/plugin-setup.h:200: error: initializer expression list treated as compound expression
Source/plugin-setup.h:202: warning: ‘RedrawCB’ initialized and declared ‘extern’
Source/plugin-setup.h:202: error: variable or field ‘RedrawCB’ declared void
Source/plugin-setup.h:202: error: ‘Widget’ was not declared in this scope
Source/plugin-setup.h:202: error: ‘XtPointer’ was not declared in this scope
Source/plugin-setup.h:203: error: ‘XtPointer’ was not declared in this scope
Source/plugin-setup.h:203: error: initializer expression list treated as compound expression
Source/plugin.h:169: error: ‘Widget’ does not name a type
/usr/include/firefox/nsIServiceManager.h:40: warning: ‘class nsIServiceManager’ has virtual functions but non-virtual destructor
/usr/include/firefox/nsIMemory.h:58: warning: ‘class nsIMemory’ has virtual functions but non-virtual destructor
Source/plugin.cpp: In constructor ‘nsPluginInstance::nsPluginInstance(NPP_t*)’:
Source/plugin.cpp:199: error: ‘widget’ was not declared in this scope
make: *** [plugin.o] 오류 1
Forums:
그냥 패키지 설치하세요.
sudo apt-get install mplayerplug-in
대퍼에서는 sudo apt-get
대퍼에서는 sudo apt-get install mozilla-mplayer 로 플러그인이 설치될 텐데요.
브리지에서는 sudo apt-get install mplayerplug-in.
그런데 wmv / wma는
그런데 wmv / wma는 제외된건가요?
베타에서 업데이트 했을때에는 코덱이 있던데
이번에 다시 설치해보니 아무리 찾아도 없네요???
wmv는 어떻게 보나요??
The knowledge belongs to the World like Shakespear's and Asprin.
댓글 달기