Recherche avancée

Médias (0)

Mot : - Tags -/gis

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

Autres articles (69)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (10908)

  • Why do I get different codecs on Windows and Linux with same code ?

    27 janvier 2016, par user3277340

    I am using the API version of FFMPEG to generate a MP4 file from a series of images. I specify the output by calling

    AVFormatContext *oc = NULL ;
    avformat_alloc_output_context2 (&oc,NULL,"mp4",NULL) ;

    Running the exact same code on Windows and Linux I get different codecs assigned. On Windows, the value of oc->oformat->video_code is AV_CODEC_ID_H264 (28), but on Linux I get AV_CODEC_ID_MPEG4.

    I tracked this down because on Windows my calls to avcodec_encode_video2(.,.,.,&got_packet) were always returning got_packet=0 so I never called av_interleaved_write_frame. I added a NULL AVFrame at the end to flush the video. But it was very small and did not contain the images I expected to see there.

    But on Linux everything worked just fine. So I went ahead and manually changed the value of oc->oformat->video_code and I got the expected results.

    My questions :

    1) Why do I get different codec types on different platforms with the same code ? Is there a parameter I need to set to force MPEG4 ?

    2) Is it "legal" to change this parameter after the call to avformat_alloc_output_context2 ? My concern is that "oc" has been properly initialized and, with the change, something may be inconsistent.

    3) Is there a way to force the MPEG4 codec on any machine ?

    Thanks.

  • avcodec/exif : avoid allocation failure on empty EXIF metadata

    24 août, par Leo Izen
    avcodec/exif : avoid allocation failure on empty EXIF metadata
    

    An EXIF IFD with 0 entries is legal, but does not contain metadata. We
    should not attempt to allocate a struct with size zero in this case, as
    this causes an allocation failure. Instead, we just leave the struct
    empty.

    Fixes : #20305.

    Signed-off-by : Leo Izen <leo.izen@gmail.com>

    • [DH] libavcodec/exif.c
  • FFMPEG / FFMPLAY readvitc in Python or C#

    23 février 2021, par Sérgio Herculano

    I have the ffplay command below that read a file with VITC timecode and display timecode information in the screeen.

    &#xA;

    ffplay -vf "readvitc=scan_max=45,crop=iw:16:0:0,scale=1440:16:flags=neighbor,setdar=90/1,drawtext=fontfile=C\\:/windows/Fonts/arial.ttf:fontcolor=yellow:fontsize=12:box=1:boxcolor=black@0.5:x=(w-tw)/2:y=h*3/4-ascent:text=VITC %{metadata\\\:lavfi.readvitc.tc_str\\\:-- -- -- --}" ./TC_01_10_00_00.mp4&#xA;

    &#xA;

    When I run it in Windows it is displaying timecode information correctly, my question is how can I write a program in Python in order to get this VITC timecode information and use this as a variable ?

    &#xA;

    Anyone knows a way to do that ?

    &#xA;

    Thanks in advance.

    &#xA;