Recherche avancée

Médias (0)

Mot : - Tags -/masques

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

Autres articles (74)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (7582)

  • rename files from id3v1 tags in terminal

    13 février 2021, par MenaK

    I have a directory of mp3 files which are all named 1.mp3, 2.mp3 etc..

    


    #dir with numbers for names

10.mp3  15.mp3  2.mp3   24.mp3  29.mp3  33.mp3  38.mp3  42.mp3  47.mp3  51.mp3  56.mp3  60.mp3  65.mp3  7.mp3   74.mp3  79.mp3  83.mp3  88.mp3  92.mp3
11.mp3  16.mp3  20.mp3  25.mp3  3.mp3   34.mp3  39.mp3  43.mp3  48.mp3  52.mp3  57.mp3  61.mp3  66.mp3  70.mp3  75.mp3  8.mp3   84.mp3  89.mp3  93.mp3
12.mp3  17.mp3  21.mp3  26.mp3  30.mp3  35.mp3  4.mp3   44.mp3  49.mp3  53.mp3  58.mp3  62.mp3  67.mp3  71.mp3  76.mp3  80.mp3  85.mp3  9.mp3   94.mp3
13.mp3  18.mp3  22.mp3  27.mp3  31.mp3  36.mp3  40.mp3  45.mp3  5.mp3   54.mp3  59.mp3  63.mp3  68.mp3  72.mp3  77.mp3  81.mp3  86.mp3  90.mp3  95.mp3
14.mp3  19.mp3  23.mp3  28.mp3  32.mp3  37.mp3  41.mp3  46.mp3  50.mp3  55.mp3  6.mp3   64.mp3  69.mp3  73.mp3  78.mp3  82.mp3  87.mp3  91.mp3  96.mp3


    


    I wrote a for loop to extract the title from the metadata using ffmpeg :

    


    for x in *.mp3; do
ffmpeg -i $x ./$("ffmpeg -i $x 2>&1 |grep -E '^\s*title\s*\:\s.*$' |awk -F ' :' '{print $2}'".mp3
done


    


    Instead of extracting the title and renaming the file it says that the file '.mp3' already exists, would I like to rewrite it. when I type y to rewrite this new '.mp3' the same things just happens again.
I fixed the problem by putting the full path of the output file in double quotes instead of just the title extraction command

    


    for x in *.mp3; do
ffmpeg -I $x "./$(ffmpeg -i $x 2>&1 |grep -E '^\s*title\s*\:\s.*$' |awk -F ' :' '{print $2}'
)".mp3
done


    


    My question is why does it create a new file called .mp3 when I only wrap the title extraction command in quotes and not the whole path ?

    


    I'm sorry if this is a little lengthly, Im new to stack overflow

    


  • PHP FFMPEG command not working and working in terminal

    1er mars 2019, par Saurabh Sharma

    My FFMPEG path /usr/bin/ffmpeg
    My FFMPEG command

    $result = exec('/usr/bin/ffmpeg -i 1551361268_video.webm -i
    1551361289_video.webm -i 1551361500_video.webm -i 1551361518_video.webm -i
    1551361555_video.webm -i 1551361626_video.webm -i 1551361647_video.webm -i
     1551361682_video.webm \
    -filter_complex "[0:v:0][0:a:0][1:v:0][1:a:0][2:v:0][2:a:0][3:v:0][3:a:0]
    [4:v:0][4:a:0][5:v:0][5:a:0][6:v:0][6:a:0][7:v:0]
    [7:a:0]concat=n=8:v=1:a=1[outv][outa]" \
    -map "[outv]" -map "[outa]" php.mkv');

    When I run this code nothing happens. I’m using centos 7. If I run this command on terminal, This works fine.

  • Command works on terminal but not with Kotlin

    9 novembre 2019, par Antony

    I’m trying to use an FFMPEG command for concatenating different videos. The command is

    ffmpeg -i video.mp4 -i video-2.mp4 -filter_complex "[0:v:0] [0:a:0] [1:v:0] [1:a:0] concat=n=2:v=1:a=1 [v] [a]" -map "[v]" -map "[a]" output.mp4

    This command works good when I run on Windows PowerShell. But when I try to run with Kotlin code it doesn’t work.

    val firstVideo = "D:\\Videos\\ffmpeg\\video.mp4"
    val secondVideo = "D:\\Videos\\ffmpeg\\video-2.mp4"
    val resultPath = "D:\\Videos\\ffmpeg\\result-2.mp4"

    val cmd = "ffmpeg -i $firstVideo -i $secondVideo -filter_complex \"[0:v:0] [0:a:0] [1:v:0] [1:a:0] concat=n=2:v=1:a=1 [v] [a]\" -map \"[v]\" -map \"[a]\" $resultPath"
    .split(" ").toTypedArray()

    Runtime.getRuntime().exec(cmd)

    I’m not taking any error messages since I’m using FFMPEG cli.

    Also, this piece of Kotlin works perfect when I’m trying to run other FFMPEG operations.