Recherche avancée

Médias (91)

Autres articles (89)

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

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

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

Sur d’autres sites (11160)

  • 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

    


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

  • Why mp4 can not shared on Facebook or Instagram on Android ?

    8 janvier 2023, par János

    This is the file : https://t44-post-cover.s3.eu-central-1.amazonaws.com/2e3s.mp4

    &#xA;

    When I download and try share, it fails. Why ? This is the parameters was rendered. Downloading and sharing works from iPhone to Facebook on Messenger or Instagram, but not from Android phone to Facebook on Messenger or Instagram.

    &#xA;

    What parameters ffpmpeg need to be able to share mp4 from Android to Facebook / Instagram ?

    &#xA;

    await new Promise<void>((resolve, reject) => {&#xA;        ffmpeg()&#xA;            .setFfmpegPath(pathToFfmpeg)&#xA;            .input(`/tmp/input_${imgId}.gif`)&#xA;            .inputFormat(&#x27;gif&#x27;)&#xA;            .inputFPS(30)&#xA;            .input(&#x27;anullsrc&#x27;)&#xA;            .inputFormat(&#x27;lavfi&#x27;)&#xA;            .audioCodec(&#x27;aac&#x27;)&#xA;            .audioChannels(2)&#xA;            .audioFilters([&#x27;apad&#x27;])&#xA;            .videoCodec(&#x27;libx264&#x27;)&#xA;            .videoBitrate(1000)&#xA;            .videoFilters([&#xA;                &#x27;tpad=stop_mode=clone:stop_duration=2&#x27;,&#xA;                &#x27;scale=trunc(iw/2)*2:trunc(ih/2)*2:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse&#x27;,&#xA;            ])&#xA;            .fps(30)&#xA;            .duration(5)&#xA;            .format(&#x27;mp4&#x27;)&#xA;            .outputOptions([&#xA;                &#x27;-pix_fmt yuvj420p&#x27;,&#xA;                &#x27;-profile:v baseline&#x27;,&#xA;                &#x27;-level 3.0&#x27;,&#xA;                &#x27;-crf 17&#x27;,&#xA;                &#x27;-movflags &#x2B;faststart&#x27;,&#xA;                &#x27;-movflags frag_keyframe&#x2B;empty_moov&#x27;,&#xA;            ])&#xA;            .output(`/tmp/output_${imgId}.mp4`)&#xA;            .on(&#x27;end&#x27;, () => {&#xA;                console.log(&#x27;MP4 video generated&#x27;)&#xA;                resolve()&#xA;            })&#xA;            .on(&#x27;error&#x27;, (e) => {&#xA;                console.log(e)&#xA;                reject()&#xA;            })&#xA;            .run()&#xA;    })&#xA;</void>

    &#xA;

  • Alternatives to Facebook 360 Encoder for Spatial + Headlock Encoding ?

    31 juillet 2023, par Robert N

    Unfortunately FB 360 Encoder is no longer being worked on with no alternatives that I can find & right now I cannot get it to work on mac.

    &#xA;

    I am looking to combine two stems as per the tutorial here - 1 spatial audio (16channel) with 1 headlock audio (stereo) for a 180 stereo (side by side) video in the highest quality allowed for a Meta Quest 2 headset.

    &#xA;

    FFMPEG recipes are preferred but paid alternatives are welcome. So far the best I could find for encoding was "use the old software" but even if it worked, I do not trust out of date/dead software for production : Facebook 360 Encoder Error - FFmpeg libavdevice.57.dylib (not a mach-o file)

    &#xA;