uncorrect syntax using FFmpeg [converting videos] [PHP] :) : Hello guys i am tring to convert videos using FFmpeg...

1.  I moved ffmpeg.exe in same folder with upload.php

2.  I tryed this codes in **upload.php**:

     `$randname = (rand(0,1000));
          $file_data=date("d-m-Y-H-i-s");
          $file_name=$file_data.$randname;
          move_uploaded_file($file_tmp,"vidconvert/".$file_name);
          exec (ffmpeg -i vidconvert/.$file_name videos/.$file_name.mp4);
          echo "Success";`

3. I want to get the file in **vidconvert** folder, and copy converted video to **videos** folder

Note: when i check the **vidconfert** folder, the file is uploaded succesfully