Advanced search

Medias (1)

Tag: - Tags -/ogg

Other articles (62)

  • La sauvegarde automatique de canaux SPIP

    1 April 2010, by

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Script d’installation automatique de MediaSPIP

    25 April 2011, by

    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 (...)

  • Automated installation script of MediaSPIP

    25 April 2011, by

    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 (...)

On other websites (5224)

  • Remuxing mp4 and change resolution with ffmpeg programmatically

    9 January 2015, by ariel

    I have a remuxing.c example working from ffmpeg but I need to change resolution to minimize file size, anybody can explain me how to do that? Or if there is another way to "compress" mp4 files without command line? I’m a begginer with FFmpeg and need to send video files from android to server, and I’m deploying a NDK library to make this job because FFmpeg command-line implementation have some limitations and is very slow.

    Thanks

  • Quick way to extract frames in low resolution

    29 March 2013, by Lescott

    I have a video (640x320) which I need to decode in frame array (BufferedImage's in 100x100 size).

    I can solve this problem with IMediaReader and MediaListenerAdapter by the following slow way.

    // create reader and add listener
    reader = ToolFactory.makeReader("video.mp4");
    reader.setBufferedImageTypeToGenerate(BufferedImage.TYPE_3BYTE_BGR);
    reader.addListener(new ImageSnapListener());

    //change scale of pictures in onVideoPicture
    public void onVideoPicture(IVideoPictureEvent event) {
     ...check the stream number...
     results.add(event.getImage().getScaledInstance(100, 100, Image.SCALE_SMOOTH));
    }

    But this way is really slow. Even without images scaling it works 30 seconds on 54 MB file, whereas ffmpeg can extract 100x100 frames in 8 seconds.

    ffmpeg -vf select='eq(pic_type\,I)' -i video.mp4 -s 100x100 /tmp/frames/%0d.bmp

    So, is there any faster in-memory way to extract frames in low resolution?

  • ffmpeg resizing video puts it at wrong resolution

    16 December 2015, by agmcleod

    I have a 1080p video that i’m trying to resize for an iOS app upload. So i tried scaling it to the iPhone 6 resolution of 1334x750:

    ffmpeg -i WrathTrailer.mp4 -strict -2 -vf scale=1334:750 WrathTrailer1334x750.mp4

    The output file comes to 1333x750. iTunes connect won’t accept it. Any ideas?