Recherche avancée

Médias (0)

Mot : - Tags -/médias

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

Autres articles (61)

  • À propos des documents

    21 juin 2013, par

    Que faire quand un document ne passe pas en traitement, dont le rendu ne correspond pas aux attentes ?
    Document bloqué en file d’attente ?
    Voici une liste d’actions ordonnée et empirique possible pour tenter de débloquer la situation : Relancer le traitement du document qui ne passe pas Retenter l’insertion du document sur le site MédiaSPIP Dans le cas d’un média de type video ou audio, retravailler le média produit à l’aide d’un éditeur ou un transcodeur. Convertir le document dans un format (...)

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

Sur d’autres sites (11510)

  • avcodec/mpeg12dec : Sanitize start codes earlier

    20 septembre 2019, par Andreas Rheinhardt
    avcodec/mpeg12dec : Sanitize start codes earlier
    

    The MPEG-1/2 decoder uses avpriv_find_start_code to search for start
    codes and worked with the resulting start code before checking that it
    is really a start code of a slice. In particular, if the picture is so
    big that a slice_vertical_position_extension is present, it added the
    slice_vertical_position_extension as if it had a slice. Then a left
    shift is performed, without making sure that the value to be shifted is
    nonnegative.
    Afterwards the end result is checked, but even if a start code of a
    non-slice has been found, it might pass these checks : If
    slice_vertical_position_extension is present a start code <
    SLICE_MIN_START_CODE can lead to a macroblock-row index that appears
    valid. Furthermore, the left shift might make an invalid start code
    appear valid by discarding the highest bit.
    This has been fixed by checking directly after avpriv_find_start_code
    has returned.

    Fixes ticket #8162 (which is about the undefined left shifts).

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavcodec/mpeg12dec.c
  • PHP - How to run commandline apps on server ? [duplicate]

    20 décembre 2016, par zeddex

    This question is an exact duplicate of :

    I have been coding with PHP for a while now and have used things like FFMPEG on Windows XAMPP without any problems. Now however i have been trying to run the FFMPEG commandline on my Godaddy hosting account with PHP as i wanted to make a web based project but cannot get it working.

    On windows with ffmpeg.exe and sound.wav in the same directory this works :

    WavToMP3.php

    &lt;?php

    exec("ffmpeg.exe -i sound.wav -ar 44100 -ac 2 -c:a libmp3lame -b:a 320k sound.mp3");

    ?>

    Yet it does not run on Godaddy, i know they use linux though so i tried this :

    http://download1.rpmfusion.org/free/fedora/releases/25/Everything/x86_64/os/repoview/ffmpeg-compat.html

    I downloaded :

    http://download1.rpmfusion.org/free/fedora/releases/25/Everything/x86_64/os/Packages/f/ffmpeg-compat-0.6.7-9.fc25.i686.rpm

    Then in the script i changed "ffmpeg.exe" to just "ffmpeg" but it still did not work.

    I have no idea about running linux commandlines as i have only ever used Windows in the past.

    What are the instructions needed that can get the above PHP code or a modified version to generate a .mp3 file using my Godaddy hosting account ?

  • Paperclip AV Transcoder not working on remote server

    25 novembre 2017, par zreitano

    I am able to upload videos locally. The videos are processed using paperclip and all the meta data is saved correctly, as well. When I tried to upload a video using our remote server, I received the error :

    Av::UnableToDetect (Unable to detect any supported library)

    I have installed ffmpeg using LinuxBrew. It says everything is installed correctly (checking which brew and which ffmpeg, as well as checking if the gem is appropriately installed).

    When I have styling in my model for the video (which is what enables the meta information to be stored and to have control over how the video is uploaded) it doesn’t work remotely.

    has_attached_file :video, path: "/posts/:id/:style.:extension",
     :styles => {
       :medium => { :geometry => "493x877", :format => 'flv' },
       :thumb => { :geometry => "100x100#", :format => 'jpg', :time => 10 },
       # :mobile => {:geometry => "640X480", :format => 'mp4', :streaming => true}
     }, :processors => [:transcoder]

    However, when I remove this from my model and have :

    has_attached_file :video, path: "/posts/:id/:style.:extension"

    The video is uploaded to S3 (without the data or styling that I need).

    Any help would be greatly appreciated. I think AV is having trouble finding ffmpeg but I am not sure why or how to go about fixing it. Thanks in advance for any advice.