Recherche avancée

Médias (91)

Autres articles (112)

  • 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 ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

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

Sur d’autres sites (13150)

  • avcodec/libx264 : Set min build version to 158 for msvc

    9 juin 2022, par Matt Oliver
    avcodec/libx264 : Set min build version to 158 for msvc
    

    Was "[PATCH] libx264 : Do not explicitly set X264_API_IMPORTS"

    Setting X264_API_IMPORTS only affects msvc builds and it breaks
    linking to static builds (although is required for shared builds).
    This flag is set by x264 in its pkgconfig as required since build
    158 (a615f027ed172e2dd5380e736d487aa858a0c4ff) from July 2019.
    So this patch updates configure to require a newer x264 build that
    correctly sets the imports flag.

    The min version requirement of 158 is applied for msvc builds only.

    This is also removing the check for 'libx264 without pkg-config'
    which was left for compatibility reasons about 7 years ago when
    the pkg-config check was introduced by commit
    e06263ef1e0e172b2c76070b3dc739411af08e82.

    Co-authored-by : softworkz <softworkz@hotmail.com>
    Signed-off-by : softworkz <softworkz@hotmail.com>
    Signed-off-by : Matt Oliver <protogonoi@gmail.com>
    Signed-off-by : Marton Balint <cus@passwd.hu>

    • [DH] configure
    • [DH] libavcodec/libx264.c
  • How to convert a video to be compatible with facebook graph (reel) api

    25 mai 2023, par Micha

    I am currently trying to get this api to work : create user media

    &#xA;

    Everything works if I try to post photos. But as soon as I try to post a reel I always get the same error :

    &#xA;

    {&#xA;  "error": {&#xA;    "message": "The video file you selected is in a format that we don&#x27;t support.",&#xA;    "type": "OAuthException",&#xA;    "code": 352,&#xA;    "error_subcode": 2207026,&#xA;    "is_transient": false,&#xA;    "error_user_title": "Unsupported format",&#xA;    "error_user_msg": "The video format is not supported. Please check spec for supported streams format",&#xA;   "fbtrace_id": "<removed>"&#xA;  }&#xA;} &#xA;</removed>

    &#xA;

    So I look into the reel specifications here : reel specification

    &#xA;

    Try as I might, I cannot get it to work. I work with technical google searches all day long, yet this time I seem to be looking in a completely wrong direction.

    &#xA;

    I have tried converters like Any Video Converter.

    &#xA;

    I have tried ffmpeg with the following command : ffmpeg -i input.mp4 -c:v libx264 -aspect 16:9 -crf 18 -vf "scale=iw*min(1280/iw\,720/ih):ih*min(1280/iw\,720/ih),pad=1280:720:(1280-iw)/2:(720-ih)/2" -fpsmax 60 -preset ultrafast -c:a aac -b:a 128k -ac 1 -pix_fmt yuv420p -movflags &#x2B;faststart -t 59 -y output.mp4

    &#xA;

    If there is a solution with ffmpeg I would appreciate it as I could automate much of the process. But if you know of any converter software I would gladly take that as well.

    &#xA;

    I think the main problem is the container requirement MPEG-4 Part 14. I can't seem to find any software that is able to produce a video with the required format. The closest I have gotten is MPEG-4 Part 10 but that doesn't work with the api.

    &#xA;

    Any help would be greatly appreciated.

    &#xA;

  • Output of ffmpeg into HDFS directly

    1er juillet 2016, par Maddy

    I have a requirement in which I have to convert a RTSP stream into mp4 video or frames (as the case may be) & want to save them in HDFS (Hadoop Filesystem).

    For this I have tried using ffmpeg to convert the RTSP stream into mp4 video/frames & saving the video/frames in local filesystem. Like below -
    ffmpeg -i rtsp://10.0.37.150:8554/big_bunny.mkv -r 1 -f image2 frames/big_frame-%3d.bmp
    ffmpeg -i rtsp://10.0.37.150:8554/big_bunny.mkv big_bunny.mp4

    And then saving the video/frames (stored in local filesystem) into hdfs using put command -
    hadoop fs -put frames/ /user/maddy/
    hadoop fs -put big_bunny.mp4 /user/maddy/

    This is working. But I want to do this directly (that is in one step without saving the required files in local filesystem)

    I tried something (like below command) but it is not working
    ffmpeg -i rtsp://10.0.37.150:8554/big_bunny.mkv hdfs://localhost:9000/user/maddy/big_bunny.mp4

    I get this error -
    hdfs://localhost:9000/user/maddy/big_bunny.mp4: Protocol not found

    So is there any way in which using ffmpeg I can directly save these files into hdfs without first saving in my local filesystem.
    Or is there any other tool through which I can achieve this ?

    EDIT :

    Tried ffmpeg -i rtsp://10.0.37.150:8554/big_bunny.mkv - | hadoop fs -put - /user/maddy/
    as suggested by @incBrain

    But received this error -

    [NULL @ 0xce37a0] Unable to find a suitable output format for 'pipe:'
    pipe:: Invalid argument