Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

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

Autres articles (68)

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

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

Sur d’autres sites (6469)

  • ffmpeg convert any user video file to run on mobiles h264 mp4

    24 octobre 2014, par tobros91

    So, i have kind of accepted this task on work but im really not sure if its possible.

    We are going to build a website where users can upload videos from their computers and mobile phone browsers. The video files can be a large range of aspect ratios, width, height, codex and file formats.

    I will have access to ffmpeg from php exec command on a web server.

    Is it possible to use this to convert the user files to one file format that works on computers, android and iphone.

    The requirements is that we can set a max width, to witch the video will be scaled, dynamically to match height.

    Does anyone know is this can be done, and be done in a reasonable amount of time. Will do project on 2 days. And if so some pointers in the right direction would be nice.

  • FFMPEG eats all the memory

    19 mai 2021, par Abhinandan Chakraborty

    Probably one of the most cliche question but here is the problem : So I have a Ubuntu Server running as an isolated machine only to handle FFMPEG jobs. It has 4 vCPU, 4GB RAM, 80GB storage. I am currently using this script to convert a video into HLS playlist : https://gist.github.com/maitrungduc1410/9c640c61a7871390843af00ae1d8758e This works fine for all video including 4K recorded from iPhone. However, I am trying to add watermark so I changed the line 106 of this script

    


    from :

    


    cmd+=" ${static_params} -vf scale=w=${widthParam}:h=${heightParam}"


    


    to :

    


    cmd+=" ${static_params} -filter_complex [1]colorchannelmixer=aa=0.5,scale=iw*0.1:-1[wm];[0][wm]overlay=W-w-5:H-h-5[out];[out]scale=w=${widthParam}:h=${heightParam}[final] -map [final]"


    


    Now this works flawlessly in videos from Youtube or other sources but as soon as I am trying to use 4K videos from iPhone, the RAM usage grows from 250MB to 3.8GB in less than minute and crashes the entire process. So I looked out for some similar question :

    


      

    1. FFmpeg Concat Filter High Memory Usage
    2. 


    3. https://github.com/jitsi/jibri/issues/269
    4. 


    5. https://superuser.com/questions/1509906/reduce-ffmpeg-memory-usage-when-joining-videos
    6. 


    7. ffmpeg amerge Error while filtering : Cannot allocate memory
    8. 


    


    I understand that FFMPEG requires high amount of memory consumption but I am unsure what's the exact way to process video without holding the stream in the memory but instead release any memory allocation in real-time. Even if we decide to work without watermark, It still hangs around 1.8GB RAM for processing 5 seconds 4K video and this create a risk of what if our user upload rather longer video than it will eventually crash down the server. I have thought about ulimit but this does seem like restricting FFMPEG instead of writing an improved command. Let me know how I can tackle this problem. Thanks

    


  • RTSP to RTMP in iOS as Transcoding

    15 mars 2019, par Naman Sheth

    I am getting live feed from some IP camera as an RTSP url and then i want to convert it to RTMP.

    Here is two aspects that we have to implement

    1. What we convert from RTSP to RTMP is transcoding.
    2. I have my iPad/iPhone Camera that user can switch and add live feed to RTMP url at this point I want to stop RTSP feed. i.e. Encoding

    This all scenario want to do with FFMPEG

    I have searched on this url but not able to figure out in iOS

    ffmpeg -i "[your rtsp link]" -f flv -r -s -an "[Your rtmp link]"

    RTSP to RTMP streaming

    Thanks in Advance !