mplayer에서

semjase의 이미지

(현재 쿠분투 데퍼를 사용중)
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


keizie의 이미지

sudo apt-get install mplayerplug-in

golden의 이미지

대퍼에서는 sudo apt-get install mozilla-mplayer 로 플러그인이 설치될 텐데요.
브리지에서는 sudo apt-get install mplayerplug-in.

kernuts의 이미지

그런데 wmv / wma는 제외된건가요?
베타에서 업데이트 했을때에는 코덱이 있던데
이번에 다시 설치해보니 아무리 찾아도 없네요???
wmv는 어떻게 보나요??

The knowledge belongs to the World like Shakespear's and Asprin.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.