[dundee] FFMPEG problem creating JPEG thumbs...

Lee Hughes toxicnaan at yahoo.co.uk
Wed Jan 16 18:37:47 GMT 2008


you may have to recompile ffmpeg from source and tell it to link with imagemagick libs

what distro are you using..


this definitely works for me

ffmpeg -i Zeitgeist.\(2007\).\[DVDRip\]-XviD-MP3.avi %03d.jpg

and ffmpeg -version

FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libogg --enable-libgsm --enable-dc1394 --disable-debug --enable-libmp3lame --enable-libfaadbin --enable-libfaad --enable-libfaac --enable-xvid --enable-x264 --enable-liba52 --enable-amr_nb --enable-amr_wb --enable-shared --prefix=/usr
  libavutil version: 1d.49.3.0
  libavcodec version: 1d.51.38.0
  libavformat version: 1d.51.10.0
  built on Dec 20 2007 21:25:50, gcc: 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
ffmpeg      SVN-rUNKNOWN
libavutil   3212032
libavcodec  3352064
libavformat 3344896





chris wyllie <cgwyllie at googlemail.com> wrote: Thanks. I took a look but it didn't help explain how to get FFMPEG to acknowledge the imagemagick libs. I have both FFMPEG and imagemagick installed at the moment but still can't make JPEGs...

Any further wisdom? 

Thanks :)

On 16/01/2008, Lee Hughes <toxicnaan at yahoo.co.uk> wrote: http://www.ibiblio.org/joey/videolinux/category/imagemagick/

this might help. 

you need to compile with imagemagick libs I think....

imagemagick does all sorts of cool shit.

and you can quote me on that.

Laters,
Lee

 
chris wyllie <cgwyllie at googlemail.com> wrote:
  Hi everyone, happy new year :)

I could do with some help. I'm trying to create a batch processing script to make thumbnails of videos. I want the thumbnails in JPEG format but there's this problem. 

christopher at Madeline [~]$ ffmpeg -i hdmothers.mov -an -ss 3 -vframes 1 -s 150x100 ./testout.jpg
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --prefix=/usr --libdir=${prefix}/lib --shlibdir=${prefix}/lib --incdir=${prefix}/include/ffmpeg --enable-shared --enable-libmp3lame  --enable-gpl --enable-libfaad --mandir=${prefix}/share/man --enable-libvorbis --enable-pthreads --enable-libfaac --enable-xvid --enable-libdts --enable-amr_nb --enable-amr_wb --enable-pp --enable-libogg --enable-libgsm --enable-x264 --enable-liba52 --enable-libtheora --extra-cflags=-Wall -g -fPIC -DPIC --cc=ccache cc --enable-swscaler  
  libavutil version: 49.4.0
  libavcodec version: 51.40.2
  libavformat version: 51.11.0
  built on Mar 29 2007 11:08:52, gcc: 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '  hdmothers.mov':
  Duration: 00:04:19.8, start: 0.000000, bitrate: 539 kb/s
  Stream #0.0(eng): Video: mpeg4, yuv420p, 640x480, 25.00 fps(r)
  Stream #0.1(eng): Audio: aac, 48000 Hz, stereo
Unable for find a suitable output format for './testout.jpg'  


The only thing I'm able to create output in is GIF which is far too low a bit thingymajig to be of any use...  Can someone help me get JPEG support working with this?

Thanks
  Chris

 _______________________________________________
dundee GNU/Linux Users Group mailing list
 dundee at lists.lug.org.uk  http://dundee.lug.org.uk
 https://mailman.lug.org.uk/mailman/listinfo/dundee
Chat on IRC, #tlug on dundee.lug.org.uk 
        

---------------------------------
 Sent from  Yahoo! - a smarter inbox.

_______________________________________________
dundee GNU/Linux Users Group mailing list
 dundee at lists.lug.org.uk  http://dundee.lug.org.uk
 https://mailman.lug.org.uk/mailman/listinfo/dundee
Chat on IRC, #tlug on dundee.lug.org.uk
 

 _______________________________________________
dundee GNU/Linux Users Group mailing list
dundee at lists.lug.org.uk  http://dundee.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/dundee
Chat on IRC, #tlug on dundee.lug.org.uk

       
---------------------------------
 Sent from Yahoo! &#45; a smarter inbox.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.lug.org.uk/pipermail/dundee/attachments/20080116/424d3dd4/attachment.html


More information about the dundee mailing list