Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (53)

  • 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

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • 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 (5699)

  • Issue in converting .mov to .mp4 php

    30 novembre 2016, par Inventillect

    I am trying to convert a video with extension .mov to .mp4 format. Following is the command that I try to use

    $file_name = "abc.mov";

    $mp4_file  = "abc.mp4";

    $cmd = 'sudo /usr/bin/ffmpeg -i /path_to_file' . $file_name . ' -strict experimental -vcodec libx264 -pix_fmt yuv420p -profile:v baseline -preset slower -crf 18 -vf "scale=trunc(in_w/2)*2:trunc(in_h/2)*2" /destination_path/' . $mp4_file;
    exec($cmd, $out, $res);

    However the desired file( with .mp4 ) is not getting created. When I copy the command and paste it inside terminal, the file with the desired format is getting created. However same is not working with exec command in my php code.

    I am not able to figure out the actual cause of issue, since it seems out to be strange. Any help shall be appreciated. Thanks in advance

  • streaming automatically (on boot) using init.d scripts

    15 juillet 2014, par Aldo Daniel

    I am using Hackberry A10 with a Linaro 3.0.101 distro.
    I am trying to run ffserver and ffmpeg to stream audio and video at the same time. From terminal, these are possible. But now I want to make them run at the start of my device’s boot.

    The script contains :

    case "$1" in

    start)

    cd /home/linaro/bin/

    ./ffserver -f /home/linaro/Desktop/mpeg.conf &

    ./ffmpeg [ code ] &

     ; ;

    esac

    exit 0

    After that I type the following commands :

    chmod 755 [scriptname]

    update-rc.d [scriptname] defaults

    After I reboot the device, nothing happens. The camera light does not turn on. But when I try to run ffserver with the same configuration, it does not allow me, nor does it tell me that there is an error.

    Can anyone help me with this problem ? Thanks in advance !

  • Applescript to batch convert videos with ffmpeg

    13 mai 2022, par Thad_Supersperm

    I'm trying to add padding to a large amount of videos in their folders. I created an app with AppleScriptEditor so I can drag and drop files and they're automatically converted. I found a script on the web, I edited it with the ffmpeg command I need, but it won't work because it wants to overwrite the source file.

    


    on open argv
    set paths to ""
    repeat with f in argv
        set paths to paths & quoted form of POSIX path of f & " "
    end repeat
    tell application "Terminal"
        do script "for f in " & paths & "; do ffmpeg -i \"$f\"  -vf pad=\"9/8*iw:ih:(ow-iw)/2:0:color=black\" \"$f\"; done"
        activate
    end tell
end open


    


    Note that I want to keep the filename, filetype and put the new file next to the old one but just add an underscore at the end of the new file, before the extension ; e.g. : file.ext. > file_.ext