|
ERROR: Thumbnail image could not be generated. 1 Month ago
|
Karma: 0
|
I just moved a working install to another server, without local upload feature. All is working fine, so I move on to install software for conversion.
The only problem was FAAC refused to compile, but I was lucky to find a rpm, and completed the setup. Checked everything in recommended setup, all php functions exists, all packages are installed, all paths are correct.
Still, I have a problem with thumbnail creation. Static thumb fails, dynamic one is created. I also tried the [ Re-generate Thumbnail Image ] function, same result. Video conversion works with disabled Abort Conversion if Thumb Fails, MP4 also created. Pls see log in spoiler
Warning: Spoiler!/usr/local/bin/ffmpeg -i /srv/www/htdocs/today/hwdvideos/uploads/wkgpc3ktmr6owu.flv -ss 0:00:01 -t 00:00:01 -s 120x90 -r 1 -f image2 /srv/www/htdocs/today/hwdvideos/thumbs/temp_wkgpc3ktmr6owu.jpg -y
FFmpeg version SVN-r21637, Copyright (c) 2000-2010 Fabrice Bellard, et al.
built on Feb 4 2010 23:01:29 with gcc 4.4.1 [gcc-4_4-branch revision 150839]
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-shared --enable-libmp3lame --enable-libfaad --enable-libx264 --enable-libfaac --enable-libvorbis --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopencore-amrnb
libavutil 50. 8. 0 / 50. 8. 0
libavcodec 52.52. 0 / 52.52. 0
libavformat 52.50. 0 / 52.50. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 9. 0 / 0. 9. 0
[flv @ 0x6393c0]Estimating duration from bitrate, this may be inaccurate
Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 25.00 (25/1)
Input #0, flv, from '/srv/www/htdocs/today/hwdvideos/uploads/wkgpc3ktmr6owu.flv':
Metadata:
hasKeyframes : true
hasMetadata : true
duration : 8
audiosamplerate : 11000
audiodatarate : 46
datasize : 1180509
framerate : 25
hasVideo : true
audiosamplesize : 16
stereo : true
canSeekToEnd : false
videocodecid : 2
lasttimestamp : 8
lastkeyframetimestamp: 0
audiosize : 45785
hasAudio : true
audiodelay : 0
videosize : 1133998
height : 200
filesize : 1181902
metadatacreator : inlet media FLVTool2 v1.0.6 - www.inlet-media.de/flvtool2
audiocodecid : 2
videodatarate : 1179
hasCuePoints : false
width : 320
Duration: 00:00:07.72, start: 0.000000, bitrate: 1247 kb/s
Stream #0.0: Video: flv, yuv420p, 320x200, 1207 kb/s, 25 tbr, 1k tbn, 1k tbc
Stream #0.1: Audio: mp3, 11025 Hz, 2 channels, s16, 40 kb/s
File '/srv/www/htdocs/today/hwdvideos/thumbs/temp_wkgpc3ktmr6owu.jpg' already exists. Overwrite ? [y/N] Not overwriting - exiting
FFmpeg version SVN-r21637, Copyright (c) 2000-2010 Fabrice Bellard, et al.
built on Feb 4 2010 23:01:29 with gcc 4.4.1 [gcc-4_4-branch revision 150839]
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-shared --enable-libmp3lame --enable-libfaad --enable-libx264 --enable-libfaac --enable-libvorbis --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopencore-amrnb
libavutil 50. 8. 0 / 50. 8. 0
libavcodec 52.52. 0 / 52.52. 0
libavformat 52.50. 0 / 52.50. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 9. 0 / 0. 9. 0
[flv @ 0x6393c0]Estimating duration from bitrate, this may be inaccurate
Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 25.00 (25/1)
Input #0, flv, from '/srv/www/htdocs/today/hwdvideos/uploads/wkgpc3ktmr6owu.flv':
Metadata:
hasKeyframes : true
hasMetadata : true
duration : 8
audiosamplerate : 11000
audiodatarate : 46
datasize : 1180509
framerate : 25
hasVideo : true
audiosamplesize : 16
stereo : true
canSeekToEnd : false
videocodecid : 2
lasttimestamp : 8
lastkeyframetimestamp: 0
audiosize : 45785
hasAudio : true
audiodelay : 0
videosize : 1133998
height : 200
filesize : 1181902
metadatacreator : inlet media FLVTool2 v1.0.6 - www.inlet-media.de/flvtool2
audiocodecid : 2
videodatarate : 1179
hasCuePoints : false
width : 320
Duration: 00:00:07.72, start: 0.000000, bitrate: 1247 kb/s
Stream #0.0: Video: flv, yuv420p, 320x200, 1207 kb/s, 25 tbr, 1k tbn, 1k tbc
Stream #0.1: Audio: mp3, 11025 Hz, 2 channels, s16, 40 kb/s
Output #0, image2, to '/srv/www/htdocs/today/hwdvideos/thumbs/temp_wkgpc3ktmr6owu.jpg':
Stream #0.0: Video: mjpeg, yuvj420p, 120x90, q=2-31, 200 kb/s, 90k tbn, 1 tbc
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
frame= 0 fps= 0 q=0.0 Lsize= -0kB time=10000000000.00 bitrate= -0.0kbits/s
video:0kB audio:0kB global headers:0kB muxing overhead -inf%
FFmpeg version SVN-r21637, Copyright (c) 2000-2010 Fabrice Bellard, et al.
built on Feb 4 2010 23:01:29 with gcc 4.4.1 [gcc-4_4-branch revision 150839]
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-shared --enable-libmp3lame --enable-libfaad --enable-libx264 --enable-libfaac --enable-libvorbis --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopencore-amrnb
libavutil 50. 8. 0 / 50. 8. 0
libavcodec 52.52. 0 / 52.52. 0
libavformat 52.50. 0 / 52.50. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 9. 0 / 0. 9. 0
[flv @ 0x6393c0]Estimating duration from bitrate, this may be inaccurate
Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 25.00 (25/1)
Input #0, flv, from '/srv/www/htdocs/today/hwdvideos/uploads/wkgpc3ktmr6owu.flv':
Metadata:
hasKeyframes : true
hasMetadata : true
duration : 8
audiosamplerate : 11000
audiodatarate : 46
datasize : 1180509
framerate : 25
hasVideo : true
audiosamplesize : 16
stereo : true
canSeekToEnd : false
videocodecid : 2
lasttimestamp : 8
lastkeyframetimestamp: 0
audiosize : 45785
hasAudio : true
audiodelay : 0
videosize : 1133998
height : 200
filesize : 1181902
metadatacreator : inlet media FLVTool2 v1.0.6 - www.inlet-media.de/flvtool2
audiocodecid : 2
videodatarate : 1179
hasCuePoints : false
width : 320
Duration: 00:00:07.72, start: 0.000000, bitrate: 1247 kb/s
Stream #0.0: Video: flv, yuv420p, 320x200, 1207 kb/s, 25 tbr, 1k tbn, 1k tbc
Stream #0.1: Audio: mp3, 11025 Hz, 2 channels, s16, 40 kb/s
File '/srv/www/htdocs/today/hwdvideos/thumbs/temp_wkgpc3ktmr6owu.jpg' already exists. Overwrite ? [y/N] Not overwriting - exiting
FFmpeg version SVN-r21637, Copyright (c) 2000-2010 Fabrice Bellard, et al.
built on Feb 4 2010 23:01:29 with gcc 4.4.1 [gcc-4_4-branch revision 150839]
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-shared --enable-libmp3lame --enable-libfaad --enable-libx264 --enable-libfaac --enable-libvorbis --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopencore-amrnb
libavutil 50. 8. 0 / 50. 8. 0
libavcodec 52.52. 0 / 52.52. 0
libavformat 52.50. 0 / 52.50. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 9. 0 / 0. 9. 0
[flv @ 0x6393c0]Estimating duration from bitrate, this may be inaccurate
Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 25.00 (25/1)
Input #0, flv, from '/srv/www/htdocs/today/hwdvideos/uploads/wkgpc3ktmr6owu.flv':
Metadata:
hasKeyframes : true
hasMetadata : true
duration : 8
audiosamplerate : 11000
audiodatarate : 46
datasize : 1180509
framerate : 25
hasVideo : true
audiosamplesize : 16
stereo : true
canSeekToEnd : false
videocodecid : 2
lasttimestamp : 8
lastkeyframetimestamp: 0
audiosize : 45785
hasAudio : true
audiodelay : 0
videosize : 1133998
height : 200
filesize : 1181902
metadatacreator : inlet media FLVTool2 v1.0.6 - www.inlet-media.de/flvtool2
audiocodecid : 2
videodatarate : 1179
hasCuePoints : false
width : 320
Duration: 00:00:07.72, start: 0.000000, bitrate: 1247 kb/s
Stream #0.0: Video: flv, yuv420p, 320x200, 1207 kb/s, 25 tbr, 1k tbn, 1k tbc
Stream #0.1: Audio: mp3, 11025 Hz, 2 channels, s16, 40 kb/s
Output #0, image2, to '/srv/www/htdocs/today/hwdvideos/thumbs/temp_wkgpc3ktmr6owu.jpg':
Stream #0.0: Video: mjpeg, yuvj420p, 120x90, q=2-31, 200 kb/s, 90k tbn, 1 tbc
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
frame= 0 fps= 0 q=0.0 Lsize= -0kB time=10000000000.00 bitrate= -0.0kbits/s
video:0kB audio:0kB global headers:0kB muxing overhead -inf%
Thanks
|
|
|
|
|
|
|
Re:ERROR: Thumbnail image could not be generated. 1 Month ago
|
Karma: 0
|
|
I upgraded and some videos are not showing because of thumbnail processing
converting_re-generate_thumb_521
when i try to regenerate i get this error
Generating Dynamic Thumbnail
ERROR: Thumbnail image could not be generated.
FFMPEG INPUT
when i do the conversion I get this error
Fatal error: Cannot redeclare class GIFEncoder in /home/alliecom/public_html/administrator/components/com_hwdvideoshare/libraries/GIFEncoder.class.php on line 19
|
|
|
|
|
|
|
Re:ERROR: Thumbnail image could not be generated. 1 Month ago
|
Karma: 150
|
File '/srv/www/htdocs/today/hwdvideos/thumbs/temp_wkgpc3ktmr6owu.jpg' already exists. Overwrite ? [y/N] Not overwriting - exitingThis could be a bug/fault in the conversion script.
Can you try something for me?
Go into the following directory and delete all files that start with " temp_":
<JoomlaRoot>/hwdvideos/thumbs/
Then run the converter again and see if it works successfully for the thumbnails.
Fatal error: Cannot redeclare class GIFEncoder in /home/alliecom/public_html/administrator/components/com_hwdvideoshare/libraries/GIFEncoder.class.php on line 19Administrator note...
randyblaze, please always start new threads for new questions:
forum.hwdmediashare.co.uk/rules
|
|
Davros
Administrator
Posts: 10790
|
|
|
|
|
Re:ERROR: Thumbnail image could not be generated. 1 Month ago
|
Karma: 0
|
|
Go into the following directory and delete all files that start with "temp_":
<JoomlaRoot>/hwdvideos/thumbs/
Then run the converter again and see if it works successfully for the thumbnails.
My fault, I omitted to mention I tried that already, is not working.
|
|
|
|
|
|
|
Re:ERROR: Thumbnail image could not be generated. 1 Month ago
|
Karma: 0
|
|
Update:
If importing flvs uploaded by ftp, thumbs are generated.
|
|
|
|
|
|
|
Re:ERROR: Thumbnail image could not be generated. 1 Month ago
|
Karma: 0
|
|
This is _not_ a bug in conversion. Its a double include of the GIFEncoder classfile in file components/com_hwdvideoshare/converters/__GenerateThumbnail.php on line 172.
replace
include JPATH_SITE.DS.'administrator'.DS.'components'.DS.'com_hwdvideoshare'.DS.'libraries'.DS.'GIFEncoder.class.php';
with
include_once JPATH_SITE.DS.'administrator'.DS.'components'.DS.'com_hwdvideoshare'.DS.'libraries'.DS.'GIFEncoder.class.php';
That fix the aborting after 1.st gif thumb creation.
Udo
|
|
|
|
|
|
|
Re:ERROR: Thumbnail image could not be generated. 1 Month ago
|
Karma: 0
|
Nope, but thanks anyway. No such code in that file. There are some duplicate thought:
//Static
Warning: Spoiler!if ( @!file_exists($path_sthumb) || (@filesize($path_sthumb) == 0) ) {
$cmd_sinput = "$s->ffmpegpath -i $path_cmd_new -ss $thumb_position -t 00:00:01 -s ".$nthumbwidth."x".$nthumbheight." -r 1 -f mjpeg $path_cmd_sthumb -y";
@exec("$sharedlib $cmd_sinput 2>&1", $cmd_soutput);
}
if ( @!file_exists($path_sthumb) || (@filesize($path_sthumb) == 0) ) {
$cmd_sinput = "$s->ffmpegpath -i $path_cmd_new -ss $thumb_position -t 00:00:01 -s ".$nthumbwidth."x".$nthumbheight." -r 1 -f image2 $path_cmd_sthumb -y";
@exec("$sharedlib $cmd_sinput 2>&1", $cmd_soutput);
}
if ( @!file_exists($path_sthumb) || (@filesize($path_sthumb) == 0) ) {
$thumb_position = "0:00:01";
$cmd_sinput = "$s->ffmpegpath -i $path_cmd_new -ss $thumb_position -t 00:00:01 -s ".$nthumbwidth."x".$nthumbheight." -r 1 -f mjpeg $path_cmd_sthumb -y";
@exec("$sharedlib $cmd_sinput 2>&1", $cmd_soutput);
}
if ( @!file_exists($path_sthumb) || (@filesize($path_sthumb) == 0) ) {
$thumb_position = "0:00:01";
$cmd_sinput = "$s->ffmpegpath -i $path_cmd_new -ss $thumb_position -t 00:00:01 -s ".$nthumbwidth."x".$nthumbheight." -r 1 -f image2 $path_cmd_sthumb -y";
@exec("$sharedlib $cmd_sinput 2>&1", $cmd_soutput);
}
I tried commenting, nothing works.
The only difference I'm aware of, now it's PHP 5.3.0, old server had 5.2.11
Thanks
|
|
|
|
Last Edit: 2010/02/08 02:11 By catakate.
|
|
|