Recherche avancée

Médias (91)

Autres articles (42)

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (3747)

  • avcodec/cinepakenc : drop coded_frame init

    7 mai 2014, par Michael Niedermayer
    avcodec/cinepakenc : drop coded_frame init
    

    Fixes const being lost warning

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/cinepakenc.c
  • Merge video files using Concat filter in FFmpeg

    8 juillet 2013, par vijay

    I am using FFmpeg to concat video files of different codecs in my android application.
    I read the FFmpeg documentation and tried the following things.

    1. ffmpeg -i "concat:input1.mpg|input2.mpg" -c copy output.mp4 (works only for mpg files)

    2. ffmpeg -i 1.mp4 -c copy -bsf dump_extra 1.ts
      ffmpeg -i 2.mp4 -c copy -bsf dump_extra 2.ts
      ffmpeg -i "concat:1.ts|2.ts" -c copy output.mp4 (works for mp4 files)

    I tried both the methods for 3gp files but it throws an error in stream filters.The second method stores the .ts files in device that should not be done and also i lost the quality of the video.

    When i googled it out i found that FFmpeg provides a way to concat files with different codecs.So i tried the following command to this in a single step without storing files in device.

    fmpeg -i 1.mp4 -i 2.3gp -i 3.mpg -filter_complex &#39;[0:0] [0:1] [1:0] [1:1]
    [2:0] [2:1] concat=n=3:v=1:a=1 [a] [v] &#39; -map &#39;[a]&#39; -map &#39;[v]&#39; -c copy output.mp4

    It throws the following exception :

    ffmpeg version 1.2.1 Copyright (c) 2000-2013 the FFmpeg developers
     built on Jun 25 2013 20:34:51 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
     configuration:
     libavutil      52. 18.100 / 52. 18.100
     libavcodec     54. 92.100 / 54. 92.100
     libavformat    54. 63.104 / 54. 63.104
     libavdevice    54.  3.103 / 54.  3.103
     libavfilter     3. 42.103 /  3. 42.103
     libswscale      2.  2.100 /  2.  2.100
     libswresample   0. 17.102 /  0. 17.102
    F.mp4: No such file or directory
    tsk@tsk:~/Android/Backups/android-ffmpeg-x264/Project/jni$ ffmpeg -i 1.mp4 -i 2.mp4 -filter_complex &#39;[0:1] [0:0] [1:1] [1:0] concat=n=2:v=1:a=1 [v] [a]&#39; -map &#39;[v]&#39; -map &#39;[a]&#39; output.mp4
    ffmpeg version 1.2.1 Copyright (c) 2000-2013 the FFmpeg developers
     built on Jun 25 2013 20:34:51 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
     configuration:
     libavutil      52. 18.100 / 52. 18.100
     libavcodec     54. 92.100 / 54. 92.100
     libavformat    54. 63.104 / 54. 63.104
     libavdevice    54.  3.103 / 54.  3.103
     libavfilter     3. 42.103 /  3. 42.103
     libswscale      2.  2.100 /  2.  2.100
     libswresample   0. 17.102 /  0. 17.102
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#39;1.mp4&#39;:
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: mp41
       creation_time   : 1970-01-01 00:00:00
     Duration: 00:00:04.04, start: 0.000000, bitrate: 1457 kb/s
       Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 1454 kb/s, SAR 349:320 DAR 349:240, 25 fps, 25 tbr, 25 tbn, 25 tbc
       Metadata:
         creation_time   : 1970-01-01 00:00:00
         handler_name    : VideoHandler
    Input #1, mov,mp4,m4a,3gp,3g2,mj2, from &#39;2.mp4&#39;:
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: mp41
       creation_time   : 1970-01-01 00:00:00
     Duration: 00:00:04.04, start: 0.000000, bitrate: 1498 kb/s
       Stream #1:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 1495 kb/s, SAR 349:320 DAR 349:240, 25 fps, 25 tbr, 25 tbn, 25 tbc
       Metadata:
         creation_time   : 1970-01-01 00:00:00
         handler_name    : VideoHandler
    Stream specifier &#39;:1&#39; in filtergraph description [0:1] [0:0] [1:1] [1:0] concat=n=2:v=1:a=1 [v] [a] matches no streams.

    I googled out but found no solution yet.

    Any help is appreciated.

  • lavfi/delogo : avoid propagation of rounding errors in chroma planes

    2 juillet 2013, par Jean Delvare
    lavfi/delogo : avoid propagation of rounding errors in chroma planes
    

    When operating on subsampled chroma planes, some rounding is taking
    place. The left and top borders are rounded down while the width and
    height are rounded up, so all rounding is done outward to guarantee the
    logo area is fully covered.

    The problem is that the width and height are counted from the
    unrounded left and top borders, respectively. So if the left or top
    border position has indeed been rounded down, and the width or height
    needs no rounding (up), the position of the the right or bottom border
    will be effectively rounded down, i.e. inward.

    The issue can easily be seen with a yuv240p input and
    -vf delogo=45:45:60:40:show=1 -vframes 1 delogo-bug.png
    (or virtually any logo area with odd x and y and even width and
    height.) The right and bottom chroma borders (in green) are clearly
    off.

    In order to fix this, the width and height must be adjusted to include
    the bits lost in the rounding of the left and top border positions,
    respectively, prior to being themselves rounded up.

    Signed-off-by : Jean Delvare <khali@linux-fr.org>
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavfilter/vf_delogo.c
    • [DH] tests/ref/fate/filter-delogo