Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157803 - media-video/mjpegtools-1.8.0-r2 - lav2mpeg passes invalid -F switch to yuvdenoise
Summary: media-video/mjpegtools-1.8.0-r2 - lav2mpeg passes invalid -F switch to yuvden...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-11 00:46 UTC by Robert Tseu
Modified: 2009-07-22 23:26 UTC (History)
1 user (show)

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 Robert Tseu 2006-12-11 00:46:54 UTC
I just upgraded from mjpegtools-1.8.0-r1 to mjpegtools-1.8.0-r2 which fixed 

Bug #137530 but am now running into this error while using lav2mpeg:

bobert@firedog /home/bobert $lav2mpeg -N test.avi
16:38:40 -  being noisy -
++ WARN: [lavinfo] Input file test.avi is not in  JPEG 4:2:2 or 4:2:0 format
16:38:40 - using mode=vcd, stereo=0 audio bpr=112
16:38:40 - beginning conversion of test.avi to test.mpg
16:38:40 - had 127459 to encode
16:38:40 - beginning video encoding
COMMAND=nice -n 19 lav2yuv  test.avi | nice -n 19 yuvdenoise  -F | nice -n 19 yuvscaler -O VCD -n n  | nice -n 19 mpeg2enc -a 2 -f 1 -4 1 -2 1 -o test.m1v
   INFO: [yuvdenoise] --------------------------------------------------------------------------
   INFO: [yuvdenoise] mjpeg-tools yuvdenoise version 1.8.0
   INFO: [yuvdenoise] --------------------------------------------------------------------------
yuvdenoise: invalid option -- F
   INFO: [yuvscaler] yuvscaler 1.8.0 (15-02-2004) is a general scaling utility for yuv frames
   INFO: [yuvscaler] (C) 2001-2004 Xavier Biquard <xbiquard@free.fr>, yuvscaler -h for help, or man yuvscaler
**ERROR: [yuvscaler] Could'nt read YUV4MPEG header!
   INFO: [mpeg2enc] SETTING EXTENDED MMX for MOTION!
   INFO: [mpeg2enc] SETTING SSE and MMX for TRANSFORM!
   INFO: [mpeg2enc] SETTING EXTENDED MMX for PREDICTION!
**ERROR: [mpeg2enc] Could not read YUV4MPEG2 header: system error (failed read/write)!
++ WARN: [lav2yuv] Input file test.avi is not in  JPEG 4:2:2 or 4:2:0 format
   INFO: [lav2yuv] set default chroma '420jpeg'
16:38:40 - ugh! video encoding failed, bailing. used command:
16:38:40 - nice -n 19 lav2yuv  test.avi | nice -n 19 yuvdenoise  -F | nice -n 19 yuvscaler -O VCD -n n  | nice -n 19 mpeg2enc -a 2 -f 1 -4 1 -2 1 -o test.m1v

I worked around it by editing the /usr/bin/lav2mpeg script replacing

yuvdenoise_flags="$yuvdenoise_flags -F"

with

yuvdenoise_flags="$yuvdenoise_flags"

which fixed the problem


emerge --info:

Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r3 i686)
=================================================================
System uname: 2.6.18-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.6
Last Sync: Sun, 10 Dec 2006 16:20:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer -funroll-loops"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer -funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac alsa amr asf audiofile avi berkdb bitmap-fonts bzip2 cairo cdparanoia cdr cli cracklib crypt cups curl dbus divx dlloader dri dts dv dvd dvdr dvdread edl elibc_glibc emboss encode exif expat fam fame ffmpeg firefox flac fortran fuse gd gdbm gif glut gphoto2 gpm gstreamer gtk gtk2 hal iconv idn ieee1394 imagemagick input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kernel_linux lcms ldap libg++ lirc lirc_devices_pctv live mad matroska mikmod mmx mng mp3 mpeg ncurses network nls nptl nptlonly nsplugin nvidia offensive ogg oggvorbis opengl oss pam pcre pdf perl plugin png ppds pppd python qt3 qt4 quicktime rar readline real reflection sdl session spell spl sse sse2 ssl subtitles svg tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU v4l v4l2 vcd video_cards_nv video_cards_nvidia video_cards_vesa vorbis win32codecs wmf x264 x86 xine xml xml2 xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Steve Dibb (RETIRED) gentoo-dev 2009-01-10 12:21:28 UTC
Whats the status with any newer versions?
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2009-07-22 23:26:04 UTC
Whats the status with any newer versions?