Recherche avancée

Médias (91)

Autres articles (65)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (10291)

  • Gstreamer + Logitech C920 h264 video lacks timing information, plus mp4mux not working

    30 mars 2015, par user1048388

    I’m currently getting the h264 encoded video and the audio from the C920 via gstreamer 1.2.4 :

    gst-launch-1.0 v4l2src device=/dev/video0 do_timestamp=true ! video/x-h264,width=1920,height=1080,framerate=30/1 ! h264parse ! muxout. pulsesrc device="alsa_input.usb-046d_HD_Pro_Webcam_C920_5530335F-02-C920.analog-stereo" ! queue ! audioconvert ! voaacenc bitrate=65536 ! muxout. matroskamux name=muxout streamable=true ! queue ! filesink location=/home/[omitted]/test.mp4

    The main problem is that the resulting video lacks timing information. By that I mean seek is not possible and the duration is unknown. Adding do_timestamp=true changes nothing.
    Simply copying the file in ffmpeg/libav shows several instances of :

    Non-monotonous DTS in output stream 0:0 ; previous : 926, current : 807 ; changing to 927. This may result in incorrect timestamps in the output file.

    After this short process (seconds on an hour long file), the timing information suddenly works for the entire video.

    What do I need to do to make this happen during the gst-launch pipeline ?

    There are some other problems which may or may not be related :
    I am using matroskamux despite wanting a mp4 container because mp4mux simply does not work in the given launch command. I receive

    ERROR : Pipeline doesn’t want to pause.
    ERROR : from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0 : Cannot identify device ’/dev/video0’.
    Additional debug info :
    v4l2_calls.c(568) : gst_v4l2_open () : /GstPipeline:pipeline0/GstV4l2Src:v4l2src0 :
    system error : No such file or directory

    when replacing matroskamux with mp4mux.

    I am clueless as to why this happens. Any help would be appreciated.

  • ffmpeg conversion dimension error

    7 mars 2015, par georgechalhoub

    I am writing a video conversion script using ffmpeg, it has been completed to full. Ideally, my video conversion script should output the video to many formats (similar to YouTube) :

    • 140p : 256 x 144
    • 240p : 426 x 240
    • 360p : 640  x 360
    • 480p : 854  x 480
    • 720p : 1280 x 720
    • 1080p : 1920x 1080

    The problem I am facing is that if a user uploads a 480p (854 x 480) video or close to 480p (854 x 480) the script will convert to all formats (1080p and 720p) which would seem like a waste of bandwidth and disk space in this case.

    The problem isn’t as easy as it seems. If a user uploads a 500 x 300 video I don’t want it to get converted to a 240p, there has to be some estimations.

    Is there some command in ffmpeg which does any help dealing with such type of problems ?

  • Convert a ffmpeg video to an appropriate dimension

    6 mars 2015, par georgechalhoub

    I am writing a video conversion script using ffmpeg, it has been completed to full. Ideally, my video conversion script should output the video to many formats (like YouTube) :

    • 140p : 256 x 144
    • 240p : 426 x 240
    • 360p : 640  x 360
    • 480p : 854  x 480
    • 720p : 1280 x 720
    • 1080p : 1920x 1080

    The problem I am facing is that if a user uploads a 480p (854 x 480) video or close to 480p (854 x 480) the script will convert to all formats (1080p and 720p) which would seem like a waste of bandwidth and disk space in this case.

    The problem isn’t as easy as it seems. If a user uploads a 500 x 300 video I don’t want it to get converted to a 240p, there has to be some estimations.

    Who can help me or has some experience with such kind of problems ?