[ Video Sharing CMS v4 ] ffmpeg problem, video not working

Started by anb1990,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

anb1990Topic starter

ffmpeg problem, video not working, i got this when i run the ffmpeg tester
array(21) {
  [0]=>
  string(84) "ffmpeg version 1.2.6-7:1.2.6-1~trusty1 Copyright (c) 2000-2014 the FFmpeg developers"
  [1]=>
  string(69) "  built on Apr 26 2014 18:52:58 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)"
  [2]=>
  string(707) "  configuration: --arch=amd64 --disable-stripping --enable-avresample --enable-pthreads --enable-runtime-cpudetect --extra-version='7:1.2.6-1~trusty1' --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-postproc --enable-libcdio --enable-x11grab --enable-libx264 --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static"
  [3]=>
  string(40) "  libavutil      52. 18.100 / 52. 18.100"
  [4]=>
  string(40) "  libavcodec     54. 92.100 / 54. 92.100"
  [5]=>
  string(40) "  libavformat    54. 63.104 / 54. 63.104"
  [6]=>
  string(40) "  libavdevice    53.  5.103 / 53.  5.103"
  [7]=>
  string(40) "  libavfilter     3. 42.103 /  3. 42.103"
  [8]=>
  string(40) "  libswscale      2.  2.100 /  2.  2.100"
  [9]=>
  string(40) "  libswresample   0. 17.102 /  0. 17.102"
  [10]=>
  string(40) "  libpostproc    52.  2.100 / 52.  2.100"
  [11]=>
  string(37) "[avi @ 0x107e960] non-interleaved AVI"
  [12]=>
  string(54) "Guessed Channel Layout for  Input Stream #0.1 : stereo"
  [13]=>
  string(31) "Input #0, avi, from 'test.avi':"
  [14]=>
  string(11) "  Metadata:"
  [15]=>
  string(35) "    encoder         : Lavf56.19.100"
  [16]=>
  string(59) "  Duration: 00:00:04.90, start: 0.000000, bitrate: 677 kb/s"
  [17]=>
  string(95) "    Stream #0:0: Video: msmpeg4v2 (MP42 / 0x3234504D), yuv420p, 426x240, 30 tbr, 30 tbn, 30 tbc"
  [18]=>
  string(89) "    Stream #0:1: Audio: adpcm_ms ([2][0][0][0] / 0x0002), 44100 Hz, stereo, s16, 352 kb/s"
  [19]=>
  string(91) "ffmpeg: common/cpu.c:248: x264_cpu_detect: Assertion `!(cpu&(0x0000040|0x0000080))' failed."
  [20]=>
  string(21) "Aborted (core dumped)"
}
int(134)
  •  

PHPVibe A.

Hi, the last two lines have your actual error

  [19]=>
  string(91) "ffmpeg: common/cpu.c:248: x264_cpu_detect: Assertion `!(cpu&(0x0000040|0x0000080))' failed."
  [20]=>
  string(21) "Aborted (core dumped)"


What's your server hardware? ffmpeg is pretty heavy, looks like a cpu fail.
Try a very small file to see if ffmpeg is actually working.

anb1990Topic starter

I tried a very small file ,
ffmpeg was ok on my old server, my new one is 8 x old server
  •  

PHPVibe A.

I see, then is probably a bad ffmpeg installation. Remove it and reinstall it.

anb1990Topic starter

I removed it an re-installed it twice and the same issue still showing up
  •  

Bob.Weston

it is more than likely your lib x264 not the ffmpeg or the server config.. try recompiling with an updated lib x264.. for some reason it is detecting a cpu core overload.. or maybe the server is not configure properly
  •  

PHPVibe A.

Quote from: anb1990 on
I removed it an re-installed it twice and the same issue still showing up

Try a different install tutorial. I have problems with ffmpeg 17/18 installs :( so don't get limited to one tutorial/way.

Similar topics (7)