Date: Thu, 29 Jun 2006 12:32:40 -0500 From: "Jeremy Messenger" <mezz7@cox.net> To: "Adam K Kirchhoff" <adamk@voicenet.com> Cc: freebsd-multimedia@freebsd.org Subject: Re: ports/86899: multimedia/mjpegtools - lavplay/glav claims "No video source!" Message-ID: <op.tbw4cqw09aq2h7@mezz.mezzweb.com> In-Reply-To: <44A3A623.9090505@voicenet.com> References: <200606282250.k5SMoKrj010521@freefall.freebsd.org> <op.tbv84hl09aq2h7@mezz.mezzweb.com> <44A3A623.9090505@voicenet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 29 Jun 2006 05:06:27 -0500, Adam K Kirchhoff <adamk@voicenet.com= > = wrote: > Jeremy Messenger wrote: > >> >> Thanks (and to ahze too for sample.avi)... Strange, I can't reproduce= = >> your problem. I am able to run both sample.avi and law.avi with = >> lavplay. I didn't touch any option, so it's default. It installed wi= th = >> jpeg, sdl, avifile and png. >> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> # lavplay sample.avi >> lavplay1.8.0 >> lavtools version 1.8.0 >> ++ WARN: [lavplay] Unable to set negative priority for audio thread. >> 0:00:05.00 (000150/000151) - Speed: +1, Norm: NTSC, Diff: 0.0025625 >> >> # lavplay law.avi >> lavplay1.8.0 >> lavtools version 1.8.0 >> ++ WARN: [lavplay] Unable to set negative priority for audio thread. >> 0:00:10.00 (000300/000301) - Speed: +1, Norm: NTSC, Diff: 0.0111606 >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> # make -V CFLAGS >> -O2 -fno-strict-aliasing -pipe -g >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> # make configure >> =3D=3D=3D=3D> You can enable GTK support by defining WITH_GNOME >> =3D=3D=3D=3D> You can enable Jpeg-MMX support by defining WITH_JPEGMM= X >> =3D=3D=3D=3D> You can enable DV support by defining WITH_LIBDV >> =3D=3D=3D=3D> You can enable DV PAL support by defining WITH_LIBDV_PA= L >> =3D=3D=3D=3D> You can enable movtar support by defining WITH_LIBMOVTA= R >> =3D=3D=3D=3D> You can enable quicktime support by defining WITH_QUICK= TIME >> =3D=3D=3D=3D> You can disable AVIFILE support by defining WITHOUT_AVI= FILE >> =3D=3D=3D> Extracting for mjpegtools-1.8.0_2 >> =3D> MD5 Checksum OK for mjpegtools-1.8.0.tar.gz. >> =3D> SHA256 Checksum OK for mjpegtools-1.8.0.tar.gz. >> =3D=3D=3D> Patching for mjpegtools-1.8.0_2 >> =3D=3D=3D> Applying FreeBSD patches for mjpegtools-1.8.0_2 >> =3D=3D=3D> mjpegtools-1.8.0_2 depends on executable: nasm - found >> =3D=3D=3D> mjpegtools-1.8.0_2 depends on executable: gmake - found >> =3D=3D=3D> mjpegtools-1.8.0_2 depends on file: /usr/local/bin/sdl11= -config = >> - found >> =3D=3D=3D> mjpegtools-1.8.0_2 depends on file: /usr/local/bin/libto= ol - = >> found >> =3D=3D=3D> mjpegtools-1.8.0_2 depends on shared library: png.5 - fo= und >> =3D=3D=3D> mjpegtools-1.8.0_2 depends on shared library: aviplay.0 = - found >> =3D=3D=3D> mjpegtools-1.8.0_2 depends on shared library: jpeg.9 - f= ound >> =3D=3D=3D> mjpegtools-1.8.0_2 depends on shared library: SDL-1.1.7 = - found >> =3D=3D=3D> mjpegtools-1.8.0_2 depends on shared library: X11.6 - fo= und >> =3D=3D=3D> Configuring for mjpegtools-1.8.0_2 >> >> [...] >> >> configure: MJPEG tools 1.8.0 build configuration : >> configure: >> configure: - X86 Optimizations: >> configure: - MMX/3DNow!/SSE enabled : true >> configure: - arch/cpu compiler flags : -march=3Dathlon-4 = >> -mno-sse2 -mcpu=3Dathlon-4 >> configure: - video4linux recording/playback: false >> configure: - software MJPEG playback : true >> configure: - MPEG Z/Alpha : false >> configure: - Quicktime playback/recording : false >> configure: - PNG input support : true >> configure: - AVI MJPEG playback/recording : true (always) >> configure: - libDV (digital video) support : false >> configure: - Gtk+ support for glav : true >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> >> Cheers, >> Mezz > > > Well, it's still no-go here: > > # lavplay law.avi > lavplay1.8.0 > lavtools version 1.8.0 > **ERROR: [lavplay] No video source! > > # make -V CFLAGS > -O2 -fno-strict-aliasing -pipe > > # make configure > =3D=3D=3D=3D> You can enable Jpeg-MMX support by defining WITH_JPEGMMX= > =3D=3D=3D=3D> You can enable DV support by defining WITH_LIBDV > =3D=3D=3D=3D> You can enable DV PAL support by defining WITH_LIBDV_PAL= > =3D=3D=3D=3D> You can enable movtar support by defining WITH_LIBMOVTAR= > =3D=3D=3D=3D> You can enable quicktime support by defining WITH_QUICKT= IME > =3D=3D=3D=3D> You can disable AVIFILE support by defining WITHOUT_AVIF= ILE > =3D=3D=3D> Extracting for mjpegtools-1.8.0_2 > =3D> MD5 Checksum OK for mjpegtools-1.8.0.tar.gz. > =3D> SHA256 Checksum OK for mjpegtools-1.8.0.tar.gz. > =3D=3D=3D> Patching for mjpegtools-1.8.0_2 > =3D=3D=3D> Applying FreeBSD patches for mjpegtools-1.8.0_2 > =3D=3D=3D> mjpegtools-1.8.0_2 depends on executable: nasm - found > =3D=3D=3D> mjpegtools-1.8.0_2 depends on executable: gmake - found > =3D=3D=3D> mjpegtools-1.8.0_2 depends on file: /usr/local/bin/sdl11-= config - = > found > =3D=3D=3D> mjpegtools-1.8.0_2 depends on file: /usr/local/bin/libtoo= l - found > =3D=3D=3D> mjpegtools-1.8.0_2 depends on executable: pkg-config - fo= und > =3D=3D=3D> mjpegtools-1.8.0_2 depends on shared library: png.5 - fou= nd > =3D=3D=3D> mjpegtools-1.8.0_2 depends on shared library: aviplay.0 -= found > =3D=3D=3D> mjpegtools-1.8.0_2 depends on shared library: jpeg.9 - fo= und > =3D=3D=3D> mjpegtools-1.8.0_2 depends on shared library: SDL-1.1.7 -= found > =3D=3D=3D> mjpegtools-1.8.0_2 depends on shared library: glib-12.3 -= found > =3D=3D=3D> mjpegtools-1.8.0_2 depends on shared library: gtk-12.2 - = found > =3D=3D=3D> mjpegtools-1.8.0_2 depends on shared library: X11.6 - fou= nd > =3D=3D=3D> Configuring for mjpegtools-1.8.0_2 > [snip] > configure: > configure: MJPEG tools 1.8.0 build configuration : > configure: > configure: - X86 Optimizations: > configure: - MMX/3DNow!/SSE enabled : true > configure: - arch/cpu compiler flags : -march=3Dpentium4 = > -mcpu=3Dpentium4 Umm, how about you try to compile without that pentium4? That pentium4 i= s = pretty well known to break a few of apps. Try to do the 'make patch' the= n = hack in configure at around 27312 line and reinstall it. Change from: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= CFLAGS=3D"$ARCHFLAGS $CFLAGS" CXXFLAGS=3D"$ARCHFLAGS $CXXFLAGS" =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= to: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= CFLAGS=3D"$CFLAGS" CXXFLAGS=3D"$CXXFLAGS" =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= If it does solve your problem, then I shall add a patch to remove that = cpuinfo.sh stuff. > configure: - video4linux recording/playback: false > configure: - software MJPEG playback : true > configure: - MPEG Z/Alpha : false > configure: - Quicktime playback/recording : false > configure: - PNG input support : true > configure: - AVI MJPEG playback/recording : true (always) > configure: - libDV (digital video) support : false > configure: - Gtk+ support for glav : true > configure: > > This is on 7.0-CURRENT (though I've seen this problem going as far bac= k = > as the 5.* series). This happened on three different FreeBSD boxes. Here is 6.1-STABLE (Jun 24th). > Can anyone else confirm this problem? I've run lavplay through ktrace= , = > and posted the ktrace.out file at http://68.44.156.246/ktrace.out > > Unfortunately, when I try to run kdump on the file, kdump segfaults. := -) No segfault in here when I downloaded your ktrace.out and did a 'ktrace = -f = ktrace.out'. Perhaps you need to do the world? Or maybe it's bug in = -CURRENT. Dunno. However, I tried to check in ktrace.out and I don't see= = anything wrong. I am not very good with read ktrace stuff. Cheers, Mezz > Adam -- = mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src) http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org http://wiki.freebsd.org/multimedia - multimedia@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.tbw4cqw09aq2h7>