Recherche avancée

Médias (1)

Mot : - Tags -/iphone

Autres articles (57)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

Sur d’autres sites (10879)

  • 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;