Author Topic: Using ffmpeg to generate uploaded video thumbnails  (Read 115498 times)

0 Members and 1 Guest are viewing this topic.

Offline WeZ

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
Re: Using ffmpeg to generate uploaded video thumbnails
« Reply #60 on: April 26, 2007, 07:29:25 AM »
Hi ,

Strange, the forum keeps cutting off the code and ends the message...

anyway i have attached the file.

I host my own server on a Windows Server 2003 Standard installed with TSW 3.4.0 (The Saint WAMP) which provides me with php5 and MySQL.

Let me know if all this helps.

Cheers

Offline son_gokou

  • Full Member
  • ***
  • Posts: 199
    • View Profile
Re: Using ffmpeg to generate uploaded video thumbnails
« Reply #61 on: May 06, 2007, 04:07:58 AM »
This canīt work in a linux server because the program is for WINDOWS...

duuuuuh

Offline WeZ

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
Re: Using ffmpeg to generate uploaded video thumbnails
« Reply #62 on: May 07, 2007, 06:58:27 AM »
Hi Son_gokou,

No, it is actually a linux application, i just use the windows distribution...

go to:
http://www.mplayerhq.hu/DOCS/HTML/en/intro.html
it says "MPlayer is a movie player for Linux"

all you have to do is find a distribution for you...

Ciao
WeZ
« Last Edit: August 21, 2007, 10:29:01 PM by WeZ »

Offline son_gokou

  • Full Member
  • ***
  • Posts: 199
    • View Profile
Re: Using ffmpeg to generate uploaded video thumbnails
« Reply #63 on: May 07, 2007, 04:32:31 PM »
But i was talking about the ffmpeg...

Offline WeZ

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
Re: Using ffmpeg to generate uploaded video thumbnails
« Reply #64 on: May 08, 2007, 07:00:25 AM »
but if i remember correctly, my code only uses MPlayer?

Offline son_gokou

  • Full Member
  • ***
  • Posts: 199
    • View Profile
Re: Using ffmpeg to generate uploaded video thumbnails
« Reply #65 on: May 08, 2007, 02:29:27 PM »
Yes dude. I was mistaken (some posts ago). Your code is perfectly. Of course I wouldnīt find any errors. A partner saw everything too. But no way I can work with this on my server. Anyway... they donīt allow ffmpeg too.

Ok, ffmpeg is finished for now. I will look into mplayer as you. And... what about imagemagick? http://www.imagemagick.org/script/formats.php

Dude... thanks for your help :)

Offline WeZ

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
Re: Using ffmpeg to generate uploaded video thumbnails
« Reply #66 on: May 09, 2007, 08:18:00 AM »
It's a pity you cant use Mplayer...

IMHO, ImageMagick is good for images and not so good for video... hence why i dont use it...

Keep well...

Offline Smoothice

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • Casual Victims
Re: Using ffmpeg to generate uploaded video thumbnails
« Reply #67 on: May 27, 2007, 06:17:48 PM »
Does this work with flv files?  If so I will for sure be installing today.

Aaron

Offline WeZ

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
Re: Using ffmpeg to generate uploaded video thumbnails
« Reply #68 on: May 28, 2007, 10:28:02 AM »
Hi Smoothice,

it works fine with FLV's ...

Cheers

SnaFy

  • Guest
Re: Using ffmpeg to generate uploaded video thumbnails
« Reply #69 on: August 14, 2007, 05:57:23 AM »
hi guys

i have 1.7.4 
they work
??

Offline WeZ

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
Re: Using ffmpeg to generate uploaded video thumbnails
« Reply #70 on: August 14, 2007, 10:48:09 AM »
Hi SnaFy,

Unfortunately I have far too many mods in my site for me to even think of upgrading... so i am still on 1.7.2

My suggestion would be to backup your files and try!!

Cheers

Offline jamiefrancis

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: Using ffmpeg to generate uploaded video thumbnails
« Reply #71 on: August 20, 2007, 04:03:54 AM »
this works well on my site running 1.7.4, Fedora 4, lighttpd
ffmpeg with 3gp support:)

Offline jamiefrancis

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: Using ffmpeg to generate uploaded video thumbnails
« Reply #72 on: August 20, 2007, 04:30:38 AM »
Hi son_gokou & alekseyn1,

Anyway, alekseyn1... i think i might be able to help you considering i also have that plug-in installed.

Thanks Wez! It helps a lot! At least this code now hels the thumbnailer.php to see that the thumb is missing... I will have to dig more in my code... mplayer.exe is not working properly for me...

Thanks anyways!

Hi Wez and Alekseyn1,
How did you fix the thumbnailer.php to see thumb missing?
thanks

Offline WeZ

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
Re: Using ffmpeg to generate uploaded video thumbnails
« Reply #73 on: August 20, 2007, 03:13:08 PM »
Hi JamieFrancis,

Sorry, this was quite long ago, not quite sure i was the one with the missing thumb error - i think it was alekseyn1 who had the problem. i think he was not putting the whole member.php in.

if you look in the source of the resulting page, what is the location of the thumbnail?

Cheers

Offline jamiefrancis

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: Using ffmpeg to generate uploaded video thumbnails
« Reply #74 on: August 21, 2007, 12:21:43 AM »
Hi WeZ,

After i installed the ffmpeg to generate the video thumbnails everything works well,
my problem is that all the previous videos i had before i installed the script is using the standard icon ex: 3gp, wmv, avi
when i i use the autothumbnailer MOD 2.2.1 it doesnt detect the video files without a thumbnail.

i thought you were able to remedy this problem:)
thanks