Videos with audio not uploading
Its weird. When i try to upload a .mpg file without audio in it , it works fine.
But when i upload a file with audio in it, i get a successful message but does not upload to site.
When i check the debug file for this, i see this at the end
================================================== ========================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 224.0 kbit/15.87% (ratio: 28000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
================================================== ========================
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: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 320 x 240 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
================================================== ========================
Exiting...
Exiting...
2008-01-30 4:36:51 ################################################## ##
2008-01-30 4:36:51 Return value: Exiting...
2008-01-30 4:36:51 Running flvtool2: /usr/bin/flvtool2 -U /var/www/vhosts/sidgroups.com/httpdocs/flvideo/1201693010243010726.flv
2008-01-30 4:36:51 Convert Error or converted video is less than 1 kb in size, try upload a big video. If that do not work, verify convert command works on the server.
2008-01-30 4:36:51 Calling process_video[17,0]
Can anyone suggest any idea to overcome this? I thought my site was good and workin but ......last minute trouble
Re: Videos with audio not uploading
When i change it to the other command, it does not even do the first process it was doing. Here is the error i get in the debug file. Any suggestion. Your help is appreciated.
2008-01-30 6:03:21 Upload Finished
2008-01-30 6:03:21 STARTING VIDEO CONVERSION (process_queue.id = 18)
2008-01-30 6:03:21 File: /var/www/vhosts/sidgroups.com/httpdocs/video/airtel_3.mpg
2008-01-30 6:03:21 ################################################## ##
2008-01-30 6:03:21 INSERT INTO video SET
UID='2',
seo_name='trying',
title='trying',
description='trying',
keyword='trying',
channel='0|15|16|17|0',
vdoname='airtel_3.mpg',
flvdoname='12016982011915144121.flv',
addtime='1201698201',
adddate='2008-01-30',
type='public',
active='0',
approve='1'
2008-01-30 6:03:21 ################################################## ##
2008-01-30 6:03:21 Video id: 17
2008-01-30 6:03:21 Find video duration - START
2008-01-30 6:03:21 Duration (ffmpeg-php): 23
2008-01-30 6:03:21 DURATION: 00:23
2008-01-30 6:03:21 Create Thumbnail - START
2008-01-30 6:03:22 Create Thumbnail with ffmpeg-php - END
2008-01-30 6:03:22 CONVERT COMMAND: /usr/bin/mencoder '/var/www/vhosts/sidgroups.com/httpdocs/video/airtel_3.mpg' -o /var/www/vhosts/sidgroups.com/httpdocs/flvideo/12016982011915144121.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
2008-01-30 6:03:22 ################################################## ##
2008-01-30 6:03:22 MEncoder dev-SVN-r25849-4.1.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 4, Stepping: 1)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Exiting... (error parsing command line)
2008-01-30 6:03:22 ################################################## ##
2008-01-30 6:03:22 Return value: Exiting... (error parsing command line)
2008-01-30 6:03:22 Running flvtool2: /usr/bin/flvtool2 -U /var/www/vhosts/sidgroups.com/httpdocs/flvideo/12016982011915144121.flv
2008-01-30 6:03:22 Calling process_video[18,0]
Any suggestion?
Re: Videos with audio not uploading
I tried to reinstall the ffmpeg software again, i am getting a new error
Temporary File Name :
File Size :0
File Type :
File Name :Freekick.mpg
[ERROR: 6] Missing a temporary folder.
Any idea?
Re: Videos with audio not uploading
Ok I fixed the tmp error by setting a temporary folder.
export TMPDIR=/tmp
or change in php.ini
But the audio loadin problem is not sloved. Plzzz help.
I am braking my head since 4 days.Tried different stuffs
Re: Videos with audio not uploading
Thanks
I got this fixed, i reinstalled Mplayer and now it work fine.