Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (55)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

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

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Activation de l’inscription des visiteurs

    12 avril 2011, par

    Il est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
    Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
    Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)

Sur d’autres sites (5824)

  • Set ffmpeg path in supervsiorctl config file

    4 juin 2015, par interneteur

    I am having a issue where my code works fine when not under supervisor. But when under supervisor for some reason it is not finding the path to the ffmpeg dependency.

    (env)root@www:/home/www/yout# which ffmpeg
    /usr/bin/ffmpeg

    Is there any way to set the path to ffmpeg to have it check this ?

    Here is my config file

    [program:worker]
    directory=/home/www/yout
    environment=PATH="/home/www/env/bin"
    command=python worker.py high normal low
    process_name=%(program_name)s
    numprocs=1
    autostart=true
    autorestart=true
    stopsignal=TERM
    user=root
    stopsignal=TERM
  • Play AAC in SoundManager2 won't start

    27 novembre 2012, par sasa

    I converted audio file MP4 to AAC and then want to play that file in SoundManager2. If I use some software for Windows for convert, everying is fine, audio is playing well. But, on server side when MP4 file is converted to AAC using ffmpeg, file is loaded in SM2, but playing is not started.

    I use this command :

    ffmpeg -i in.mp4 out.aac

    Here is SoundManager2 log :

    -- SoundManager 2: HTML5 support tests (/^(probably|maybe)$/i): mp3: true (preferring flash), mp4: true (preferring flash), ogg: true, wav: true -- soundmanager2.js:1156
    -- SoundManager 2 V2.97a.20120916 (AS3/Flash 9) + HTML5 audio, high performance mode, custom (1ms) polling, wmode: transparent, flash debug mode, flashBlock mode -- soundmanager2.js:1156
    soundManager::createMovie(): Trying to load /soundmanager/swf/soundmanager2_flash9_debug.swf soundmanager2.js:1156
    soundManager::initMovie(): Waiting for ExternalInterface call from Flash... soundmanager2.js:1158
    soundManager::externalInterfaceOK() (~0 ms) soundmanager2.js:1158
    soundManager::init() soundmanager2.js:1158
    soundManager: Attempting JS to Flash call... soundmanager2.js:1158
    (Flash): SM2 SWF V2.97a.20120916 (AS3/Flash 9) soundmanager2.js:1158
    Flash security sandbox type: remote soundmanager2.js:1158
    (Flash): JS to/from Flash OK soundmanager2.js:1158
    (Flash): Enabling polling, 1 ms interval soundmanager2.js:1158
    -- SoundManager 2 loaded (OK) -- soundmanager2.js:1156
    soundManager: Firing 1 onready() item soundmanager2.js:1158
    threeSixtyPlayer.init() soundmanager2.js:1158
    threeSixtyPlayer.init(): Found 1 relevant items. soundmanager2.js:1158
    handleClick() soundmanager2.js:1158
    soundManager.createSound(): ui360Sound0 (http://[private url]/out.aac?v=1350309261) soundmanager2.js:1156
    soundManager.createSound(): Enabling usePolicyFile for data access soundmanager2.js:1158
    SMSound() merged options: {
    id: ui360Sound0,
    url: http://[private url]/out.aac?v=1350309261,
    onplay: { pl.removeClass(this._360data.oUIBox,this._360data.className); t... },
    onstop: { pl.removeClass(this._360data.oUIBox,this._360data.className); t... },
    onpause: { pl.removeClass(this._360data.oUIBox,this._360data.className); t... },
    onresume: { pl.removeClass(this._360data.oUIBox,this._360data.className); t... },
    onfinish: { var nextLink; pl.removeClass(this._360data.oUIBox,this._360data... },
    onbufferchange: { if (this.isBuffering) { pl.addClass(this._360data.oUIBox,pl.css... },
    whileloading: { if (this.paused) { self.updatePlaying.apply(this); } }... },
    whileplaying: { self.updatePlaying.apply(this); this._360data.fps++; }... },
    useWaveformData: false,
    useEQData: false,
    usePeakData: true,
    autoLoad: false,
    autoPlay: false,
    loops: 1,
    multiShot: true,
    multiShotEvents: false,
    pan: 0,
    stream: true,
    usePolicyFile: true,
    volume: 50,
    useMovieStar: false,
    isMovieStar: false,
    bufferTime: 3
    } soundmanager2.js:1158
    (Flash): SoundManager2_SMSound_AS3: Got duration: 0, autoPlay: false soundmanager2.js:1158
    SMSound.play(): Attempting to load "ui360Sound0" soundmanager2.js:1156
    SMSound.load(): http://[private url]/out.aac?v=1350309261 soundmanager2.js:1156
    SMSound.play(): "ui360Sound0" is starting to play soundmanager2.js:1158
    fanOut: ui360Sound0: http://[private url]/out.aac?v=1350309261 soundmanager2.js:1158
    (Flash): start (ui360Sound0): 0 soundmanager2.js:1158
    SMSound._onbufferchange(): 1 soundmanager2.js:1158
    SMSound._onbufferchange(): 0 soundmanager2.js:1158
    SMSound._onload(): "ui360Sound0" loaded.

    What can be a problem ?

  • How to not add AdaptationSet for audio in cmd file if audio stream is not present in input video file

    15 juin 2019, par Saurabh

    I am using ffmpeg-dash to create mpd files. I am using following command to generate the same :

    ffmpeg -i input/video.mov \
           -map 0:v:0 -map 0:v:0 -map 0:v:0 -map 0:a\?:0 \
           -b:v:0 350k -c:v:0 libx264 -filter:v:0 "scale=320:-1" \
           -b:v:1 1000k -c:v:1 libx264 -filter:v:1 "scale=640:-1" \
           -b:v:2 3000k -c:v:2 libx264 -filter:v:2 "scale=1280:-1" \
           -use_timeline 1 -use_template 1 -window_size 6  -adaptation_sets "id=0,streams=v id=1,streams=a"  \
           -seg_duration 2 -threads 16 -hls_playlist true -f dash output/ffmpeg/output.mpd

    This works with video which has audio streams, but for the case there is no audio stream in the video file, I get empty entry for audio in mpd files like following, which is not valid and fails while playing in Exo Player in Android.

    <adaptationset contenttype="audio" segmentalignment="true" bitstreamswitching="true">
    </adaptationset>

    I tried adding ? in option adaptation_sets like : id=0,streams=v id=1,streams=a?, however that also adds above line.

    One solution is to run different commands for different videos by first checking whether there is audio stream or not, but would be better if there is some option which add audio adaptationSet only if audio stream is present in the input file.