Recherche avancée

Médias (1)

Mot : - Tags -/géodiversité

Autres articles (35)

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

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

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (7498)

  • vaapi_encode_h265 : Ensure that ref pics are always in the RPS

    25 janvier 2019, par Mark Thompson
    vaapi_encode_h265 : Ensure that ref pics are always in the RPS
    

    When making a new P-frame when B-frames are present the previous P-frame
    is normally in the DPB because it will be referred to by subsequent
    B-frames. However, this is not true if there are no B-frames, or in edge
    cases where a GOP ends with two P-frames. Fix this by adding the direct
    ref pics to the RPS explicitly.

    Fixes #7699.

    Tested-by : Ullysses A Eoff <ullysses.a.eoff@intel.com>

    • [DH] libavcodec/vaapi_encode_h265.c
  • Shell script works fine from shell but doesn’t work as expected when executed via PHP “shell_exec” code

    9 décembre 2019, par Eric Feillant

    This record.sh script shell is here and works fine on command line to record an MP4 file from a local flv live stream :

    DATE=`date +"%d-%m-%Y-%T"`
    if [ -s NAMESTREAM ]
    then
    cat config.php | dos2unix | grep auth | grep username | \
    awk -F ' ' '{print $3}' | sed "s/'//g" | sed "s/;//g" | while read VAR
    do echo $VAR > RECSTREAM
    echo "Starting recording ..."
    ffmpeg -i "rtmp://localhost/hls/$VAR" -crf 19 videos/"$VAR"_"$DATE".mp4
    done
    else
    echo "Streaming is not started, please start it before"
    fi

    I send a shell_exec to call the last shell script in a php script like this :

    $old_path = getcwd();
    chdir('/usr/local/nginx/html/mydir');
    $output = shell_exec('nohup ./record.sh >/dev/null 2>/dev/null &amp;');
    chdir($old_path);

    The MP4 video files are generated but unreadable with VLC, etc… It seems that the problem is due to my PHP script but I am not able to know why.

    When executing from the shell command line : PHP myphpscript.php works fine, MP4 video files are OK. But from the PHP web page, the MP4 video files are corrupted.

    Any ideas ? Any param to test in FFmpeg to have a good mp4 video file ?

  • How do I write a batch file that opens a msys shell and then run commands in the shell ?

    19 septembre 2024, par cxu

    I'm trying to automate the process of building ffmpeg on Windows 10. I'm following the guide here : https://trac.ffmpeg.org/wiki/CompilationGuide/MSVC

    &#xA;&#xA;

    Everything works fine when I do it manually, however I want to write a batch file that I can run to go through the entire process automatically.

    &#xA;&#xA;

    Building requires me to set up the Visual Studio environment and the MSYS environment. This is where I'm having trouble, since running the MSYS environment opens up a new shell. I want to pass the configure/make/make install commands to the MSYS shell after it is opened.

    &#xA;&#xA;

    I've tried the solution here : How to open a new shell in cmd,then run script in a new shell ?

    &#xA;&#xA;

    The problem they had looks similar to mine, but the solutions posted there didn't work for me.

    &#xA;&#xA;

    Here is the bat file currently :

    &#xA;&#xA;

    call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64\vcvars64.bat"&#xA;call "C:\workspace\windows\mingw-get\msys\1.0\msys.bat" start cmd.exe /k bscript&#xA;pause&#xA;

    &#xA;&#xA;

    and bscript :

    &#xA;&#xA;

    ./configure --enable-shared --toolchain=msvc --arch=amd64&#xA;make&#xA;make install&#xA;

    &#xA;&#xA;

    I've tried all sorts of variations like :

    &#xA;&#xA;

    call "C:\workspace\windows\mingw-get\msys\1.0\msys.bat" /k bscript&#xA;call "C:\workspace\windows\mingw-get\msys\1.0\msys.bat" bscript&#xA;start "C:\workspace\windows\mingw-get\msys\1.0\msys.bat" /k bscript&#xA;start "C:\workspace\windows\mingw-get\msys\1.0\msys.bat" bscript&#xA;

    &#xA;&#xA;

    And I've also tried leaving the bscript code in the original batch file.

    &#xA;&#xA;

    The configure/make commands will either run in the original cmd window, a new cmd window or wont run at all.

    &#xA;&#xA;

    Is there a way to pass commands to the MSYS shell like that ?

    &#xA;