
Recherche avancée
Autres articles (112)
-
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 ;
-
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (9980)
-
FFMPEG multi livestream - recorded stream send to different services like YT and Twitch at different time (on different button clicks )
4 octobre 2022, par GaneshTrying for the last 10 days and still no success, I am creating a python application that will accept the URL and visit that URL using chromium, capture that screen and send that real-time screen recording to different live stream acceptors as youtube live, twitch Twitter, Facebook live or some other sources and many of these could be multiple.


There are two challenges (both challenges depend on a user action like different button clicks) -


- 

- The time of starting the Livestream we know only one Livestream acceptor and other acceptors could be sent via another API at any time or may not be sent on the whole live stream.
- Any of the streams could be stopped at any moment including the first one which started the original live streaming service






To Solve these challenges I am trying the following process (i took mp4 as a source for simplifying)


- 

- create a stream and store it into PIPE.stdout




ffmpeg_Command_get_stream = 'ffmpeg -re -i test.mp4 -f flv pipe:1'
ffmpeg_Command_get_stream=ffmpeg_Command_get_stream.split()
pipe = sp.Popen(ffmpeg_Command_get_stream,
 stdout=sp.PIPE,
 stderr=sp.PIPE,
 bufsize=8000000,
 shell=True,
 universal_newlines=True
 )
out,err = pipe.communicate()



- 

-
and send that stream with the help of FFMPEG to the Livestream acceptor with the click of the youtube Livestream button


ffmpeg_Command_send_stream = ['ffmpeg','-i',pipe.stdout,'-f','flv',RTMPURL_YOUTUBE]






Update Trying to Explain it a little more :


step 1 - I need a real-time stream from the first command, so I used -re in FFMPEG


step 2 - Use above stream as an input for other command and send that as an output as a Livestream to youtube (or twitch/Facebook), But the second step would happen only when the user click on the button "YT LiveStream", Here the tricky thing is there are multiple buttons (YT LiveStream, Twitch LiveStream, Facebook LiveStream) and user can click any time on any of button, also can click on all button one by one.




sorry for bad explaination


what I am doing wrong ? , Is this Possible ? or need to go with another process,


any help would be greatly appreciated


-
How to host a react.js ssr on vercel ?
2 janvier 2024, par UltimateSheepConfusedAtCodeI want to host a react.js server side rendering because of ffmpeg killing me with SharedArrayBuffer is not defined


I've tried so many hosting service provider like firebase but now I want to host it to Vercel but I don't know how to make it works with react ssr. Can anyone help me ?


When I run 'ssr' command in my machine it's work and ffmpeg is not throwing 'bad memory' or 'SharedArrayBuffer is not defined' but when I run it in vercel build command it stucks but the index.js/server.js is running I know because the main script is running and won't stop so the build is stuck but any solution ? I've search the problem but I guess nobody haven't asked this yet




and this a code of package.json


{
 "name": "ultimatesheep-vidreverse",
 "version": "0.1.0",
 "private": true,
 "dependencies": {
 "@babel/preset-env": "^7.18.10",
 "@babel/preset-react": "^7.18.6",
 "@babel/register": "^7.18.9",
 "@ffmpeg/core": "^0.11.0",
 "@ffmpeg/ffmpeg": "^0.11.0",
 "@testing-library/jest-dom": "^5.16.5",
 "@testing-library/react": "^13.3.0",
 "@testing-library/user-event": "^13.5.0",
 "bootstrap": "^5.2.0",
 "cors": "^2.8.5",
 "ignore-styles": "^5.0.1",
 "react": "^18.2.0",
 "react-bootstrap": "^2.5.0",
 "react-dom": "^18.2.0",
 "react-scripts": "5.0.1",
 "uuid": "^8.3.2",
 "web-vitals": "^2.1.4"
 },
 "scripts": {
 "start": "react-scripts start",
 "build": "react-scripts build",
 "test": "react-scripts test",
 "eject": "react-scripts eject",
 "ssr": "npm run build && node backend/index.js",
 "deploy": "npm run build && firebase deploy",
 "git" : "git add . && git commit -m 'ahawdaw' && git push -u origin main"
 },
 "eslintConfig": {
 "extends": [
 "react-app",
 "react-app/jest"
 ]
 },
 "browserslist": {
 "production": [
 ">0.2%",
 "not dead",
 "not op_mini all"
 ],
 "development": [
 "last 1 chrome version",
 "last 1 firefox version",
 "last 1 safari version"
 ]
 },
 "externals": {
 "react": "React"
 },
 "description": "This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).",
 "main": "backend/index.js",
 "keywords": [],
 "author": "",
 "license": "ISC"
}





-
ffmpeg to YouTube with tee mux giving resolution warning (65535x65535), which is not optimal
25 juillet 2022, par kuldeep chopraI am streaming to YouTube and Facebook using ffmpeg , also writing data into disk (recording).


it's working fine on Facebook and recording but on YouTube it's giving warning that is


Please check the video resolution. The current resolution is (65535x65535), which is not optimal.


and output on YouTube is also 1:1 aspect ratio due to the above resolution.


I am using tee mux in ffmpeg Command.


ffmpeg -f dshow -framerate 30 -i video="Integrated Webcam":audio="Microphone Array (Intel® Smart Sound Technology (Intel® SST))" -s 1920x1080 -c:v libx264 -r 30 -preset ultrafast -tune zerolatency -crf 28 -pix_fmt yuv420p -c:a aac -strict -2 -ac 2 -b:a 128k -t 4 -map 0 -f tee "[f=ismv]pipe:1 | [f=flv]rtmps ://youtube | [f=flv]facebook"