Recherche avancée

Médias (0)

Mot : - Tags -/gis

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (104)

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 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 (...)

Sur d’autres sites (8529)

  • How can a desktop node.js app play audio that may be controlled by the user like a media player ? [closed]

    19 février, par eedefeed

    I'm building a playlist manager that plays music. How can Node.JS play audio files quickly, reliably and with all the basic level features you would expect from a media player, namely :

    


      

    • play
    • 


    • pause
    • 


    • seek
    • 


    • stop
    • 


    • adjust volume
    • 


    


    I'm targetting windows/linux, but a Windows-only solution but be okay (for now.)

    


    I have tried a number of libraries and methods to play audio but it seems none of them are good enough :

    


      

    • Audic : it's reasonably good, but buggy. The play and pause functions sometimes get switched around. I also recall that there are some issues with uncaught exceptions somewhere in the dependencies that crash the entire app.
    • 


    • OBS : since the app is designed with broadcasting in mind, I've tried to use OBS's API to get it to play media. Unfortunately, it sometimes stops playback during some tracks, which is surprising since its underlying library, FFmpeg, plays them without issue.
    • 


    • node-groove : seems like its underlying library, libgroove, only supports linux. I can't find any builds to download, regardless.
    • 


    


    Attempts to use Speaker (which seems pretty good) have also failed because all the decoders have big issues :

    


      

    • Anything using lame - I want support for all audio, not specific formats.
    • 


    • fluent-FFmpeg - this is a wrapper around FFmpeg's CLI interface. It has no play/pause function, but bonus library fluent-FFmpeg-util adds this feature. Unfortunately, its pause takes about 4 seconds to work, which I'm guessing is to do with a buffer being exhausted. This is just too latent. Seek would also work by stopping the CLI process and reloading the file, which seems massively inefficient.
    • 


    • Node Vlc - promising but ancient library that gives me reams of node-gyp errors on install. Poorly documented and no explanation of what the library to do
    • 


    • VLC Client - this library has uncaught exceptions that crash the app. Wrapping in try/catch doesn't help.
    • 


    • sound play - doesn't support play/pause
    • 


    


    NPM's search function is filled with audio players designed to work in browsers, but I'm not building a web app. I guess it's an option but it seems inelegant to the point of rediculous.

    


    So it seems the best option centres around FFmpeg. FFmpeg has libraries, and I'm aware that node has ways to hook into those libraries via some sort of C or C++ compatibility layer. Unfortunately, official documentation is rather dense. Different unofficial guides seem to be recommending conflicting approaches (and might be dated), and it's difficult to work out whether myriad technologies are working in tandem or are alternatives, renames or replacements : node-gyp, node-api, addons, windows-build-tools, nan, C vs C++, Visual Studio. It's difficult to make any decisions or know where to start.

    


    Perhaps, also, another option is to use a Python library to interact with FFmpeg, since initial searches have indicated this might be possible. I wouldn't know whether this is a good option.

    


    So my question is : what's my best option to play audio ? Is it another NPM module that I'm not aware of ? Is it a compatibility layer with FFmpeg libraries ?

    


  • Node Media Server not stream when i try to pass the argument "transpose=1" to ffmpeg

    28 mai 2020, par joao.jlf4

    I'm using node-media-server to stream to instagram, and i need to rotate the original vídeo, to be portrait. I know that there is a flag on ffmpeg called transpose (there is rotate too), but when i pass it on node_relay_session.js on 24 line at the argv array, it returns me a "[Relay end]" on console, and it does'nt stream. When I remove the transpose flag from argv array it backs to stream normaly. Here is my config to nms :

    



    import NodeMediaServer from 'node-media-server';
import removeBarOfRtmpUrl from './utils/removeBarRtmpUrl';
import path from 'path';
import { remote } from 'electron';

export default function(data) {

const streams = data.map(stream => ({
endpoint: removeBarOfRtmpUrl(stream.endpoint),
key: stream.key,
}))

const config = {
rtmp: {
port: 1935,
chunk_size: 60000,
gop_cache: true,
ping: 30,
ping_timeout: 60
},
http: {
port: 8000,
allow_origin: '*'
},
relay: {
// C:\Users\Usuario\Desktop\multistream\node_modules.bin\ffmpeg.exe
ffmpeg: path.join(remote.app.getPath('appData'), '..', 'Local', 'Programs', 'multistream', 'app', 'ffmpeg', 'bin', 'ffmpeg.exe'),
tasks: streams.map(stream => ({
app: 'live',
mode: 'push',
edge: ${stream.endpoint}/${stream.key},

  }))
},
};

const nms = new NodeMediaServer(config);
return nms;
}

// {
// app: 'live',
// mode: 'push',
// edge: 'rtmp://a.rtmp.youtube.com/live2/keyyoutube',
// },```


    


  • What could be the stable choise for multi stream application : OpenCV , vlcQt native or Qt multimedia media

    30 septembre 2018, par 2adnielsenx xx

    I am trying to build a multistream (8 channel) tool which should run 24 hours to receive stream feeds(mjpeg, ts, mp4, etc) make some prepares on the frames and show on the screen.

    I read somewhere that OpenCV is could make issues with multi Videocapture.

    What will be the best stream capture framework for a stable and less painful approach to do this application ?

    Choosing the stream capture is the important part.

    Thanks