The error is due to ffmpeg can't create thumbnail for the video. Try reinstalling latest version of ffmpeg and ffmpeg-php
The error is due to ffmpeg can't create thumbnail for the video. Try reinstalling latest version of ffmpeg and ffmpeg-php
It works for wmv and mpeg/mpg? Doesnt that use ffmpeg?Originally Posted by admin
Not if its set on using mencoder
Were do i set that option?Originally Posted by zeffer
Okay i now se i used mcoder
Are there any guides for reinstalling ffmpeg-php and ffmpeg? I only se install guides?
I run my own server.
Just to do a little problemsolving here.
Here is my debug log.
This is a wmv upload that went fine.
-------------------------------------------------------------
SQL EXECUTED
LAST INSERT ID = 12
VIDEO URL = http://www.bilforumet.no/video/view/12/ ... g-skyline/
VIDEO LOCATION = /home/bilforum/www/video/video/12.mpg
Uploded File Moved to: /home/bilforum/www/video/video/12.mpg
Initialize ffmpeg - Begin
Initialize ffmpeg - END
Create Thumbnail - START
Create Thumbnail - END
Get video duration - START
Get video duration - END
DURATION: 133.433425903
CONVERT COMMAND:
/usr/bin/mencoder /home/bilforum/www/video/video/12.mpg -o /home/bilforum/www/video/flvideo/12.flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:l ast_pred=3 -srate 22050 -lavfopts i_certify_that_my_video_stream_does_not_use_b_fram es
UPDATE VIDEO SQL:
update video set
vdoname='12.mpg',
flvdoname='12.flv',
duration='133.433425903' WHERE VID=12
-------------------------------------------------------------
Here is a log from a failed avi upload.
INSERT INTO video SET
UID=2,
title='En ny test',
description='test',
keyword='testfilm',
channel='0|26|0',
space = '1',
addtime='1181340935',
adddate='2007-06-09',
vkey='754856653',
type='public',
active=1,
filehome=''
-------------------------------------------------------------
SQL EXECUTED
LAST INSERT ID = 5
VIDEO URL = http://www.bilforumet.no/video/view/5/en-ny-test/
VIDEO LOCATION = /home/bilforum/www/video/video/5.avi
Uploded File Moved to: /home/bilforum/www/video/video/5.avi
Initialize ffmpeg - Begin
Initialize ffmpeg - END
Create Thumbnail - START
---------------------------------------------------------------
On both logs you can se its starting ffmpeg to create the thumbnails. It looks like ffmpeg creates the thumbnails if its either an avi file or mpeg file. Can it then be ffmpeg-php that is bugging me?
Bookmarks