Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (104)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer 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 (11462)

  • ffmpeg scaling not working for video

    15 mai 2018, par Neer Patel

    I am trying to change the dimensions of the video file through FFMPEG.
    I want to convert any video file to 480*360 .

    This is the command that I am using...

    ffmpeg -i oldVideo.mp4 -vf scale=480:360 newVideo.mp4

    After this command 1280*720 dimensions are converted to 640*360.

    I have also attached video. it will take less than minute for any experts out there. Is there anything wrong ?

    You can see here. (in Video, after 20 seconds, direclty jump to 1:35 , rest is just processing time).

    UPDATE :

    I found the command from this tutorial

  • How to apply noises on video ?

    22 juin 2018, par cht_usr

    I have seen this video on youtube which apply ffmpeg noises
    by these commands, but when I tried to apply them on my video it does not work

       ffmpeg -f lavfi -i mandelbrot=s=320x240 -c:v ffv1 -g 1 -bsf noise -t 10 ffv11v1.mov
       ffmpeg -f lavfi -i mandelbrot=s=320x240 -c:v ffv1 -level 3 -g 1 -bsf noise -t 10 ffv1v3.mov
       ffmpeg -f lavfi -i mandelbrot=s=320x240 -c:v v210 -bsf noise -t 10 -pix_fmt yuv422p10le v210.mov
       ffmpeg -f lavfi -i mandelbrot=s=320x240 -c:v rawvideo -bsf noise -t 10 -pix_fmt uyvy422 -vtag 2vuy uyvy422.mov
       ffmpeg -f lavfi -i mandelbrot=s=320x240 -c:v libx264 -crf 0 -qp 0 -bsf noise -t 10 -pix_fmt yuv420p h264.mov
       ffmpeg -f lavfi -i mandelbrot=s=320x240 -c:v qtrle -bsf noise -t 10 qtrle.mov
       ffmpeg -f lavfi -i mandelbrot=s=320x240 -c:v sunrast -bsf noise -t 10 sunrast.avi
       ffmpeg -f lavfi -i mandelbrot=s=320x240 -c:v targa -bsf noise -t 10 targa.avi
       ffmpeg -f lavfi -i mandelbrot=s=320x240 -c:v utvideo -bsf noise -t 10 utvideo.mov
       ffmpeg -f lavfi -i mandelbrot=s=320x240 -c:v xwd -bsf noise -t 10 xwd.avi
       ffmpeg -f lavfi -i mandelbrot=s=320x240 -c:v zmbv -bsf noise -t 10 zmbv.avi
       ffmpeg -f lavfi -i mandelbrot=s=320x240 -c:v flashsv -bsf noise -t 10 flashsv.mov
       ffmpeg -f lavfi -i mandelbrot=s=320x240 -c:v huffyuv -bsf noise -t 10 -pix_fmt yuv420p huffyuv.mov
       ffmpeg -f lavfi -i mandelbrot=s=320x240 -c:v libx264 -crf 0 -qp 0 -bsf noise -t 10 -pix_fmt yuv420p h264.mov

    like this command :

    ffmpeg -i /home/user/video.mp4 -codec:v huffyuv -f lavfi -c:v sunrast -bsf noise -t 10 videoNoised.avi
  • Automatic encoder selection failed for output stream #0:1

    9 juin 2018, par Rafael Lima

    I’m trying to use ffmpeg for edit some videos on android...
    It is working fine but if I try to use drawtext i get error

    the command is :

    path/ffmpeg -y -i /path/asd.mp4 -map 0 -segment_time 15 -f segment -c:v libx264 -preset veryfast -crf 30 -vf "drawtext=text='test message ':fontfile=/path/arial.ttf:box=1:boxborderw=30:boxcolor=0xE86F67@0.7:fix_bounds=true:fontcolor=0x2A363B:fontsize=32:x=0:y=h" -r 30 -force_key_frames expr:gte(t,n_forced*15) -an /path/temp%03d.mp4

    and the error is :

    ffmpeg version 4.0 Copyright (c) 2000-2018 the FFmpeg developers
     built with Android (4691093 based on r316199) clang version 6.0.2 (https://android.googlesource.com/toolchain/clang 183abd29fc496f55536e7d904e0abae47888fc7f) (https://android.googlesource.com/toolchain/llvm 34361f192e41ed6e4e8f9aca80a4ea7e9856f327) (based on LLVM 6.0.2svn)
    configuration: --prefix=/home/rafa/Desktop/m4/build --target-os=linux --arch=i686 --cpu=i686 --cross-prefix=/home/rafa/Desktop/m4/ndk/toolchain/i686/bin/i686-linux-android- --enable-cross-compile --cc=/home/rafa/Desktop/m4/ndk/toolchain/i686/bin/clang --cxx=/home/rafa/Desktop/m4/ndk/toolchain/i686/bin/clang++ --sysroot=/home/rafa/Desktop/m4/ndk/toolchain/i686/sysroot --pkg-config=/usr/bin/pkg-config --pkg-config-flags=--static --enable-pic --enable-gpl --enable-nonfree --enable-static --disable-shared --enable-ffmpeg --disable-ffplay --disable-ffprobe --disable-doc --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libx264 --enable-libfdk-aac --enable-bsf=aac_adtstoasc --enable-librtmp --enable-zlib --enable-libfreetype --enable-openssl --enable-libfontconfig --disable-asm --disable-devices --extra-cflags=-mno-stackrealign
     libavutil      56. 14.100 / 56. 14.100
    libavcodec     58. 18.100 / 58. 18.100
     libavformat    58. 12.100 / 58. 12.100
     libavdevice    58.  3.100 / 58.  3.100
        libavfilter     7. 16.100 /  7. 16.100
       libswscale      5.  1.100 /  5.  1.100
        libswresample   3.  1.100 /  3.  1.100
        libpostproc    55.  1.100 / 55.  1.100



      major_brand     : isom
        minor_version   : 512
        compatible_brands: isomiso2avc1mp41
        title           : 20180226 174005
        artist          : Rafael Lima
        date            : 2018
        encoder         : Lavf55.49.100
        comment         : https://www.youtube.com/watch?v=bkzc9mLyCyo
      Duration: 00:03:26.94, start: 0.000000, bitrate: 4156 kb/s
        Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 4025 kb/s, 30 fps, 30 tbr, 90k tbn, 60 tbc (default)
        Metadata:
          handler_name    : VideoHandler
        Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
        Metadata:
          handler_name    : SoundHandler
    Automatic encoder selection failed for output stream #0:1. Default encoder for format segment (codec none) is probably disabled. Please choose an encoder manually.
    Error selecting an encoder for stream 0:1

    things to considere :
    1. I’ve checked 3 times all the paths are valid
    2. I’ve tested the same command on ffmpeg 4.0 on windows and it works [with the same video]
    3. If I remove the drawtext filter it works fine...

    I tought it ffmpeg was built without drawtext or with some error so i spent 10 days in order to build it bymyself and guarantee every dependency is ok... but at end i got the same error

    does anyone have any idea please

    ==============================
    UPDATE

    I keep testing and if I remove the quotes from the filter and use a text without spacing it works

    ex :
    drawtext=text='test_message':fontfile=/path/arial.ttf:box=1:boxborderw=30:boxcolor=0xE86F67@0.7:fix_bounds=true:fontcolor=0x2A363B:fontsize=32:x=0:y=h

    so I believe there is something related to how android is escapes quotes and simple quotes because i compiled ffmpeg with same parameters and it runs on ubuntu with spaces at the text (just need to use simple quotes)

    does anyone know about it ?