From owner-freebsd-multimedia@FreeBSD.ORG Mon Jun 4 18:25:05 2007 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 191A616A400 for ; Mon, 4 Jun 2007 18:25:05 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtao107.cox.net (eastrmmtao107.cox.net [68.230.240.59]) by mx1.freebsd.org (Postfix) with ESMTP id C7B7D13C489 for ; Mon, 4 Jun 2007 18:25:04 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmmtao107.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20070604182504.UGNT7972.eastrmmtao107.cox.net@eastrmimpo02.cox.net>; Mon, 4 Jun 2007 14:25:04 -0400 Received: from mezz.mezzweb.com ([24.255.149.218]) by eastrmimpo02.cox.net with bizsmtp id 7WR21X00T4iy4EG0000000; Mon, 04 Jun 2007 14:25:03 -0400 Date: Mon, 04 Jun 2007 13:27:56 -0500 To: "Heiko Recktenwald" From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <4662DF66.4060106@uni-bonn.de> <4662FA47.9010704@uni-bonn.de> <46632C9F.6040205@uni-bonn.de> <4663BB9D.1070603@bsdunix.ch> <4663E929.1020101@uni-bonn.de> Content-Transfer-Encoding: Quoted-Printable Message-ID: In-Reply-To: <4663E929.1020101@uni-bonn.de> User-Agent: Opera Mail/9.21 (Linux) Cc: freebsd-multimedia@freebsd.org Subject: Re: pwcbsd patch for mpeg4ip does not like todays x264 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 18:25:05 -0000 On Mon, 04 Jun 2007 05:27:53 -0500, Heiko Recktenwald = wrote: > Yes it is possible and it runs perfect! Did trash my Linux partition = > after this ;-) Did you create patch-mp4live or it was created by someone? While I am = here, please test here and let me know if it's good. http://people.freebsd.org/~mezz/diff/mpeg4ip.diff Cheers, Mezz > See multimedia/pwcbsd and the URL in the makefile. Read the Readme. > > But it only works with the PWC aka Philips Webcam. And it is not v4l 2= .0. > > > Best, H. > > > > > > Thomas Vogt wrote: >> Hi >> >> Is it possible to add this mp4live patch to the mpeg4ip port? It woul= d >> be very nice to run mp4live with freebsd too. >> >> Regards, >> Thomas >> >> Jeremy Messenger wrote: >> >>> On Sun, 03 Jun 2007 23:02:24 -0500, Jeremy Messenger = = >>> wrote: >>> >>> >>>> On Sun, 03 Jun 2007 16:03:27 -0500, Heiko Recktenwald >>>> wrote: >>>> >>>> >>>>> Dear Jeremy, thanks! >>>>> >>>>> >>>>> >>>>>>> http://raaf.atspace.org/patches/patch-mp4live >>>>>>> >>>>>> Okay, with this patch, I now can reproduce it. I have grab a fix[= 1] >>>>>> from gentoo and it gets build further, but it fails on ffmpeg. I >>>>>> guess it doesn't work with new ffmpeg either. >>>>>> >>>>>> [1] http://tinyurl.com/yr4ubp >>>>>> >>>>>> >>>>>>>>> mp4live compiles when I pkg_add -f some older x264 package ove= r >>>>>>>>> the latest x264. >>>>>>>>> >>>>>>>>> >>>>> It works here now, just wanted to make the problem known. >>>>> >>>> I have committed this Gentoo's patch in our ports tree. Thanks for >>>> report. >>>> >>>> >>>>> With the port that comes with 6.2. >>>>> >>>>> Dont know how to update xorg and have so many other things to do i= n >>>>> the moment (exam) that I cannot care much about updating ports in = the >>>>> moment. >>>>> >>>> Whomever fix mpeg4ip+patch-mp4live with new ffmpeg, then I can comm= it >>>> your patch-mp4live if you want me to. I have not check in mpeg4ip C= VS >>>> yet. >>>> >>> The whomever is me, I guess. ;-) I got the build fixed when I was = >>> trying >>> to fix different problem from your report below of can't play file i= n >>> gmp4player and mp4player. It was very simple. See below. >>> >>> >>>> Cheers, >>>> Mezz >>>> >>>> >>>>> Best, >>>>> >>>>> H. >>>>> >>>>> >>>>> >>>>>>>>> Has anybody experienced this as well? >>>>>>>>> >>>>>>>> I can't reproduce it. I can compile mpeg4ip with new x264 just >>>>>>>> fine. You will have to explain better in your report by such as= >>>>>>>> show us the errors and other more details. >>>>>>>> >>>>>>>> >>>>>>> Yes, the plain mpeg4ip compiled here too, but there seem to be >>>>>>> changes in x264 that are not yet replected in that patch. >>>>>>> >>>>>>> The patch is fine, it adds mp4live, which wants video4linux, to = the >>>>>>> mpeg4ip port. mp4live is something like Apples Quicktime >>>>>>> Broadcaster, only better ;-) >>>>>>> >>>>>>> Btw, can you display H264 video with gmp4player or mp4player? I = = >>>>>>> cant. >>>>>>> >>>>>> I don't have any of video file in here, but I have searched in >>>>>> google and found this file. >>>>>> >>>>>> http://zdpub.vo.llnwd.net/o2/crankygeeks/episode066/crankygeeks.0= 66.mov >>>>>> >>>>>> I couldn't get it runs with both gmp4player and mp4player. It wor= ks >>>>>> fine with totem. Maybe I can try to check in mpeg4ip CVS to see i= f >>>>>> there has anything fix for it. If not, then I can't help (due to >>>>>> lack knowledge) so someone will have to fix it. >>>>>> >>> I have it fixed by get it links with -lavcodec instead of libavcodec= .a. >>> I will committing it soon with bump. Here's what I just add this und= er >>> post-patch: >>> >>> @${REINPLACE_CMD} -e >>> 's|$${enable_ffmpeg}/lib/libavcodec.a|-lavcodec|g' \ >>> ${WRKSRC}/configure >>> >>> Rebuild it, then gmp4player and mp4player work perfect with >>> crankygeeks.066.mov. It also fixed the build with your patch-mp4live= at >>> the same time. >>> >>> Before: >>> =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 >>> % mp4player crankygeeks.065.mov >>> [...] >>> 00:08:35.784-videosync-6: Max Window resolution 1024x768 >>> 00:08:35.784-videosync-7: Setting video mode 176 144 1 1 >>> 00:08:35.979-mp4file-7: cntl tracks 0 >>> 00:08:35.982-plugin-7: Found matching audio plugin aac >>> 00:08:35.986-mp4file-7: audio - 75665 samples >>> 00:08:35.987-mp4file-7: MP4 audio max time is 1756937 1756.94 >>> 00:08:35.987-plugin-7: Found matching audio plugin aac >>> =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 >>> >>> After: >>> =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 >>> % mp4player crankygeeks.065.mov >>> [...] >>> 00:13:23.960-videosync-6: Max Window resolution 1024x768 >>> 00:13:23.960-videosync-7: Setting video mode 176 144 1 1 >>> 00:13:24.193-mp4file-7: cntl tracks 0 >>> 00:13:24.194-ffmpeg-7: codec value 0x28a0df60 >>> 00:13:24.194-plugin-7: Found matching video plugin ffmpeg >>> 00:13:24.196-plugin-7: Found matching audio plugin aac >>> 00:13:24.197-videosync-7: persistence is 0x80bb680 >>> 00:13:24.197-ffmpeg-7: codec value 0x28a0df60 >>> 00:13:24.197-plugin-7: Found matching video plugin ffmpeg >>> 00:13:24.197-ffmpeg-7: userdata len 32 >>> 00:13:24.197-ffmpeg-7: open codec is 1 >>> 00:13:24.204-ffmpeg-7: pixel format is 0 >>> 00:13:24.204-mp4file-7: video - 52655 samples >>> 00:13:24.204-mp4file-7: MP4 video max time is 1756923 1756.92 >>> 00:13:24.209-mp4file-7: audio - 75665 samples >>> 00:13:24.214-mp4file-7: MP4 audio max time is 1756937 1756.94 >>> 00:13:24.214-plugin-7: Found matching audio plugin aac >>> =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 >>> >>> Cheers, >>> Mezz >>> >>> >>>>>> Cheers, >>>>>> Mezz >>>>>> >>>>>> >>>>>>> Best and thanks! >>>>>>> >>>>>>> >>>>>>> H. -- = 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