Mplayer build guide

ashjas ashjas at gmail.com
Fri Jan 11 20:10:00 PST 2013


Thanks to all.. that worked!. now there is a good wayland client to have a
look upon!
wayland is getting interesting!


On Fri, Jan 11, 2013 at 6:06 PM, Alexander Preisinger <
alexander.preisinger at gmail.com> wrote:

>
>
>
> 2013/1/11 ashjas <ashjas at gmail.com>
>
>> Hello alexander,
>>
>> I havent specified any special parameters while building mplayer..
>> regarding gl3
>>  ./configure --prefix=$prefix --enable-wayland --enable-debug
>> --disable-x11
>> this is what i did.. as in the mail..
>>
>> how to set it to use gl backend instead of gl3
>>
>
> Hello,
>
> Just use
>  mplayer -vo gl <vdieo>
>
> or set it as default in the configuration file.
>
>
>
>>  Thanks.
>>
>>
>>
>> On Fri, Jan 11, 2013 at 4:30 PM, Alexander Preisinger <
>> alexander.preisinger at gmail.com> wrote:
>>
>>> Hello,
>>>
>>>
>>> 2013/1/11 ashjas <ashjas at gmail.com>
>>>
>>>> Hello..
>>>>
>>>> I was trying to test this build.. but i am getting errors upon
>>>> executing the mplayer.
>>>> Seems it is asking for opengl3 support.. i tried to look at the
>>>> configure options in wayland to enable the opengl 3 support..
>>>> but didnt find any..
>>>>
>>>> any clues?
>>>>
>>>> Thanks.
>>>>
>>>>
>>>> ---------------------------------------------------------------------------------------
>>>> ---------------------------------------------------------------------------------------
>>>> root at abc-HP:/home/abc/wayland/mplayer2-wayland# gdb --args ./mplayer
>>>> /home/abc/Nexus_\ Ask\ Me\ Anything.flv
>>>> GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
>>>> Copyright (C) 2012 Free Software Foundation, Inc.
>>>> License GPLv3+: GNU GPL version 3 or later <
>>>> http://gnu.org/licenses/gpl.html>
>>>> This is free software: you are free to change and redistribute it.
>>>> There is NO WARRANTY, to the extent permitted by law.  Type "show
>>>> copying"
>>>> and "show warranty" for details.
>>>>  This GDB was configured as "x86_64-linux-gnu".
>>>> For bug reporting instructions, please see:
>>>> <http://bugs.launchpad.net/gdb-linaro/>...
>>>> Reading symbols from /home/abc/wayland/mplayer2-wayland/mplayer...done.
>>>> (gdb) r
>>>> Starting program: /home/abc/wayland/mplayer2-wayland/mplayer
>>>> /home/abc/Nexus_\ Ask\ Me\ Anything.flv
>>>> [Thread debugging using libthread_db enabled]
>>>> Using host libthread_db library
>>>> "/lib/x86_64-linux-gnu/libthread_db.so.1".
>>>> MPlayer2 aa726bb (C) 2000-2012 MPlayer Team
>>>> Cannot open file '/root/.mplayer/input.conf': No such file or directory
>>>> Failed to open /root/.mplayer/input.conf.
>>>> Cannot open file '/home/abc/WAYLANDINSTALLDIR/etc/mplayer/input.conf':
>>>> No such file or directory
>>>> Failed to open /home/abc/WAYLANDINSTALLDIR/etc/mplayer/input.conf.
>>>>
>>>> Playing /home/abc/Nexus_ Ask Me Anything.flv.
>>>> Detected file format: FLV format (libavformat)
>>>> [flv @ 0x7ffff5a3d940]Estimating duration from bitrate, this may be
>>>> inaccurate
>>>> [lavf] stream 0: video (flv), -vid 0
>>>> [lavf] stream 1: audio (mp3), -aid 0
>>>> Clip info:
>>>>  starttime: 0
>>>>  totalduration: 60
>>>>  totaldatarate: 342
>>>>  bytelength: 2572059
>>>>  canseekontime: true
>>>>  sourcedata: BB64FFD8BHH1357818153566632
>>>>  purl:
>>>>  pmsg:
>>>> Load subtitles in /home/abc/
>>>> [gl] OpenGL 3.x context creation not implemented.
>>>>
>>>
>>> OpenGL 3 is not used in the wayland backend at the moment.
>>>
>>> Just use the gl backend not the gl3 one.
>>>
>>>
>>>> Program received signal SIGSEGV, Segmentation fault.
>>>> 0x0000000000000000 in ?? ()
>>>> (gdb) bt
>>>> #0  0x0000000000000000 in ?? ()
>>>> #1  0x000000000043581e in releaseGlContext_wayland (ctx=<optimized
>>>> out>) at libvo/gl_common.c:2464
>>>> #2  0x0000000000438dfc in uninit_mpglcontext (ctx=0x901f80) at
>>>> libvo/gl_common.c:2712
>>>> #3  0x000000000043df06 in uninit (vo=<optimized out>) at
>>>> libvo/vo_gl3.c:1951
>>>> #4  0x000000000043fe8c in preinit (vo=0x900800, arg=<optimized out>) at
>>>> libvo/vo_gl3.c:2300
>>>> #5  0x00000000004345fd in vo_preinit (vo=0x900800, arg=0x0) at
>>>> libvo/video_out.c:190
>>>> #6  0x0000000000434c52 in init_best_video_out (opts=0x7f02b0,
>>>> key_fifo=0x8a0ad0, input_ctx=0x8a7530) at libvo/video_out.c:389
>>>> #7  0x000000000042b5f1 in reinit_video_chain (mpctx=0x7f02b0) at
>>>> mplayer.c:2614
>>>> #8  0x000000000041ce50 in main (argc=<optimized out>, argv=<optimized
>>>> out>) at mplayer.c:4754
>>>> (gdb) Write failed: Broken pipe
>>>>
>>>> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>>>>
>>>>
>>>> On Thu, Jan 10, 2013 at 7:12 AM, Scott Moreau <oreaus at gmail.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Alexander Preisinger has worked very diligently on a wayland video
>>>>> backend for mplayer2. I am posting a general build guide as reference here.
>>>>> This might be a candidate for the site as a build guide for mplayer2, so
>>>>> others can build and use this software.
>>>>>
>>>>> git clone https://github.com/giselher/mplayer2-wayland.git
>>>>> cd mplayer2-wayland
>>>>> ./configure --prefix=$prefix --enable-wayland --enable-debug
>>>>> --disable-x11
>>>>> make
>>>>> make install
>>>>>
>>>>> Clearly, $prefix should be set accordingly and --enable-debug is
>>>>> optional, but useful for debugging. The master branch of this repository
>>>>> should work with wayland/weston 1.x. Feedback is welcome.
>>>>>
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Scott
>>>>>
>>>>> _______________________________________________
>>>>> wayland-devel mailing list
>>>>> wayland-devel at lists.freedesktop.org
>>>>> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> wayland-devel mailing list
>>>> wayland-devel at lists.freedesktop.org
>>>> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20130112/6467bf01/attachment.html>


More information about the wayland-devel mailing list