Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (82)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (8525)

  • ffmpeg only drawing last text

    24 juillet 2020, par Muhammad Mohsin Ajmal

    Im using ffmpeg in flutter using the flutter ffmpeg plugin. While experimenting with it this is what I am trying to do : Show text between 1 to 2 seconds and a different text between 3 to 4 seconds in video.

    


    Only the text mentioned between 3 to 4 seconds is shown. So for me only the last drawText would work. What am I missing here ?

    


    The is the list of arguments generated

    


     Running FFmpeg with arguments: [-y, -i, /storage/emulated/0/DCIM/Camera/20200707_234610.mp4, -i, /data/user/0/com.example.example/app_flutter/watermark.png, -filter_complex, [0:v][1:v]overlay=main_w-overlay_w-5:5 ,drawtext=fontfile='/data/user/0/com.example.example/app_flutter/font.ttf':fontsize=90:x=20:y=20:text='Testing':enable='between(t\,1\,2),drawtext=fontfile='/data/user/0/com.example.example/app_flutter/font.ttf':fontsize=90:x=20:y=260:text='OTHER TEXT':enable='between(t\,3\,4)'', -crf, 27, -preset, veryfast, -c:v, libx264, -r, 30, /data/user/0/com.example.example/cache/2020-07-21T07:50:39.206386.mp4]



    


  • Decoding an elementary HEVC stream using ffmpeg

    22 novembre 2013, par Zax

    I have successfully compiled and installed FFMPEG_2.1 from source code. I know that ffmpeg from version 2.1 onwards supports HEVC decoder. I have generated a .bin file using HM 10.0 and HM 11.0 HEVC reference code.

    However, when i give this bin file as an input to the ffmpeg i get an Input/output Error.

    The command that i have used is given below :

    ffmpeg -i Johnny_1280x720_60qp22.bin out.yuv

    The output of the above command is as shown below :

    ffmpeg version 2.1 Copyright (c) 2000-2013 the FFmpeg developers
     built on Nov 21 2013 15:52:14 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
     configuration:
     libavutil      52. 48.100 / 52. 48.100
     libavcodec     55. 39.100 / 55. 39.100
     libavformat    55. 19.104 / 55. 19.104
     libavdevice    55.  5.100 / 55.  5.100
     libavfilter     3. 90.100 /  3. 90.100
     libswscale      2.  5.101 /  2.  5.101
     libswresample   0. 17.104 /  0. 17.104
    Input #0, bin, from 'Johnny_1280x720_60qp22.bin':
     Duration: N/A, bitrate: N/A
       Stream #0:0: Video: bintext, pal8, 1280x118288, 25 tbr, 25 tbn, 25 tbc
    Output #0, rawvideo, to 'out.yuv':
     Metadata:
       encoder         : Lavf55.19.104
       Stream #0:0: Video: rawvideo, pal8, 1280x118288, q=2-31, 200 kb/s, 90k tbn, 25 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (bintext -> rawvideo)
    Press [q] to stop, [?] for help
    Johnny_1280x720_60qp22.bin: Input/output error
    frame=    1 fps=0.3 q=0.0 size=  147861kB time=00:00:00.04 bitrate=30281932.8kbiframe=    1 fps=0.3 q=0.0 Lsize=  147861kB time=00:00:00.04 bitrate=30281932.8kbits/s    
    video:147861kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.000000

    Can anyone please tell me why i'm facing this problem and how i can rectify it.

  • ffmpeg minimal requirements configuration for encoding and decoding h264 files

    14 novembre 2013, par TheSquad

    I'm trying to compile ffmpeg with minimal requirements in order to encode/decode with h264.

    So far my command line configuration is :

    ./configure --disable-yasm --disable-everything --enable-encoder=libx264 --enable-encoder=libfaac --enable-decoder=h264 --enable-muxer=h264 --enable-demuxer=h264 --enable-parser=h264 --enable-protocol=file

    once compiled, I try this :

    ./ffmpeg -i ~/Dropbox/TestFile.mov -vcodec libx264 test.mp4

    but I get an error :

     ffmpeg version N-58081-g2925571 Copyright (c) 2000-2013 the FFmpeg developers
     built on Nov 14 2013 15:49:58 with Apple LLVM version 5.0 (clang-500.2.76) (based on LLVM 3.3svn)
     configuration: --disable-yasm --disable-everything --enable-encoder=libx264 --enable-encoder=libfaac --enable-decoder=h264 --enable-muxer=h264 --enable-demuxer=h264 --enable-parser=h264 --enable-protocol=file
     libavutil      52. 52.100 / 52. 52.100
     libavcodec     55. 43.100 / 55. 43.100
     libavformat    55. 21.100 / 55. 21.100
     libavdevice    55.  5.100 / 55.  5.100
     libavfilter     3. 91.100 /  3. 91.100
     libswscale      2.  5.101 /  2.  5.101
     libswresample   0. 17.104 /  0. 17.104
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/mGs/Dropbox/TestFile.mov':
     Metadata:
       major_brand     : qt  
       minor_version   : 0
       compatible_brands: qt  
       creation_time   : 2013-06-23 14:33:09
       model           : iPhone 4S
       model-fra       : iPhone 4S
       encoder         : 6.0
       encoder-fra     : 6.0
       date            : 2013-06-23T16:33:09+0200
       date-fra        : 2013-06-23T16:33:09+0200
       make            : Apple
       make-fra        : Apple
     Duration: 00:00:42.09, start: 0.000000, bitrate: 20960 kb/s
       Stream #0:0(und): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 20880 kb/s, 29.97 fps, 29.97 tbr, 600 tbn, 1200 tbc (default)
       Metadata:
         rotate          : 180
         creation_time   : 2013-06-23 14:33:09
         handler_name    : Core Media Data Handler
       Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, 63 kb/s (default)
       Metadata:
         creation_time   : 2013-06-23 14:33:09
         handler_name    : Core Media Data Handler
    [NULL @ 0x7fd999802e00] Unable to find a suitable output format for 'test.mp4'
    test.mp4: Invalid argument

    This is probably coming from the fact that I have forgot something to enable on the ffmpeg configuration... But I can't found out what.

    The test file is a video got from iPhone 4S Camera.