Results 1 to 6 of 6

Thread: ffmpeg thumbnail problem

  1. #1
    Join Date
    Dec 2008
    Posts
    19

    Default ffmpeg thumbnail problem

    I have installed FFmpeg and videos are converted like it should be, but the problem is when I want to create a thumbnail I get always something as this: View picture - pic.filehostserver.eu

    When I use mplayer I get this:
    Error opening/initializing the selected video_out (-vo) device.

    With this command: mplayer /home/vid.avi -ss 1 -nosound -vo jpeg:outdir=thumbs -frames 3

    The command mplayer -vo help returns this:
    MPlayer SVN-r29543-4.1.2 (C) 2000-2009 MPlayer Team
    Available video output drivers:
    fbdev Framebuffer Device
    fbdev2 Framebuffer Device
    cvidix console VIDIX
    null Null video output
    mpegpes MPEG-PES to DVB card
    yuv4mpeg yuv4mpeg output for mjpegtools
    tga Targa output
    pnm PPM/PGM/PGMYUV file
    md5sum md5sum of each frame


    So the Jpeg is not installed, but how can I install this? Or how can I make it work to create thumbnails with ffmpeg?
    Last edited by fmen; 08-22-2009 at 05:06 PM.

  2. #2
    Join Date
    Sep 2007
    Posts
    906

    Default

    Install gd library before installing mplayer. Both ffmpeg and mplayer need GD to create thumbnails.
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  3. #3
    Join Date
    Dec 2008
    Posts
    19

    Default

    I already checked if it was installed when I had the problem and it was. The strange thing is that it has worked untill I tried to install it again with yum (RPM forge)

    How can I solve this problem?
    Last edited by fmen; 08-22-2009 at 06:02 PM.

  4. #4
    Join Date
    Sep 2007
    Posts
    906

    Default

    Install from yum is very old, may not work. Install from source.
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  5. #5
    Join Date
    Dec 2008
    Posts
    19

    Default

    I will give it a try, before I had installed the yum version I had an other version compiled which did work.

  6. #6
    Join Date
    Dec 2008
    Posts
    19

    Default

    okay, I have re-installed ffmpeg by myself and a lot of other codecs and it works now. Thank you for your help!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •