Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (73)

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

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (6955)

  • How to compile latest FFmpeg Library for Android ?

    2 décembre 2016, par Timo Schuck

    Struggling to put together a working and generally best practice build of current FFmpeg. There seems to be no up-to-date documents or tutorials. What does exist is full of outdated links or build-scripts that do not work.

  • How do i overlay frame number on video in python

    11 mai 2022, par Anuj Saxena

    How do i watermarking a video with the current frame number ?
My command is
[ ffmpeg -i input -vf "drawtext=fontfile=Arial.ttf : text='%frame_num' : start_number=1 : x=(w-tw)/2 : y=h-(2*lh) : fontcolor=black : fontsize=20 : box=1 : boxcolor=white : boxborderw=5" -c:a copy output.mp4 ]

    


    when I run this command in the terminal I executed my task successfully. but when I used this command in IDE (pycharm) it treated text='%frame_num as a variable IDE throws an error and when i replace frame_num with 1 or 0 or any number then IDE executed my code and make a video but this video has no watermark of the current frame number.

    


    what should I do ??

    


    import os

cmd =f'''ffmpeg -i input.mp4 -vf "drawtext=fontfile=Arial.ttf: text='%{frame_num}': start_number=1: x=(w-tw)/2: y=h-(2*lh): fontcolor=black: fontsize=20: box=1: boxcolor=white: boxborderw=5" -c:a copy output.mp4'''

print(cmd)

os.system(cmd)


    


  • FFMPEG Android concat videos

    19 novembre 2016, par Willian Feltri

    I’m getting strange message when concatening some videos in my Android App. How shoould i fix that ?

    command : String[] cmd = "-auto_convert", "1", "-f", "concat", "-safe", "0", "-i", txtFilePath, "-c", "copy", finalHighlightVideoPath ;

    For the txtFilePath, it has a list of mp4 videos that I need to concat.

    ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
                                                           built with gcc 4.8 (GCC)
                                                           configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
                                                           libavutil      55. 17.103 / 55. 17.103
                                                           libavcodec     57. 24.102 / 57. 24.102
                                                           libavformat    57. 25.100 / 57. 25.100
                                                           libavdevice    57.  0.101 / 57.  0.101
                                                           libavfilter     6. 31.100 /  6. 31.100
                                                           libswscale      4.  0.100 /  4.  0.100
                                                           libswresample   2.  0.101 /  2.  0.101
                                                           libpostproc    54.  0.100 / 54.  0.100
                                                         [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb7b621f0] Auto-inserting h264_mp4toannexb bitstream filter
                                                         Input #0, concat, from '/data/user/0/com.qouyou.qouyou/cache/ffmpegvideosfinalfile-2042067805.txt':
                                                           Duration: N/A, start: 0.000000, bitrate: 4364 kb/s
                                                             Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 4296 kb/s, 25.28 fps, 120 tbr, 90k tbn, 180k tbc
                                                             Metadata:
                                                               handler_name    : VideoHandler
                                                             Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 68 kb/s
                                                             Metadata:
                                                               handler_name    : SoundHandler
                                                         Output #0, mp4, to '/storage/emulated/0/Movies/videohighlight.mp4':
                                                           Metadata:
                                                             encoder         : Lavf57.25.100
                                                             Stream #0:0(eng): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1280x720, q=2-31, 4296 kb/s, 25.28 fps, 120 tbr, 90k tbn, 90k tbc
                                                             Metadata:
                                                               handler_name    : VideoHandler
                                                             Stream #0:1(eng): Audio: aac (LC) ([64][0][0][0] / 0x0040), 48000 Hz, stereo, 68 kb/s
                                                             Metadata:
                                                               handler_name    : SoundHandler
                                                         Stream mapping:
                                                           Stream #0:0 -> #0:0 (copy)
                                                           Stream #0:1 -> #0:1 (copy)
                                                         Press [q] to stop, [?] for help
                                                         [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb7b67030] Auto-inserting h264_mp4toannexb bitstream filter
                                                         [mp4 @ 0xb7bda280] Non-monotonous DTS in output stream 0:0; previous: 377898, current: 64352; changing to 377899. This may result in incorrect timestamps in the output file.
                                                         [mp4 @ 0xb7bda280] Non-monotonous DTS in output stream 0:0; previous: 377899, current: 64864; changing to 377900. This may result in incorrect timestamps in the output file.
                                                         [mp4 @ 0xb7bda280] Non-monotonous DTS in output stream 0:1; previous: 201520, current: 186675; changing to 201521. This may result in incorrect timestamps in the output file.
                                                         [mp4 @ 0xb7bda280] Non-monotonous DTS in output stream 0:0; previous: 377900, current: 65376; changing to 377901. This may result in incorrect timestamps in the output file.
                                                         [mp4 @ 0xb7bda280] Non-monotonous DTS in output stream 0:1; previous: 201521, current: 187699; changing to 201522. This may result in incorrect timestamps in the output file.
                                                         [mp4 @ 0xb7bda280] Non-monotonous DTS in output stream 0:1; previous: 201522, current: 188723; changing to 201523. This may result in incorrect timestamps in the output file.
                                                         [mp4 @ 0xb7bda280] Non-monotonous DTS in output stream 0:0; previous: 377901, current: 65888; changing to 377902. This may result in incorrect timestamps in the output file.
                                                         [mp4 @ 0xb7bda280] Non-monotonous DTS in output stream 0:1; previous: 201523, current: 189747; changing to 201524. This may result in incorrect timestamps in