Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (80)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

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

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (7177)

  • Where to add FilterChain when using with Shell Script

    20 janvier 2016, par senty

    I am trying to get a jpg out of an mp4 video’s middle. I used this line and it works like charm for generating jpg thumbnail in one line :

    ffmpeg -i input.mp4 -vcodec mjpeg -vframes 1 -an -f rawvideo -ss `ffmpeg -i input.mp4 2>&1 | grep Duration | awk '{print $2}' | tr -d , | awk -F ':' '{print $3/2}'` output.jpg

    However, I want to apply scaling and cropping a filter chain (filter:v) with the above line, but where ever I put the filter, I couldn’t make it work.

    -filter:v "scale=720:ih*720/iw, crop=720:720:280:1000".

    Where should I put it ?

    The errors I receive :

    At least one output file must be specified

    Invalid duration specification for ss: -filter:v

    Please note that this works :

    ffmpeg -i fkj.mp4 -vcodec mjpeg -filter:v "scale=720:ih*720/iw, crop=720:720:280:1000" -vframes 1 -an -f rawvideo -ss 4  output.jpg

  • execute shell command on php [duplicate]

    27 juin 2015, par Jaspreet Singh

    This question already has an answer here :

    $command = "ffmpeg -i '" . $img_full_name . "' -vf scale=200:200 '" . $img_thumb_name . "'" ;

       $output=shell_exec($command);  
       echo $output;
       die;

    I am using this code to execute command in php but it gives me blank out put. Same command works if I Directly execute it on ssh.

  • Cannot join mp3 file and avi file with ffmpeg

    13 novembre 2014, par RULE101

    I am using this code to join an mp3 file and video file with ffmpeg

    ffmpeg -i /file1.mp3 -ab 128k -i /file2.avi  -vcodec copy -f avi /file3.avi

    But this code gives that error

    Option ab (audio bitrate (please use -b:a)) cannot be applied to input file /file1.mp3 -- you are trying to apply an input option to an output file or vice versa. Move this option before the file it belongs to.
    Error parsing options for input file /file1.mp3.
    Error opening input files: Invalid argument

    How can i do this job ?