-
Video not showing
Hi im new there you have very nice forum :D
i have problem with my site Video not showing
I have tried everything listed in the forum to no avail.
my info is
http://youx.info/vshare/
http://youx.info/vshare/pi.php
my server support ffmpeg
ffmpeg support (ffmpeg-php) enabled
ffmpeg-php version 0.5.1
libavcodec version Lavc51.48.0
libavformat version Lavf52.1.0
Directive Local Value Master Value
ffmpeg.allow_persistent 0 0
.................................................. .................................................. ........
my last debug.txt is
.................................................. .................................................. .................................................. ....................
2007-12-09 14:22:16 -------------------------------------------------------------
2007-12-09 14:22:16 MEncoder 1.0rc2-3.4.6 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz (Family: 6, Model: 15, Stepping: 6)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
success: format: 0 data: 0x0 - 0x231e47
ASF file format detected.
[asfheader] Video stream found, -vid 1
[asfheader] Audio stream found, -aid 2
VIDEO: [WMV3] 352x288 24bpp 1000.000 fps 700.0 kbps (85.4 kbyte/s)
[V] filefmt:6 fourcc:0x33564D57 size:352x288 fps:1000.00 ftime:=0.0010
================================================== ========================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16002->176400)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
================================================== ========================
OK, exit
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [harddup]
================================================== ========================
Opening video decoder: [dmo] DMO video codecs
Creating new registry
Failed to open registry file '(null)' for writing.
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
Failed to open registry file '(null)' for writing.
Failed to open registry file '(null)' for writing.
Failed to open registry file '(null)' for writing.
GetOutput r=0x0 size:304128 align:1
StreamCount r=0x0 1 1
Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555 RGB565 RGB24 RGB32
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 352 x 288 (preferred colorspace: Packed YUY2)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (352x288 fourcc=31564c46 [FLV1])
[VE_LAVC] High quality encoding selected (non-realtime)!
Selected video codec: [wmv9dmo] vfm: dmo (Windows Media Video 9 DMO)
================================================== ========================
Exiting...
2007-12-09 14:22:16 -------------------------------------------------------------
2007-12-09 14:22:16 Return value: Exiting...
2007-12-09 14:22:16 File Size too small : 0 Bytes, Upload a big video.
2007-12-09 14:22:16 Calling process_video[11,0]
2007-12-09 15:25:18 Upload Finished
2007-12-09 15:25:18 Video (12) Conversion starting...
2007-12-09 15:25:18 File: /home/you/public_html/vshare/video/istinapapa-paparazzigr.tv_1_3.wmv
2007-12-09 15:25:18 -------------------------------------------------------------
2007-12-09 15:25:18 INSERT INTO video SET
UID='2',
title='fghjfgf',
description='fgjfghjg',
keyword='gfjfgjfgfg',
channel='0|24|0',
addtime='1197206718',
adddate='2007-12-09',
vkey='699323885',
type='public',
active='0',
approve='1'
2007-12-09 15:25:18 -------------------------------------------------------------
2007-12-09 15:25:18 Video id: 12
2007-12-09 15:25:18 Calling ffmpeg-php -> ffmpeg_movie()
2007-12-09 15:25:18 Get video duration - START
2007-12-09 15:25:18 Get video duration - END
2007-12-09 15:25:18 DURATION: 20.72
2007-12-09 15:25:18 Create Thumbnail - START
2007-12-09 15:25:19 Create Thumbnail - END
2007-12-09 15:25:19 CONVERT COMMAND:
/usr/local/bin/ffmpeg -i '/home/you/public_html/vshare/video/istinapapa-paparazzigr.tv_1_3.wmv' -acodec libmp3lame -ar 22050 -ab 32 -f flv /home/you/public_html/vshare/flvideo/11972067192085323237.flv
2007-12-09 15:25:19 -------------------------------------------------------------
2007-12-09 15:25:19
2007-12-09 15:25:19 -------------------------------------------------------------
2007-12-09 15:25:19 Return value:
2007-12-09 15:25:19 File Size too small : Bytes, Upload a big video.
2007-12-09 15:25:19 Calling process_video[12,0]
Please help you have any idea ?
thanks
Manos
-
Re: Video not showing
try changing your covert command to
$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:l ast_pred=3 -srate 22050 -lavfopts i_certify_that_my_video_stream_does_not_use_b_fram es";
or
$cmd_mencoder = "$config[mencoder] '$video_src' -o $video_flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=300:mbd=2:mv0:trell:v4mv:cbp:l ast_pred=3 -srate 22050";
-
Re: Video not showing
-
Re: Video not showing
changed to the second one dont work
any help please :(
-
Re: Video not showing
i just noticed your using ffmpeg for converting rather than mencoder...what error if you use mencoder instead?
-
Re: Video not showing
now i have this in my server :
currently the convert command is set to the following value:
$cmd_mencoder = "$config[mencoder] '$video_src' -o $video_flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=300:mbd=2:mv0:trell:v4mv:cbp:l ast_pred=3 -srate 22050";
and my last debug.txt is this :
2007-12-09 21:29:03 -------------------------------------------------------------
2007-12-09 21:29:03 MEncoder 1.0rc2-3.4.6 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz (Family: 6, Model: 15, Stepping: 6)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
success: format: 0 data: 0x0 - 0x262894
ASF file format detected.
[asfheader] Audio stream found, -aid 1
[asfheader] Video stream found, -vid 2
VIDEO: [WMV2] 352x288 24bpp 1000.000 fps 636.0 kbps (77.6 kbyte/s)
[V] filefmt:6 fourcc:0x32564D57 size:352x288 fps:1000.00 ftime:=0.0010
================================================== ========================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8005->176400)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
================================================== ========================
OK, exit
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
================================================== ========================
Opening video decoder: [dshow] DirectShow video codecs
Win32 LoadLibrary failed to load: wmv8ds32.ax, /usr/local/lib/codecs/wmv8ds32.ax, /usr/lib/win32/wmv8ds32.ax, /usr/local/lib/win32/wmv8ds32.ax
Warning: DS_Filter() could not open DirectShow DLL. (DLL=wmv8ds32.ax, r=0x857ad1b)
Failed to create DirectShow filter
You need to upgrade/install the binary codecs package.
Go to http://www.mplayerhq.hu/dload.html
VDecoder init failed :(
Opening video decoder: [dmo] DMO video codecs
Creating new registry
Failed to open registry file '(null)' for writing.
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
Failed to open registry file '(null)' for writing.
Failed to open registry file '(null)' for writing.
Failed to open registry file '(null)' for writing.
GetOutput r=0x0 size:304128 align:1
StreamCount r=0x0 1 1
Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555 RGB565 RGB24 RGB32
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 352 x 288 (preferred colorspace: Packed YUY2)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (352x288 fourcc=31564c46 [FLV1])
[VE_LAVC] High quality encoding selected (non-realtime)!
Selected video codec: [wmvdmo] vfm: dmo (Windows Media Video DMO)
================================================== ========================
Exiting...
2007-12-09 21:29:03 -------------------------------------------------------------
2007-12-09 21:29:03 Return value: Exiting...
2007-12-09 21:29:03 File Size too small : 0 Bytes, Upload a big video.
2007-12-09 21:29:03 Calling process_video[16,0]
Thanks for help
Manos
-
Re: Video not showing
you need the codecs pack...if u have SSH access type the following
-
Re: Video not showing
Ok setup now
thanks for your help
-
Re: Video not showing
this has been done. But dont work :cry:
please check my last debug .txt after install this with SSH access http://www3.mplayerhq.hu/MPlayer/
.................................................. .................................................. ...................................
2007-12-10 1:42:04 Upload Finished
2007-12-10 1:42:04 Video (18) Conversion starting...
2007-12-10 1:42:04 File: /home/you/public_html/vshare/video/istinapapa-paparazzigr.tv_1_7.wmv
2007-12-10 1:42:04 -------------------------------------------------------------
2007-12-10 1:42:04 INSERT INTO video SET
UID='2',
title='ghdgdfgdfhdf',
description='hgdfghdffdf',
keyword='dfghfdgfdgfdgfd',
channel='0|23|0',
addtime='1197243724',
adddate='2007-12-10',
vkey='988925774',
type='public',
active='0',
approve='1'
2007-12-10 1:42:04 -------------------------------------------------------------
2007-12-10 1:42:04 Video id: 18
2007-12-10 1:42:04 Calling ffmpeg-php -> ffmpeg_movie()
2007-12-10 1:42:04 Get video duration - START
2007-12-10 1:42:04 Get video duration - END
2007-12-10 1:42:04 DURATION: 20.72
2007-12-10 1:42:04 Create Thumbnail - START
2007-12-10 1:42:06 Create Thumbnail - END
2007-12-10 1:42:06 CONVERT COMMAND:
/usr/local/bin/mencoder '/home/you/public_html/vshare/video/istinapapa-paparazzigr.tv_1_7.wmv' -o /home/you/public_html/vshare/flvideo/11972437261374384465.flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=300:mbd=2:mv0:trell:v4mv:cbp:l ast_pred=3 -srate 22050
2007-12-10 1:42:07 -------------------------------------------------------------
2007-12-10 1:42:07 MEncoder 1.0rc2-3.4.6 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz (Family: 6, Model: 15, Stepping: 6)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
success: format: 0 data: 0x0 - 0x231e47
ASF file format detected.
[asfheader] Video stream found, -vid 1
[asfheader] Audio stream found, -aid 2
VIDEO: [WMV3] 352x288 24bpp 1000.000 fps 700.0 kbps (85.4 kbyte/s)
[V] filefmt:6 fourcc:0x33564D57 size:352x288 fps:1000.00 ftime:=0.0010
================================================== ========================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16002->176400)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
================================================== ========================
OK, exit
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
================================================== ========================
Opening video decoder: [dmo] DMO video codecs
Creating new registry
Failed to open registry file '(null)' for writing.
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
Failed to open registry file '(null)' for writing.
Failed to open registry file '(null)' for writing.
Failed to open registry file '(null)' for writing.
GetOutput r=0x0 size:304128 align:1
StreamCount r=0x0 1 1
Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555 RGB565 RGB24 RGB32
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 352 x 288 (preferred colorspace: Packed YUY2)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (352x288 fourcc=31564c46 [FLV1])
[VE_LAVC] High quality encoding selected (non-realtime)!
Selected video codec: [wmv9dmo] vfm: dmo (Windows Media Video 9 DMO)
================================================== ========================
Exiting...
2007-12-10 1:42:07 -------------------------------------------------------------
2007-12-10 1:42:07 Return value: Exiting...
2007-12-10 1:42:07 File Size too small : 0 Bytes, Upload a big video.
2007-12-10 1:42:07 Calling process_video[18,0]
.................................................. .................................................. ................
You have Any IDEA HELP ?
-
Re: Video not showing
are permissions of the video and flvideo folders correct?
try uploading a mpg file to see if that works
try running the command to convert a video manually from SSH rather than from vshare.