Recherche avancée

Médias (91)

Autres articles (6)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

Sur d’autres sites (2629)

  • use AForge.video.FFMPEG in c# 2008

    23 décembre 2013, par user2922938

    i work in visual studio 2008 in c# language, when run the program the error :

    $exception "Could not load file or assembly 'AForge.Video.FFMPEG,
    Version=2.2.5.0,

    Culture=neutral, PublicKeyToken=03563089b1be05dd' or one of its
    dependencies. An attempt

    was made to load a program with an incorrect format."

    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using AForge.Video.FFMPEG;


    namespace WindowsFormsApplication9
    {

    public partial class Form1 : Form
    {

       public Form1()
       {
           InitializeComponent();
       }


       private void button1_Click(object sender, EventArgs e)
       {
           VideoFileReader video = new VideoFileReader();
       }


    }

    what is wrong in program ??

  • Can't run exec('ffmpeg') ; ffmpeg, wamp & windows 2008 server

    15 mars 2015, par Nicholas Walker

    i’ve installed FFMPEG on my windows server. If i go to cmd and type ffmpeg -version i get the version, available commands etc. I use WAMP server with php 5.4.12

    The reason i am not using ffmpeg-php is because i have installed it with no errors and i cant use the extension for php even tho it says it is installed.

    When i try to do

    <?php
    echo exec('ffmpeg -version');
    ?>

    its totally blank, no errors or nothing.

    If i run

    <?php
    echo exec('whoami');
    ?>

    i get : nt authority\system

    So i can run exec in my php.

    I’ve also tried the same with shell_exec() ; ffmpeg not working with either of them.

    After looking at other stackoverflow questions i’ve seen people fixing this problem by allowing IIS user to use ffmpeg.exe. But i am using Wamp so i don’t know what to do.

    Any ideas ?

  • Replicate the format of a video to another

    10 octobre 2017, par Basj

    Let’s say I have :

    • video1.avi which is perfectly played (both sound and image) on my TV’s USB media input

    • video2.avi which is not recognized by the TV : "Imposible to read this format"

    I have tried lots of solutions, like :

    ffmpeg -i video2.avi -codec:a libmp3lame -q:a 0 -ac 2 -ar 48000 -joint_stereo 0^
          -codec:v libxvid -q:v 25 video2_reencoded.avi

    and when I compare video1.avi with video2_reencoded.avi with MediaInfo, they look similar in most aspects, but finally the TV won’t play video2_reencoded.avi.

    Is there a way with ffmpeg, to replicate all the specifications of video1.avi (sound encoding properties, video encoding properties, image size, container type, etc.) on video2.avi ?


    Appendix : output of MediaInfo for the three videos. In this specific example, video2.avi and video2_reencoded.avi are half-working : image ok but not the sound. In other video examples I tried, video2.avi and video2_reencoded.avi would be both totally "Impossible to read".

    video1.avi (i.e. working)

    Format                                   : AVI
    Format/Info                              : Audio Video Interleave
    File size                                : 352 MiB
    Duration                                 : 51 min 22 s
    Overall bit rate                         : 959 kb/s
    Writing application                      : VirtualDubMod 1.5.10.3 | ... || (build 2550/release)
    Writing library                          : VirtualDubMod build 2550/release

    Video
    ID                                       : 0
    Format                                   : MPEG-4 Visual
    Format profile                           : Advanced Simple@L5
    Format settings                          : BVOP1
    Format settings, BVOP                    : 1
    Format settings, QPel                    : No
    Format settings, GMC                     : No warppoints
    Format settings, Matrix                  : Default (MPEG)
    Codec ID                                 : XVID
    Codec ID/Hint                            : XviD
    Duration                                 : 51 min 22 s
    Bit rate                                 : 821 kb/s
    Width                                    : 720 pixels
    Height                                   : 400 pixels
    Display aspect ratio                     : 16:9
    Frame rate                               : 25.000 FPS
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Compression mode                         : Lossy
    Bits/(Pixel*Frame)                       : 0.114
    Stream size                              : 302 MiB (86%)
    Writing library                          : XviD 1.2.1 (UTC 2008-12-04)

    Audio
    ID                                       : 1
    Format                                   : MPEG Audio
    Format version                           : Version 1
    Format profile                           : Layer 3
    Codec ID                                 : 55
    Codec ID/Hint                            : MP3
    Duration                                 : 51 min 22 s
    Bit rate mode                            : Constant
    Bit rate                                 : 128 kb/s
    Channel(s)                               : 2 channels
    Sampling rate                            : 48.0 kHz
    Compression mode                         : Lossy
    Stream size                              : 47.0 MiB (13%)
    Alignment                                : Aligned on interleaves
    Interleave, duration                     : 40  ms (1.00 video frame)
    Interleave, preload duration             : 504  ms
    Writing library                          : LAME3.99r
    Encoding settings                        : -m s -V 4 -q 2 -lowpass 17 -b 128

    video2.avi (i.e. non-working)

    Format                                   : AVI
    Format/Info                              : Audio Video Interleave
    File size                                : 1.37 GiB
    Duration                                 : 2 h 12 min
    Overall bit rate                         : 1 478 kb/s
    Writing application                      : VirtualDubMod 1.5.10.2 Fr | ... ||  (build 2540/release)
    Writing library                          : VirtualDubMod build 2540/release

    Video
    ID                                       : 0
    Format                                   : MPEG-4 Visual
    Format profile                           : Advanced Simple@L5
    Format settings                          : BVOP1
    Format settings, BVOP                    : 1
    Format settings, QPel                    : No
    Format settings, GMC                     : No warppoints
    Format settings, Matrix                  : Default (H.263)
    Muxing mode                              : Packed bitstream
    Codec ID                                 : XVID
    Codec ID/Hint                            : XviD
    Duration                                 : 2 h 12 min
    Bit rate                                 : 1 084 kb/s
    Width                                    : 624 pixels
    Height                                   : 368 pixels
    Display aspect ratio                     : 5:3
    Frame rate                               : 25.000 FPS
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Compression mode                         : Lossy
    Bits/(Pixel*Frame)                       : 0.189
    Stream size                              : 1.00 GiB (73%)
    Writing library                          : XviD 1.2.1 (UTC 2008-12-04)

    Audio
    ID                                       : 1
    Format                                   : AC-3
    Format/Info                              : Audio Coding 3
    Codec ID                                 : 2000
    Duration                                 : 2 h 12 min
    Bit rate mode                            : Constant
    Bit rate                                 : 384 kb/s
    Channel(s)                               : 6 channels
    Sampling rate                            : 48.0 kHz
    Compression mode                         : Lossy
    Stream size                              : 364 MiB (26%)
    Alignment                                : Split accross interleaves
    Interleave, duration                     : 40  ms (1.00 video frame)
    Interleave, preload duration             : 512  ms

    video2_reencoded.avi (i.e. non-working, reencoded, but still non-working)

    Format                                   : AVI
    Format/Info                              : Audio Video Interleave
    Format profile                           : OpenDML
    File size                                : 1.13 GiB
    Duration                                 : 2 h 12 min
    Overall bit rate                         : 1 227 kb/s
    Writing application                      : Lavf57.26.100

    Video
    ID                                       : 0
    Format                                   : MPEG-4 Visual
    Format profile                           : Advanced Simple@L5
    Format settings                          : BVOP1
    Format settings, BVOP                    : 1
    Format settings, QPel                    : No
    Format settings, GMC                     : No warppoints
    Format settings, Matrix                  : Default (H.263)
    Muxing mode                              : Packed bitstream
    Codec ID                                 : XVID
    Codec ID/Hint                            : XviD
    Duration                                 : 2 h 12 min
    Bit rate                                 : 1 084 kb/s
    Width                                    : 624 pixels
    Height                                   : 368 pixels
    Display aspect ratio                     : 5:3
    Frame rate                               : 25.000 FPS
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Compression mode                         : Lossy
    Bits/(Pixel*Frame)                       : 0.189
    Stream size                              : 1.00 GiB (88%)
    Writing library                          : XviD 1.2.1 (UTC 2008-12-04)

    Audio
    ID                                       : 1
    Format                                   : MPEG Audio
    Format version                           : Version 1
    Format profile                           : Layer 3
    Codec ID                                 : 55
    Codec ID/Hint                            : MP3
    Duration                                 : 2 h 12 min
    Bit rate mode                            : Constant
    Bit rate                                 : 128 kb/s
    Channel(s)                               : 2 channels
    Sampling rate                            : 48.0 kHz
    Compression mode                         : Lossy
    Stream size                              : 120 MiB (10%)
    Alignment                                : Aligned on interleaves
    Interleave, duration                     : 24  ms (0.60 video frame)