Recherche avancée

Médias (0)

Mot : - Tags -/interaction

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

Autres articles (89)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Initialisation de MediaSPIP (préconfiguration)

    20 février 2010, par

    Lors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
    Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
    Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
    Dans un premier temps il active ou désactive des options de SPIP qui ne le (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (6636)

  • Chaining drawtext to overlay in FFMPEG

    14 juillet 2018, par alan samuel

    I am trying to add some text to a video using draw text. Is it also possible to use fontcolor to white ?

    Here is my command I am trying

    ffmpeg -i test.mp4 -i Watermark.png -filter_complex "[0:v][1:v] overlay=0:0:enable='between(t,5,30)'[v]; [0]volume=0:enable='between(t,5,30)'[a];drawtext=fontsize=50:fontfile=FreeSerif.ttf:text='This screen is redacted':x=(w-text_w)/2:y=(h-text_h)/2" -map "[v]" -map "[a]" -preset ultrafast output.mp4

    I get - Cannot find a matching stream for unlabeled input pad 0 on filter Parsed_drawtext_2

    With the below answer it is failing for this video.

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'austin.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isommp42
       creation_time   : 2018-07-14T04:40:00.000000Z
       location        : -34.8857+138.5805/
       location-eng    : -34.8857+138.5805/
       com.android.version: 8.1.0
       com.android.capture.fps: 30.000000
     Duration: 00:01:12.00, start: 0.000000, bitrate: 48200 kb/s
       Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, smpte170m), 3840x2160, 48060 kb/s, SAR 1:1 DAR 16:9, 30 fps, 30 tbr, 90k tbn, 180k tbc (default)
       Metadata:
         creation_time   : 2018-07-14T04:40:00.000000Z
         handler_name    : VideoHandle
       Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 96 kb/s (default)
       Metadata:
         creation_time   : 2018-07-14T04:40:00.000000Z
         handler_name    : SoundHandle

    I keep getting this error :

    x264 [error] : malloc of size 22688384 failedme=00:00:01.00 bitrate= 0.4kbits/s

    speed=   1x
    Video encoding failed
    [aac @ 000002727e589f00] Qavg: 4246.095
    [aac @ 000002727e589f00] 2 frames left in the queue on closing
    Conversion failed!
  • merge multiple videos and images dynamically using ffmpeg [duplicate]

    16 avril 2018, par robert tamunoemi

    I am trying to merge several images and videos together. When there is more than one video, the audio of the next video is lost. Here is my command :

    $filter = "[0][1][2][3][4]concat=n=5:v=1:a=0,scale=320:240";

    $cmd = 'ffmpeg -y  -i videos/video__152344425320.mp4  -loop 1 -framerate 24 -t 10 -i images/4_152222487376001.png -i videos/video__152344425320.mp4 -loop 1 -framerate 24 -t 10 -i images/4_152222487376002.png -loop 1 -framerate 24 -t 10 -i images/4_152222487376003.png -filter_complex '.$filter.' out.mp4';
    shell_exec($cmd.' 2> log.txt');

    This works but when I set concat=n=5:v=2:a=1, I get this error :

    ffmpeg version N-89674-g57d0c24132 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 7.2.0 (GCC)
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-amf --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
     libavutil      56.  7.100 / 56.  7.100
     libavcodec     58.  9.100 / 58.  9.100
     libavformat    58.  3.100 / 58.  3.100
     libavdevice    58.  0.100 / 58.  0.100
     libavfilter     7.  8.100 /  7.  8.100
     libswscale      5.  0.101 /  5.  0.101
     libswresample   3.  0.101 /  3.  0.101
     libpostproc    55.  0.100 / 55.  0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'videos/video__152344425320.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isommp42
       creation_time   : 2017-12-10T04:51:23.000000Z
     Duration: 00:02:48.62, start: 0.000000, bitrate: 77 kb/s
       Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 176x144 [SAR 1:1 DAR 11:9], 51 kb/s, 10.01 fps, 9.99 tbr, 15984 tbn, 999 tbc (default)
       Metadata:
         creation_time   : 2017-12-10T04:51:23.000000Z
         handler_name    : IsoMedia File Produced by Google, 5-11-2011
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 22050 Hz, mono, fltp, 24 kb/s (default)
       Metadata:
         creation_time   : 2017-12-10T04:51:24.000000Z
         handler_name    : IsoMedia File Produced by Google, 5-11-2011
    Input #1, png_pipe, from 'images/4_152222487376001.png':
     Duration: N/A, bitrate: N/A
       Stream #1:0: Video: png, rgba(pc), 176x144 [SAR 3780:3780 DAR 11:9], 24 fps, 24 tbr, 24 tbn, 24 tbc
    Input #2, mov,mp4,m4a,3gp,3g2,mj2, from 'videos/video__152344425320.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isommp42
       creation_time   : 2017-12-10T04:51:23.000000Z
     Duration: 00:02:48.62, start: 0.000000, bitrate: 77 kb/s
       Stream #2:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 176x144 [SAR 1:1 DAR 11:9], 51 kb/s, 10.01 fps, 9.99 tbr, 15984 tbn, 999 tbc (default)
       Metadata:
         creation_time   : 2017-12-10T04:51:23.000000Z
         handler_name    : IsoMedia File Produced by Google, 5-11-2011
       Stream #2:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 22050 Hz, mono, fltp, 24 kb/s (default)
       Metadata:
         creation_time   : 2017-12-10T04:51:24.000000Z
         handler_name    : IsoMedia File Produced by Google, 5-11-2011
    Input #3, png_pipe, from 'images/4_152222487376002.png':
     Duration: N/A, bitrate: N/A
       Stream #3:0: Video: png, rgba(pc), 176x144 [SAR 3780:3780 DAR 11:9], 24 fps, 24 tbr, 24 tbn, 24 tbc
    Input #4, png_pipe, from 'images/4_152222487376003.png':
     Duration: N/A, bitrate: N/A
       Stream #4:0: Video: png, rgba(pc), 176x144 [SAR 3780:3780 DAR 11:9], 24 fps, 24 tbr, 24 tbn, 24 tbc
    [AVFilterGraph @ 00000000030fe580] Too many inputs specified for the "scale" filter.
    Error initializing complex filters.
    Invalid argument
  • creating a video using ffmpeg command with image name pattern [duplicate]

    21 mars 2018, par Junaid Farooq

    This question already has an answer here :

    I am coming from this question
    https://askubuntu.com/questions/610903/how-can-i-create-a-video-file-from-a-set-of-jpg-images

    Everything is working fine and I can create a video, I am only struggling with the image name pattern. Each time, I had to rename all files first to a specific pattern.

    Can we create a video using the same command written below but with this kind of image name pattern ?

    2018-01-19-11-55-00.jpg  2018-01-19-17-00-00.jpg  2018-01-22-10-10-00.jpg  2018-01-22-13-25-00.jpg  2018-01-22-16-40-00.jpg
    2018-01-19-12-00-00.jpg  2018-01-19-17-05-00.jpg  2018-01-22-10-15-00.jpg  2018-01-22-13-30-00.jpg  2018-01-22-16-45-00.jpg

    I want to use this command

    ffmpeg -framerate 25 -i image-%04d.jpg -c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p output.mp4

    but this one using

    image-2000.jpg  image-2400.jpg  image-2800.jpg

    above image pattern.

    Is there any possibility to use the above pattern of files which are being named as a date. also, all these images are in a folder. Can FFMPEG address them ?