Recherche avancée

Médias (91)

Autres articles (112)

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

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

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

Sur d’autres sites (12030)

  • video orientation detection in bash

    30 décembre 2020, par Miati

    I need to detect whether videos are recorded in portrait or landscape mode, then transpose those into the correct orientation, in a scripted fashion.

    



    if [ "$v_orient" ==  "landscape" ]
  then
    ffmpeg -i file.mp4 -vf "transpose=1" file.ogv
  else 
    ffmpeg -i file.mp4 file.ogv
fi


    



    I've looked in ffmpeg online documentation and googled around,

    



    I've attempted exiftool

    



    exiftool -Rotation -Rotate file.mp4


    



    However, this outputs Rotate : 90 for both landscape & portrait videos I have.

    




    



    How can I detect the video orientation in bash ?

    


  • ffmpeg encoding outputs a file with incorrect metadata

    20 juillet 2013, par user2554615

    I use ffmpeg to convert a flv file to an mp3 file like so in bash :

    ffmpeg -i path/to/file.flv path/to/output.mp3

    say the flv is 5 minutes long, the output file is supposedly say, 3 minutes long. however when played back it will reach the 3 minute mark and keep playing (as it should) the full length. when i try to skip to a portion of the song it only skips by fractions of the time it should, take for example if the video is labeled as 3 minutes long and i skip to the end, it will actually be playing the area that is about 30 seconds in. why is it doing this and how do i fix it ? is there any other utility that i can use that will effectively convert .flv and .mp4 files to .mp3 or .wav in a loss-less fashion while maintaining the correct metadata, preferably for windows ? perhaps an API i can use in java or c++ ?

    PS : i ask here because it relates to a command line utility and i assume that the the solution will relate to the options used in the command.

    PPS : i am using the ffmpeg that comes with puppy linux (precise) 5.4

  • Rendering video streaming in android

    16 avril 2013, par user1568549

    I've successfully cross-compiled a c++ streaming library to the ICS platform

    This library contains a sample player that uses sdl library to render the resulting decoded streams and libav for decoding that i've also succeeded to cross compile(libav ... classes) .Then, i 've made the necessary jni classes and tested it log tags it seems that everything is fine but now i want to show the result on the screen(show the real streaming not just log messages)

    I am searching for the easiest way to render my video-stream (just to be sure that everything works fine)

    Am i obliged to cross-compile the SDL library too ? Is it possible ? If yes is there any good tutorial ?

    Is there any other solution to render directly FFmpeg decoded frames ?