前提・実現したいこと
ClipBucket 2.8.1というシステムをCentOS7にインストールしました。
参考にしたサイトは下記URLです。
https://ch.nicovideo.jp/sakaki_sourai/blomaga/ar1208978
上記URLの通りするとWEBの設定画面までたどり着きました。
その後、MP4をアップロードしてもプレビューが表示されなかったので、
下記URLを参考をシステム内のパスを修正するとプレビューが表示されるように
なりました。
システム内のパスを修正した以外はデフォルトの状態です。
なんとか、動画が再生できるようにしたいと思っております。
当方は初心者ですので、お分かりになる方からのご返信をお待ちしております。
発生している問題・エラーメッセージ
プレビューに再生ボタンが表示されるので、そのボタンを押すと画面上段に赤色で1のメッセージが表示されます。
そして、動画の画面には2のメッセージが表示され動画が再生されません。
1 This video might not work properly 2 an error occurred while loading this video Please try again later
該当のソースコード
ソースコード
試したこと
[Tue Jan 22 09:42:45.023526 2019] [:error] [pid 5284] [client xxx.xxx.xxx.xxx:53412] PHP Warning: require_once(dbconnect.php): failed to open stream: No such file or directory in /var/www/clipbucket/includes/common.php on line 82
[Tue Jan 22 09:42:45.023623 2019] [:error] [pid 5284] [client xxx.xxx.xxx.xxx:53412] PHP Fatal error: require_once(): Failed opening required 'dbconnect.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/clipbucket/includes/common.php on line 82
上記エラーログが何を意味しているのか分かりませんが、何か関係があるのでしょうか。
●追記
別のログを発見したので、張り付けておきます。コンバートに失敗しているようですが、どこを修正すればいいのかが、わかりません。
==========================================
Pre-Check Configurations
==========================================
File to be converted
Initializing File <strong>15481186452caeb.mp4</strong> and pre checking configurations...
System hardware Information
H/W path Device Class Description
===================================================
system Computer
/0 bus Motherboard
/0/0 memory 4GiB System memory
/0/1 processor Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
/0/100 bridge 2nd Generation Core Processor Family DRAM Controller
/0/100/2 display 2nd Generation Core Processor Family Integrated Graphics Controller
/0/100/16 communication 6 Series/C200 Series Chipset Family MEI Controller #1
/0/100/16.3 communication 6 Series/C200 Series Chipset Family KT Controller
/0/100/19 eno1 network 82579LM Gigabit Network Connection (Lewisville)
/0/100/1a bus 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2
/0/100/1b multimedia 6 Series/C200 Series Chipset Family High Definition Audio Controller
/0/100/1c bridge 6 Series/C200 Series Chipset Family PCI Express Root Port 1
/0/100/1c.4 bridge 6 Series/C200 Series Chipset Family PCI Express Root Port 5
/0/100/1c.6 bridge 6 Series/C200 Series Chipset Family PCI Express Root Port 7
/0/100/1c.7 bridge 6 Series/C200 Series Chipset Family PCI Express Root Port 8
/0/100/1d bus 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1
/0/100/1e bridge 82801 PCI Bridge
/0/100/1f bridge Q65 Express Chipset LPC Controller
/0/100/1f.2 storage 6 Series/C200 Series Chipset Family 6 port Desktop SATA AHCI Controller
/0/100/1f.3 bus 6 Series/C200 Series Chipset Family SMBus Controller
/0/2 system PnP device PNP0c01
/0/3 system PnP device PNP0c02
/0/4 input PnP device PNP0303
/0/5 input PnP device PNP0f03
/0/6 system PnP device PNP0b00
/0/7 system PnP device PNP0c02
/0/8 communication PnP device PNP0501
/0/9 generic PnP device IFX0102
/0/a system PnP device PNP0c01
/0/b generic PnP device INT3f0d
/1 virbr0-nic network Ethernet interface
/2 virbr0 network Ethernet interface
Temporary Uploading
File Uploaded to Temp directory successfully and video conversion file is being executed !
Video Conversion File Execution
Video Converson File executed successfully with Target File > !15481186452caeb.mp4
==========================================
Starting Conversion Log
==========================================
Getting Arguments
Filename : 15481186452caeb.mp4
File directory : 2019/01/22
Log file : /var/www/clipbucket/files/logs/2019/01/22/15481186452caeb.log
Conversion queue
Getting the file information from the queue for conversion
Conversion queue
File has been moved from Temporary dir to Conversion Queue
Parsing FFmpeg Configurations
<strong>use_video_rate</strong> : 1
<strong>use_video_bit_rate</strong> : 1
<strong>use_audio_rate</strong> : 1
<strong>use_audio_bit_rate</strong> : 1
<strong>use_audio_codec</strong> : 1
<strong>use_video_codec</strong> : 1
<strong>format</strong> : mp4
<strong>video_codec</strong> : libx264
<strong>audio_codec</strong> : libfdk_aac
<strong>audio_rate</strong> : 22050
<strong>audio_bitrate</strong> : 128000
<strong>video_rate</strong> : 25
<strong>video_bitrate</strong> : 300000
<strong>video_bitrate_hd</strong> :
<strong>normal_res</strong> :
<strong>high_res</strong> :
<strong>max_video_duration</strong> : 320
<strong>resize</strong> : max
<strong>outputPath</strong> : 2019/01/22/
<strong>cb_combo_res</strong> : no
<strong>gen_240</strong> : yes
<strong>gen_360</strong> : yes
<strong>gen_480</strong> : yes
<strong>gen_720</strong> :
<strong>gen_1080</strong> :
Starting Conversion
Started on 2019-01-22 09:57:32 - 2019 Jan 22
Checking File...
File : /var/www/clipbucket/files/conversion_queue/15481186452caeb.mp4
File Exists
Yes
Preparing file...
<strong>format</strong> : asf
<strong>duration</strong> : 217.91
<strong>size</strong> : 549184721
<strong>bitrate</strong> : 20161798
<strong>video_width</strong> : 1920
<strong>video_height</strong> : 1080
<strong>video_wh_ratio</strong> : 1.7777777777778
<strong>video_codec</strong> : mjpeg
<strong>video_rate</strong> : 90000
<strong>video_bitrate</strong> : 0
<strong>video_color</strong> : N/A
<strong>audio_codec</strong> : wmv3
<strong>audio_bitrate</strong> : 24000000
<strong>audio_rate</strong> : 0
<strong>audio_channels</strong> : 0
<strong>path</strong> : /var/www/clipbucket/files/conversion_queue/15481186452caeb.mp4
<strong>rotation</strong> : 0
Thumbs Generation
Starting
Thumbs Files
File : /var/www/clipbucket/files/thumbs/2019/01/22/15481186452caeb-original-1.jpg
File : /var/www/clipbucket/files/thumbs/2019/01/22/15481186452caeb-original-2.jpg
File : /var/www/clipbucket/files/thumbs/2019/01/22/15481186452caeb-original-3.jpg
File : /var/www/clipbucket/files/thumbs/2019/01/22/15481186452caeb-original-4.jpg
File : /var/www/clipbucket/files/thumbs/2019/01/22/15481186452caeb-original-5.jpg
File : /var/www/clipbucket/files/thumbs/2019/01/22/15481186452caeb-168x105-1.jpg
File : /var/www/clipbucket/files/thumbs/2019/01/22/15481186452caeb-168x105-2.jpg
File : /var/www/clipbucket/files/thumbs/2019/01/22/15481186452caeb-168x105-3.jpg
File : /var/www/clipbucket/files/thumbs/2019/01/22/15481186452caeb-168x105-4.jpg
File : /var/www/clipbucket/files/thumbs/2019/01/22/15481186452caeb-168x105-5.jpg
File : /var/www/clipbucket/files/thumbs/2019/01/22/15481186452caeb-416x260-1.jpg
File : /var/www/clipbucket/files/thumbs/2019/01/22/15481186452caeb-416x260-2.jpg
File : /var/www/clipbucket/files/thumbs/2019/01/22/15481186452caeb-416x260-3.jpg
File : /var/www/clipbucket/files/thumbs/2019/01/22/15481186452caeb-416x260-4.jpg
File : /var/www/clipbucket/files/thumbs/2019/01/22/15481186452caeb-416x260-5.jpg
File : /var/www/clipbucket/files/thumbs/2019/01/22/15481186452caeb-632x395-1.jpg
File : /var/www/clipbucket/files/thumbs/2019/01/22/15481186452caeb-632x395-2.jpg
File : /var/www/clipbucket/files/thumbs/2019/01/22/15481186452caeb-632x395-3.jpg
File : /var/www/clipbucket/files/thumbs/2019/01/22/15481186452caeb-632x395-4.jpg
File : /var/www/clipbucket/files/thumbs/2019/01/22/15481186452caeb-632x395-5.jpg
File : /var/www/clipbucket/files/thumbs/2019/01/22/15481186452caeb-768x432-1.jpg
File : /var/www/clipbucket/files/thumbs/2019/01/22/15481186452caeb-768x432-2.jpg
File : /var/www/clipbucket/files/thumbs/2019/01/22/15481186452caeb-768x432-3.jpg
File : /var/www/clipbucket/files/thumbs/2019/01/22/15481186452caeb-768x432-4.jpg
File : /var/www/clipbucket/files/thumbs/2019/01/22/15481186452caeb-768x432-5.jpg
====== End : Thumbs Generation =======
Conversion Completed
Time Took : 25.1537 seconds
conversion_status : failed
補足情報(FW/ツールのバージョンなど)
あなたの回答
tips
プレビュー