環境
PHP 5.3.2-1.1.1
MySQL 5.1.36-6.8.8
ffmpeg 0.5.23289svn-0.pm.1.1
日本語での検索が出来るようになりました。
SEO Urlsをyes設定出来るようになりました。2.0.6ではカテゴリ、ソートの切り替わりが出来なかった為no設定でした。
ClipBucket 2.0.6からClipBucket 2.0.7にアップデート後、アクセスするとWarningとレイアウトが崩れる。
|
Warning: Invalid argument supplied for foreach() in /home/example/public_html/clipbucket/includes/classes/user.class.php on line 77 Warning: Invalid argument supplied for foreach() in /home/example/public_html/clipbucket/includes/classes/lang.class.php on line 164
|

/clipbucket/includes/classes/my_queries.class.php
43、51行目変更
function tbl($tbl)
{
//global $DBNAME;
$prefix = TABLE_PREFIX;
$tbls = explode(",",$tbl);
$new_tbls = "";
foreach($tbls as $ntbl)
{
if(!empty($new_tbls))
$new_tbls .= ",";
$new_tbls .= $prefix.$ntbl;
}
return $new_tbls;
}
ffmpegのコンパイルが出来なくなっていた。
|
Started on 2010-06-13 10:42:09 - 2010 Jun 13
Checking File ….
File : /home/example/public_html/clipbucket/files/conversion_queue/1276393252897c6.mpg
File Exists : Yes
Preparing file…
format : mpegvideo
duration : 601
size : 121744932
bitrate : 1582
video_width : 640
video_height : 480
video_wh_ratio : 1.3333333333333
video_codec : mpeg1video
video_rate : 25
video_bitrate : 1582
video_color : yuv420p
audio_codec : N/A
audio_bitrate : N/A
audio_rate : N/A
audio_channels : N/A
path : /home/example/public_html/clipbucket/files/conversion_queue/1276393252897c6.mpg
Converting Video
Conversion Command : /usr/bin/ffmpeg -i /home/example/public_html/clipbucket/files/conversion_queue/1276393252897c6.mpg -f flv -vcodec flv -r 30 -b 512000 -s 400x300 -aspect 1.3333333333333 -padcolor 000000 -padtop 0 -padbottom 0 -padleft 0 -padright 0 -acodec libmp3lame -ab 128000 -ar 22050 -map_meta_data /home/example/public_html/clipbucket/files/videos/1276393252897c6.flv:/home/example/public_html/clipbucket/files/conversion_queue/1276393252897c6.mpg /home/example/public_html/clipbucket/files/videos/1276393252897c6.flv 2> /home/example/public_html/clipbucket/files/temp/12763933294e314.tmp
Conversion Details
FFmpeg version SVN-r23289, Copyright (c) 2000-2010 the FFmpeg developers
built on May 24 2010 19:23:37 with gcc 4.4.1 [gcc-4_4-branch revision 150839]
configuration: --shlibdir=/usr/lib64 --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib64 --enable-shared --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libfaad --enable-libfaac --enable-nonfree --enable-libxvid --enable-postproc --enable-gpl --enable-x11grab --enable-libschroedinger --enable-libdirac --enable-libgsm --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libdc1394 --enable-pthreads --disable-avfilter
libavutil 50.16. 0 / 50.16. 0
libavcodec 52.68. 3 / 52.68. 3
libavformat 52.64. 1 / 52.64. 1
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.10. 0 / 0.10. 0
libpostproc 51. 2. 0 / 51. 2. 0
[mpegvideo @ 0x64b690]max_analyze_duration reached
[mpegvideo @ 0x64b690]Estimating duration from bitrate, this may be inaccurate
Input #0, mpegvideo, from '/home/example/public_html/clipbucket/files/conversion_queue/1276393252897c6.mpg':
Duration: 00:00:09.28, bitrate: 104857 kb/s
Stream #0.0: Video: mpeg1video, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 104857 kb/s, 25 fps, 25 tbr, 1200k tbn, 25 tbc
Please use vf=pad
ERROR: No such file or directory - /home/example/public_html/clipbucket/files/videos/1276393252897c6.flv
ERROR: /usr/lib64/ruby/site_ruby/1.8/flvtool2/base.rb:259:in `initialize'
ERROR: /usr/lib64/ruby/site_ruby/1.8/flvtool2/base.rb:259:in `open'
ERROR: /usr/lib64/ruby/site_ruby/1.8/flvtool2/base.rb:259:in `open_stream'
ERROR: /usr/lib64/ruby/site_ruby/1.8/flvtool2/base.rb:238:in `process_files'
ERROR: /usr/lib64/ruby/site_ruby/1.8/flvtool2/base.rb:225:in `each'
ERROR: /usr/lib64/ruby/site_ruby/1.8/flvtool2/base.rb:225:in `process_files'
ERROR: /usr/lib64/ruby/site_ruby/1.8/flvtool2/base.rb:44:in `execute!'
ERROR: /usr/lib64/ruby/site_ruby/1.8/flvtool2.rb:168:in `execute!'
ERROR: /usr/lib64/ruby/site_ruby/1.8/flvtool2.rb:228
ERROR: /usr/bin/flvtool2:2:in `require'
ERROR: /usr/bin/flvtool2:2
Failed to stat file /home/example/public_html/clipbucket/files/videos/1276393252897c6.flv!
Failed to stat file /home/example/public_html/clipbucket/files/videos/1276393252897c6.flv!
Unknown file details - Unable to get output video details using FFMPEG
Time Took : 0.6408 seconds
conversion_status : failed
=========STARTING HQ CONVERSION==============
HQ Video -- Conversion Command : /usr/bin/MP4Box -inter 0.5 /home/example/public_html/clipbucket/files/videos/1276393252897c6.mp4 -tmp /home/example/public_html/clipbucket/files/temp 2> /home/example/public_html/clipbucket/files/temp/mp4_output.tmp
Conversion Details
FFmpeg version SVN-r23289, Copyright (c) 2000-2010 the FFmpeg developers
built on May 24 2010 19:23:37 with gcc 4.4.1 [gcc-4_4-branch revision 150839]
configuration: --shlibdir=/usr/lib64 --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib64 --enable-shared --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libfaad --enable-libfaac --enable-nonfree --enable-libxvid --enable-postproc --enable-gpl --enable-x11grab --enable-libschroedinger --enable-libdirac --enable-libgsm --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libdc1394 --enable-pthreads --disable-avfilter
libavutil 50.16. 0 / 50.16. 0
libavcodec 52.68. 3 / 52.68. 3
libavformat 52.64. 1 / 52.64. 1
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.10. 0 / 0.10. 0
libpostproc 51. 2. 0 / 51. 2. 0
[mpegvideo @ 0x64b690]max_analyze_duration reached
[mpegvideo @ 0x64b690]Estimating duration from bitrate, this may be inaccurate
Input #0, mpegvideo, from '/home/example/public_html/clipbucket/files/conversion_queue/1276393252897c6.mpg':
Duration: 00:00:09.28, bitrate: 104857 kb/s
Stream #0.0: Video: mpeg1video, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 104857 kb/s, 25 fps, 25 tbr, 1200k tbn, 25 tbc
Please use vf=pad
=========ENDING HQ CONVERSION==============
|
参考先 http://eojareth.net/wordpress/2010/05/13/3452.html
/clipbucket/includes/classes/conversion/ffmpeg.class.php
154行目変更
# video size, aspect and padding
$this->calculate_size_padding( $p, $i, $width, $height, $ratio, $pad_top, $pad_bottom, $pad_left, $pad_right );
$opt_av .= " -s {$width}x{$height} -aspect $ratio ";
ClipBucket v2 Tag Cloud Plugin http://forums.clip-bucket.com/showthread.php?4180-ClipBucket-v2-Tag-Cloud-Plugin
/clipbucket/styles/cbv2new/layout/index.html
63、64行目挿入
<!-- Displaying 300x250 Advertisment -->
<div class="ads">{AD place=ad_300x250}</div>
<!-- Tag Cloud -->
{ANCHOR place="tag_cloud"}
{if !$userquery->login_check('',true)}
動画個別ページ下Category :からアクセスするとレイアウトが崩れてWarning
|
Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /home/example/public_html/clipbucket/includes/functions.php on line 110
|

/clipbucket/includes/functions.php
2257行目変更
return BASEURL.'/search_result.php?category='.$params['category'].'&type='.$params['type'];
人気度: 25% [?]
/clipbucket/styles/cbv2new/theme/main.css 74行目
font-family:Tahoma,Verdana,Arial,sans-serif;に変更
トップ右ログインパスワード内が?????で不細工、●●●●●●●になりました。
/clipbucket/styles/cbv2new/layout/blocks/view_channel/channel_left.html 46行目
最終ログイン表示を「最終ログイン2010-06-19 09:09:53」時間表示に変更
旧<div class="item_list float_right" align="right">{$u.last_logged|nicetime}</div>
新<div class="item_list float_right" align="right">{$u.last_active}</div>