Recherche avancée

Médias (91)

Autres articles (40)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • 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

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (4547)

  • FFmpeg - concat videos error, do not match the corresponding output link ?

    18 février 2021, par wensefu

    I'm trying to concat some video into one single video using ffmpeg.

    



    input information :

    



    a.mp4 1920x808 , b.mkv 1280x720

    



    First I tried command below and it works fine :

    



    


    ffmpeg -i a.mp4 -i b.mkv -f lavfi -t 0.1 -i anullsrc -filter_complex [1:v]scale=1920:808:force_original_aspect_ratio=decrease,pad=1920:808 :(ow-iw)/2 :(oh-ih)/2[v1] ; [0:v][0:a][v1][1:a]concat=n=2:v=1:a=1[outv][outa] -map [outv] -map [outa] -vcodec libx264 -crf 27 -preset ultrafast -threads 2 out.mp4

    


    



    And then I put 'b.mkv' first :

    



    


    ffmpeg -i b.mkv -i a.mp4 -f lavfi -t 0.1 -i anullsrc -filter_complex [0:v]scale=1920:808:force_original_aspect_ratio=decrease,pad=1920:808 :(ow-iw)/2 :(oh-ih)/2[v0] ; [v0][0:a][1:v][1:a]concat=n=2:v=1:a=1[outv][outa] -map [outv] -map [outa] -vcodec libx264 -crf 27 -preset ultrafast -threads 2 out.mp4

    


    



    but this time I got error :

    



    


    Input link in1:v0 parameters (size 1920x808, SAR 0:1) do not match the corresponding output link in0:v0 parameters (1920x808, SAR 3232:3231)

    


    



    I don't understand why ?

    



    Any ideas anyone ?

    



    Many thanks in advance.

    


  • Specifying correct library to link in Xcode when multiple copies exist on search path

    23 avril 2015, par Robotbugs

    I am trying to compile a C++ file that depends on ffmpeg. I have spent a long time trying to fix all the link errors. I found that on the Mac it needs :

    libbz2.dylib
    libiconv.dylib
    libz.dylib
    libavcodec.a
    libavformat.a
    libswscale.a
    libswresample.a
    VideoDecodeAcceleration.framework
    CodeVideo.framework
    CoreFoundation.framework

    The problem I have is that I still get symbol link errors for libiconv even though the library is present in /usr/lib and all the other libraries in this directory are being found there. The compile line includes -liconv.2

    On searching around I found that the problem comes from there being two version of libiconv on my system. One is in /usr/lib and the other is in /opt/local/lib. The one in /usr/lib exports symbols that ffmpeg uses named like "_iconv_open", whereas the one in /opt/local/lib exports the same symbols with "lib" added, e.g. "_libiconv_open". It seems the compiler is picking up the /opt/local/lib library.

    How can I get Xcode to pick up the correct lib ?

  • Link ffmpeg to Pydub in Serverless layer

    15 mars 2021, par akai

    I'm using the Serverless framework to deploy an app on AWS. I have created a layer, defined as follows in serverless.yml :

    


    layers:
  ffmpeg:
    path: layer


    


    I also excluded it from the main file bundle :

    


    package:
  exclude:
    - layer/**


    


    and defined a lambda function :

    


     cut_audio:
    layers:
      - {Ref: FfmpegLambdaLayer}


    


    In this function I use the Pydub library, which needs to access the ffmpeg layer. At the moment I have the following error FileNotFoundError: [Errno 2] No such file or directory: 'ffprobe', meaning I have to link ffmpeg as AudioSegment.converter(path)

    


    How do I get the path of my layer ?

    


    Edit : could I solve this by bundling both Pydub and ffmpeg in the layer ?

    


    Edit 2 : the eziotedeschi/AWS-Lambda-Layer-Pydub github repository doesn't seem to help. I get the following error No module named 'pydub'. I am using Python3.8 as runtime, that might be the issue.