Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66039 - suggestions for new configure options for media-video/mjpegtools-1.6.2
Summary: suggestions for new configure options for media-video/mjpegtools-1.6.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-01 09:30 UTC by Martin Mokrejš
Modified: 2005-04-16 05:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2004-10-01 09:30:42 UTC
Using standard 0.6.4.ebuild I get:

 MJPEG tools 1.6.2 build configuration :

    - X86 Optimizations:
      - MMX/3DNow!/SSE enabled      : true
      - cmov support enabled        : true

****************************************************************************
* NOTE:                                                                    *
*   The resultant binaries will ***NOT*** run on a K6 or Pentium CPU       *
****************************************************************************
    - video4linux recording/playback: true
    - software MJPEG playback       : true
    - MPEG Z/Alpha                  : false
    - Quicktime playback/recording  : true
    - PNG input support             : true
    - AVI MJPEG playback/recording  : true (always)
    - libDV (digital video) support : true 
    - libDV PAL YV12 read support   : false 
    - Gtk+ support for glav         : true


The configure flags in every ebuild should be extended by:

--with-dv-yv12 --enable-xfree-ext --enable-large-file


Then I get:

 MJPEG tools 1.6.2 build configuration :

    - X86 Optimizations:
      - MMX/3DNow!/SSE enabled      : true
      - cmov support enabled        : true

****************************************************************************
* NOTE:                                                                    *
*   The resultant binaries will ***NOT*** run on a K6 or Pentium CPU       *
****************************************************************************
    - video4linux recording/playback: true
    - software MJPEG playback       : true
    - MPEG Z/Alpha                  : false
    - Quicktime playback/recording  : true
    - PNG input support             : true
    - AVI MJPEG playback/recording  : true (always)
    - libDV (digital video) support : true 
    - libDV PAL YV12 read support   : true 
    - Gtk+ support for glav         : true

I need yuv2divx actually for kino(1), have just filed bugreport for kino as
it requires yuv2divx to have some Export functions working. Right now, kino just spits into it's parent xterm a message:

 >>> ExportMJPEG::startExport
sh: line 1: yuv2divx: command not found
   INFO: [yuvscaler] yuvscaler 1.6.2 (31-12-2003) is a general scaling utility f
or yuv frames
   INFO: [yuvscaler] (C) 2001-2003 Xavier Biquard <xbiquard@free.fr>, yuvscaler 
-h for help, or man yuvscaler
++ WARN: [yuvscaler] Interlaced input frames will be downscaled to non-interlace
d VCD frames
If quality is an issue, please consider deinterlacing input frames with yuvdenoi
se -I


Be careful with the --enable-largefile , it's required to get files larger than 2GB but is said that binaries do not run on kernels without largefile support compiled in (see INSTALL).

Umm, but I don't get yuv2divx from mjpegtools-1.6.2:
http://www.mail-archive.com/mjpeg-users@lists.sourceforge.net/msg00157.html
I think you could still update the configure flags. In the meantime maybe I figure out where yuv2divx disappeared.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Martin Mokrejš 2005-02-25 05:47:23 UTC
with mjpegtools-1.6.2-r3 I still get:

 MJPEG tools 1.6.2 build configuration :

    - X86 Optimizations:
      - MMX/3DNow!/SSE enabled      : true
      - cmov support enabled        : true

****************************************************************************
* NOTE:                                                                    *
*   The resultant binaries will ***NOT*** run on a K6 or Pentium CPU       *
****************************************************************************
    - video4linux recording/playback: true
    - software MJPEG playback       : true
    - MPEG Z/Alpha                  : false
    - Quicktime playback/recording  : true
    - PNG input support             : true
    - AVI MJPEG playback/recording  : true (always)
    - libDV (digital video) support : true 
    - libDV PAL YV12 read support   : false 
    - Gtk+ support for glav         : true


The configure flags in every ebuild should be extended with:
--with-dv-yv12 --enable-xfree-ext --enable-large-file
Comment 2 Martin Mokrejš 2005-02-25 05:48:37 UTC
Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20050125-r0, 2.6.11-rc4-bk7 i686)
=================================================================
System uname: 2.6.11-rc4-bk7 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 21 2005, 21:57:42)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.5, 1.4_p6, 1.6.3, 1.9.4, 1.8.5-r3, 1.7.9-r1
sys-devel/binutils:  2.15.92.0.2-r3
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.19-r1, 2.4.22-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mmmx -msse -msse2 -fomit-frame-pointer -march=pentium4 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mmmx -msse -msse2 -fomit-frame-pointer -march=pentium4 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.muni.cz/pub/linux/gentoo http://gentoo.mirror.icd.hu/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 FFmpeg X Xaw3d aalib acpi adns afs alsa apache2 apm arts ati avcodec avi berkdb bidi bitmap-fonts bonobo caca cdparanoia cdr crypt cscope cups curl dba dga directfb divx divx4 divx4linux divx5 divx5linux doc dvb dvd dvdr dvdread emacs emacs-w3 emboss encode esd ethereal evo f77 faac faad faad2 fam fame fbcon ffmpeg flac flash font-server foomaticdb fortran fvwm fvwm2 gb gd gdbm ggi gif gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile i8x0 icc imagemagick imlib imlib2 innodb java jpeg junit lcms leim libg++ libwww live lpthread lzo lzw-tiff mad mcal mesa mikmod mmx mmx2 motif mozilla mpeg mule mysql ncurses network nls oggvorbis opengl oss pam pda pdflib perl php php4 plotutils png ppds pthread pthreads python qt qtx quicktime readline rtc ruby samba scanner sdl slang slp speex spell sse sse2 ssl svga tcltk tcpd tetex theora thread threads tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 win32 winvidix wmf xml xml2 xmms xosd xv xvid xvmc zeo zlib video_cards_radeon linguas_cs linguas_cz linguas_en"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-03-25 11:36:55 UTC
This is already fixed I think.
Comment 4 Jan Brinkmann (RETIRED) gentoo-dev 2005-03-28 18:24:13 UTC
marking as such
Comment 5 Martin Mokrejš 2005-04-06 05:59:00 UTC
Yes, fixed already teh dv and yuv12 part. But not the --enable-large-file handling. How can I enable largefile support in mjpegtools? I see in config.log:

  $ ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-x --enable-xfree-ext --with-quicktime --with-v4l --with-gtk --with-sdl --with-dv=/usr --with-dv-yv12 --enable-simd-accel --with-jpeg-mmx=/usr/include/jpeg-mmx --enable-cmov-extension
Comment 6 Jan Brinkmann (RETIRED) gentoo-dev 2005-04-16 05:55:56 UTC
fixed in cvs ,thanks