
Recherche avancée
Autres articles (108)
-
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 (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (12179)
-
Android and JNI, pipe data to FFmpeg
2 décembre 2014, par William SeemannI’m trying to create a metadata retriever based on FFmpeg. Since raw Android application resources are often only accessible using a file descriptor I need a way to pipe this data to FFmpeg via JNI. I know FFmpeg supports a "pipe" protocol :
UNIX pipe access protocol.
Allow to read and write from UNIX pipes.
The accepted syntax is:
pipe:[number]
number is the number corresponding to the file descriptor of the pipe (e.g. 0 for stdin, 1 for stdout, 2 for stderr). If number is not specified, by default the stdout file descriptor will be used for writing, stdin for reading.
For example: cat test.wav | ffmpeg -i pipe:0My question is, how do I programmatically emulate
cat test.wav | ffmpeg -i pipe:0
using JNI and avformat_open_input using a FileDescriptor ? Is this possible ? -
Errors when use mps in NVDEC ?
4 avril 2019, par johnsondengI use
ffmpeg
compiled withcuda
, supportnvdec
to decodeh264
in gpu devices. MPS(https://docs.nvidia.com/deploy/mps/index.html) can share context with different processes, and this can use less gpu storage when use multi-process to decodeh264
stream. But when I useffmpeg
in this mode, error got like this.Input #0, mpeg, from '/data/yt_traffic/media/nianjianbiao.mp4':
Duration: 00:16:57.97, start: 7833.134000, bitrate: 4219 kb/s
Stream #0:0[0x1e0]: Video: h264 (High), yuv420p(progressive), 1920x1080, 25 fps, 25 tbr, 90k tbn, 50 tbc
File '1.yuv' already exists. Overwrite ? [y/N] y
[AVHWDeviceContext @ 0x4444840] Could not initialize the CUDA driver API
Stream mapping:
Stream #0:0 -> #0:0 (h264 (h264_cuvid) -> rawvideo (native))
Error while opening decoder for input stream #0:0 : Unknown error occurredBut when
mps
is shutdown, ffmpeg works fine. Anyone can help ? -
Cannot get MediaStream from Electron app to browser via Openvidu media server
11 juin 2021, par foxy.bunnyI'm currently having an issue with openvidu-browser-2.17.0.js


I'm trying to transfer a camera stream from RTSP to an Openvidu media server deployed on cloud and get the stream back on the browser.


The RTSP stream was converted into an HLS stream using FFmpeg and played using hls.js. It was captured in an video tag in HTML and I used the HTMLMediaElement.captureStream().getVideoTrack() to generate MediaStreamTrack and passed it into the videoSource property in initPublisher. This publisher part was wrapped in electron. Then, the stream was connected to our cloud Openvidu server deployed on-premises exactly like in the Docs (https://docs.openvidu.io/en/2.18.0/deployment/deploying-on-premises/). The subscriber part is a simple HTML page displayed on the browser to get the stream from the cloud server. The subscriber is responsible for creating session and generating stream from the media server when streamCreated event occurs.


The whole workflow worked nicely when we tested it with our webcam, however, when we use MediaStreamTrack of our stream video instead of webcam, the subscriber part only showed the blank video.


My question is :


1 : Is it possible to stream an MediaStream to Openvidu media server like that ?


2 : If yes, then what am I doing wrong here ?


Describe the bug


Cannot get MediaStream from Electron app to browser via Openvidu media server.


Expected behavior


Receive the stream from the Electron app to browser via Openvidu media server.


Wrong current behavior


Only get blank video


Client device info


- 

- Chrome Version 91.0.4472.77 (Official Build) (64-bit) on Windows 10 Version 10.0.19042 Build 19042