HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Ticket
  • Back to Query
  • Next Ticket →

Ticket #354 (closed WIP - file(s) attached: fixed)

Opened 5 years ago

Last modified 2 months ago

[mplayer] add - needs work

Reported by: michaelvoliveira Owned by: michaelvoliveira
Priority: normal Milestone: Unscheduled
Component: media-video/mplayer Version: 1.0
Severity: normal Keywords: mplayer real sdl
Cc:

Description

MPlayer is a movie player which runs on many systems (see the documentation). It plays most MPEG/VOB, AVI, Ogg/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, RealMedia?, Matroska, NUT, NuppelVideo?, FLI, YUV4MPEG, FILM, RoQ, PVA files, supported by many native, XAnim, and Win32 DLL codecs. You can watch VideoCD, SVCD, DVD, 3ivx, DivX 3/4/5, WMV and even H.264 movies.

 http://www.mplayerhq.hu

Attachments

mplayer-1.0.bep​ (1007 bytes) - added by michaelvoliveira 5 years ago.
added more dependencies. compile with libdvdread, libdvdnav and libdvdcss now works
libdvdnav-4.1.3.bep​ (509 bytes) - added by michaelvoliveira 5 years ago.
added libdvdcss as dependency

Download all attachments as: .zip

Change History

comment:1 Changed 5 years ago by michaelvoliveira

  • TODO:
  • create patch with an application signature, into mplayer.c file (I missed darwyrm's class), for FileTypes? recognize it as app launcher

comment:2 Changed 5 years ago by michaelvoliveira

TODO - SSE disabled because mplayer can't test OS for SSE (fixing cpudetect.c should give SSE in mplayer).

comment:3 Changed 5 years ago by michaelvoliveira

  • Summary changed from [mplayer] add to [mplayer] add - files attached needs review

comment:4 Changed 5 years ago by scottmc

did you try installing libdvdnav and then enabling it?

comment:5 Changed 5 years ago by michaelvoliveira

I'll do it now! thanks!

Changed 5 years ago by michaelvoliveira

  • attachment mplayer-1.0.bep​ added

added more dependencies. compile with libdvdread, libdvdnav and libdvdcss now works

comment:6 Changed 5 years ago by michaelvoliveira

Works ok for now scott...

but please replace the current libdvdnav .bep file for this

It will enable build with libdvdcss, without it, mplayer will not recognize libdvdnav

Changed 5 years ago by michaelvoliveira

  • attachment libdvdnav-4.1.3.bep​ added

added libdvdcss as dependency

comment:7 Changed 5 years ago by scottmc

added in r902. Leaving open for now as it's a bit unstable, perhaps it can be patched to work even better?

comment:8 Changed 5 years ago by michaelvoliveira

Yes.. could have an bwindow implementation.. to drop sdl dependency

I could't now test open DVDs here because my little brother stole my DVD drive to use :P

comment:9 Changed 5 years ago by mbaluta

Doesn't work for me:

cc -MD -MP -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -pipe -fomit-frame-pointer -fno-pic -O4  -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -pipe -fomit-frame-pointer -fno-pic -O4  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.   -I/boot/common/include/SDL -D_GNU_SOURCE=1 -I/boot/common/include -I/boot/common/include/libdvdread -c -o libvo/vo_jpeg.o libvo/vo_jpeg.c
In file included from ./cpudetect.h:29,
                 from ./libaf/af.h:28,
                 from ./mixer.h:22,
                 from ./mp_core.h:28,
                 from libvo/vo_jpeg.c:47:
./libavutil/x86_cpu.h:90:5: warning: "HAVE_XMM_CLOBBERS" is not defined
cc -MD -MP -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -pipe -fomit-frame-pointer -fno-pic -O4  -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -pipe -fomit-frame-pointer -fno-pic -O4  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.   -I/boot/common/include/SDL -D_GNU_SOURCE=1 -I/boot/common/include -I/boot/common/include/libdvdread -c -o libvo/vo_png.o libvo/vo_png.c
In file included from ./cpudetect.h:29,
                 from ./libaf/af.h:28,
                 from ./mixer.h:22,
                 from ./mp_core.h:28,
                 from libvo/vo_png.c:35:
./libavutil/x86_cpu.h:90:5: warning: "HAVE_XMM_CLOBBERS" is not defined
In file included from libvo/vo_png.c:41:
./libavcodec/avcodec.h:30:33: error: libavcore/samplefmt.h: No such file or directory
./libavcodec/avcodec.h:438:36: error: libavcore/audioconvert.h: No such file or directory
In file included from libvo/vo_png.c:41:
./libavcodec/avcodec.h:1267: error: field 'sample_fmt' has incomplete type
make: *** [libvo/vo_png.o] Error 1
Traceback (most recent call last):
  File "/boot/common/bin/haikuporter", line 1492, in <module>
    haikuporter = HaikuPorter(options, args)
  File "/boot/common/bin/haikuporter", line 339, in __init__
    self.buildPort()  # build
  File "/boot/common/bin/haikuporter", line 882, in buildPort
    self.runCommandSequence(self.bepKeys['BUILD'], self.workDir)
  File "/boot/common/bin/haikuporter", line 1127, in runCommandSequence
    check_call(commandString, shell=True, cwd=dir, env=shellEnv)
  File "/boot/common/lib/python2.6/subprocess.py", line 488, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'set -e
cd mplayer-1.0
cp /boot/common/share/libtool/config/config.* .
libtoolize --force --copy --install
CFLAGS="-pipe -fomit-frame-pointer -fno-pic -O4 " \
./configure --prefix=/boot/apps/mplayer \
--disable-x264 --disable-x264-lavc \
--disable-dvdread-internal --enable-dvdread \
--extra-libs=-ldvdcss --enable-largefiles
make
' returned non-zero exit status 2

In fact I have no libavcore folder

comment:10 Changed 5 years ago by scottmc

try installing ffmpeg-0.6 and see if that's what's missing

comment:11 Changed 5 years ago by scottmc

  • Summary changed from [mplayer] add - files attached needs review to [mplayer] add - needs work

comment:12 Changed 6 months ago by scottmc

  • Type changed from task to WIP - file(s) attached

comment:13 Changed 2 months ago by diver

  • Resolution set to fixed
  • Status changed from new to closed

Added in  https://bitbucket.org/haikuports/haikuports/commits/f0ab2f4b49f44a13d0d0e973bbb6781e2e6ec0f8

Note: See TracTickets for help on using tickets.

Download in other formats:

  • Comma-delimited Text
  • Tab-delimited Text
  • RSS Feed

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/