Quote Originally Posted by EinfachClicken
Hi there, bplex.
Thanks for clarifying that, and also the issue with the buttons. As far as I was concerned, a button ALWAYS performs a function ... after all, that *IS* why it is a button. I always thought that the button value was "reserved" for the browser visible portion only.
So, since we're running 64bit Debian 4 with the latest php and sql, should I just go ahead and leave the file conversion stuff alone? We do have a stand-by server admin who really knows their stuff (just can't afford the rates all of the time) and they're looking into that cron issue for free. They'll let me know something within the next few days.
I'll let you know what I find out from them.
.
EinfachClicken
Your logic regarding buttons is correct. I guess, a better way of saying it is that buttons can do two things. They can trigger a sequence of events or they can BE the event itself. For example, a form asking you to fill out information usually has a submit button. In this case, the submit button merely transmits the information in the form to the script for processing. In the case of your issue above, the button IS what is being processed. In most cases, you can change the value of a button and it not hurt anything. However, in some cases (as in the function above), the script is looking for the "button" to contain a certain value (think of the button as the form) and, based on that value, performs certain actions.

With regards to your conversion issue, I would let your server guy take a deeper look into it. Once he is able to resolve that, your files should convert automatically.

Quote Originally Posted by pimpoff
Quote Originally Posted by buyscripts
Replace the video_conversion.php with the following

Code:
<?php

$cmd_ffmpeg = "$config[ffmpeg] -i '$video_src' -acodec libmp3lame -ar 22050 -ab 32 -f flv $video_flv";


# For latest version of mplayer
$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 -ofps 24 -vf harddup";

$cmd_all = $cmd_mencoder;

$convert_3gp = $cmd_all;
$convert_mp4 = $cmd_all;
$convert_mov = $cmd_all;
$convert_asf = $cmd_all;
$convert_mpg = $cmd_all;
$convert_avi = $cmd_all;
$convert_mpeg = $cmd_all;
$convert_wmv = $cmd_all;
$convert_rm = $cmd_all;
$convert_dat = $cmd_all;

Just tried that and still getting this: weird thing is that it worked fine before. I have videos that have been converted and watermarked.


Return value: Exiting...

Running flvtool2: export LD_LIBRARY_PATH=/home/japa13/lib; /home/japa13/bin/flvtool2 -U /home/japa13/cult.com/flvideo/12229750961890241208.flv

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.
Can you post the entire conversion log and not just that line. Seeing the entire process helps to solve the error.