Recherche avancée

Médias (91)

Autres articles (80)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

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

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

Sur d’autres sites (11007)

  • Rotate mp4 videos without re-encoding

    6 juillet 2024, par stedes

    I'm looking for a way to rotate videos shot with my Nexus 4 on my Debian Wheezy sytem. The videos are shot in portrait mode and I would like to rotate them to landscape mode. Preferably the rotation is command-line driven.

    



    I have found several previous questions which are hinting at a good solution but I can't seem to manage to get it working.

    



    To begin with there was this question :
Rotating videos with FFmpeg

    



    But it indicates that ffmpeg is outdated and that I should use avconv. I found this question detailing the way to go forward.
https://askubuntu.com/questions/269429/how-can-i-rotate-video-by-180-degrees-with-avconv

    



    This made me using following command :

    



    avconv -i original.mp4 -vf "transpose=1" -codec:v libx264 -preset slow -crf 25 -codec:a copy flipped.mp4


    



    However, this is painstakingly slow (last test took me more than 6 hours for less than 3 minutes of footage) and does not result in a playable movie. I also get an error in logging output which states Mb Rate > level limit.

    



    Is there an issue here with the re-encoding ? Should I first re-encode the videos from my phone to another, more "workable" encoding before applying the rotations ? Or am I missing another important point ?

    


  • How to segment mp4 with ffmpeg or avconv, fast, where times are specified ?

    14 février 2018, par Vts

    I need to segment mp4 in specified pieces. They are all different durations. Example segmentation :

    1 - 0:00:00 to 0:01:11
    segment 2 - 0:01:11 to 0:04:24
    segment 3 - 0:05:51 to 0:06:30
    ...

    I already wrote a script extracting them one by one, but it is pretty slow.
    I guess because it wastes a lot of time opening the file, decoding and seeking from the beginning.

  • Quick way to extract extract frames in low resolution

    29 mars 2013, par 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 way to make Xuggler extract frames in low resolution ?