[ Video Sharing CMS v4 ] FFMPEG tester

Started by burak,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

burakTopic starter

How can i solve this problem?




File to convert: test.avi
Converted file: test.mp4
Command send to server: /usr/local/bin/ffmpeg -i test.avi -vcodec libx264 -s 640x360 -threads 4 -movflags faststart test.mp4 2>&1
FFmpeg output
array(16) {
 
  • =>
      string(83) "ffmpeg version git-2015-03-18-0f16dfd Copyright (c) 2000-2015 the FFmpeg developers"
      [1]=>
      string(56) "  built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-11)"
      [2]=>
      string(16) "  configuration:"
      [3]=>
      string(40) "  libavutil      54. 20.100 / 54. 20.100"
      [4]=>
      string(40) "  libavcodec     56. 28.100 / 56. 28.100"
      [5]=>
      string(40) "  libavformat    56. 25.101 / 56. 25.101"
      [6]=>
      string(40) "  libavdevice    56.  4.100 / 56.  4.100"
      [7]=>
      string(40) "  libavfilter     5. 12.100 /  5. 12.100"
      [8]=>
      string(40) "  libswscale      3.  1.101 /  3.  1.101"
      [9]=>
      string(40) "  libswresample   1.  1.100 /  1.  1.100"
      [10]=>
      string(31) "Input #0, avi, from 'test.avi':"
      [11]=>
      string(60) "  Duration: 00:00:06.80, start: 0.000000, bitrate: 1275 kb/s"
      [12]=>
      string(114) "    Stream #0:0: Video: msvideo1 (CRAM / 0x4D415243), rgb555le, 320x240, 1282 kb/s, 15 fps, 15 tbr, 15 tbn, 15 tbc"
      [13]=>
      string(13) "    Metadata:"
      [14]=>
      string(44) "      title           : Image11.avi Video #1"
      [15]=>
      string(25) "Unknown encoder 'libx264'"
    }
    int(1)


  •  

marketania

it seems that your ffmpeg does not support libx264 .. open ff.php and remove -vcodec libx264  from the command
  •  

PHPVibe A.

And what video codec would remain to encode if he removes libx264?
Remove and reinstall ffmpeg, it doesn't have the video codec (or it's damaged).

Similar topics (7)