Recherche avancée

Médias (1)

Mot : - Tags -/ogv

Autres articles (92)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (12094)

  • Start ffmpeg recording at a specified date/time ?

    4 janvier 2016, par Andy B

    Is it possible to execute ffmpeg and start screen capturing at a specific date/time ?

    I have an issue with the start-up latency and I can’t synchronize ffmpeg with another application well.

    Or, is there some other way to control the time when ffmpeg starts capturing ?

  • I want to insert an audio at a certain time on the video using moviepy.editor

    28 novembre 2022, par Khong Phai Hex

    I want to insert an audio at a certain time on the video using moviepy.editor, how do I do it ?, or do you have another way ? please show me.

    


    Examples like this :enter image description here

    


    I was expecting someone to answer me, because I searched for a long time but couldn't.

    


  • How to reduce conversion/compression time in FFmpeg and How to merge command ?

    21 novembre 2018, par Patel Pinkal

    I want to reduce time taken to create new video after adding text in original video using FFmpeg
    I had tried to search and I found this code given below for reducing time.

    -y -i /sdcard/videokit/in.mp4 -strict experimental -vcodec libx264 -preset ultrafast -crf 24 -acodec aac -ar 44100 -ac 2 -b 36000k -s 1280x720 -aspect 16:9 -metadata:s:v:0 rotate=0 /sdcard/videokit/out3.mp4

    Now, I want to add text in video and it is done in FFmpeg, by this command and its 100% working.

     String[] addTextCommand = {
               "-i",
               "" + realFilePath,
               "-vf",
               "drawtext=fontsize=50:fontfile=/storage/emulated/0/Download/Cerbetica-regular.ttf:fontcolor=red:text='"
                       + strText +
                       "':x=0:y=0: box=1: boxcolor=black@0.5:boxborderw=10: x=0: y=(h-text_h)/2",
               "-strict",
               "-2",
               outputFilePath};

    Now my problem is how do I merge this two code and make one single command to make an edited video and also take less time to create a new video. In this, I have tried this command but it’s not working.

      String[] addTextCommand = {
               "-i",
               "" + realVideoPath,
               "-vf",
               "-c:v", "libx264",
               "-preset", "ultrafast",
               "-crf", "24",
               "-acodec", "aac",
               "-ar", "44100",
               "-ac", "2",
               "-b", "36000k",
               "-s", "1280x720",
               "-aspect", "16:9",
               "-metadata:s:v:0 rotate=0",
               "drawtext=fontsize=50:fontfile=/storage/emulated/0/Download/Cerbetica-regular.ttf:fontcolor=red:text='"
                       + strText +
                       "':x=0:y=0: box=1: boxcolor=black@0.5:boxborderw=10: x=0: y=(h-text_h)/2",
               "-strict",
               "-2",
               outputFilePath};

    If anyone has an idea how to make command of FFmpeg please describe it and explain how to use it.

    Using command of @Mulvya I got this in the console.

        D/MainActivity: FAILED with output : WARNING: linker: /data/user/0/com.inheritx.videoprocessing/files/ffmpeg has text relocations. This is wasting memory and prevents security hardening. Please fix.
                      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/i686-linux-android- --arch=x86 --cpu=i686 --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/x86 --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -march=i686' --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
                      Unrecognized option '2'.
                      Error splitting the argument list: Option not found
      D/MainActivity: Finished command : ffmpeg -i
      D/MainActivity: Finished command : ffmpeg /storage/emulated/0/Download/spacetestSMALL_512kb.mp4
      D/MainActivity: Finished command : ffmpeg -vf
      D/MainActivity: Finished command : ffmpeg drawtext=fontsize=50:fontfile=/system/fonts/DroidSans.ttf:fontcolor=red:text='Hello':x=0:y=0: box=1: boxcolor=black@0.5:boxborderw=10: x=0: y=(h-text_h)/2
      D/MainActivity: Finished command : ffmpeg -c:v
      D/MainActivity: Finished command : ffmpeg libx264
      D/MainActivity: Finished command : ffmpeg -preset
      D/MainActivity: Finished command : ffmpeg ultrafast
      D/MainActivity: Finished command : ffmpeg -crf
      D/MainActivity: Finished command : ffmpeg 24
      D/MainActivity: Finished command : ffmpeg -acodec
      D/MainActivity: Finished command : ffmpeg aac
      D/MainActivity: Finished command : ffmpeg -ar
      D/MainActivity: Finished command : ffmpeg 44100
      D/MainActivity: Finished command : ffmpeg -s
      D/MainActivity: Finished command : ffmpeg 1280x720
      D/MainActivity: Finished command : ffmpeg -aspect
      D/MainActivity: Finished command : ffmpeg 16:9
      D/MainActivity: Finished command : ffmpeg -metadata:s:v:0 rotate=0
      D/MainActivity: Finished command : ffmpeg -strict
      D/MainActivity: Finished command : ffmpeg -2
      D/MainActivity: Finished command : ffmpeg /storage/emulated/0/Movies/add_text25.mp4