Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (44)

  • Personnaliser les catégories

    21 juin 2013, par

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

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (10404)

  • Scroll playlist items into view. Cancel 'play next' timeout if user navigates previous/next etc.

    2 février 2015, par scottschiller
    Scroll playlist items into view. Cancel ’play next’ timeout if user navigates previous/next etc.
  • 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 ?

  • using gstreamer splitfilesrc to play consecutive .mp4 (H.264) files

    13 juin 2014, par user3736170

    I’m trying to string together and play multiple mp4 files as one file. Each file is about 1 minute in duration, each starting with a pts of zero. Each file plays fine as a single source using gstreamer’s filesrc.

    I’m using the following command line with the splitfilesrc :

    gst-launch-1.0 splitfilesrc location="test*mp4" ! qtdemux ! h264parse ! avdec_h264 ! videoconvert ! ximagesink

    My source files are test1.mp4, test2.mp4, etc

    This plays the first file fine and then stops. I turned on debug messages, and I see that the qtdemux filter requests (one minute’s worth of) packets from the splitfilesrc, and then determines that it has reached the end (debug message states "no more moofs", after the qtdemux gets the last fragment from the first file). The pipeline then gets destroyed due to eos.

    Is this gstreamer splitfilesrc pipeline possible with mp4/H.264 files ? I’m pretty sure it works with mpeg2 ts files, where the files are produced from a single large file using gstreamer’s own multifilesink. How about these mp4 files, which were produced with ffmpeg ?

    Thanks for any insight.