From owner-freebsd-multimedia@FreeBSD.ORG Tue Sep 2 09:02:25 2003 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 132C516A4BF for ; Tue, 2 Sep 2003 09:02:25 -0700 (PDT) Received: from smtp02.fuse.net (smtp02.fuse.net [216.68.1.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99FA843FE0 for ; Tue, 2 Sep 2003 09:02:23 -0700 (PDT) (envelope-from mistry.7@osu.edu) Received: from [192.168.1.100] ([66.42.172.210]) by smtp02.fuse.net (InterMail vM.5.01.06.04 201-253-122-130-104-20030726) with ESMTP id <20030902160222.EGLG26089.smtp02.fuse.net@[192.168.1.100]>; Tue, 2 Sep 2003 12:02:22 -0400 From: Anish Mistry To: sugiura@kt.rim.or.jp (Sugiura Shiro) Date: Tue, 2 Sep 2003 12:02:19 -0400 User-Agent: KMail/1.5.3 References: <200309021525.AAA26452@mail4.rim.or.jp> In-Reply-To: <200309021525.AAA26452@mail4.rim.or.jp> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_W8LV/ohRcnBS0BJ"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200309021202.30884.mistry.7@osu.edu> cc: freebsd-multimedia@freebsd.org Subject: Re: How to make high quality MPEG4 video X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Sep 2003 16:02:25 -0000 --Boundary-02=_W8LV/ohRcnBS0BJ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline On Tuesday 02 September 2003 11:25 am, Sugiura Shiro wrote: > In article <20030901201341.1e6ff86d.steve@sohara.org> > steve@sohara.org writes: >=20 > >> With that 2.8GHZ P4 you should be able to go direct. I can quite > >> easily record PAL 720x576@25fps in mpeg4 or mpeg1 on my AMD XP2000 in > >> realtime with ffmpeg alone running like this: > >>=20 > >> ffmpeg -s 768x576 -tvstd pal -vcodec mpeg4 -b 2000 -acodec mp3 -ac 2 \ > >> -ab 128 -f avi -t $DURATION -y $NAME.avi > >>=20 > >> It uses about 60% CPU on average, adding -hq pushes it to > >> a bit over 70%.=20 >=20 > Thank you. > I tried to direct encode a sportscast like following: >=20 > % ffmpeg -s 640x480 -tvstd ntsc -vcodec mpeg4 -b 2000 -acodec mp3 -ac 2 \ > -ab 128 -f avi TV.avi >=20 > It uses about 30% CPU on average. > And then, I play TV.avi using mplayer and xine.=20 > But output avi files seems that some frame was droped during capture=20 > and encode. >=20 > >> SS> Step2-2: mpeg4 encode by ffmpeg(strange out put) > >> SS> % ffmpeg -i raw.avi -vcodec mpeg4 -r 29.97 -me full -re -b 2000 > >> SS> -acodec \ > >> SS> copy -deinterlace tv.avi > >>=20 > >> Strange how ? >=20 > Audio stream is OK, but Video stream playbacks 2-3X speed, like Charles > Chaplin movies. >=20 > I tried to direct encode(mpeg1/mpeg4) and rawvideo recode , but in any ca= se=20 , > my mpeg files seems that some frames was droped. I think, I mistook=20 > something, but I don't know what it is. >=20 > First step, I want to know how to setup to recode/encode full=20 frames(29.97fps) > movie. >=20 Try forcing a ntsc frame rate with -r 29.97 > thank you. >=20 > -- =20 > Sugiura Shiro E-mail : sugiura@kt.rim.or.jp > _______________________________________________ > freebsd-multimedia@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to=20 "freebsd-multimedia-unsubscribe@freebsd.org" >=20 >=20 =2D-=20 Anish Mistry --Boundary-02=_W8LV/ohRcnBS0BJ Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/VL8WxqA5ziudZT0RAttZAKDWFDggnegxqrchR+T/EMDocVi+GgCfezrz L6nFL7flw7/QTjhN0vCSxcw= =TRqw -----END PGP SIGNATURE----- --Boundary-02=_W8LV/ohRcnBS0BJ--