Error right after installation
I have installed the script and all relevant binaries. Originally, I got the "Fatal error: Class 'stemplate' not found in..." error which I corrected by editing the config.php file.
Now I get another error whenever I try to visit the admin or user page:
Code:
Fatal error: main() [function.require]: Failed opening required '/include/smarty/libs/Smarty.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/username/public_html/video/include/vshare.php on line 26
Unfortunately, I cannot edit the vshare.php file since it's encoded.
Any help would be greatly appreciated.
Re: Error right after installation
Please make sure you have properly uploaded all the files. Transfer mode must be in binary.
More details http://docs.buyscripts.in/Binary_Mode
Re: Error right after installation
Re: Error right after installation
OK, this is fixed as well as some other issues... now I have run into another problem... I have uploaded a video and approved it (enabled it). I even created a thumbnail for it. I can see it in the videos list but whenever I click to play, I get the spinning wheel for ever. Also, the duration shows as 00:00:00 although the actual video is 00:00:30.
Any help would be greatly appreciated.
Re: Error right after installation
I found the post that mentions what to do when video is not converted to FLV format, which seems to be the case... I created the convert.php file and run it. This is what I got:
Code:
MEncoder 1.0rc1-3.4.6 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Xeon(TM) CPU 3.06GHz (Family: 15, Model: 2, Stepping: 9)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
success: format: 0 data: 0x0 - 0x481b96
Quicktime/MOV file format detected.
VIDEO: [avc1] 320x240 24bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:7 fourcc:0x31637661 size:320x240 fps:29.97 ftime:=0.0334
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
==========================================================================
Exiting...
I have installed another script on my server, to upload videos and convert them to FLV and it works just fine. That makes me think that it's a problem with vShare.
Re: Error right after installation
Re: Error right after installation
Thanks, I saw the link but I am not sure what I have to change and where
Re: Error right after installation
I am still having trouble uploading and converting movie files as a user. Any help would be appreciated greatly.
See the log created in the process queue:
Code:
STARTING VIDEO CONVERSION (process_queue.id = 8)
File: /home/websysg/public_html/vshare/video/Talking-Cats.mp4
####################################################
SELECT * FROM `video` WHERE `VID`=7
####################################################
Video id: 7
Find video duration - START
/usr/bin/mplayer -vo null -ao null -frames 0 -identify /home/websysg/public_html/vshare/video/Talking-Cats.mp4
MPlayer 1.0rc1-3.4.6 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Xeon(TM) CPU 3.06GHz (Family: 15, Model: 2, Stepping: 9)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Cannot find HOME directory.
Terminal type `unknown' is not defined.
Playing /home/websysg/public_html/vshare/video/Talking-Cats.mp4.
Quicktime/MOV file format detected.
ID_VIDEO_ID=0
ID_AUDIO_ID=1
VIDEO: [avc1] 640x480 24bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
ID_FILENAME=/home/websysg/public_html/vshare/video/Talking-Cats.mp4
ID_DEMUXER=mov
ID_VIDEO_FORMAT=avc1
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=640
ID_VIDEO_HEIGHT=480
ID_VIDEO_FPS=29.970
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=mp4a
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
ID_LENGTH=70.94
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
ID_VIDEO_CODEC=ffh264
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
ID_AUDIO_BITRATE=128000
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
==========================================================================
AO: [null] 44100Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=faad
Starting playback...
Exiting... (End of file)
Duration (mplayer): 70
DURATION: 01:10
Create Thumbnail - START
CREATING THUMBNAIL 0
/usr/bin/mplayer /home/websysg/public_html/vshare/video/Talking-Cats.mp4 -ss 1 -nosound -vo jpeg:outdir=/home/websysg/public_html/vshare/templates_c/7/ -frames 2
Array
(
[0] => MPlayer 1.0rc1-3.4.6 (C) 2000-2006 MPlayer Team
[1] => CPU: Intel(R) Xeon(TM) CPU 3.06GHz (Family: 15, Model: 2, Stepping: 9)
[2] => CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
[3] => Cannot find HOME directory.
[4] => Terminal type `unknown' is not defined.
[5] =>
[6] => Playing /home/websysg/public_html/vshare/video/Talking-Cats.mp4.
[7] => Quicktime/MOV file format detected.
[8] => VIDEO: [avc1] 640x480 24bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
[9] => jpeg: Parsing suboptions.
[10] => jpeg: Progressive JPEG disabled.
[11] => jpeg: Baseline JPEG enabled.
[12] => jpeg: Suboptions parsed OK.
[13] => ==========================================================================
[14] => Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[15] => Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
[16] => ==========================================================================
[17] => Audio: no sound
[18] => Starting playback...
[19] => VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
[20] => Could not find matching colorspace - retrying with -vf scale...
[21] => Opening video filter: [scale]
[22] => VDec: using Planar YV12 as output csp (no 0)
[23] => Movie-Aspect is undefined - no prescaling applied.
[24] => SwScaler: using unscaled yuv420p -> rgb24 special converter
[25] => VO: [jpeg] 640x480 => 640x480 RGB 24-bit
[26] => jpeg: /home/websysg/public_html/vshare/templates_c/7/ - Output directory already exists and is writable.
[27] => V: 0.0 1/ 1 ??% ??% ??,?% 0 0
V: 0.0 2/ 2 ??% ??% ??,?% 0 0
[28] =>
[29] => Exiting... (End of file)
)
/home/websysg/public_html/vshare/thumb/7.jpg
CREATING THUMBNAIL 1
/usr/bin/mplayer /home/websysg/public_html/vshare/video/Talking-Cats.mp4 -ss 15 -nosound -vo jpeg:outdir=/home/websysg/public_html/vshare/templates_c/7/ -frames 2
Array
(
[0] => MPlayer 1.0rc1-3.4.6 (C) 2000-2006 MPlayer Team
[1] => CPU: Intel(R) Xeon(TM) CPU 3.06GHz (Family: 15, Model: 2, Stepping: 9)
[2] => CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
[3] => Cannot find HOME directory.
[4] => Terminal type `unknown' is not defined.
[5] =>
[6] => Playing /home/websysg/public_html/vshare/video/Talking-Cats.mp4.
[7] => Quicktime/MOV file format detected.
[8] => VIDEO: [avc1] 640x480 24bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
[9] => jpeg: Parsing suboptions.
[10] => jpeg: Progressive JPEG disabled.
[11] => jpeg: Baseline JPEG enabled.
[12] => jpeg: Suboptions parsed OK.
[13] => ==========================================================================
[14] => Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[15] => Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
[16] => ==========================================================================
[17] => Audio: no sound
[18] => Starting playback...
[19] => VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
[20] => Could not find matching colorspace - retrying with -vf scale...
[21] => Opening video filter: [scale]
[22] => VDec: using Planar YV12 as output csp (no 0)
[23] => Movie-Aspect is undefined - no prescaling applied.
[24] => SwScaler: using unscaled yuv420p -> rgb24 special converter
[25] => VO: [jpeg] 640x480 => 640x480 RGB 24-bit
[26] => jpeg: /home/websysg/public_html/vshare/templates_c/7/ - Output directory already exists and is writable.
[27] => V: 0.0 1/ 1 ??% ??% ??,?% 0 0
V: 0.0 2/ 2 ??% ??% ??,?% 0 0
[28] =>
[29] => Exiting... (End of file)
[30] => MPlayer 1.0rc1-3.4.6 (C) 2000-2006 MPlayer Team
[31] => CPU: Intel(R) Xeon(TM) CPU 3.06GHz (Family: 15, Model: 2, Stepping: 9)
[32] => CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
[33] => Cannot find HOME directory.
[34] => Terminal type `unknown' is not defined.
[35] =>
[36] => Playing /home/websysg/public_html/vshare/video/Talking-Cats.mp4.
[37] => Quicktime/MOV file format detected.
[38] => VIDEO: [avc1] 640x480 24bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
[39] => jpeg: Parsing suboptions.
[40] => jpeg: Progressive JPEG disabled.
[41] => jpeg: Baseline JPEG enabled.
[42] => jpeg: Suboptions parsed OK.
[43] => ==========================================================================
[44] => Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[45] => Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
[46] => ==========================================================================
[47] => Audio: no sound
[48] => Starting playback...
[49] => VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
[50] => Could not find matching colorspace - retrying with -vf scale...
[51] => Opening video filter: [scale]
[52] => VDec: using Planar YV12 as output csp (no 0)
[53] => Movie-Aspect is undefined - no prescaling applied.
[54] => SwScaler: using unscaled yuv420p -> rgb24 special converter
[55] => VO: [jpeg] 640x480 => 640x480 RGB 24-bit
[56] => jpeg: /home/websysg/public_html/vshare/templates_c/7/ - Output directory already exists and is writable.
[57] => V: 0.0 1/ 1 ??% ??% ??,?% 0 0
V: 20.0 2/ 2 ??% ??% ??,?% 0 0
[58] =>
[59] => Exiting... (End of file)
)
/home/websysg/public_html/vshare/thumb/1_7.jpg
CREATING THUMBNAIL 2
/usr/bin/mplayer /home/websysg/public_html/vshare/video/Talking-Cats.mp4 -ss 29 -nosound -vo jpeg:outdir=/home/websysg/public_html/vshare/templates_c/7/ -frames 2
Array
(
[0] => MPlayer 1.0rc1-3.4.6 (C) 2000-2006 MPlayer Team
[1] => CPU: Intel(R) Xeon(TM) CPU 3.06GHz (Family: 15, Model: 2, Stepping: 9)
[2] => CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
[3] => Cannot find HOME directory.
[4] => Terminal type `unknown' is not defined.
[5] =>
[6] => Playing /home/websysg/public_html/vshare/video/Talking-Cats.mp4.
[7] => Quicktime/MOV file format detected.
[8] => VIDEO: [avc1] 640x480 24bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
[9] => jpeg: Parsing suboptions.
[10] => jpeg: Progressive JPEG disabled.
[11] => jpeg: Baseline JPEG enabled.
[12] => jpeg: Suboptions parsed OK.
[13] => ==========================================================================
[14] => Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[15] => Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
[16] => ==========================================================================
[17] => Audio: no sound
[18] => Starting playback...
[19] => VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
[20] => Could not find matching colorspace - retrying with -vf scale...
[21] => Opening video filter: [scale]
[22] => VDec: using Planar YV12 as output csp (no 0)
[23] => Movie-Aspect is undefined - no prescaling applied.
[24] => SwScaler: using unscaled yuv420p -> rgb24 special converter
[25] => VO: [jpeg] 640x480 => 640x480 RGB 24-bit
[26] => jpeg: /home/websysg/public_html/vshare/templates_c/7/ - Output directory already exists and is writable.
[27] => V: 0.0 1/ 1 ??% ??% ??,?% 0 0
V: 0.0 2/ 2 ??% ??% ??,?% 0 0
[28] =>
[29] => Exiting... (End of file)
[30] => MPlayer 1.0rc1-3.4.6 (C) 2000-2006 MPlayer Team
[31] => CPU: Intel(R) Xeon(TM) CPU 3.06GHz (Family: 15, Model: 2, Stepping: 9)
[32] => CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
[33] => Cannot find HOME directory.
[34] => Terminal type `unknown' is not defined.
[35] =>
[36] => Playing /home/websysg/public_html/vshare/video/Talking-Cats.mp4.
[37] => Quicktime/MOV file format detected.
[38] => VIDEO: [avc1] 640x480 24bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
[39] => jpeg: Parsing suboptions.
[40] => jpeg: Progressive JPEG disabled.
[41] => jpeg: Baseline JPEG enabled.
[42] => jpeg: Suboptions parsed OK.
[43] => ==========================================================================
[44] => Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[45] => Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
[46] => ==========================================================================
[47] => Audio: no sound
[48] => Starting playback...
[49] => VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
[50] => Could not find matching colorspace - retrying with -vf scale...
[51] => Opening video filter: [scale]
[52] => VDec: using Planar YV12 as output csp (no 0)
[53] => Movie-Aspect is undefined - no prescaling applied.
[54] => SwScaler: using unscaled yuv420p -> rgb24 special converter
[55] => VO: [jpeg] 640x480 => 640x480 RGB 24-bit
[56] => jpeg: /home/websysg/public_html/vshare/templates_c/7/ - Output directory already exists and is writable.
[57] => V: 0.0 1/ 1 ??% ??% ??,?% 0 0
V: 20.0 2/ 2 ??% ??% ??,?% 0 0
[58] =>
[59] => Exiting... (End of file)
[60] => MPlayer 1.0rc1-3.4.6 (C) 2000-2006 MPlayer Team
[61] => CPU: Intel(R) Xeon(TM) CPU 3.06GHz (Family: 15, Model: 2, Stepping: 9)
[62] => CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
[63] => Cannot find HOME directory.
[64] => Terminal type `unknown' is not defined.
[65] =>
[66] => Playing /home/websysg/public_html/vshare/video/Talking-Cats.mp4.
[67] => Quicktime/MOV file format detected.
[68] => VIDEO: [avc1] 640x480 24bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
[69] => jpeg: Parsing suboptions.
[70] => jpeg: Progressive JPEG disabled.
[71] => jpeg: Baseline JPEG enabled.
[72] => jpeg: Suboptions parsed OK.
[73] => ==========================================================================
[74] => Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[75] => Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
[76] => ==========================================================================
[77] => Audio: no sound
[78] => Starting playback...
[79] => VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
[80] => Could not find matching colorspace - retrying with -vf scale...
[81] => Opening video filter: [scale]
[82] => VDec: using Planar YV12 as output csp (no 0)
[83] => Movie-Aspect is undefined - no prescaling applied.
[84] => SwScaler: using unscaled yuv420p -> rgb24 special converter
[85] => VO: [jpeg] 640x480 => 640x480 RGB 24-bit
[86] => jpeg: /home/websysg/public_html/vshare/templates_c/7/ - Output directory already exists and is writable.
[87] => V: 0.0 1/ 1 ??% ??% ??,?% 0 0
V: 29.4 2/ 2 ??% ??% ??,?% 0 0
[88] =>
[89] => Exiting... (End of file)
)
/home/websysg/public_html/vshare/thumb/2_7.jpg
CREATING THUMBNAIL 3
/usr/bin/mplayer /home/websysg/public_html/vshare/video/Talking-Cats.mp4 -ss 43 -nosound -vo jpeg:outdir=/home/websysg/public_html/vshare/templates_c/7/ -frames 2
Array
(
[0] => MPlayer 1.0rc1-3.4.6 (C) 2000-2006 MPlayer Team
[1] => CPU: Intel(R) Xeon(TM) CPU 3.06GHz (Family: 15, Model: 2, Stepping: 9)
[2] => CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
[3] => Cannot find HOME directory.
[4] => Terminal type `unknown' is not defined.
[5] =>
[6] => Playing /home/websysg/public_html/vshare/video/Talking-Cats.mp4.
[7] => Quicktime/MOV file format detected.
[8] => VIDEO: [avc1] 640x480 24bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
[9] => jpeg: Parsing suboptions.
[10] => jpeg: Progressive JPEG disabled.
[11] => jpeg: Baseline JPEG enabled.
[12] => jpeg: Suboptions parsed OK.
[13] => ==========================================================================
[14] => Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[15] => Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
[16] => ==========================================================================
[17] => Audio: no sound
[18] => Starting playback...
[19] => VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
[20] => Could not find matching colorspace - retrying with -vf scale...
[21] => Opening video filter: [scale]
[22] => VDec: using Planar YV12 as output csp (no 0)
[23] => Movie-Aspect is undefined - no prescaling applied.
[24] => SwScaler: using unscaled yuv420p -> rgb24 special converter
[25] => VO: [jpeg] 640x480 => 640x480 RGB 24-bit
[26] => jpeg: /home/websysg/public_html/vshare/templates_c/7/ - Output directory already exists and is writable.
[27] => V: 0.0 1/ 1 ??% ??% ??,?% 0 0
V: 0.0 2/ 2 ??% ??% ??,?% 0 0
[28] =>
[29] => Exiting... (End of file)
[30] => MPlayer 1.0rc1-3.4.6 (C) 2000-2006 MPlayer Team
[31] => CPU: Intel(R) Xeon(TM) CPU 3.06GHz (Family: 15, Model: 2, Stepping: 9)
[32] => CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
[33] => Cannot find HOME directory.
[34] => Terminal type `unknown' is not defined.
[35] =>
[36] => Playing /home/websysg/public_html/vshare/video/Talking-Cats.mp4.
[37] => Quicktime/MOV file format detected.
[38] => VIDEO: [avc1] 640x480 24bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
[39] => jpeg: Parsing suboptions.
[40] => jpeg: Progressive JPEG disabled.
[41] => jpeg: Baseline JPEG enabled.
[42] => jpeg: Suboptions parsed OK.
[43] => ==========================================================================
[44] => Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[45] => Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
[46] => ==========================================================================
[47] => Audio: no sound
[48] => Starting playback...
[49] => VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
[50] => Could not find matching colorspace - retrying with -vf scale...
[51] => Opening video filter: [scale]
[52] => VDec: using Planar YV12 as output csp (no 0)
[53] => Movie-Aspect is undefined - no prescaling applied.
[54] => SwScaler: using unscaled yuv420p -> rgb24 special converter
[55] => VO: [jpeg] 640x480 => 640x480 RGB 24-bit
[56] => jpeg: /home/websysg/public_html/vshare/templates_c/7/ - Output directory already exists and is writable.
[57] => V: 0.0 1/ 1 ??% ??% ??,?% 0 0
V: 20.0 2/ 2 ??% ??% ??,?% 0 0
[58] =>
[59] => Exiting... (End of file)
[60] => MPlayer 1.0rc1-3.4.6 (C) 2000-2006 MPlayer Team
[61] => CPU: Intel(R) Xeon(TM) CPU 3.06GHz (Family: 15, Model: 2, Stepping: 9)
[62] => CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
[63] => Cannot find HOME directory.
[64] => Terminal type `unknown' is not defined.
[65] =>
[66] => Playing /home/websysg/public_html/vshare/video/Talking-Cats.mp4.
[67] => Quicktime/MOV file format detected.
[68] => VIDEO: [avc1] 640x480 24bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
[69] => jpeg: Parsing suboptions.
[70] => jpeg: Progressive JPEG disabled.
[71] => jpeg: Baseline JPEG enabled.
[72] => jpeg: Suboptions parsed OK.
[73] => ==========================================================================
[74] => Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[75] => Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
[76] => ==========================================================================
[77] => Audio: no sound
[78] => Starting playback...
[79] => VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
[80] => Could not find matching colorspace - retrying with -vf scale...
[81] => Opening video filter: [scale]
[82] => VDec: using Planar YV12 as output csp (no 0)
[83] => Movie-Aspect is undefined - no prescaling applied.
[84] => SwScaler: using unscaled yuv420p -> rgb24 special converter
[85] => VO: [jpeg] 640x480 => 640x480 RGB 24-bit
[86] => jpeg: /home/websysg/public_html/vshare/templates_c/7/ - Output directory already exists and is writable.
[87] => V: 0.0 1/ 1 ??% ??% ??,?% 0 0
V: 29.4 2/ 2 ??% ??% ??,?% 0 0
[88] =>
[89] => Exiting... (End of file)
[90] => MPlayer 1.0rc1-3.4.6 (C) 2000-2006 MPlayer Team
[91] => CPU: Intel(R) Xeon(TM) CPU 3.06GHz (Family: 15, Model: 2, Stepping: 9)
[92] => CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
[93] => Cannot find HOME directory.
[94] => Terminal type `unknown' is not defined.
[95] =>
[96] => Playing /home/websysg/public_html/vshare/video/Talking-Cats.mp4.
[97] => Quicktime/MOV file format detected.
[98] => VIDEO: [avc1] 640x480 24bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
[99] => jpeg: Parsing suboptions.
[100] => jpeg: Progressive JPEG disabled.
[101] => jpeg: Baseline JPEG enabled.
[102] => jpeg: Suboptions parsed OK.
[103] => ==========================================================================
[104] => Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[105] => Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
[106] => ==========================================================================
[107] => Audio: no sound
[108] => Starting playback...
[109] => VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
[110] => Could not find matching colorspace - retrying with -vf scale...
[111] => Opening video filter: [scale]
[112] => VDec: using Planar YV12 as output csp (no 0)
[113] => Movie-Aspect is undefined - no prescaling applied.
[114] => SwScaler: using unscaled yuv420p -> rgb24 special converter
[115] => VO: [jpeg] 640x480 => 640x480 RGB 24-bit
[116] => jpeg: /home/websysg/public_html/vshare/templates_c/7/ - Output directory already exists and is writable.
[117] => V: 0.0 1/ 1 ??% ??% ??,?% 0 0
V: 39.4 2/ 2 ??% ??% ??,?% 0 0
[118] =>
[119] => Exiting... (End of file)
)
/home/websysg/public_html/vshare/thumb/3_7.jpg
Create Thumbnail with mplayer - END
CONVERT COMMAND: /usr/bin/ffmpeg -i '/home/websysg/public_html/vshare/video/Talking-Cats.mp4' -acodec libmp3lame -ar 22050 -ab 32 -f flv /home/websysg/public_html/vshare/flvideo/1220212048694579325.flv
####################################################
Array
(
)
####################################################
Return value:
Running flvtool2: /usr/bin/flvtool2 -U /home/websysg/public_html/vshare/flvideo/1220212048694579325.flv
Back
Re: Error right after installation
Edit the video_conversion.php (include/settings)
Try to use the following command
Code:
$cmd_mencoder = "$config[mencoder] '$video_src' -o $video_flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -srate 22050 -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames";
Re: Error right after installation
I did this but now I get another error:
Code:
STARTING VIDEO CONVERSION (process_queue.id = 9)
File: /home/websysg/public_html/vshare/video/Talking Cats.mp4
ERROR: file not found.
I am more than willing to give you an ftp and a vshare admin account so you can login and fix this installation for me.