Re: videos not converting
I should note, I also tried doing the video conversions via the cron script
this also results in absolutely nothing happening
no errors found in the debug file, but also no signs of it actually converting
Re: videos not converting
no longer getting the blank upload.php page
now I get the page saying it was successful and I need to wait for it to convert
which is fine
but it still never converts
here's my debug output:
2007-10-21 8:18:57 Video (25) Conversion starting...
2007-10-21 8:18:57 File: /home/www/video.knightspeed.com/htdocs/video/StarCraft2CinematicTrailer_EnglishUS.avi
2007-10-21 8:18:57 -------------------------------------------------------------
2007-10-21 8:18:57 INSERT INTO video SET
UID='2',
title='test',
description='test',
keyword='test',
channel='0|2|0',
addtime='1192969137',
adddate='2007-10-21',
vkey='1479751989',
type='private',
active='0',
approve='1'
2007-10-21 8:18:57 -------------------------------------------------------------
2007-10-21 8:18:57 Video id: 23
2007-10-21 8:18:57 Calling ffmpeg-php -> ffmpeg_movie()
2007-10-21 8:18:57 Get video duration - START
2007-10-21 8:18:57 Get video duration - END
2007-10-21 8:18:57 DURATION: 268.65338
2007-10-21 8:18:57 Create Thumbnail - START
It never gets past "create thumbnail"
the "create thumbnail" script you have to test it seems to be missing a file as well, so I couldnt run it
Re: videos not converting
The problem is with ffmpeg-php
see
Create Thumbnail - START
Re: videos not converting
the very last thing I posted was stating (specifically) that I tried your script
you say to run the ffmpeg_php_info.php which does not exist in that zip file
the only php file in there is called thumb.php
Re: videos not converting
use thumb.php for testing, it is a test script that create thumbnail from video.
Re: videos not converting
Ok, when I run that I just get a blank page
what should I be seeing?
I've already uninstalled and re-installed ffmpeg-php
Re: videos not converting
ffmpeg-php depends on ffmpeg, php and gd to create thumbnail.
So you need to try reinstalling ffmpeg also.
Always install latest version of software from source as old version of software can create problem.
Re: videos not converting
I did all of that
I removed gd, mplayer, ffmpeg, and ffmpeg-php and reinstalled all of them
and I run Gentoo, so everything is from source ;)
Everything worked fine until I upgraded apache
Re: videos not converting
Ok I managed to get something from the thumb script:
Before - ffmpeg_movie(1.wmv)
file name = 1.wmv
duration = 4.433 seconds
frame count = 66
frame rate = 15.000 fps
comment =
title =
author =
copyright =
frame height = 240 pixels
frame width = 320 pixels
has audio = Yes
get pixel format = yuv420p
get pixel aspect ratio = 0
get video codec = wmv2
get audio codec = wmav2
get audio channels = 1
get bit rate = 166179 kb/s
After - ffmpeg_movie(1.wmv)
Before - video_to_frame
Total Frames: 65
object(ffmpeg_frame)#3 (1) { ["ffmpeg_frame"]=> resource(3) of type (ffmpeg_frame) } GOT FRAME
Fatal error: Call to undefined method ffmpeg_frame::toGDImage() in /home/www/video.knightspeed.com/htdocs/vshare_test/thumb.php on line 64
What does this mean?