AnimeSuki Forums

Register Forum Rules FAQ Members List Social Groups Search Today's Posts Mark Forums Read

Go Back   AnimeSuki Forum > Anime Related Topics > General Anime > Fansub Groups

Notices

Reply
 
Thread Tools
Old 2009-09-01, 13:50   Link #201
sukanime
Junior Member
 
Join Date: Aug 2009
@greg-
thanks for the reply.....

i use it http://repo.or.cz/w/mplayer.git?a=sn...;h=HEAD;sf=tgz
My internet connection at home is not god, only 64Kbps and crapy.... (in my country internet is expensive, a good internet acces price is my 2 month salary)
that why i download it http://repo.or.cz/w/mplayer.git?a=sn...;h=HEAD;sf=tgz and ekstrak it to mplayer-build folder.

now, i tried at my work place to get everything....
that why i ask Stark to give me working mplayer-build and upload it to ifile.it
so i can download it, and if fail i can still resume it.

i have tried to get git clone http://repo.or.cz/r/mplayer.git through Toonel at home, but it fail, because the file to way big.....
i guess, git is not good for people with bad internet conection , because if something wrong, i have to start it again...
not like svn, svn can be resume....

sory for my humble opinion....
thanks again for your help.

ps: sory for my bad english.
sukanime is offline   Reply With Quote
Old 2009-09-01, 20:32   Link #202
sukanime
Junior Member
 
Join Date: Aug 2009
Thanks to Starks, Greg- and pigoz.


Now it's compiled.....and working....
Now i have Mplayer with new libass feature and ordered chapter in mkv file.....


now, i had some question, when i play bake-op
i go font error, here the error message:
Code:
[root@localhost mplayer]# ./mplayer -ass /os/data-2/temp/bake-op.mkv
MPlayer UNKNOWN-4.1.1 (C) 2000-2009 MPlayer Team

Playing /os/data-2/temp/bake-op.mkv.
[mkv] Multiple edition entries - ignoring all but first!
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 2: audio (A_AAC), -aid 0, -alang jpn
[mkv] Track ID 3: subtitles (S_TEXT/ASS) "Dialogue/Typesetting/Karaoke", -sid 0, -slang eng
[mkv] Track ID 4: subtitles (S_TEXT/ASS) "Dialogue", -sid 1, -slang eng
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO:  [avc1]  1280x720  24bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
[ass] auto-open
[ass] Init
[ass] Updating font cache
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 1280 x 720 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 1280x720 => 1280x720 Planar YV12
[ass] fontconfig: Selected font is not the requested one: 'URW Chancery L' != 'ITC Zapf Chancery'
A:  31.1 V:  31.1 A-V: -0.001 ct:  0.024   0/  0 62% 19%  1.5% 33 0
Exiting... (Quit)

And i have error when trying to install mplayer, here the error:
Code:
[root@localhost mplayer-build]# make install
if test ! -d /usr --realcodecsdir/bin ; then install -d /usr --realcodecsdir/bin ; fi
/bin/sh: line 0: test: /usr: binary operator expected
if test ! -d /usr --realcodecsdir/etc/mplayer ; then install -d /usr --realcodecsdir/etc/mplayer ; fi
/bin/sh: line 0: test: /usr: binary operator expected
if test ! -d /usr --realcodecsdir/lib ; then install -d /usr --realcodecsdir/lib ; fi
/bin/sh: line 0: test: /usr: binary operator expected
install -m 755 -s mencoder /usr --realcodecsdir/bin
install: unrecognized option `--realcodecsdir/bin'
Try `install --help' for more information.
make: *** [install-mencoder] Error 1
my mplayer_options
Code:
# You can place options for MPlayer configure in this file.

# Place each option on its own line. Empty lines and lines starting with '#'
# are ignored. The options do not need quoting, so you can have for example
# --extra-libs=-lfoo -lbar
# (and NOT --extra-libs='-lfoo -lbar').
--prefix=/usr --realcodecsdir=/usr/lib/codec --win32codecsdir=/usr/lib/win32/ --disable-directfb --disable-png --disable-fbdev --disable-mga --disable-tga --disable-pnm --disable-jpeg --disable-md5sum
but, that's fine, i just make install.sh script. like this to install mplayer.
Code:
#!/bin/bash

MANDIR="/usr/share/man/"

echo "installing mplayer..."
install -m 755 mplayer/mplayer /usr/bin/
install -m 755 mplayer/mencoder /usr/bin/
install -m 644 mplayer/DOCS/man/en/mplayer.1 $MANDIR/man1/
cd $MANDIR/man1 && ln -sf mplayer.1 mencoder.1
echo "Selesai..."

Thanks again....
i will upload mplayer-build to ifile.it, so for people with crapy internet access, or behind proxy, can compile it.
sukanime is offline   Reply With Quote
Old 2009-09-02, 01:48   Link #203
pigoz
YUKI.N>
 
 
Join Date: Mar 2009
Location: Milan, Italy
Send a message via MSN to pigoz
Good thing it works, grats!
By the way in my opinion git is very good for bad internet connection. If something goes wrong during compilation giving the command "git reset --hard" will rollback to what you have downloaded (without any kind of network activity).
pigoz is offline   Reply With Quote
Old 2009-09-02, 02:33   Link #204
sukanime
Junior Member
 
Join Date: Aug 2009
Quote:
Originally Posted by pigoz View Post
Good thing it works, grats!
By the way in my opinion git is very good for bad internet connection. If something goes wrong during compilation giving the command "git reset --hard" will rollback to what you have downloaded (without any kind of network activity).
wow, that's good info....
even the first download time it's so hard.....
i have to use my internet in work place, bringing my pclinuxos livecd , then installing git, then dowload fro git....

thanks for the info... ^^
sukanime is offline   Reply With Quote
Old 2009-09-02, 05:11   Link #205
pigoz
YUKI.N>
 
 
Join Date: Mar 2009
Location: Milan, Italy
Send a message via MSN to pigoz
Another tip: git is distributed, that means you can do a git clone at work, put the directory in a usbdrive (for example), and then go home. The directory on your usbdrive is exactly the same as the one on the server.
Anytime you clone you create an actual clone of what is on the server.
pigoz is offline   Reply With Quote
Old 2009-09-02, 07:00   Link #206
Starks
I see what you did there!
*Scanlator
 
 
Join Date: Apr 2004
Age: 36
Send a message via AIM to Starks
sukanime, I'd highly recommend that you shelve your "successful" mplayer build and try once more with the mplayer-build repo after I upload both the ffmpeg-mt and ffmpeg-regular versions after class.

Protip: Mixing git repos is not recommended and will cause headaches for us if you run into problems and ask for help.
__________________
Starks is offline   Reply With Quote
Old 2009-09-02, 14:11   Link #207
sukanime
Junior Member
 
Join Date: Aug 2009
Quote:
Originally Posted by Starks View Post
sukanime, I'd highly recommend that you shelve your "successful" mplayer build and try once more with the mplayer-build repo after I upload both the ffmpeg-mt and ffmpeg-regular versions after class.

Protip: Mixing git repos is not recommended and will cause headaches for us if you run into problems and ask for help.
hmm, sory my english not good.
you mean, i must cancel upload the mplayer-build.tar.bz2 to ifile.it?
and try update my mplayer-build and re compile it again?

about mixing, what i'am trying to do is geting a http protocol from the mirror, and that is before i redownload again using internet conection from my work place.

but, it solved after i download mplayer-build.git from my work place.
look like i cannot use http://repo.or.cz/w/mplayer.git?a=sn...;h=HEAD;sf=tgz
but, i must download it with git to make it compileable.


btw, about this error:
Code:
[root@localhost mplayer-build]# make install
if test ! -d /usr --realcodecsdir/bin ; then install -d /usr --realcodecsdir/bin ; fi
/bin/sh: line 0: test: /usr: binary operator expected
if test ! -d /usr --realcodecsdir/etc/mplayer ; then install -d /usr --realcodecsdir/etc/mplayer ; fi
/bin/sh: line 0: test: /usr: binary operator expected
if test ! -d /usr --realcodecsdir/lib ; then install -d /usr --realcodecsdir/lib ; fi
/bin/sh: line 0: test: /usr: binary operator expected
install -m 755 -s mencoder /usr --realcodecsdir/bin
install: unrecognized option `--realcodecsdir/bin'
Try `install --help' for more information.
make: *** [install-mencoder] Error 1
it's because mplayer-config script cannot read mplayer_options file.
the mplayer-config python script, miss read the option: --prefix=/usr --realcodecsdir=/usr/lib/codec --win32codecsdir=/usr/lib/win32/ --disable-directfb --disable-png --disable-fbdev --disable-mga --disable-tga --disable-pnm --disable-jpeg --disable-md5sum
the prefix read as --prefix=/usr --realcodecdir rather than prefix=/usr

so if, in the mplayer_options like this:
Code:
# You can place options for MPlayer configure in this file.

# Place each option on its own line. Empty lines and lines starting with '#'
# are ignored. The options do not need quoting, so you can have for example
# --extra-libs=-lfoo -lbar
# (and NOT --extra-libs='-lfoo -lbar').
--prefix=/usr --realcodecsdir=/usr/lib/codec --win32codecsdir=/usr/lib/win32/ --disable-directfb --disable-png --disable-fbdev --disable-mga --disable-tga --disable-pnm --disable-jpeg --disable-md5sum
than if you do make, the log will be like this:
Code:
script/mplayer-config
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... 4.1.1
Checking for host cc ... cc
Checking for cross compilation ... no
Checking for CPU vendor ... AuthenticAMD (6:8:1)
Checking for CPU type ...  AMD Sempron(tm)   2200+
Checking for kernel support of mmx ... yes
Checking for kernel support of mmxext ... yes
Checking for kernel support of 3dnow ... yes
Checking for kernel support of 3dnowext ... yes
Checking for kernel support of sse ... yes
Checking for kernel support of cmov ... yes
Checking for mtrr support ... yes
Checking for GCC & CPU optimization abilities ... athlon-xp
Checking for byte order ... little-endian
Checking for extern symbol prefix ...
Checking for assembler support of -pipe option ... yes
Checking for compiler support of named assembler arguments ... yes
Checking for assembler (as 2.16.91.0.7) ... ok
Checking for .align is a power of two ... no
Checking for 10 assembler operands ... yes
Checking for yasm ... yasm
Checking for bswap ... yes
Checking for Linux kernel version ... 2.6.26.8.tex3, ok
Checking for -lposix ... no
Checking for -lm ... yes
Checking for langinfo ... yes
Checking for language ... messages: en - man pages: en - documentation: en
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... no
Checking for restrict keyword ... restrict
Checking for __builtin_expect ... yes
Checking for kstat ... no
Checking for posix4 ... no
Checking for llrint ... yes
Checking for log2 ... yes
Checking for lrint ... yes
Checking for lrintf ... yes
Checking for round ... yes
Checking for roundf ... yes
Checking for truncf ... yes
Checking for mkstemp ... yes
Checking for nanosleep ... yes
Checking for socklib ... yes
Checking for arpa/inet.h ... yes
Checking for inet_pton() ... yes
Checking for inet_aton() ... yes
Checking for socklen_t ... yes
Checking for closesocket() ... no
Checking for network ... yes
Checking for inet6 ... yes
Checking for gethostbyname2 ... yes
Checking for inttypes.h (required) ... yes
Checking for int_fastXY_t in inttypes.h ... yes
Checking for malloc.h ... yes
Checking for memalign() ... yes
Checking for posix_memalign() ... yes
Checking for alloca.h ... yes
Checking for fastmemcpy ... yes
Checking for mman.h ... yes
Checking for dynamic loader ... yes
Checking for dynamic a/v plugins support ... no
Checking for pthread ... yes (using -lpthread)
Checking for w32threads ... no (using pthread instead)
Checking for rpath ... no
Checking for iconv ... yes
Checking for soundcard.h ... yes (sys/soundcard.h)
Checking for sys/dvdio.h ... no
Checking for sys/cdio.h ... no
Checking for linux/cdrom.h ... yes
Checking for dvd.h ... no
Checking for termcap ... yes (using -lncurses)
Checking for termios ... yes (using sys/termios.h)
Checking for shm ... yes
Checking for strsep() ... yes
Checking for vsscanf() ... yes
Checking for swab() ... yes
Checking for POSIX select() ... yes
Checking for audio select() ... yes
Checking for gettimeofday() ... yes
Checking for glob() ... yes
Checking for setenv() ... yes
Checking for sys/sysinfo.h ... yes
Checking for Apple IR ... no
Checking for pkg-config ... yes
Checking for Samba support (libsmbclient) ... no
Checking for tdfxfb ... no
Checking for s3fb ... no
Checking for wii ... no
Checking for tdfxvid ... no
Checking for xvr100 ... no
Checking for tga ... yes
Checking for md5sum support ... yes
Checking for yuv4mpeg support ... yes
Checking for bl ... no
Checking for DirectFB ... yes (0.9.25)
Checking for X11 headers presence ... yes
Checking for X11 ... yes
Checking for Xss screensaver extensions ... no
Checking for DPMS ... yes (using Xdpms 4)
Checking for Xv ... yes
Checking for XvMC ... no
Checking for VDPAU ... yes
Checking for Xinerama ... yes
Checking for Xxf86vm ... yes
Checking for XF86keysym ... yes
Checking for DGA ... no
Checking for 3dfx ... no
Checking for OpenGL ... yes
Checking for VIDIX ... yes
Checking for VIDIX PCI device name database ... yes
Checking for VIDIX dhahelper support ... no
Checking for VIDIX svgalib_helper support ... no
Checking for GGI ... no
Checking for GGI extension: libggiwmh ... no
Checking for AA ... no
Checking for CACA ... no
Checking for SVGAlib ... no
Checking for FBDev ... yes
Checking for DVB ... no
Checking for DVB HEAD ... yes
Checking for PNG support ... yes
Checking for MNG support ... no
Checking for JPEG support ... yes
Checking for PNM support ... yes
Checking for GIF support ... no
Checking for VESA support ... no
Checking for SDL ... no
Checking for DXR2 ... no
Checking for DXR3/H+ ... no
Checking for IVTV TV-Out (pre linux-2.6.24) ... no
Checking for V4L2 MPEG Decoder ... no
Checking for OSS Audio ... yes
Checking for aRts ... no
Checking for EsounD ... yes
Checking for esd_get_latency() ... yes
Checking for NAS ... no
Checking for pulse ... no
Checking for JACK ... no
Checking for OpenAL ... no
Checking for ALSA audio ... no
Checking for Sun audio ... no
Checking for VCD support ... yes
Checking for dvdread ... ./configure: line 5738: dvdread-config: command not found
./configure: line 5739: dvdread-config: command not found
no
Checking for internal libdvdcss ... no
Checking for cdparanoia ... no
Checking for libcdio ... no
Checking for bitmap font support ... yes
Checking for freetype >= 2.0.9 ... yes
Checking for fontconfig ... yes
Checking for SSA/ASS support ... yes
Checking for fribidi with charsets ... no
Checking for ENCA ... yes
Checking for zlib ... yes
Checking for bzlib ... yes
Checking for RTC ... yes
Checking for liblzo2 support ... yes
Checking for mad support ... yes
Checking for Twolame ... no
Checking for Toolame ... no
Checking for OggVorbis support ... yes (internal Tremor)
Checking for libspeex (version >= 1.1 required) ... yes
Checking for OggTheora support ... yes
Checking for internal mp3lib support ... yes
Checking for liba52 support ... yes (internal)
Checking for internal libmpeg2 support ... yes
Checking for libdca support ... no
Checking for libmpcdec (musepack, version >= 1.2.1 required) ... no
Checking for FAAC support ... yes
Checking for FAAD2 support ... yes (internal floating-point)
Checking for LADSPA plugin support ... no
Checking for libbs2b audio filter support ... yes
Checking for Win32 codecs ... yes (using /usr/lib/codecs)
Checking for XAnim codecs ... yes (using /usr/lib/codecs)
Checking for RealPlayer codecs ... yes (using /usr/lib/codecs)
Checking for QuickTime codecs ... yes
Checking for Nemesi Streaming Media libraries ... no
Checking for LIVE555 Streaming Media libraries ... no
Checking for FFmpeg libavutil ... yes
Checking for FFmpeg libavcodec ... yes
Checking for FFmpeg libavformat ... yes
Checking for FFmpeg libpostproc ... yes
Checking for FFmpeg libswscale ... yes
Checking for libdv-0.9.5+ ... no
Checking for Xvid ... yes
Checking for x264 ... yes
Checking for libnut ... no
Checking for /dev/mga_vid ... no
Checking for xmga ... no
Checking for zr ... no
Checking for libmp3lame ... yes
Checking for mencoder ... yes
Checking for UnRAR executable ... yes
Checking for TV interface ... yes
Checking for DirectShow TV interface ... no
Checking for Video 4 Linux TV interface ... yes
Checking for Video 4 Linux 2 TV interface ... yes
Checking for TV teletext interface ... yes
Checking for Radio interface ... no
Checking for Capture for Radio interface ... no
Checking for Video 4 Linux 2 Radio interface ... no
Checking for Video 4 Linux Radio interface ... no
Checking for Video 4 Linux 2 MPEG PVR interface ... no
Checking for ftp ... yes
Checking for vstream client ... no
Checking for OSD menu ... no
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... no
Checking for automatic gdb attach ... no
Checking for compiler support for noexecstack ... yes
Checking for joystick ... no
Checking for lirc ... yes
Checking for lircc ... no
Checking for DVD support (libdvdnav) ... no
Creating config.mak
Creating config.h

Config files successfully generated by ./configure --extra-cflags=-I/os/data-1/ftp/pub/Apps-utils/linux/Multimedia/Mplayer/mplayer-build/build_libs/
include --extra-ldflags=-L/os/data-1/ftp/pub/Apps-utils/linux/Multimedia/Mplayer/mplayer-build/build_libs/lib --prefix=/usr --realcodecsdir=/usr/lib
/codec --win32codecsdir=/usr/lib/win32/ --disable-directfb --disable-png --disable-fbdev --disable-mga --disable-tga --disable-pnm --disable-jpeg --
disable-md5sum --enable-gui !

  Install prefix: /usr --realcodecsdir
  Data directory: /usr --realcodecsdir/share/mplayer
  Config direct.: /usr --realcodecsdir/etc/mplayer

  Byte order: little-endian
  Optimizing for: athlon-xp

  Languages:
    Messages: en
    Manual pages: en
    Documentation: en

  Enabled optional drivers:
    Input: ftp tv-teletext tv-v4l2 tv-v4l tv vcd dvb network
    Codecs: x264 xvid libavcodec qtx real xanim win32 faad2(internal) faac libmpeg2(internal) liba52(internal) mp3lib(internal) libtheora speex trem
or(internal) libmad liblzo
    Audio output: esd oss mpegpes(dvb)
    Video output: pnm jpeg png mpegpes(dvb) fbdev xvidix cvidix opengl vdpau xv x11 xover dfbmga directfb yuv4mpeg md5sum tga

  Disabled optional drivers:
    Input: dvdnav vstream pvr radio tv-dshow live555 nemesi cddb cdda libdvdcss(internal) dvdread smb
    Codecs: libdv musepack libdca toolame twolame gif
    Audio output: sun alsa openal jack pulse nas arts v4l2 ivtv dxr2 sdl
    Video output: zr zr2 xmga mga v4l2 ivtv dxr3 dxr2 sdl vesa gif89a svga caca aa ggi winvidix 3dfx dga xvmc bl xvr100 tdfx_vid wii s3fb tdfxfb

'config.h' and 'config.mak' contain your configuration options.
Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer
      compile *** DO NOT REPORT BUGS if you tweak these files ***

'make' will now compile MPlayer and 'make install' will install it.
Note: On non-Linux systems you might need to use 'gmake' instead of 'make'.

Please check mtrr settings at /proc/mtrr (see DOCS/HTML//video.html#mtrr)

i have put the option for mplayer to file mplayer-config
Code:
#!/usr/bin/env python

import os
from helpers import parse_configfile
from subprocess import check_call

def main():
    mydir = os.getcwd()
    extra_args = parse_configfile('common_options')
    extra_args += parse_configfile('mplayer_options')

    env = os.environ.copy()
    PKG_CONFIG_PATH = '%s/build_libs/lib/pkgconfig:%s' % (
        mydir, env.get('PKG_CONFIG_PATH', ''))
    env['PKG_CONFIG_PATH'] = PKG_CONFIG_PATH

    # The --extra-cflags and --extra-ldflags parameters should not be
    # necessary to find the libraries, but they're there to ensure those
    # directories appear first in the search path in case there's another
    # version of the library installed on the system.

    args = ['--extra-cflags=-I%s/build_libs/include' % mydir,
               '--prefix=/usr',  '--realcodecsdir=/usr/lib/codec', '--win32codecsdir=/usr/lib/win32',
               '--disable-directfb', '--disable-png', '--disable-fbdev', '--disable-mga',
               '--disable-tga', '--disable-pnm', '--disable-jpeg', '--disable-md5sum',
               '--extra-ldflags=-L%s/build_libs/lib' % mydir]

    os.chdir('mplayer')
    check_call(['./configure'] + args + extra_args, env=env)

main()
now, after modified mplayer-config like above, i can compile it and install it.

Thanks
ps: sory for my bad english.

Last edited by sukanime; 2009-09-03 at 03:56.
sukanime is offline   Reply With Quote
Old 2009-09-02, 16:29   Link #208
sukanime
Junior Member
 
Join Date: Aug 2009
Oke i upload mplayer-build.tar.bz2 from http://repo.or.cz/r/mplayer-build.git
it include ffmpeg standard, libass and mplayer from date 2009 09 01


here the link mplayer-build.tar.bz2

i already do ./init, so you can do make, after setup some option you need to build it.



some notice:
1.check file ffmpeg-config, you may need change the cpu setting.
Code:
#!/usr/bin/env python

import os
from os import path
from helpers import parse_configfile
from subprocess import check_call

def main():
    try:
        os.mkdir('ffmpeg_build')
    except:
        pass
    mydir = os.getcwd()
    extra_args = parse_configfile('common_options')
    extra_args += parse_configfile('ffmpeg_options')

    args = ['--prefix=%s/build_libs' % mydir,
            '--enable-gpl',
            '--cpu=native',
            '--disable-debug',
            '--enable-pthreads',
            '--disable-shared', '--enable-static',
            '--enable-postproc',
            '--disable-devices', '--disable-protocols', '--disable-ffmpeg',
            '--disable-ffplay', '--disable-ffserver']

    if os.path.exists('ffmpeg-mt-enabled'):
        ffmpeg_dir = 'ffmpeg-mt'
    else:
        ffmpeg_dir = 'ffmpeg'
    executable = path.join(mydir, ffmpeg_dir, 'configure')

    os.chdir('ffmpeg_build')
    check_call([executable] + args + extra_args)

main()
change line 19, if you use old sempron or athlon-xp, you may change from --cpu=native to --cpu=athlon-xp

so, it will be like this:
Code:
#!/usr/bin/env python

import os
from os import path
from helpers import parse_configfile
from subprocess import check_call

def main():
    try:
        os.mkdir('ffmpeg_build')
    except:
        pass
    mydir = os.getcwd()
    extra_args = parse_configfile('common_options')
    extra_args += parse_configfile('ffmpeg_options')

    args = ['--prefix=%s/build_libs' % mydir,
            '--enable-gpl',
            '--cpu=athlon-xp',
            '--disable-debug',
            '--enable-pthreads',
            '--disable-shared', '--enable-static',
            '--enable-postproc',
            '--disable-devices', '--disable-protocols', '--disable-ffmpeg',
            '--disable-ffplay', '--disable-ffserver']

    if os.path.exists('ffmpeg-mt-enabled'):
        ffmpeg_dir = 'ffmpeg-mt'
    else:
        ffmpeg_dir = 'ffmpeg'
    executable = path.join(mydir, ffmpeg_dir, 'configure')

    os.chdir('ffmpeg_build')
    check_call([executable] + args + extra_args)

main()
2.If you want libdvdnav and libdvdread support, copy the folder libdvdnav and libdvdread4 from Official Mplayer svn branch, then put it inside mplayer subfolder
inside mplayer-build folder.




after that, just make sure you already install all the dependency.
than type make to compile it.

ps: sory for my bad english
sukanime is offline   Reply With Quote
Old 2009-09-04, 03:29   Link #209
Starks
I see what you did there!
*Scanlator
 
 
Join Date: Apr 2004
Age: 36
Send a message via AIM to Starks
I did not ask for the lecture, but thank you though, hopefully it will help others.

Also, I'm glad you got mplayer-build working. Enjoy.
__________________

Last edited by Starks; 2009-09-04 at 03:50.
Starks is offline   Reply With Quote
Old 2009-09-04, 05:20   Link #210
sukanime
Junior Member
 
Join Date: Aug 2009
sory, but i just want to tell you that something wrong with mplayer-config
thanks for helping me, without your help, i can get mplayer-build working.
sory for my bad english , it hard to say what i want to tell, if i made something wrong, i'am sory again...

and i hope my post will help other to get mplayer-build working, i'am just a stupid person, so if there somthing wrong, i hope there will be someone to correct it.

ps: sory for my bad english and my humble post.
sukanime is offline   Reply With Quote
Old 2009-10-11, 22:09   Link #211
Xanas
Member
 
Join Date: Nov 2007
Location: Midland, TX
Age: 43
Send a message via ICQ to Xanas Send a message via AIM to Xanas Send a message via MSN to Xanas Send a message via Yahoo to Xanas
I've been able to compile the git://repo.or.cz/mplayer-build.git version but when it compiles the mencoder application doesn't have much codec support. Mplayer is fine, but mencoder is effectively useless. I have tried using the git version of x264 but I'm still not getting anywhere with it. I've tried enabling libx264 (I am actually pretty sure I'm not supposed to have to do that) for ffmpeg, but that doesn't do anything for mencoder.

I know encoding isn't a fansub related question, but I haven't seen anywhere else where compilation for this git repo is discussed. Everything I've read elsewhere seems to indicate that mplayer should just know that x264 is there. I had the dev source installed before I had tried the git version.
Code:
mencoder -ovc help -oac help
MEncoder UNKNOWN-4.4.1 (C) 2000-2009 MPlayer Team

Available codecs:
   copy     - frame copy, without re-encoding. Doesn't work with filters.
   frameno  - special audio-only file for 3-pass encoding, see DOCS.
   raw      - uncompressed video. Use fourcc option to set format explicitly.
   nuv      - nuppel video
   xvid     - XviD encoding


Available codecs:
   copy     - frame copy, without re-encoding (useful for AC3)
   pcm      - uncompressed PCM audio
   mp3lame  - cbr/abr/vbr MP3 using libmp3lame
   faac     - FAAC AAC audio encoder
Configure.log may mean that the current git of x264 is also incompatible, but I haven't found a version 76 build anywhere for x264 and I don't know git well enough to know how to check out old builds.

Code:
#include <inttypes.h>
#include <x264.h>
#if X264_BUILD < 76
#error We do not support old versions of x264. Get the latest from git.
#endif
int main(void) { x264_encoder_open((void*)0); return 0; }

cc -Wundef -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -I.  -I/home/xanas/mplayer-build/build_libs/include -D_REENTRANT -I/usr/include/directfb -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT   -D_REENTRANT   -I/usr/include  -I/usr/include/freetype2 -I/home/xanas/mplayer-build/build_libs/include -I/usr/include/freetype2   -I/usr/include   -I/home/xanas/mplayer-build/build_libs/include   -I/home/xanas/mplayer-build/build_libs/include   -I/home/xanas/mplayer-build/build_libs/include   -I/home/xanas/mplayer-build/build_libs/include   -I/home/xanas/mplayer-build/build_libs/include     -L/home/xanas/mplayer-build/build_libs/lib -ffast-math   -lncurses -lsmbclient -lpng -lz -ljpeg -lungif -lasound -ldl -lpthread -L/usr/lib -ldvdread -ldvdread -lcdda_interface -lcdda_paranoia -lfreetype -lz -lfontconfig  -L/home/xanas/mplayer-build/build_libs/lib -lass   -L/usr/lib -lfribidi -lz -lbz2 -llzo2 -lspeex -ltheora -logg   -ldts -lliveMedia -lgroupsock -lUsageEnvironment -lBasicUsageEnvironment -lstdc++ -L/home/xanas/mplayer-build/build_libs/lib -lavutil   -pthread -L/home/xanas/mplayer-build/build_libs/lib -lavcodec -lz -lbz2 -lm -lavutil   -pthread -L/home/xanas/mplayer-build/build_libs/lib -lavformat -lavcodec -lz -lbz2 -lm -lavutil   -L/home/xanas/mplayer-build/build_libs/lib -lpostproc -lavutil   -L/home/xanas/mplayer-build/build_libs/lib -lswscale -lavutil   -lxvidcore -lm  -ldirectfb  -lXext -lX11 -lpthread -lXv -lXinerama -lXxf86vm -lXxf86dga -laa -L/usr/lib -lcaca -lvga -lGL -ldl -L/usr/lib -lSDL -lesd   -laudio -lXt -lpulse   -ljack  -lfaac -o /tmp/mplayer-conf--15972 /tmp/mplayer-conf--15972.c -lx264 -lpthread -lm
/tmp/ccilf8PC.o: In function `main':
mplayer-conf--15972.c:(.text+0x7): undefined reference to `x264_encoder_open_77'
collect2: ld returned 1 exit status


Result is: no 
##########################################
[code]

Last edited by Xanas; 2009-10-11 at 22:29.
Xanas is offline   Reply With Quote
Old 2009-10-11, 22:36   Link #212
Dark Shikari
x264 Developer
 
 
Join Date: Feb 2008
The latest version of x264 is 77, which is certainly new enough.
Dark Shikari is offline   Reply With Quote
Old 2009-10-12, 17:36   Link #213
Xanas
Member
 
Join Date: Nov 2007
Location: Midland, TX
Age: 43
Send a message via ICQ to Xanas Send a message via AIM to Xanas Send a message via MSN to Xanas Send a message via Yahoo to Xanas
I was concerned that the log might mean it is too new? I'm not really familiar with complex compilations, most programming I've ever done has been on a fairly small scale so I never had to get into using autoconf or automake.

The only issue with my system I can think of is that I'm running Karmic, but it's beta now so things are mostly stable with it(usplash is the only thing they had going on in the latter alphas that was screwing the system up).
Xanas is offline   Reply With Quote
Old 2009-10-13, 05:51   Link #214
Dark Shikari
x264 Developer
 
 
Join Date: Feb 2008
Quote:
Originally Posted by Xanas View Post
I was concerned that the log might mean it is too new? I'm not really familiar with complex compilations, most programming I've ever done has been on a fairly small scale so I never had to get into using autoconf or automake.

The only issue with my system I can think of is that I'm running Karmic, but it's beta now so things are mostly stable with it(usplash is the only thing they had going on in the latter alphas that was screwing the system up).
"<" is a less-than sign.
Dark Shikari is offline   Reply With Quote
Old 2009-10-13, 06:19   Link #215
Xanas
Member
 
Join Date: Nov 2007
Location: Midland, TX
Age: 43
Send a message via ICQ to Xanas Send a message via AIM to Xanas Send a message via MSN to Xanas Send a message via Yahoo to Xanas
I'm well aware of that, but it's obviously not working and configure.log says it fails the check, hence the "Result is: no"

The #define in /usr/include/x264.h says
#define X264_BUILD 77

I've got no reason to think x264 otherwise installed incorrectly. It did not fail to compile or fail on using make install command.
Xanas is offline   Reply With Quote
Old 2009-10-13, 11:08   Link #216
Dark Shikari
x264 Developer
 
 
Join Date: Feb 2008
Quote:
Originally Posted by Xanas View Post
I'm well aware of that, but it's obviously not working and configure.log says it fails the check, hence the "Result is: no"

The #define in /usr/include/x264.h says
#define X264_BUILD 77

I've got no reason to think x264 otherwise installed incorrectly. It did not fail to compile or fail on using make install command.
Quote:
mplayer-conf--15972.c.text+0x7): undefined reference to `x264_encoder_open_77'
collect2: ld returned 1 exit status
The linking failed, which means it's a problem with your installed library, not your header file.

The most common cause is an old x264 sitting around.
Dark Shikari is offline   Reply With Quote
Old 2009-10-13, 17:09   Link #217
Xanas
Member
 
Join Date: Nov 2007
Location: Midland, TX
Age: 43
Send a message via ICQ to Xanas Send a message via AIM to Xanas Send a message via MSN to Xanas Send a message via Yahoo to Xanas
Thanks, that was the problem. I just am not familiar enough with compilation errors to have understood that before, and couldn't find a similar enough error to find it on google.

I've only ever made small executable apps & written code in scripting languages, so linking issues are foreign to me.
Xanas is offline   Reply With Quote
Old 2009-12-07, 12:48   Link #218
Starks
I see what you did there!
*Scanlator
 
 
Join Date: Apr 2004
Age: 36
Send a message via AIM to Starks


gstassrender for gstreamer (Totem) is coming along quite nicely. Embedded font support just landed a few seconds ago (thanks slomo) and font scaling shouldn't be too far off.

By early next year, Linux users will have a hassle-free, out-of-the-box alternative to mplayer-build for VSFilter-equivalent subs.

It's a really a shame that things had to come to this, but the mplayer trunk devs really don't want an up-to-date libass that pulls from an upstream library.

Edit: They plan to use Cairo for scaling in case you're interested.
__________________

Last edited by Starks; 2009-12-10 at 01:05.
Starks is offline   Reply With Quote
Old 2009-12-14, 10:12   Link #219
Kovensky
Timer
*Fansubber
 
 
Join Date: Jul 2008
Location: Brazil
Age: 33
My guess is that they really don't want to pull from a git repository. The alternative is to have mplayer prefer to use an external libass, using the internal one only when not available (like it does with vorbis), but nobody has done anything about it yet.

Uoti's fork of mplayer (http://repo.or.cz/w/mplayer.git) now also has chapter editions support (no GUI for that) and correctly prints the length of files with ordered chapters, thus fixing time display / seeking on all GUIs.
__________________

MPlayer FTW! Get my win32 build here; now with multithreading
/me is usually idling on #mplayer@chat.freenode.net or #cccp@irc.rizon.net
\SHAMEIMARU/
Kovensky is offline   Reply With Quote
Old 2009-12-15, 18:00   Link #220
Starks
I see what you did there!
*Scanlator
 
 
Join Date: Apr 2004
Age: 36
Send a message via AIM to Starks
(Doesn't mplayer-build, which Uoti also manages, pull from that git tree?)

I'm glad that it's fixed. Before this, if a group used ordered chapters for an OP or ED, seeking was all but impossible for the main file.
__________________
Starks is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 10:13.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
We use Silk.