Recherche avancée

Médias (91)

Autres articles (96)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

Sur d’autres sites (8150)

  • FFMPEG + h264_qsv = green line at bottom of video

    5 septembre 2021, par GRFF

    I am experimenting with Intel quicksync and FFMPEG on Ubuntu 19.04 (https://github.com/Intel-Media-SDK/MediaSDK/wiki/Intel-media-stack-on-Ubuntu) .

    



    Unfortunately, I am stuck with having a green line at the bottom of the outputs when scaling. Making sure that the height is divisible by 8 or 16 will sometimes hide the green bar when playing the video with VLC, but not always. Playing it on iPhone and Quicktime on Mac will always show the green line. 
There is very little about this issue to be found online so I am stuck.

    



    Here is my FFMPEG version :

    



    ffmpeg version N-95842-g103effe Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 8 (Ubuntu 8.3.0-6ubuntu1)
configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --extra-libs='-lpthread -lm' --bindir=/root/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libx264 --enable-libmfx --enable-openssl --enable-nonfree
libavutil      56. 36.100 / 56. 36.100
libavcodec     58. 62.100 / 58. 62.100
libavformat    58. 35.100 / 58. 35.100
libavdevice    58.  9.101 / 58.  9.101
libavfilter     7. 66.100 /  7. 66.100
libswscale      5.  6.100 /  5.  6.100
libswresample   3.  6.100 /  3.  6.100
libpostproc    55.  6.100 / 55.  6.100


    



    Here is my input video :

    



    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '720p-test.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    creation_time   : 2019-10-19T15:49:16.000000Z
  Duration: 00:12:04.32, start: 0.000000, bitrate: 1206 kb/s
    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 1075 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
    Metadata:
      creation_time   : 2019-10-19T15:49:16.000000Z
      handler_name    : ISO Media file produced by Google Inc. Created on: 10/19/2019.
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 127 kb/s (default)
    Metadata:
      creation_time   : 2019-10-19T15:49:16.000000Z
      handler_name    : ISO Media file produced by Google Inc. Created on: 10/19/2019.


    



    Here is my example commmand :

    



    /root/bin/ffmpeg -hwaccel qsv -c:v h264_qsv -i 720p-test.mp4 -c:v h264_qsv -vf 'scale_qsv=640:360' -preset veryfast -b:v 800K -movflags faststart 720-to-360.mp4

    



    Here is the output :

    



    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '720-to-360.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.35.100
  Duration: 00:12:04.35, start: 0.000000, bitrate: 925 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 791 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
    Metadata:
      handler_name    : ISO Media file produced by Google Inc. Created on: 10/19/2019.
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      handler_name    : ISO Media file produced by Google Inc. Created on: 10/19/2019.


    



    Here is how the output looks :

    



    enter image description here

    



    I am not sure where to go from here. Any ideas ?

    


  • How to bring text to leftside and 30% from bottom up in output video using ffmpeg drawtext

    18 avril 2020, par Guna

    I got some code from stack overflow which generates text animation.

    



    In this code, the text is coming in the middle. I want the text on left side and 30 to 40% up from bottom.

    



    I tried changing x and y parameters but it wasn't successful.

    



    below is the code

    



    ffmpeg -i output_with_logo1.mp4 -vf "[in]drawtext=fontfile=Mangal.ttf: text='कॉपर कैन्यन, सिएरा माद्रे, मेक्सिको।': fontcolor=red: fontsize=60: x=(w-text_w)/2: y=if(lt(t\,3)\,(-h+((3*h-200)*t/6))\,(h-200)/2):enable='between(t,2.9,50)',


    



    drawtext=fontfile=Mangal.ttf: text='कॉपर कैन्यन, सिएरा माद्रे, मेक्सिको ।': fontcolor=yellow: fontsize=60: x=if(lt(t\,4)\,(-w+((3*w-tw)*t/8))\,(w-tw)/2): y=(h-100)/2:enable='between(t,3.5,50)',


    



    drawtext=fontfile=Mangal.ttf: text='कॉपर कैन्यन, सिएरा माद्रे, मेक्सिको ।': fontcolor=blue: fontsize=60: x=if(lt(t\,5)\,(2*w-((3*w+tw)*t/10))\,(w-tw)/2): y=h/2:enable='between(t,4.5,50)',


    



    drawtext=fontfile=Mangal.ttf: text='कॉपर कैन्यन, सिएरा माद्रे, मेक्सिको ।': fontcolor=black: fontsize=60: x=(w-text_w)/2: y=if(lt(t\,6)\,(2*h-((3*h-100)*t/12))\,(h+100)/2):enable='between(t,5.5,50)'[out]" out101.mp4


    


  • FFMpeg Error on bottom VSTACK image to video [duplicate]

    21 mai 2020, par seopower

    Using Xamarin and https://www.nuget.org/packages/Xamarin.Android.FFmpeg/

    



    I am trying to vertically stitch an image on a video at bottom (not overlap), so that I have a banner running under video without affecting original video height.

    



    The command I am running is (removed original path) :

    



    Command: ffmpeg -y -i /path/source.mp4 -i /path/share.jpg -filter_complex "[1:v]scale=640:-1[bottom];[0:v][bottom]vstack" /output/temp.mp4


    



    But getting error like this :

    



    ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers  built with gcc 4.9.x (GCC) 20150123 (prerelease)  configuration: --target-os=linux --cross-prefix=/root/ffmpeg-android/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/root/ffmpeg-android/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --enable-hwaccels --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --disable-asm --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/root/ffmpeg-android/ffmpeg-android/ffmpeg-pkg-config --prefix=/root/ffmpeg-android/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/root/ffmpeg-android/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/root/ffmpeg-android/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.100Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/path/source.mp4':  Metadata:    major_brand     : mp42    minor_version   : 0    compatible_brands: mp42isom  Duration: 00:00:06.00, start: 0.000000, bitrate: 697 kb/s    Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 640x640, 694 kb/s, 30 fps, 30 tbr, 1000k tbn, 2000k tbc (default)[mjpeg @ 0xeb4e3800] Changing bps to 8Input #1, image2, from '/path/share.jpg':  Duration: 00:00:00.04, start: 0.000000, bitrate: 9064 kb/s    Stream #1:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 534x123 [SAR 1:1 DAR 178:41], 25 tbr, 25 tbn, 25 tbc[swscaler @ 0xeb224000] deprecated pixel format used, make sure you did set range correctly[libx264 @ 0xeb4e4400] height not divisible by 2 (640x787)Output #0, mp4, to '/output/temp.mp4':  Metadata:    major_brand     : mp42    minor_version   : 0    compatible_brands: mp42isom    Stream #0:0: Video: h264, none, q=2-31, 128 kb/s, 30 fps (default)    Metadata:      encoder         : Lavc57.24.102 libx264Stream mapping:  Stream #0:0 (h264) -> vstack:input0  Stream #1:0 (mjpeg) -> scale  vstack -> Stream #0:0 (libx264)Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height


    



    Any idea what is going wrong in this command ? (as I am very new to FFMpeg)