ffmpeg-0.4.8_1 and bktr capture (FreeBSD 5.1-RELEASE-p11)
ml-freebsd-multimedia at secret.org
Tue Dec 9 10:12:52 PST 2003
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)
#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.
More information about the freebsd-multimedia