From owner-freebsd-multimedia@FreeBSD.ORG Tue Dec 9 10:12:52 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 9E34E16A4CE for ; Tue, 9 Dec 2003 10:12:52 -0800 (PST) Received: from epa.secret.org (epa.secret.org [206.220.140.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5525743D21 for ; Tue, 9 Dec 2003 10:12:51 -0800 (PST) (envelope-from fernando@secret.org) Received: from localhost (fernando@localhost) by epa.secret.org (8.9.3/8.9.1) with ESMTP id NAA20900 for ; Tue, 9 Dec 2003 13:12:50 -0500 (EST) Date: Tue, 9 Dec 2003 13:12:50 -0500 (EST) From: Fernando Durango X-X-Sender: To: In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: ffmpeg-0.4.8_1 and bktr capture (FreeBSD 5.1-RELEASE-p11) 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, 09 Dec 2003 18:12:52 -0000 I have been having a few issues with ffmpeg. ffmpeg-0.4.8 seemed to work OK, but some problems seem to have cropped up since the bump to 0.4.8_1. During "make install", /usr/local/lib/libavcodec.so.0 was symlinked to /usr/local/lib/libavcodec.so, and vice versa, so no actual lib existed. A quick vi of patch-libavcodec::Makefile fixed that. Now, when I capture using a script based on Steve O'Hara-Smith vcr, ffmpeg dumps core when it finishes: frame= 375 q=14.0 size= 9446kB time=15.0 bitrate=5158.8kbits/s ffmpeg in free(): error: page is already free Abort trap (core dumped) (gdb) bt #0 0x283d43e3 in kill () from /usr/lib/libc.so.5 #1 0x2843f1ec in abort () from /usr/lib/libc.so.5 #2 0x2843da7e in tcflow () from /usr/lib/libc.so.5 #3 0x2843daab in tcflow () from /usr/lib/libc.so.5 #4 0x2843eb78 in realloc () from /usr/lib/libc.so.5 #5 0x2843e51e in tcflow () from /usr/lib/libc.so.5 #6 0x2843e728 in free () from /usr/lib/libc.so.5 #7 0x280c8cb5 in av_free () from /usr/local/lib/libavcodec.so #8 0x280c7a66 in __av_freep () from /usr/local/lib/libavcodec.so #9 0x28084df5 in av_close_input_file () from /usr/local/lib/libavformat.so #10 0x0804f00f in strstart () #11 0x08049d55 in strstart () Lastly, I threw together some C code to set the tuner channel before firing off ffmpeg, but it seems that ffmpeg resets the channel, even tho I have not specified BKTR_FREQUENCY. Should this be the case? Is there any good example code for channel setting, besides digging thru fxtv source? Any help would be greatly appreciated. -F