Date: Mon, 04 Jun 2007 09:13:33 +0200 From: Thomas Vogt <freebsdlists@bsdunix.ch> To: Jeremy Messenger <mezz7@cox.net> Cc: freebsd-multimedia@freebsd.org, Heiko Recktenwald <uzs106@uni-bonn.de> Subject: Re: pwcbsd patch for mpeg4ip does not like todays x264 Message-ID: <4663BB9D.1070603@bsdunix.ch> In-Reply-To: <op.ttds2fa79aq2h7@mezz.mezzweb.com> References: <4662DF66.4060106@uni-bonn.de> <op.ttcukork9aq2h7@mezz.mezzweb.com> <4662FA47.9010704@uni-bonn.de> <op.ttczm4mk9aq2h7@mezz.mezzweb.com> <46632C9F.6040205@uni-bonn.de> <op.ttdpiatu9aq2h7@mezz.mezzweb.com> <op.ttds2fa79aq2h7@mezz.mezzweb.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Is it possible to add this mp4live patch to the mpeg4ip port? It would 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 <mezz7@cox.net> wrote: > >> On Sun, 03 Jun 2007 16:03:27 -0500, Heiko Recktenwald >> <uzs106@uni-bonn.de> 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 over >>>>>>> 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 in >>> 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 commit >> your patch-mp4live if you want me to. I have not check in mpeg4ip CVS >> 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 in > 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.066.mov >>>> >>>> I couldn't get it runs with both gmp4player and mp4player. It works >>>> fine with totem. Maybe I can try to check in mpeg4ip CVS to see if >>>> 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 under > 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: > ======================================= > % 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 > ======================================= > > After: > ======================================= > % 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 > ======================================= > > Cheers, > Mezz > >>>> Cheers, >>>> Mezz >>>> >>>>> Best and thanks! >>>>> >>>>> >>>>> H. > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4663BB9D.1070603>