Recherche avancée

Médias (0)

Mot : - Tags -/auteurs

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (112)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

Sur d’autres sites (10429)

  • How to swap package configuration for environment

    24 juillet 2018, par Finn Maunsell

    I’d like to change the location that I get ffmpeg from for my anaconda environment. The problem has occured because I want to use the ffmpeg configuration for my base system instead of the configuration meant for the environment.

    If I use ffmpeg in ubuntu bash then I get this for my active environment :

     ffmpeg version N-91510-gd134b8d Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.10) 20160609
     configuration: --prefix=/home/notebook/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/notebook/ffmpeg_build/include --extra-ldflags=-L/home/notebook/ffmpeg_build/lib --extra-libs='-lpthread -lm' --bindir=/home/notebook/bin --enable-gpl --enable-libaom --enable-openssl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree

    and for non-environment :

    ffmpeg version 3.4.1 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 4.8.2 (GCC) 20140120 (Red Hat 4.8.2-15)
     configuration: --prefix=/home/notebook/anaconda2/envs/tensorflow --disable-doc --enable-shared --enable-static --extra-cflags='-Wall -g -m64 -pipe -O3 -march=x86-64 -fPIC -I/home/notebook/anaconda2/envs/tensorflow/include' --extra-cxxflags='=-Wall -g -m64 -pipe -O3 -march=x86-64 -fPIC' --extra-libs=
    '-L/home/notebook/anaconda2/envs/tensorflow/lib -lz' --enable-pic --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --enable-libx264

    Solving this will allow me to use the 2nd ffmpeg installation in my conda environment.

  • ASP.NET MVC - Converting Video Format From Email Attachment Scanner

    24 juillet 2018, par BenHayward

    We have a Quartz scheduler that scans the company email account every 60 seconds, and will process those emails accordingly. Any attachments are stored in a byte array.

    Video attachments need to be converted to an MP4 and then back to a byte array to be stored in the DB ; I am trying to use FFMPEG (fflib) to complete this, however I’m having trouble figuring out how it can be done with a byte array as the source - the company have stated that this conversion must be done before it enters the database.

    Is the conversion of a byte array possible using the Process Class to access the FFMPEG CLI ?

    Here is the code I currently have, just using local file locations (using fflib ffmpeg library).

    public IList<documentstoreattachment> AddDocumentsToDocumentStore(IList<fileattachment> documentsToStore, Guid personId, IList<documentattributedto> documentAttributes)
           {
               var storedDocuments = new List<documentstoreattachment>();

               foreach (var documentToStore in documentsToStore)
               {
                   try
                   {
                       if (IsExtensionAllowed(documentToStore.AttachmentName))
                       {

                           if (documentToStore.MimeType == "mpeg")
                           {
                               Job2Convert job = new Job2Convert()
                               {
                                   pszSrcFile = @"..\..\Amigo Loans 2018 Advert MPG.mpg",
                                   pszDstFile = @"C:\Users\ben.hayward\Desktop\Amigo Loans 2018 Advert MPG.mp4",

                                   pszDstFormat = "mp4",
                                   pszAudioCodec = "aac",

                                   nAudioChannels = 2,
                                   nAudioBitrate = -1,
                                   nAudioRate = -1,

                                   pszVideoCodec = "h264",

                                   nVideoBitrate = -1,
                                   nVideoFrameRate = -1,
                                   nVideoFrameWidth = -1,
                                   nVideoFrameHeight = -1

                               };

                               _sut.ConvertFile(job);

                           }

                           storedDocuments.Add(AddDocumentToDocumentStore(documentToStore.AttachmentName, documentToStore.ByteArray, documentToStore.MimeType, personId, documentAttributes));
                       }
                       else
                       {
                           Logger.WarnFormat("AddDocumentsToDocumentStore: File extension not allowed for file name: {0}, person id: {1}", documentToStore.AttachmentName, personId);
                       }
                   }
                   catch (Exception e)
                   {
                       #region Error

                       Logger.Error(String.Format("There was a problem saving the document to the document store. The file name was {0}, person id: {1}",
                           documentToStore.AttachmentName, personId), e);

                       #endregion
                   }
               }

               return storedDocuments;
           }
    </documentstoreattachment></documentattributedto></fileattachment></documentstoreattachment>

    Thank you in advance.

  • Fixing a corrupted .MP4 file. which might be a 3gp file

    2 juin 2020, par Tendekai Muchenje

    I have a file called input.MP4 and it is corrupted. It's from a CCTV camera. I tried everything, ffmpeg, VLC convert, no luck. However, I used mediainfo and exiftool and extracted the following info. I am wondering if someone can figure out if I can use any of this info to fix it or convert it to a usable format. I have a copy of it here on my Google Drive

    &#xA;&#xA;

    mediainfo gave me this :

    &#xA;&#xA;

    General&#xA;Complete name                       : input.MP4&#xA;Format                              : MPEG-4&#xA;Format profile                      : 3GPP Media Release 5&#xA;Codec ID                            : 3gp5 (3gp5/3gp4/avc1/mp42/isom)&#xA;File size                           : 5.77 MiB&#xA;IsTruncated                         : Yes&#xA;

    &#xA;&#xA;

    exiftool gave me this :

    &#xA;&#xA;

    ExifTool Version Number          : 10.80&#xA;File Name                        : input.MP4&#xA;Directory                        : /home/tendi/Downloads&#xA;File Size                        : 5.8 MB&#xA;File Modification Date/Time      : 2018:07:21 19:09:03-04:00&#xA;File Access Date/Time            : 2018:07:21 19:30:48-04:00&#xA;File Inode Change Date/Time      : 2018:07:21 19:30:48-04:00&#xA;File Permissions                 : rw-rw-r--&#xA;File Type                        : 3GP&#xA;File Type Extension              : 3gp&#xA;MIME Type                        : video/3gpp&#xA;Major Brand                      : 3GPP Media (.3GP) Release 5&#xA;Minor Version                    : 0.0.0&#xA;Compatible Brands                : 3gp5, 3gp4, avc1, mp42, isom&#xA;Movie Data Size                  : 5899106&#xA;Movie Data Offset                : 44&#xA;

    &#xA;&#xA;

    Any suggestions ?

    &#xA;