Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (81)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (7426)

  • using ffmpeg to convert gif to mp4 , output doesn't play on android

    22 mai 2020, par Mahdi

    I just use the following command to convert a gif file to mp4 but the resulting mp4 file doesn't play in android default video player .
    
what did I wrong ?
    
is there any aditional steps should I take to produce android playable mp4 files ?

    



    $ ffmpeg -f gif -i infile.gif outfile.mp4


    



    my test gif file : Test Gif File
    
My desktop played the output.mp4 very well using VLC Media Player and also MX Player on my android device played the video file without any error.

    


  • Concat videos with ffmpeg does not work [migrated]

    6 mai 2013, par Yannick Schinko

    I'm currently trying to concat 3 Videos which don't have a audio stream and adding a audio file in the same step.

    I created this command which should do the work :

    ffmpeg -y -r 30 -i data\intro.mp4 -vcodec ppm -f image2pipe -i data\render.ppm -i data\outro.mp4 -i "data\I could be the one.mp3" -c:v libx264 -crf 18 -preset slow -pix_fmt yuv420p -c:a copy -filter_complex "[0:0] [1:0] [2:0] concat=n=3:v=1:a=0 [v]" -map [v] -map 3:0 -shortest -metadata title="Development of BrainStoneMod" -metadata description="This is the development of the BrainStoneMod starting from 08th April, 2013" -metadata author="The_BrainStone" -metadata copyright="2013" -metadata year="2013" -metadata composer="" -metadata TBPM="" -metadata TDAT="" gource.mp4

    It is indeed a long command but it satisfied my needs until I wanted to embend the actual video in between a intro and a outro.

    I'm getting this log :

    ffmpeg version N-51639-g7775992 Copyright (c) 2000-2013 the FFmpeg developers
     built on Apr  5 2013 22:24:22 with gcc 4.8.0 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
    e --enable-libgsm --enable-libilbc --enable-libmp3lame --enable-libopencore-amrn
    b --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libr
    tmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheo
    ra --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-li
    bvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --ena
    ble-zlib
     libavutil      52. 25.100 / 52. 25.100
     libavcodec     55.  2.100 / 55.  2.100
     libavformat    55.  1.100 / 55.  1.100
     libavdevice    55.  0.100 / 55.  0.100
     libavfilter     3. 49.100 /  3. 49.100
     libswscale      2.  2.100 /  2.  2.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  2.100 / 52.  2.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'data\intro.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.1.100
     Duration: 00:00:04.00, start: 0.000000, bitrate: 42 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720
    [SAR 1:1 DAR 16:9], 38 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
       Metadata:
         handler_name    : VideoHandler
    [image2pipe @ 027f0a80] Stream #0: not enough frames to estimate rate; consider
    increasing probesize
    Input #1, image2pipe, from 'data\render.ppm':
     Duration: N/A, bitrate: N/A
       Stream #1:0: Video: ppm, rgb24, 1280x720, 25 tbr, 25 tbn, 25 tbc
    Input #2, mov,mp4,m4a,3gp,3g2,mj2, from 'data\outro.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.1.100
     Duration: 00:00:04.00, start: 0.000000, bitrate: 42 kb/s
       Stream #2:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720
    [SAR 1:1 DAR 16:9], 38 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
       Metadata:
         handler_name    : VideoHandler
    [mp3 @ 02757020] max_analyze_duration 5000000 reached at 5015510 microseconds
    [mp3 @ 02757020] Estimating duration from bitrate, this may be inaccurate
    Input #3, mp3, from 'data\I could be the one.mp3':
     Metadata:
       TBPM            : 140
       TDAT            : 0000
       composer        : Kevin Als
     Duration: 00:03:55.91, start: 0.000000, bitrate: 320 kb/s
       Stream #3:0: Audio: mp3, 44100 Hz, stereo, s16p, 320 kb/s
    [Parsed_concat_0 @ 028b20e0] Input link in1:v0 parameters (size 1280x720, SAR 0:
    1) do not match the corresponding output link in0:v0 parameters (1280x720, SAR 1
    :1)
    [Parsed_concat_0 @ 028b20e0] Failed to configure output pad on Parsed_concat_0

    What should I do ?

    By the way : This is the command I used before and worked out great :

    ffmpeg -y -r 30 -i "data\I could be the one.mp3" -vcodec ppm -f image2pipe -i data\render.ppm -c:v libx264 -crf 18 -preset slow -pix_fmt yuv420p -c:a copy -map 1:0 -map 0:0 -shortest -metadata title="Development of BrainStoneMod" -metadata description="This is the development of the BrainStoneMod starting from 08th April, 2013" -metadata author="The_BrainStone" -metadata copyright="2013" -metadata year="2013" -metadata composer="" -metadata TBPM="" -metadata TDAT="" gource.mp4

    Any ideas ?

  • compiling errors with ffmpeg on linux [closed]

    7 mai 2013, par David Tree

    Hi all ,I downloaded the latest ffmpeg source code and successfully installed it on Ubuntu

    But I failed to compile a simple demo.
    This was created with QtCreator with the .pro file as follows :

    QT -= gui

    TARGET = qt_v4l2
    TEMPLATE = app
    SOURCES += \
    ../tutorial01.c

    LIBS += -L/-lavcodec -lavformat -lswscale -lavutil

    Here are the error messages ,just to name a few :

    ../tutorial01.c:22:16 : error : unknown type name 'AVFrame'

    ../tutorial01.c:55:5 : error : unknown type name 'uint8_t'

    ../tutorial01.c:68:50 : error : 'NULL' undeclared (first use in this function)

    /tutorial01.c:84:22 : error : request for member 'streams' in something not a structure or union

    ../tutorial01.c:84:57 : error : 'AVMEDIA_TYPE_VIDEO' undeclared (first use in this function)

    ../tutorial01.c:122:24 : error : expected expression before ')' token

    ../tutorial01.c:128:21 : error : 'AVPicture' undeclared (first use in this function)
    ../tutorial01.c:128:32 : error : expected expression before ')' token

    .

    And this is the ffmpeg installed
    ffmpeg version 1.1.git Copyright (c) 2000-2013 the FFmpeg developers
    built on May 7 2013 14:10:58 with gcc 4.7 (Ubuntu/Linaro 4.7.2-2ubuntu1)
    configuration : —enable-gpl —prefix=/usr —enable-libx264 —enable-pthreads

    And this is the actuall CODE

    https://github.com/phamquy/FFmpeg-tutorial-samples/blob/master/tutorial01.c