gateway wrote:
No dice..
Please dont top-post.
su-2.05b# ffmpeg -i test.mpg -y -f image2 -t 0.001 -s 352x240 thumb.jpg ffmpeg version 0.4.9-pre1, build 4718, Copyright (c) 2000-2004 Fabrice Bellard
Too old. Use current CVS.
built on Sep 9 2005 15:07:32, gcc: 2.95.4 20020320 [FreeBSD] Input #0, mpeg, from 'test.mpg': Duration: 00:00:19.0, bitrate: 1610 kb/s Stream #0.0: Video: mpeg1video, 352x240, 29.97 fps Stream #0.1: Audio: mp2, 44100 Hz, stereo, 224 kb/s Unknown input or output format: image2
Im having a hell of a time getting jpeg support compiled in. can anyone give Me a hint on their freebsd ./cofigure settings to enable jpeg support?
It *should* be configured always, but IMO it's rather broken now.
Steve
-----Original Message----- From: ffmpeg-user-bounces at mplayerhq.hu [mailto:ffmpeg-user-bounces at mplayerhq.hu] On Behalf Of Michel Bardiaux Sent: Monday, October 03, 2005 5:01 AM To: FFMpeg user questions and RTFMs Subject: Re: [Ffmpeg-user] now jpeg support?
gateway wrote:
I built the latest cvs build today .. I want to grab a jpeg from a mpeg file
here is the output
su-2.05b# ffmpeg -i test.mpg -y -f image -img jpeg test%d.jpg -t 0.001 -s 352x240 ffmpeg version CVS, build 3276800, Copyright (c) 2000-2004 Fabrice Bellard configuration: --prefix=/usr/local --enable-a52 --enable-small --enable-shared-pp --enable-gpl --enable-shared --enable-memalign-hack built on Sep 29 2005 13:55:48, gcc: 2.95.4 20020320 [FreeBSD] Input #0, mpeg, from 'test.mpg': Duration: 00:00:19.0, start: 0.213367, bitrate: 1610 kb/s Stream #0.0[0x1e0], 29.97 fps: Video: mpeg1video, yuv420p, 352x240, 1150 kb/s Stream #0.1[0x1c0]: Audio: mp2, 44100 Hz, stereo, 224 kb/s Unknown image format: 'jpeg' You have new mail in /var/mail/gateway
my OS is freebsd 4.11 stable..
did i miss something in compile options?
Steve
-f image2 and removing -img jpeg works for me.
To the group at large: the number of queries about the conversion between images and movies seems to indicate the software is broken, or the doc is broken, or obscure. But should not the *first* thing to do be getting rid of the last remnant of -f image. i.e. gif IIRC? So that we dont have to maintain 2 kinds of image streams?
-- Michel Bardiaux R&D Director T +32 [0] 2 790 29 41 F +32 [0] 2 790 29 02 E mailto:mbardiaux at mediaxim.be Mediaxim NV/SA Vorstlaan 191 Boulevard du Souverain Brussel 1160 Bruxelles http://www.mediaxim.com/