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 (12046)

  • ffmpeg streaming simultaneously synchronized delay to multiple social networks

    4 avril 2021, par Jintor

    I'm able to stream simultaneously using ffmpeg to youtube, twitter, facebook, twitch ... simultaneously BUT the issue is the following : each network have their own delay

    


    in 1 network : 15 seconds delay, an other : 10 seconds delay, etc

    


    I tried 2 different ways

    


    • 1 ffmpeg per network => Signal is strong and stable

    


    • 1 ffmpeg with tee muxer to many at once => horrible, unstable, 1 network accepts it and some other says signal poor or too low bitrate...

    


    ----------- for example I use this for each social network ------------------------------

    


    /usr/bin/ffmpeg -re -i input.mp4 -deinterlace -c:v libx264 -pix_fmt yuv420p 
-preset veryfast -tune zerolatency -c:a aac -b:a 128k -ac 2 -crf 18 -r 30 -g 60  
-b:v 2369k -minrate 2369k -maxrate 2369k -ar 44100 -qscale:v 2 -vf "scale=-2:1080" 
-profile:v main -bufsize 2369k -f flv "rtmp://a.rtmp.youtube.com/live2/key"


    



    

      

    • I know that it's a case by case basis and not easy to do, but Is there a way to "fake" a delay with ffmpeg (like youtube->x delay, facebook-> y delay, etc) ?

      


    • 


    • or is there any synchronizing mechanism or timing option in ffmpeg ?

      


    • 


    • or any other approach ?

      


    • 


    


  • Writing an image to linux framebuffer distorts the image C++

    8 avril 2021, par max

    Im trying to set up rtsp video stream from teledyne Dalsa Genie Nano camera. For grab images I'm using a framework provided by this company.
For rtsp stream I will use ffmpeg tool that can stream video directly from linux frame buffer.
    
So i tried to write this image via memcpy function and at this moment the image is not recorded correctly. because when i try to take a screenshot from Facebook with ffmpeg in output i have corrupted image.
    
Here's some information :
image from camera
In the framework I have an image object that contains :

    


      

    1. void *address (address of one frame)
    2. 


    3. int width (1280)
    4. 


    5. int height (1024)
    6. 


    7. int depth (1)
    8. 


    


    So I wrote a function :
my function

    


    It's working fine without any errors but when I print image from frame buffer (fb) I have

    


    this

    


    I think it happens because fb device depth is 32 but frame depth is 1.

    


    Am I right ?

    


    I tried to change fb device depth with fbset tool but it returns an error -
console error output

    


    Command I use for taking an image from fb : sudo ffmpeg -f fbdev -framerate 1 -i /dev/fb0 -frames:v 1 screenAA3.jpeg

    


    Can someone tell me what I'm doing wrong ?

    


  • How to setup a video chunker or FFMPEG to bypass Cloudflare ?

    20 avril 2021, par RustyGates

    In full transparency, I am a noob so please forgive my lack of appropriate lingo as I am just barely starting to learn the languages of web development. Hope you don't have to try and decipher too much of what I'm trying to say.

    


    So in an attempt to put this as simply as possible.

    


    I have a PHP Script CMS that I have been doing some extensive custom work to. As mentioned, I am still learning for the most part and while my front end skills are getting very well polished, I'm still completely lose mostly when it comes to back end endeavors. And for reference, the CMS I am using is Wowonder from Codecanyon. It's essentially just a social media cms, like Facebook.

    


    I have this installed on my own dedicated server, have WHM/Cpanel, all that good stuff. I also have my website/domain setup through Cloudflare properly. This is where the issue arises. Cloudflare limits uploads to 100 megabytes. Some of the users on my website will be uploading videos and media much bigger than 100 megabytes. (Up to 10 gigabytes in some cases). I have researched the issue long and hard and it would seem to me the obvious was to resolve the problem would be to use a video chunker (and/or something like FFMPEG ? But not sure if FFMPEG Is capable of it. Am just assuming).

    


    I understand the basic, general idea of what chunkers do and have found some seemingly good options. Will post a couple below just as an example but not necessarily options I was considering.

    


    [https://github.com/blueimp/jQuery-File-Upload][1]

    


    [https://github.com/c0decracker/video-splitter][2]

    


    [https://github.com/appijumbo/video-chunk][3]

    


    So again, I understand the basic idea, it would chunk up the video while uploading (somewhere beneath the 100 megabyte maximum) to bypass Cloudflare's limit, and then stitch the video back together so it's in it's in it's complete form again. However, with a website that has many users uploading, I have not the slightest idea what the best solution is, or if this is the best solution at all, and if it is, how to implement it properly.

    


    I have also installed FFMPEG on my server and did so successfully but not sure how to implement that properly either now how to tell it that it should automatically encode any videos uploaded to the website by any users and so on, nor sure if it's possible to do chunking with it although it seemingly is ?

    


    Any advice is on the topic is much appreciated and I would be much obliged. Thanks in advance.