Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (30)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • 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 (4132)

  • How to use ffmpeg to merge multiple .mp4 files ? (same encoder, simple merge will work)

    6 août 2019, par Mars Robertson

    I’m trying :


    Option A :

    ffmpeg -f concat -i list.txt -c copy output

    Line 1 : unknown keyword ’file’
    list.txt : Invalid data found when processing input

    cat list.txt
    file './001-eclipse.mp4'
    file './002-sundown.mp4'
    file './003-robothear.mp4'
    file './004-NOPE-boring-tower.mp4'

    Option B :

    ffmpeg -i "concat:001-eclipse.mp4|002-sundown.mp4|003-robothear.mp4|004-NOPE-boring-tower.mp4" -c copy output.mp4

    ffmpeg version 4.0.2 Copyright (c) 2000-2018 the FFmpeg developers
     built with Apple LLVM version 9.1.0 (clang-902.0.39.2)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/4.0.2 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma
     libavutil      56. 14.100 / 56. 14.100
     libavcodec     58. 18.100 / 58. 18.100
     libavformat    58. 12.100 / 58. 12.100
     libavdevice    58.  3.100 / 58.  3.100
     libavfilter     7. 16.100 /  7. 16.100
     libavresample   4.  0.  0 /  4.  0.  0
     libswscale      5.  1.100 /  5.  1.100
     libswresample   3.  1.100 /  3.  1.100
     libpostproc    55.  1.100 / 55.  1.100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7feb1d001200] Found duplicated MOOV Atom. Skipped it
       Last message repeated 2 times
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'concat:001-eclipse.mp4|002-sundown.mp4|003-robothear.mp4|004-NOPE-boring-tower.mp4':
     Metadata:
       encoder         : Lavf58.12.100
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
     Duration: 00:00:13.64, start: 0.000000, bitrate: 161885 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 5376x2688, 54015 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
       Metadata:
         handler_name    : VideoHandler
    Output #0, mp4, to 'output.mp4':
     Metadata:
       compatible_brands: isomiso2avc1mp41
       major_brand     : isom
       minor_version   : 512
       encoder         : Lavf58.12.100
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 5376x2688, q=2-31, 54015 kb/s, 25 fps, 25 tbr, 12800 tbn, 12800 tbc (default)
       Metadata:
         handler_name    : VideoHandler
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
    Press [q] to stop, [?] for help
    frame=  341 fps=0.0 q=-1.0 Lsize=   89943kB time=00:00:13.52 bitrate=54497.5kbits/s speed=90.2x
    video:89937kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.005972%

    It contains only the first video :/


    Any ideas ?

    My version on Mac :

    ffmpeg -version
    ffmpeg version 4.0.2 Copyright (c) 2000-2018 the FFmpeg developers
    built with Apple LLVM version 9.1.0 (clang-902.0.39.2)
    configuration: --prefix=/usr/local/Cellar/ffmpeg/4.0.2 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma
    libavutil      56. 14.100 / 56. 14.100
    libavcodec     58. 18.100 / 58. 18.100
    libavformat    58. 12.100 / 58. 12.100
    libavdevice    58.  3.100 / 58.  3.100
    libavfilter     7. 16.100 /  7. 16.100
    libavresample   4.  0.  0 /  4.  0.  0
    libswscale      5.  1.100 /  5.  1.100
    libswresample   3.  1.100 /  3.  1.100
    libpostproc    55.  1.100 / 55.  1.100
  • FFMPEG - Store FFPROBE's duration output as a variable

    12 août 2023, par user7032056

    I wanted to use a video's duration in the "enable='between(t,0,0)" field to make sure that I overlay an image at 1/3 of the video's duration every time.

    



    According to FFMPEG's info on their site, I need to use this

    



    ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 input.mp4


    



    it does return a value but I can't seem to be able to set it to a usable variable, I already tried by using

    



    set duration=ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 input.mp4


    



    And then referencing it via %duration%, but no luck.

    



    Is there a way to do this, am I doing something wrong ?

    



    Thank you for your help.

    


  • create associative data from ffmpeg string result into python

    9 septembre 2018, par Question

    To perform video operations I’m using python with the support of ffmpeg. After I’ve uploaded videos, I need to resize them, so I’ll follow these instructions to calculate the video dimensions :

    link_v = "C:/video/video.mp4"
    ffmpeg = "ffprobe -v error -show_entries stream=width,height -of default=noprint_wrappers=1 %s"% link_v
    info = check_output(ffmpeg, shell=True)
    print(info)

    The console result is something like this :

    width=350
    height=350

    But I do not care about this, when it is printed as if it were a string, because the real data would be : b’width=350\r\nheight=350\r\n’ or [’width=350\r\nheight=350\r\n’].

    What I really want to see is an associative data : "width : 350, height : 350", once I get then I would call for example width in the info mode [’width’], how can I get this result ?