You are not logged in.

#1 2009-11-06 20:21:38

dragos240
Member
Registered: 2009-05-23
Posts: 189

Mplayer, playing a video via framebuffer.

Hi. Does anyone know how I can get an ogg video to play via framebuffer? I have one running. Links -g works. And oss works (I prefer oss over alsa). I keep getting errors. I compiled mplayer from source. It didn't work normally with the normal mplayer either. It displays an error saying that the theora lib was missing extradata. Is this a known bug?

Offline

#2 2009-11-06 20:27:00

Nezmer
Member
Registered: 2008-10-24
Posts: 559
Website

Re: Mplayer, playing a video via framebuffer.

mplayer -vo fbdev2 /path/to/file

Edit : Just noticed the last sentence of the OP . Your problem has nothing to do with frame buffer , It seems .

Can you post the exact error message and the output of the following commands :

pacman -Qi mplayer libtheora
pacman -Ql libtheora mplayer | awk '{print $2}'|xargs file
readelf -d `which mplayer `|grep NEEDED

Last edited by Nezmer (2009-11-06 20:35:24)


English is not my native language .

Offline

#3 2009-11-06 20:37:52

dragos240
Member
Registered: 2009-05-23
Posts: 189

Re: Mplayer, playing a video via framebuffer.

Hmm. What could it be?

Offline

#4 2009-11-06 21:01:15

dragos240
Member
Registered: 2009-05-23
Posts: 189

Re: Mplayer, playing a video via framebuffer.

Okay.

1st:

Name           : mplayer
Version        : 29776-1
URL            : http://www.mplayerhq.hu/
Licenses       : GPL  
Groups         : None
Provides       : None
Depends On     : libxxf86dga  libxv  libmad  giflib  cdparanoia  libxinerama  
                 sdl  lame  libtheora  xvidcore  zlib  libmng  libxss  
                 live-media  libgl  smbclient  aalib  
                 jack-audio-connection-kit  libcaca  x264>=20090416  faac  
                 lirc-utils  ttf-dejavu  libxvmc  libjpeg>=7  
Optional Deps  : None
Required By    : None
Conflicts With : None
Replaces       : None
Installed Size : 23940.00 K
Packager       : Hugo Doria <hugo@archlinux.org>
Architecture   : i686
Build Date     : Sat 17 Oct 2009 01:21:57 PM EDT
Install Date   : Fri 06 Nov 2009 03:40:55 PM EST
Install Reason : Explicitly installed
Install Script : No
Description    : A movie player for linux

Name           : libtheora
Version        : 1.1.1-1
URL            : http://www.xiph.org
Licenses       : BSD  
Groups         : None
Provides       : None
Depends On     : libogg  
Optional Deps  : None
Required By    : ffmpeg  gstreamer0.10-base-plugins  libshout  mplayer  opal  
Conflicts With : None
Replaces       : None
Installed Size : 2116.00 K
Packager       : Eric Belanger <eric@archlinux.org>
Architecture   : i686
Build Date     : Sun 01 Nov 2009 02:49:55 AM EST
Install Date   : Mon 02 Nov 2009 03:20:52 PM EST
Install Reason : Installed as a dependency for another package
Install Script : No
Description    : An open video codec developed by the Xiph.org

2nd:

/usr/:                                                               directory
/usr/include/:                                                       directory
/usr/include/theora/:                                                directory
/usr/include/theora/codec.h:                                         ASCII English text
/usr/include/theora/theora.h:                                        ASCII English text
/usr/include/theora/theoradec.h:                                     ASCII English text
/usr/include/theora/theoraenc.h:                                     ASCII English text
/usr/lib/:                                                           directory
/usr/lib/libtheora.so:                                               symbolic link to `libtheora.so.0.3.10'
/usr/lib/libtheora.so.0:                                             symbolic link to `libtheora.so.0.3.10'
/usr/lib/libtheora.so.0.3.10:                                        ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, not stripped
/usr/lib/libtheoradec.so:                                            symbolic link to `libtheoradec.so.1.1.4'
/usr/lib/libtheoradec.so.1:                                          symbolic link to `libtheoradec.so.1.1.4'
/usr/lib/libtheoradec.so.1.1.4:                                      ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, not stripped
/usr/lib/libtheoraenc.so:                                            symbolic link to `libtheoraenc.so.1.1.2'
/usr/lib/libtheoraenc.so.1:                                          symbolic link to `libtheoraenc.so.1.1.2'
/usr/lib/libtheoraenc.so.1.1.2:                                      ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, not stripped
/usr/lib/pkgconfig/:                                                 directory
/usr/lib/pkgconfig/theora.pc:                                        ASCII text
/usr/lib/pkgconfig/theoradec.pc:                                     ASCII text
/usr/lib/pkgconfig/theoraenc.pc:                                     ASCII text
/usr/share/:                                                         directory
/usr/share/doc/:                                                     directory
/usr/share/doc/libtheora-1.1.1/:                                     directory
/usr/share/doc/libtheora-1.1.1/color.html:                           HTML document text
/usr/share/doc/libtheora-1.1.1/doxygen-build.stamp:                  empty
/usr/share/doc/libtheora-1.1.1/draft-ietf-avt-rtp-theora-00.txt:     ASCII English text
/usr/share/doc/libtheora-1.1.1/draft-ietf-avt-rtp-theora-00.xml:     XML  document text
/usr/share/doc/libtheora-1.1.1/html/:                                directory
/usr/share/doc/libtheora-1.1.1/html/annotated.html:                  HTML document text
/usr/share/doc/libtheora-1.1.1/html/classes.html:                    HTML document text
/usr/share/doc/libtheora-1.1.1/html/codec_8h.html:                   HTML document text
/usr/share/doc/libtheora-1.1.1/html/codec_8h_source.html:            HTML document text
/usr/share/doc/libtheora-1.1.1/html/doxygen.css:                     ASCII C program text
/usr/share/doc/libtheora-1.1.1/html/doxygen.png:                     PNG image, 100 x 45, 8-bit colormap, non-interlaced
/usr/share/doc/libtheora-1.1.1/html/files.html:                      HTML document text
/usr/share/doc/libtheora-1.1.1/html/functions.html:                  HTML document text
/usr/share/doc/libtheora-1.1.1/html/functions_vars.html:             HTML document text
/usr/share/doc/libtheora-1.1.1/html/globals.html:                    HTML document text
/usr/share/doc/libtheora-1.1.1/html/globals_defs.html:               HTML document text
/usr/share/doc/libtheora-1.1.1/html/globals_enum.html:               HTML document text
/usr/share/doc/libtheora-1.1.1/html/globals_eval.html:               HTML document text
/usr/share/doc/libtheora-1.1.1/html/globals_func.html:               HTML document text
/usr/share/doc/libtheora-1.1.1/html/globals_type.html:               HTML document text
/usr/share/doc/libtheora-1.1.1/html/globals_vars.html:               HTML document text
/usr/share/doc/libtheora-1.1.1/html/group__basefuncs.html:           HTML document text
/usr/share/doc/libtheora-1.1.1/html/group__decfuncs.html:            HTML document text
/usr/share/doc/libtheora-1.1.1/html/group__encfuncs.html:            HTML document text
/usr/share/doc/libtheora-1.1.1/html/group__oldfuncs.html:            HTML document text
/usr/share/doc/libtheora-1.1.1/html/index.html:                      HTML document text
/usr/share/doc/libtheora-1.1.1/html/modules.html:                    HTML document text
/usr/share/doc/libtheora-1.1.1/html/structth__comment.html:          HTML document text
/usr/share/doc/libtheora-1.1.1/html/structth__huff__code.html:       HTML document text
/usr/share/doc/libtheora-1.1.1/html/structth__img__plane.html:       HTML document text
/usr/share/doc/libtheora-1.1.1/html/structth__info.html:             HTML document text
/usr/share/doc/libtheora-1.1.1/html/structth__quant__info.html:      HTML document text
/usr/share/doc/libtheora-1.1.1/html/structth__quant__ranges.html:    HTML document text
/usr/share/doc/libtheora-1.1.1/html/structth__stripe__callback.html: HTML document text
/usr/share/doc/libtheora-1.1.1/html/structtheora__comment.html:      HTML document text
/usr/share/doc/libtheora-1.1.1/html/structtheora__info.html:         HTML document text
/usr/share/doc/libtheora-1.1.1/html/structtheora__state.html:        HTML document text
/usr/share/doc/libtheora-1.1.1/html/structyuv__buffer.html:          HTML document text
/usr/share/doc/libtheora-1.1.1/html/tab_b.gif:                       GIF image data, version 89a, 1 x 1
/usr/share/doc/libtheora-1.1.1/html/tab_l.gif:                       GIF image data, version 89a, 9 x 300
/usr/share/doc/libtheora-1.1.1/html/tab_r.gif:                       GIF image data, version 89a, 400 x 300
/usr/share/doc/libtheora-1.1.1/html/tabs.css:                        ASCII C program text
/usr/share/doc/libtheora-1.1.1/html/theora_8h.html:                  HTML document text
/usr/share/doc/libtheora-1.1.1/html/theora_8h_source.html:           HTML document text
/usr/share/doc/libtheora-1.1.1/html/theoradec_8h.html:               HTML document text
/usr/share/doc/libtheora-1.1.1/html/theoradec_8h_source.html:        HTML document text
/usr/share/doc/libtheora-1.1.1/html/theoraenc_8h.html:               HTML document text
/usr/share/doc/libtheora-1.1.1/html/theoraenc_8h_source.html:        HTML document text
/usr/share/doc/libtheora-1.1.1/latex/:                               directory
/usr/share/doc/libtheora-1.1.1/latex/Makefile:                       ASCII make commands text
/usr/share/doc/libtheora-1.1.1/latex/annotated.tex:                  LaTeX table of contents
/usr/share/doc/libtheora-1.1.1/latex/codec_8h.tex:                   LaTeX document text
/usr/share/doc/libtheora-1.1.1/latex/doxygen.sty:                    LaTeX document text
/usr/share/doc/libtheora-1.1.1/latex/files.tex:                      LaTeX table of contents
/usr/share/doc/libtheora-1.1.1/latex/group__basefuncs.tex:           LaTeX document text
/usr/share/doc/libtheora-1.1.1/latex/group__decfuncs.tex:            LaTeX document text
/usr/share/doc/libtheora-1.1.1/latex/group__encfuncs.tex:            LaTeX document text
/usr/share/doc/libtheora-1.1.1/latex/group__oldfuncs.tex:            LaTeX document text
/usr/share/doc/libtheora-1.1.1/latex/index.tex:                      LaTeX document text
/usr/share/doc/libtheora-1.1.1/latex/modules.tex:                    LaTeX table of contents
/usr/share/doc/libtheora-1.1.1/latex/refman.tex:                     LaTeX 2e document text
/usr/share/doc/libtheora-1.1.1/latex/structth__comment.tex:          LaTeX document text
/usr/share/doc/libtheora-1.1.1/latex/structth__huff__code.tex:       LaTeX document text
/usr/share/doc/libtheora-1.1.1/latex/structth__img__plane.tex:       LaTeX document text
/usr/share/doc/libtheora-1.1.1/latex/structth__info.tex:             LaTeX document text
/usr/share/doc/libtheora-1.1.1/latex/structth__quant__info.tex:      LaTeX document text
/usr/share/doc/libtheora-1.1.1/latex/structth__quant__ranges.tex:    LaTeX document text
/usr/share/doc/libtheora-1.1.1/latex/structth__stripe__callback.tex: LaTeX document text
/usr/share/doc/libtheora-1.1.1/latex/structtheora__comment.tex:      LaTeX document text
/usr/share/doc/libtheora-1.1.1/latex/structtheora__info.tex:         LaTeX document text
/usr/share/doc/libtheora-1.1.1/latex/structtheora__state.tex:        LaTeX document text
/usr/share/doc/libtheora-1.1.1/latex/structyuv__buffer.tex:          LaTeX document text
/usr/share/doc/libtheora-1.1.1/latex/theora_8h.tex:                  LaTeX document text
/usr/share/doc/libtheora-1.1.1/latex/theoradec_8h.tex:               LaTeX document text
/usr/share/doc/libtheora-1.1.1/latex/theoraenc_8h.tex:               LaTeX document text
/usr/share/doc/libtheora-1.1.1/vp3-format.txt:                       ASCII English text
/usr/share/licenses/:                                                directory
/usr/share/licenses/libtheora/:                                      directory
/usr/share/licenses/libtheora/COPYING:                               ASCII English text
/usr/share/licenses/libtheora/LICENSE:                               ASCII English text
/etc/:                                                               directory
/etc/mplayer/:                                                       directory
/etc/mplayer/codecs.conf:                                            ASCII English text
/etc/mplayer/example.conf:                                           ASCII English text
/etc/mplayer/input.conf:                                             ASCII English text
/usr/:                                                               directory
/usr/bin/:                                                           directory
/usr/bin/mencoder:                                                   ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
/usr/bin/mplayer:                                                    ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
/usr/lib/:                                                           directory
/usr/share/:                                                         directory
/usr/share/man/:                                                     directory
/usr/share/man/cs/:                                                  directory
/usr/share/man/cs/man1/:                                             directory
/usr/share/man/cs/man1/mencoder.1:                                   symbolic link to `mplayer.1'
/usr/share/man/cs/man1/mplayer.1:                                    troff or preprocessor input text
/usr/share/man/de/:                                                  directory
/usr/share/man/de/man1/:                                             directory
/usr/share/man/de/man1/mencoder.1:                                   symbolic link to `mplayer.1'
/usr/share/man/de/man1/mplayer.1:                                    troff or preprocessor input text
/usr/share/man/es/:                                                  directory
/usr/share/man/es/man1/:                                             directory
/usr/share/man/es/man1/mencoder.1:                                   symbolic link to `mplayer.1'
/usr/share/man/es/man1/mplayer.1:                                    troff or preprocessor input text
/usr/share/man/fr/:                                                  directory
/usr/share/man/fr/man1/:                                             directory
/usr/share/man/fr/man1/mencoder.1:                                   symbolic link to `mplayer.1'
/usr/share/man/fr/man1/mplayer.1:                                    troff or preprocessor input text
/usr/share/man/hu/:                                                  directory
/usr/share/man/hu/man1/:                                             directory
/usr/share/man/hu/man1/mencoder.1:                                   symbolic link to `mplayer.1'
/usr/share/man/hu/man1/mplayer.1:                                    troff or preprocessor input text
/usr/share/man/it/:                                                  directory
/usr/share/man/it/man1/:                                             directory
/usr/share/man/it/man1/mencoder.1:                                   symbolic link to `mplayer.1'
/usr/share/man/it/man1/mplayer.1:                                    troff or preprocessor input text
/usr/share/man/man1/:                                                directory
/usr/share/man/man1/mencoder.1:                                      symbolic link to `mplayer.1'
/usr/share/man/man1/mplayer.1:                                       troff or preprocessor input text
/usr/share/man/pl/:                                                  directory
/usr/share/man/pl/man1/:                                             directory
/usr/share/man/pl/man1/mencoder.1:                                   symbolic link to `mplayer.1'
/usr/share/man/pl/man1/mplayer.1:                                    troff or preprocessor input text
/usr/share/man/ru/:                                                  directory
/usr/share/man/ru/man1/:                                             directory
/usr/share/man/ru/man1/mencoder.1:                                   symbolic link to `mplayer.1'
/usr/share/man/ru/man1/mplayer.1:                                    troff or preprocessor input text
/usr/share/man/zh_CN/:                                               directory
/usr/share/man/zh_CN/man1/:                                          directory
/usr/share/man/zh_CN/man1/mencoder.1:                                symbolic link to `mplayer.1'
/usr/share/man/zh_CN/man1/mplayer.1:                                 troff or preprocessor input text
/usr/share/mplayer/:                                                 directory
/usr/share/mplayer/subfont.ttf:                                      symbolic link to `/usr/share/fonts/TTF/DejaVuSans.ttf'

3rd:

 0x00000001 (NEEDED)                     Shared library: [libXext.so.6]
 0x00000001 (NEEDED)                     Shared library: [libX11.so.6]
 0x00000001 (NEEDED)                     Shared library: [libpthread.so.0]
 0x00000001 (NEEDED)                     Shared library: [libXss.so.1]
 0x00000001 (NEEDED)                     Shared library: [libXv.so.1]
 0x00000001 (NEEDED)                     Shared library: [libXinerama.so.1]
 0x00000001 (NEEDED)                     Shared library: [libXxf86vm.so.1]
 0x00000001 (NEEDED)                     Shared library: [libXxf86dga.so.1]
 0x00000001 (NEEDED)                     Shared library: [libaa.so.1]
 0x00000001 (NEEDED)                     Shared library: [libcaca.so.0]
 0x00000001 (NEEDED)                     Shared library: [libGL.so.1]
 0x00000001 (NEEDED)                     Shared library: [libdl.so.2]
 0x00000001 (NEEDED)                     Shared library: [libSDL-1.2.so.0]
 0x00000001 (NEEDED)                     Shared library: [libjack.so.0]
 0x00000001 (NEEDED)                     Shared library: [libfaac.so.0]
 0x00000001 (NEEDED)                     Shared library: [libmp3lame.so.0]
 0x00000001 (NEEDED)                     Shared library: [liblirc_client.so.0]
 0x00000001 (NEEDED)                     Shared library: [libncursesw.so.5]
 0x00000001 (NEEDED)                     Shared library: [libsmbclient.so.0]
 0x00000001 (NEEDED)                     Shared library: [libpng12.so.0]
 0x00000001 (NEEDED)                     Shared library: [libz.so.1]
 0x00000001 (NEEDED)                     Shared library: [libmng.so.1]
 0x00000001 (NEEDED)                     Shared library: [libjpeg.so.7]
 0x00000001 (NEEDED)                     Shared library: [libungif.so.4]
 0x00000001 (NEEDED)                     Shared library: [libasound.so.2]
 0x00000001 (NEEDED)                     Shared library: [libcdda_interface.so.0]
 0x00000001 (NEEDED)                     Shared library: [libcdda_paranoia.so.0]
 0x00000001 (NEEDED)                     Shared library: [libfreetype.so.6]
 0x00000001 (NEEDED)                     Shared library: [libfontconfig.so.1]
 0x00000001 (NEEDED)                     Shared library: [libbz2.so.1.0]
 0x00000001 (NEEDED)                     Shared library: [libmad.so.0]
 0x00000001 (NEEDED)                     Shared library: [libtheora.so.0]
 0x00000001 (NEEDED)                     Shared library: [libogg.so.0]
 0x00000001 (NEEDED)                     Shared library: [libxvidcore.so.4]
 0x00000001 (NEEDED)                     Shared library: [libm.so.6]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x00000001 (NEEDED)                     Shared library: [libgif.so.4]

Offline

#5 2009-11-07 00:56:52

Nezmer
Member
Registered: 2008-10-24
Posts: 559
Website

Re: Mplayer, playing a video via framebuffer.

Everything looks normal .

It displays an error saying that the theora lib was missing extradata.

What is the error message exactly ?
Maybe the problem lies in the video file not mplayer .


English is not my native language .

Offline

#6 2009-11-07 01:22:58

dragos240
Member
Registered: 2009-05-23
Posts: 189

Re: Mplayer, playing a video via framebuffer.

Nezmer wrote:

Everything looks normal .

It displays an error saying that the theora lib was missing extradata.

What is the error message exactly ?
Maybe the problem lies in the video file not mplayer .

I can play it in X. But not on my framebuffer.

Offline

#7 2009-11-07 03:52:52

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Mplayer, playing a video via framebuffer.

dragos240,

Please wrap long output in code tags. I fixed this one.

Offline

#8 2009-11-07 18:38:12

Nezmer
Member
Registered: 2008-10-24
Posts: 559
Website

Re: Mplayer, playing a video via framebuffer.

dragos240 wrote:
Nezmer wrote:

Everything looks normal .

It displays an error saying that the theora lib was missing extradata.

What is the error message exactly ?
Maybe the problem lies in the video file not mplayer .

I can play it in X. But not on my framebuffer.

So you run mplayer with "-vo fbdev2" or "-vo fbdev" and you have a framebuffer device "ls /dev/fb*" ?

Last edited by Nezmer (2009-11-07 18:39:05)


English is not my native language .

Offline

Board footer

Powered by FluxBB