
Recherche avancée
Autres articles (49)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains 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, parPré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 ) (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (7491)
-
Using PNG (which updates) as a source for an RTMP live stream
24 juillet 2023, par pkSMLI've been googling a lot lately trying but I have yet to find a solution.


I've been using OBS to stream some textual data, where it grabs some data from a webpage and dynamically updates. This is easy, but involves way more overhead and CPU usage than I want. So cue up the command line and FFMPEG. I've gotten a script that'll update this textual information for me and save as a PNG. It updates every 10 seconds. The PNG file is 1280x720.


All I want on my RTMP stream is this image (with audio). But I can't figure out how to use only a PNG as the source of a video stream.


This does NOT work :

ffmpeg -re -y -framerate 1 -loop 1 -f image2 -i "./image.png" -c:v libx264 -pix_fmt yuv420p -preset fast -r 30 -g 120 -b:v 1000k -bufsize 512k -f flv "rtmps://mydomain.com/endpoint"

This just stalls. The encode time goes nowhere and the frame counter hardly moves.

I want this to be compatible with Facebook Live, so I need the output to be 30 fps with GOPs every few seconds.


Any ideas on how to achieve this ? I could use an overlay, but I'd prefer not to.


Thanks !


-
3 hidden Piwik features you likely don’t know, that will make you more productive
17 janvier 2017, par InnoCraft — CommunityAt Piwik and at InnoCraft, we always aim to make features as intuitive as possible. Having thousands of features in Piwik and having to find a balance between beginners and advanced users can sometimes be a challenge. Sometimes this even leads to building hidden features that are mainly targeted for power users. The list below shows three of them, did you know any of them yet ?
BTW : If you don’t have Piwik yet, you can try them on our Piwik Demo.
1. Search
When you press the letter “f”, it will activate the search bar in the top left. Once you start typing something, it will show matching reports. Say you want to view reports about “devices” but don’t remember exactly which category it is in, simply start typing “devices” and the matching entry will show up without even having to move the mouse.
The search bar also searches for matching websites and segments. Use the arrow up and down keys to select the entry you want and press enter to confirm the selection.
Say you don’t remember the name of a report but you know it is listed under the category “Visitor”, then start typing the name of the category and it will show all related reports.
2. Zen Mode
When you press the letter “z”, it will activate the Zen Mode which lets you focus on the reports and content by removing the header and left menu. To disable the Zen Mode, simply press “z” again.
This is especially useful in combination with the search bar mentioned above, as it enables you to quickly switch between reports, websites and segments even while menu and header are hidden.
3. Faster period change
Changing the displayed period is a task you likely perform quite often when analyzing reports. Usually, you would first select the period and then press the button “Apply” in the date selector. Instead, you can simply double click the name of the period and it will immediately load the selected period without having to click on the “Apply” button.
What are your hidden features in Piwik ?
Let us know by getting in touch with us or share it with us on Facebook or Twitter.
-
ffmpeg Could not write header for output file #0 (incorrect codec parameters ?) : Invalid data found when processing input
16 mars 2020, par Chu Đình Hoani have a issue with ffmpeg in Ubuntu
My code :
sudo ./ffmpeg -i 1.mp4 -vcodec libx264 -rtsp_transport tcp -f rtsp "rtmps://live-api-s.facebook.com:443/rtmp/3687425887995436?s_bl=1&s_ps=1&s_sw=0&s_vt=api-s&a=AbyWyp2zdPRgOIyp"
Error :
Could not write header for output file #0 (incorrect codec parameters ?): Invalid data found when processing input
Error initializing output stream 0:1 --
[aac @ 0x559df4c2d240] Qavg: -nan
Conversion failed!With above of the code i’m run in Windows 10 x64 is OK but on Ubuntu is get an error.