Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jan 2003 11:58:51 +0100
From:      Andre Albsmeier <andre.albsmeier@siemens.com>
To:        "Steve O'Hara-Smith" <steve@sohara.org>
Cc:        freebsd-multimedia@FreeBSD.ORG
Subject:   Re: FreeBSD 4.7R: no sound when recording with ffmpeg?
Message-ID:  <20030106115851.A12349@curry.mchp.siemens.de>
In-Reply-To: <20021029194220.7fb532ad.steve@sohara.org>; from steve@sohara.org on Tue, Oct 29, 2002 at 07:42:20PM %2B0100
References:  <20021028202230.1283e8cd.steve@sohara.org> <Pine.BSF.4.21.0210292118440.11617-100000@brain.stagecraft.cx> <20021029194220.7fb532ad.steve@sohara.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 29-Oct-2002 at 19:42:20 +0100, Steve O'Hara-Smith wrote:
> On Tue, 29 Oct 2002 21:37:14 +1100 (EST)

Hi Steve,

this is a really old thread but I'd like to express my
experiences as well :-)

> Carl Makin <carl@stagecraft.cx> wrote:
> CM> On Mon, 28 Oct 2002, Steve O'Hara-Smith wrote:
> 
> CM> > 	At what resolution ? I'm impressed if a Celeron 600 can keep
> CM> > up with full resolution (720x576 for PAL).
> CM> 
> CM> 384x288
> CM> 
> CM> Given that I'm having problems at that I haven't tried the patch to
> CM> get full frame. :)
> 
> 	No don't :)
> 
> CM> Ok.  Tried it.  It is better, but still out by a couple of seconds
> CM> after 5 minutes.  I'm using the following command line;
> 
> 	Hmm, better is useful. Still I would have thought it should have
> been able to catch up on any missed frames given a 60% average.
> 
> CM> ffmpeg -vcodec mpeg1video -me zero -intra -b 7200 -s 384x288 test1.mpg
> 
> 	Try pushing up to -b 9600 and see if it helps.
> 
> CM> It only uses around 60% CPU with this command line, and 90% CPU if I
> CM> omit the '-intra'.  Both attempts had sync problems.
> 
> 	Were they worse on the 90% attempt ?
> 
> CM> I'm using mplayer to play the video back...
> 
> 	What version ? ISTR a creeping sync problem in mplayer in the
> past.

I have been experimenting with this as well. I use the command line

ffmpeg -y -vcodec mpeg1video -me zero -intra -b 9600 -s 384x288

for capturing. I also see the problem of the audio being a bit out
of sync. However, since I re-encode the whole thing using virtualdub
(shame on me :-)) I simply set the frame rate to 25.045 and all is
well. I have done this recently with a 60 minutes movie grabbed from
the SAT receiver. The value of 25.045 (instead of 25) results in a
sufficient well synchronization at every position within the movie.

I am using the modified grab_bsdbktr.c from your site:

-rw-r--r--  1 root  wheel  - 6139 Nov 29 18:58 grab_bsdbktr.c

Please tell me if you like me to do some more experiments!

Thanks,

	-Andre

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030106115851.A12349>