Recherche avancée

Médias (91)

Autres articles (90)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, 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 (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (8544)

  • Need help to change working ffmpeg command to overlay instead of concatenate two audio files at specific position

    7 mars 2019, par lukistar

    By asking another question here, I got working code

    ffmpeg -i input.mp3 -i second.mp3 -filter_complex "[0:a]atrim=end=10,asetpts=N/SR/TB[begin];[0:a]atrim=start=10,asetpts=N/SR/TB[end];[begin][1:a][end]concat=n=3:v=0:a=1[a]" -map "[a]" output

    The code inserts second.mp3 into the input.mp3 at 10 seconds.

    But now I need to overlay second.mp3 into the input.mp3 starting at 10seconds.
    In other words I need playing input.mp3 and after 10 seconds I need start playing second.mp3 simultaneously.

    The code I have been given keeps the params of input.mp3 and changes everything about second.mp3 to match input.mp3.

    Could you help me altering the command I have to do the overlay...

  • ffprobe json output not working in exec, but works in CMD

    26 novembre 2015, par Nicholas Walker

    I’ve installed ffmpeg on my windows 2008 server.

    I use this string in CMD and i get what i want to get in my

    PHP file :

    ffprobe -v quiet -print_format json -show_format -show_streams "C:\wamp\www\uploads\fc30e528b500b26a391ed4f5ed484310.mp4"

    This is my PHP function i found on another stackoverflow question, it had great feedback so i tested it.

    $file_name = 'fc30e528b500b26a391ed4f5ed484310';
    $file_ext = 'mp4';
    $ffprobe = 'C:\\ffmpeg\\bin\\ffprobe.exe';
    $videoFile = 'C:\\wamp\\www\\uploads\\'.$file_name.'.'.$file_ext;

    $cmd = shell_exec($ffprobe .' ffprobe -v quiet -print_format json -show_format -show_streams "'.$videoFile.'"');
    $parsed = json_decode($cmd, true);
    print_r($parsed);

    What is get back is nothing. I also tried using the same function i used with ffmpeg(which i got working for ffmpeg).

    $cmd = $ffprobe.' ffprobe -v quiet -print_format json -show_format -show_streams "'.$videoFile.'" 2>&1';
    echo shell_exec($cmd);

    This also brings back nothing.

    Any ideas ?

  • ffmpeg color space metadata not working for some sources

    28 août 2023, par pawel

    I have a bit of a pickle. I'm trying to change incorrect tags on mp4 videos using ffmpeg.

    


    I'm using this command (in a bat file) :

    


    ffmpeg.exe -i %1 -colorspace "rgb" -color_primaries "bt709" -c copy -y %1.sRGB.mp4

    


    I'm on windows and I'm using ffmpeg 6.0

    


    The above command sets the tags for some videos correctly for for others does nothing. The file sizes change but ffprobe still shows me the old tags. It doesn't matter what color spaces I request or if I use numbers or strings.

    


    The only difference I can see in the source videos (ffprobe) is the SAR and DAR section.

    


    Stream #0:0[0x1](und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709/bt709/iec61966-2-1, progressive), 3840x2160, 91942 kb/s, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 30k tbn (default)

    


    Stream #0:0[0x1](und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709/bt709/iec61966-2-1, progressive), 3840x2160 [SAR 1:1 DAR 16:9], 119433 kb/s, 29.97 fps, 29.97 tbr, 30k tbn (default)

    


    the values are still the same but the grouping is different. the second one is the one that is not working through ffmpeg.

    


    do I need to provide more information on the commandline ? direct it to a stream I want to alter ? I'm a bit out of my depth here and google is not helping much on this.

    


    EDIT : updated to latest ffmpeg and I get warnings telling me that my commands were ignored :

    


    Codec AVOption colorspace (color space) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.

    


    however I get the same warnings on the mp4s that worked fine before and it is no longer working in the latest ffmpeg.

    


    my goal is to get from :

    


    Stream #0:0[0x1](und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, gbr/bt709/bt709, progressive)

    


    to :

    


    Stream #0:0[0x1](und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(progressive)

    


    basically I want to remove bt709 tag from it