Recherche avancée

Médias (91)

Autres articles (40)

  • 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

  • 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 : (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (4155)

  • Anomalie #4213 (Nouveau) : Installation d’un spip en reprenant une base plus récente

    2 novembre 2018, par Maïeul Rouquette

    Petit couac qui m’est arrivé tout à l’heure (en local, heureusement).

    J’install un SPIP 3.1

    Au moment de la déclaration de base, je me trompe et au lieu de lui dire de créer une nouvelle base, je lui dit de reprendre une base existante. Or cette base était en SPIP 3.2

    SPIP reprend les données de la base MAIS change le spip_version_base.

    A mon avis le bon comportement devrait être "spip détecte qu’il y a un version base plus récent, il refuse l’installation"

  • ffmpeg : combining/ordering vidstab and crop filters

    30 juillet 2016, par ljwobker

    I have a workflow which essentially takes a raw video file, crops away portions of the frame that aren’t relevant, then performs a two-pass deshake filter using the vidstab filter. At the moment I’m running this as three distinct commands : one to do the crop, a second to do the vidstab "detect" pass, and a third to do the vidstab "transform" pass.

    My working script :

    # do the crop first and strip the audio
    nice -20 ffmpeg -hide_banner -ss $SEEK -i $INFILE -t $DURATION -preset veryfast -crf 12 -vf crop=0.60*in_w:in_h/9*8:0.22*in_w:0 -an -y $TEMP

    # now run the vidstab detection pass
    nice -20 ffmpeg -hide_banner -i $TEMP -vf vidstabdetect=stepsize=6:shakiness=10:accuracy=15:result=${INFILE}.trf -f null -

    # now the vidstab transform, with unsharp and writing the overlay text
    nice -20 ffmpeg -hide_banner -i $TEMP -preset veryfast -crf 22 -vf \
    " \
    vidstabtransform=input=${INFILE}.trf:zoom=2:smoothing=60,
    unsharp=5:5:0.8:3:3:0.4,
    drawtext=fontfile=/Windows/Fonts/arialbd.ttf:text=$DIVE:enable='between(t,0,65)':fontcolor=black:fontsize=72:x=w*0.01:y=h*0.01,  
    null"\
     -y $OUTFILE

    What I can’t seem to figure out is how I can combine the first two filter passes into a single chain, which (at least in theory) would be a faster encode time, and at the very least would be simpler to maintain and would eliminate a pass of the encoder. What I tried to do was the second code block, which just builds a filterchain that combines the initial crop with the vidstab detection filter.

    # this is a combined filter for the crop and the vidstab detect
    nice -20 ffmpeg -hide_banner -ss $SEEK -i $INFILE -t $DURATION -preset veryfast -crf 12 -vf \
    " \
    crop=0.60*in_w:in_h/9*8:0.22*in_w:0,
    vidstabdetect=stepsize=6:shakiness=10:accuracy=15:result=${INFILE}.trf,
    null " \
    -an -r 30 -y $TEMP


    # now run the transcoding and the vidstab transform
    nice -20 ffmpeg -hide_banner -i $TEMP -preset veryfast -crf 22 -vf \
    " \

    vidstabtransform=input=${INFILE}.trf:zoom=2:smoothing=60,
    unsharp=5:5:0.8:3:3:0.4,
    drawtext=fontfile=/Windows/Fonts/arialbd.ttf:text=$DIVE:enable='between(t,0,65)':fontcolor=black:fontsize=72:x=w*0.01:y=h*0.01,  

    null"\
     -y $OUTFILE

    However, when I run this (and it runs) the final output video has most definitely NOT been effectively stabilized. The logs show that both the detect and the transform passes have been processed, it’s just that the output isn’t right.

  • Obscure error while transcoding a video with FFMPEG

    8 juillet 2016, par ZiggidyCreative

    thanks for taking a moment to look at this FFMPEG error i’m having. I’m trying to transcode any video file, recorded in portrait mode and crop it to a square using the top portion and then size it down to 600x600 square. Here is the command i’m using :

    ffmpeg -y -i input-video.mov -filter_complex '[0] crop=1080:1080:0:0, scale=600:600, split=2[out1][out2]' -map '[out1]' video/transcoded-video.mp4 -map '[out2]' -qscale:v 6 thumbnails/thumb_%03d.png

    Here are the errors :

    [swscaler @ 0x2502260] No accelerated colorspace conversion found from yuv420p to rgb24.
    [swscaler @ 0x250a2b0] No accelerated colorspace conversion found from yuv420p to rgb24.
    [swscaler @ 0x2512300] No accelerated colorspace conversion found from yuv420p to rgb24.
    [NULL @ 0x24e9dd0] [Eval @ 0x7fff769243e0] Undefined constant or missing '(' in 'baseline'
    [NULL @ 0x24e9dd0] Unable to parse option value "baseline"
    [NULL @ 0x24e9dd0] Error setting option profile to value baseline.

    Here is the output :

    ffmpeg version git-2013-06-02-5711e4f Copyright (c) 2000-2013 the FFmpeg developers
    built on Jun  2 2013 07:38:40 with gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)
    configuration: --enable-shared --disable-asm --prefix=/app/vendor/ffmpeg
    libavutil      52. 34.100 / 52. 34.100
    libavcodec     55. 13.100 / 55. 13.100
    libavformat    55.  8.102 / 55.  8.102
    libavdevice    55.  2.100 / 55.  2.100
    libavfilter     3. 74.101 /  3. 74.101
    libswscale      2.  3.100 /  2.  3.100
    libswresample   0. 17.102 /  0. 17.102
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/app/downloads/bf951fbc8322d9010d679e656ccda330b6f19f36.mov':
    Metadata:
      major_brand     : qt  
      minor_version   : 0
      compatible_brands: qt  
      creation_time   : 2016-07-01 19:27:37
    Duration: 00:00:04.77, start: 0.000000, bitrate: 17881 kb/s
      Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 17874 kb/s, 29.98 fps, 30 tbr, 600 tbn, 1200 tbc
      Metadata:
        rotate          : 90
        creation_time   : 2016-07-01 19:27:37
        handler_name    : Core Media Data Handler
    [swscaler @ 0x2502260] No accelerated colorspace conversion found from yuv420p to rgb24.
    [swscaler @ 0x250a2b0] No accelerated colorspace conversion found from yuv420p to rgb24.
    [swscaler @ 0x2512300] No accelerated colorspace conversion found from yuv420p to rgb24.
    [NULL @ 0x24e9dd0] [Eval @ 0x7fff769243e0] Undefined constant or missing '(' in 'baseline'
    [NULL @ 0x24e9dd0] Unable to parse option value "baseline"
    [NULL @ 0x24e9dd0] Error setting option profile to value baseline.
    Output #0, mp4, to '/app/outputs/2091/bf951fbc8322d9010d679e656ccda330b6f19f36.mp4':
    Metadata:
      major_brand     : qt  
      minor_version   : 0
      compatible_brands: qt  
      Stream #0:0: Video: mpeg4, yuv420p, 600x600, q=2-31, 200 kb/s, 90k tbn, 30 tbc
    Output #1, image2, to '/app/outputs/2091/thumbs/thumb_%03d.png':
    Metadata:
      major_brand     : qt  
      minor_version   : 0
      compatible_brands: qt  
      Stream #1:0: Video: png, rgb24, 600x600, q=2-31, 200 kb/s, 90k tbn, 30 tbc
    Stream mapping:
    Stream #0:0 (h264) -> crop
    split:output0 -> Stream #0:0 (mpeg4)
    split:output1 -> Stream #1:0 (png)

    Thanks again for looking at this and anything will help.