
Recherche avancée
Autres articles (53)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)
Sur d’autres sites (11151)
-
Local file creation of ffmpeg hls http stream
10 juillet 2018, par EmilianAfter researching all the options for ffmpeg hls streaming and setting it up for uploading to a http server i encountered a problem, ffmpeg also creates local files for the segment/playlist in the current working directory.
What im trying to achieve is upload to a server and serve the segments and playlist from memory and not from disk. Tried setting a http url for segments like this :
ffmpeg -re -i filter_test.ts -f hls -hls_segment_filename http://localhost:3000/segment/playlist_%03d.ts -method PUT http://localhost:3000/segment/playlist.m3u8
but that also didnt work.
Is there any way to stop ffmpeg from creating local files for the hls stream and only upload them to the server ?
In the logs it says
[hls @ 00000274041104e0] Opening 'http://localhost:3000/segment/playlist_000.ts' for writing
[http @ 00000274046a2fa0] request: POST /segment/playlist_000.ts HTTP/1.1but nothing about writing it to a file.
-
Run ffmpeg as window service
7 juin 2018, par Brad ReiterMy setup is like this :
It contains components :
- Web Cam : which send out the RTP packets when i get a stream request
- Agent server : Which receives the stream from the Webcam and forwards
the same to ffmpeg server. - ffmpeg server : this where i need to run the ffmpeg as window service,
receives the rtp stream sent by agent server and create a ts file.
What have i done is :
I have setup the ffmpeg in one of my dev environment using this link :
https://video.stackexchange.com/questions/20495/how-do-i-set-up-and-use-ffmpeg-in-windows
My problems :
- How to make ffmpeg run as daemon.?
- How can i make ffmpeg aware that new stream is coming from agent
server and start creating a ts file.? - Is there a way in ffmpeg that i reserve ports for ffmpeg and make it
listen to all the ports for eg : reserve 2000 - 3000 ports and listen
to them as soon as rtp stream arrives, convert to ts stream.
Regards
-
ffmpeg install within existing Node.js docker image
1er septembre 2021, par PezaI need to use ffmpeg in a Node.js application that runs in a docker container (created using docker-compose). I'm very new to Docker, and would like to know how to command Docker to install ffmpeg when creating the image.



DockerFile



FROM node:carbon
WORKDIR /usr/src/app

# where available (npm@5+)
COPY package*.json ./
RUN npm install -g nodemon
RUN npm install --only=production
COPY . .

EXPOSE 3000
CMD [ "npm", "start" ] 




package.json :



{
 "name": "radcast-apis",
 "version": "0.0.1",
 "private": true,
 "scripts": {
 "start": "node ./bin/www",
 "dev": "nodemon --inspect-brk=0.0.0.0:5858 ./bin/www"
 },
 "dependencies": {
 "audioconcat": "^0.1.3",
 "cookie-parser": "~1.4.3",
 "debug": "~2.6.9",
 "express": "~4.16.0",
 "firebase-admin": "^5.12.1",
 "http-errors": "~1.6.2",
 "jade": "~1.11.0",
 "morgan": "~1.9.0"
 },
 "devDependencies": {
 "nodemon": "^1.11.0"
 }
}




docker-compose.yml :



version: "2"
services:
 web:
 volumes:
 - "./app:/src/app"
 build: .
 command: npm run dev
 ports:
 - "3000:3000"
 - "5858:5858"