Recherche avancée

Médias (91)

Autres articles (84)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

Sur d’autres sites (8072)

  • 24 cores, 25 ffmpeg session - cpu looks good but load average high

    9 août 2012, par thevoipman

    I don't know if it's my script or just the system itself, but I definitely don't want to take anything down.

    I am running a centos 6.3 64bit with about 25 sessions of ffmpeg encoding

    1. I am trying to speed up ffmpeg encoding, but it seems like whatever ram or cpu I have, the encoding process still take very long. I have used -threads 0 or even -threads 16 to see if it speed up but it doesn't.

    2. My load average is very high, how can I lower this without terminating ffmpeg tasks ?

    top - 19:33:28 up 13:09,  2 users,  load average: 161.95, 161.07, 161.02
    Tasks: 523 total,   3 running, 520 sleeping,   0 stopped,   0 zombie
    Cpu(s): 14.0%us,  1.1%sy, 84.4%ni,  0.1%id,  0.0%wa,  0.0%hi,  0.4%si,  0.0%st
    Mem:  65943668k total, 65676464k used,   267204k free,   137428k buffers
    Swap:  8388600k total,   170992k used,  8217608k free, 56438576k cached
    1. Here is my cpu usage :
     08/09/2012      _x86_64_        (24 CPU)

    07:34:15 PM  CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest   %idle
    07:34:15 PM  all   10.83   86.27    0.55    0.03    0.00    0.14    0.00    0.00    2.19
    07:34:15 PM    0   18.68   69.92    5.82    0.39    0.00    3.22    0.00    0.00    1.97
    07:34:15 PM    1   11.11   86.26    0.45    0.02    0.00    0.00    0.00    0.00    2.16
    07:34:15 PM    2   11.07   86.34    0.42    0.02    0.00    0.00    0.00    0.00    2.17
    07:34:15 PM    3   10.89   86.50    0.43    0.02    0.00    0.00    0.00    0.00    2.16
    07:34:15 PM    4   11.05   86.31    0.45    0.02    0.00    0.00    0.00    0.00    2.17
    07:34:15 PM    5   11.07   86.34    0.41    0.01    0.00    0.00    0.00    0.00    2.16
    07:34:15 PM    6   12.79   84.56    0.48    0.06    0.00    0.07    0.00    0.00    2.05
    07:34:15 PM    7   11.32   86.34    0.18    0.01    0.00    0.00    0.00    0.00    2.15
    07:34:15 PM    8   11.49   86.15    0.18    0.01    0.00    0.00    0.00    0.00    2.17
    07:34:15 PM    9   11.95   85.67    0.19    0.01    0.00    0.00    0.00    0.00    2.18
    07:34:15 PM   10   11.73   85.90    0.19    0.01    0.00    0.00    0.00    0.00    2.18
    07:34:15 PM   11   11.56   86.08    0.18    0.01    0.00    0.00    0.00    0.00    2.17
    07:34:15 PM   12   13.59   82.43    1.33    0.09    0.00    0.00    0.00    0.00    2.56
    07:34:15 PM   13    8.72   88.76    0.29    0.02    0.00    0.00    0.00    0.00    2.21
    07:34:15 PM   14    8.84   88.67    0.28    0.02    0.00    0.00    0.00    0.00    2.20
    07:34:15 PM   15    8.76   88.71    0.32    0.02    0.00    0.00    0.00    0.00    2.19
    07:34:15 PM   16    8.73   88.75    0.29    0.02    0.00    0.00    0.00    0.00    2.21
    07:34:15 PM   17    8.76   88.75    0.26    0.02    0.00    0.00    0.00    0.00    2.21
    07:34:15 PM   18   10.35   87.16    0.24    0.02    0.00    0.00    0.00    0.00    2.23
    07:34:15 PM   19    9.16   88.48    0.17    0.01    0.00    0.00    0.00    0.00    2.17
    07:34:15 PM   20    9.45   88.19    0.18    0.01    0.00    0.00    0.00    0.00    2.18
    07:34:15 PM   21    9.62   88.01    0.17    0.01    0.00    0.00    0.00    0.00    2.20
    07:34:15 PM   22    9.73   87.88    0.17    0.01    0.00    0.00    0.00    0.00    2.20
    07:34:15 PM   23    9.44   88.21    0.16    0.01    0.00    0.00    0.00    0.00    2.18

    Please let me know if I'm seeing any trouble coming up if I keep on adding more ffmpeg's tasks

  • How to parse ffmpeg info in PHP ?

    29 mai 2013, par Jizbo Jonez

    How does one go about getting specific pieces of information, like the 'duration' from the output of ffmpeg -i /var/thismovie.avi ?

    I need frame height, frame width, duration of movie and frame rate. All of these are in the out put of the above command but how do i get the bits i need individually and put them in a variable in PHP ?

    I've given up on trying to install ffmpeg-php which is what I used before this to do the same job.

    Thanks

    ffmpeg -i /var/thismovie.avi produce an output like this

    ffmpeg version N-43171-ga763caf Copyright (c) 2000-2012 the FFmpeg developers built on Aug 3 2012 07:56:19 with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-52) configuration: --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-pic --enable-libx264 --enable-libxvid --disable-ffplay --enable-shared --enable-gpl --enable-postproc --enable-nonfree --enable-avfilter --enable-pthreads --extra-cflags=-fPIC libavutil 51. 66.100 / 51. 66.100 libavcodec 54. 48.100 / 54. 48.100 libavformat 54. 22.100 / 54. 22.100 libavdevice 54. 2.100 / 54. 2.100 libavfilter 3. 5.102 / 3. 5.102 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 15.100 / 0. 15.100 libpostproc 52. 0.100 / 52. 0.100 [avi @ 0x18e8e240] non-interleaved AVI [avi @ 0x18e8e240] max_analyze_duration 5000000 reached at 5000000 Input #0, avi, from '/var/www/vhosts/mysite.com/httpdocs/movie.avi': Duration: 00:00:10.76, start: 0.000000, bitrate: 5180 kb/s Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 25 tbn, 50 tbc Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, s16, 128 kb/s At least one output file must be specified`
  • Write webcam video with avconv

    31 juillet 2012, par Jones

    Have problem to write video avi with avconv

    I try using

    avconv -v debug -f video4linux2 -i /dev/video1 frontal.avi

    but video not correct. I see this line [video4linux2 @ 0x8100b00] The v4l2 frame is 8160 bytes, but 614400 bytes are expected and I don't identify options to correct this.

    Output of debug

    avconv version 0.8.3-4:0.8.3-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers
     built on Jun 12 2012 16:37:58 with gcc 4.6.3
     configuration: --extra-version='4:0.8.3-0ubuntu0.12.04.1' --arch=i386 --prefix=/usr --libdir=/usr/lib/i386-linux-gnu --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-libfreetype --enable-vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --shlibdir=/usr/lib/i386-linux-gnu/i686/cmov --cpu=i686 --enable-shared --disable-static
     libavutil    51. 22. 1 / 51. 22. 1
     libavcodec   53. 35. 0 / 53. 35. 0
     libavformat  53. 21. 0 / 53. 21. 0
     libavdevice  53.  2. 0 / 53.  2. 0
     libavfilter   2. 15. 0 /  2. 15. 0
     libswscale    2.  1. 0 /  2.  1. 0
     libpostproc  52.  0. 0 / 52.  0. 0
    [video4linux2 @ 0x8100b00] [3]Capabilities: 4000001
    [video4linux2 @ 0x8100b00] Querying the device for the current frame size
    [video4linux2 @ 0x8100b00] Setting frame size to 640x480
    [video4linux2 @ 0x8100b00] The V4L2 driver set input_id: 0, input: Camera 1
    [video4linux2 @ 0x8100b00] The v4l2 frame is 8160 bytes, but 614400 bytes are expected
    [rawvideo @ 0x8102920] err{or,}_recognition separate: 1; 1
    [rawvideo @ 0x8102920] err{or,}_recognition combined: 1; 1
    [video4linux2 @ 0x8100b00] Estimating duration from bitrate, this may be inaccurate
    Input #0, video4linux2, from '/dev/video1':
     Duration: N/A, bitrate: 147456 kb/s
       Stream #0.0, 0, 1/1000000: Video: rawvideo, yuyv422, 640x480, 1/30, 147456 k
    File 'frontal.avi' already exists. Overwrite ? [y/N] y
    Incompatible pixel format 'yuyv422' for codec 'mpeg4', auto-selecting format 'yu
    [buffer @ 0x81020c0] w:640 h:480 pixfmt:yuyv422
    [avsink @ 0x81022a0] auto-inserting filter 'auto-inserted scaler 0' between the
    [scale @ 0x81026e0] w:640 h:480 fmt:yuyv422 -> w:640 h:480 fmt:yuv420p flags:0x4
    [mpeg4 @ 0x81019a0] err{or,}_recognition separate: 1; 1
    [mpeg4 @ 0x81019a0] err{or,}_recognition combined: 1; 1
    [mpeg4 @ 0x81019a0] detected 1 logical cores
    [mpeg4 @ 0x81019a0] Unsupported bit depth: 0
    [rawvideo @ 0x8102920] err{or,}_recognition separate: 1; 1
    [rawvideo @ 0x8102920] err{or,}_recognition combined: 1; 1
    Output #0, avi, to 'frontal.avi':
     Metadata:
       ISFT            : Lavf53.21.0
       Stream #0.0, 0, 1/30: Video: mpeg4, yuv420p, 640x480, 1/30, q=2-31, 200 kb/s