Recherche avancée

Médias (0)

Mot : - Tags -/signalement

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (56)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (6565)

  • sh : ffmpeg : command not found when run command through php

    9 avril 2015, par Ashok

    I have installed successfully installed FFMpeg on root of my Centos 6 machine (https://trac.ffmpeg.org/wiki/CompilationGuide/Centos).

    My workplace of apache/php is /var/www/html

    Now I’m running below command successfully on /var/www/html directory to capture frame from the video file. It’s capturing a frame.

    [root@localhost html]# ffmpeg -i video.mpg -an -ss 30  -t 00:00:01 -r 1 -y -vcodec mjpeg -f mjpeg -s 160x100 frame8  2>&1

    I want to run this command through php and using shell_exec() or exec() php functions. My php code for running the command is :

    $cmd = "/root/bin/ffmpeg -i /project/app/webroot/videos/video.mpg -ss 00:00:14.435 -f image2 -vframes 1 /project/app/webroot/videothumbnails/example-thumb.jpg";
    $locale = 'en_IN.UTF-8';
    setlocale(LC_ALL, $locale);
    putenv('LC_ALL='.$locale);
    echo shell_exec($cmd);

    When I’m trying to run command through above php code, I’m getting below error :

    sh: ffmpeg: command not found

    Please help me to solve out this problem.

  • Yes or no, will ffmpeg api do hardware decoding on iOS ?

    15 janvier 2019, par Fattie

    There seems to be conflicting information on this.

    https://trac.ffmpeg.org/wiki/HWAccelIntro

    notice the first diagram, it firmly marks iOS as “Y” on VideoToolbox

    enter image description here

    however in the comments down the bottom it says

    VideoToolbox. ​VideoToolbox, only supported on macOS. H.264 decoding is available in FFmpeg/libavcodec.

    And in the confusing second diagram it says "Standalone" is not done for VideoToolbox.

    We have found that using ffmpeg compiled in to iOS .... it seems to not use hardware decoding, which is really a pain.

    1. With avcodec_get_hw_config() we get AV_PIX_FMT_VIDEOTOOLBOX, AV_HWDEVICE_TYPE_VIDEOTOOLBOX which is seemingly correct.

    2. But usage and framerates clearly shows everything is being done in CPU. The code is in ff_hevc_hls_residual_coding all the time. (That’s fffmpeg’s software decoder.)

    3. This very diff very long git.videolan.org URL here seems to suggest again it should all be working.

    4. Have tried every iPhone etc. of course

  • How can I use ffmpeg to convert all HEVC videos to h.264 videos only on linux ? [closed]

    13 juillet 2022, par Jayden Lo

    I am trying to import all my images and videos from Google Photos to Nextcloud. I used Google Takeout to download them, but some videos are in HEVC format, which is not supported by most devices. How can I batch convert all HEVC videos to h.264 ? I am using Ubuntu and here is my file structure :

    


    ./Photos/
  Image1.jpg
  Image2.jpg
  ...
  HEVC-Video1.mp4
  HEVC-Video2.mp4
  HEVC-Video3.mp4
  ...
  H.264-Video1.mp4
  H.264-Video2.mp4
  ...


    


    Thanks in advance.