Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (25)

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

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

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

  • Error adding text on video using ffmpeg

    7 mars 2018, par robert tamunoemi

    Am trying to add text on video using ffmpeg. Everything works well if there is no spacing in the words. Here is my code

    $text = "Robert Tamunoemi";
    $cmd = 'ffmpeg -i '.$videoPath.'  -vcodec libx264 -f mp4 -vf drawtext="fontfile=fonts/futura-normal.ttf:text="'.$text.'":fontcolor=black@1.0:fontsize=14:x=00: y=40" -preset medium  videos/birds.mp4';

    shell_exec($cmd.' 2> log.txt');

    Here is the output from ffmpeg log

    ffmpeg version N-89674-g57d0c24132 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 7.2.0 (GCC)
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-amf --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
     libavutil      56.  7.100 / 56.  7.100
     libavcodec     58.  9.100 / 58.  9.100
     libavformat    58.  3.100 / 58.  3.100
     libavdevice    58.  0.100 / 58.  0.100
     libavfilter     7.  8.100 /  7.  8.100
     libswscale      5.  0.101 /  5.  0.101
     libswresample   3.  0.101 /  3.  0.101
     libpostproc    55.  0.100 / 55.  0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'videos/pest11.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf58.3.100
     Duration: 00:00:18.20, start: 0.000000, bitrate: 223 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x584 [SAR 1:1 DAR 160:73], 83 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 132 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
    Tamunoemi:fontcolor=black@1.0:fontsize=14:x=00: y=40: Protocol not found
  • avformat/mxfdec : use both body_sid and track_number to find the track of a packet

    6 février 2018, par Marton Balint
    avformat/mxfdec : use both body_sid and track_number to find the track of a packet
    

    In order to do that we have to parse the EssenceContainerData and assign the
    proper body_sid and index_sid to the tracks from the corresponding source
    packages.

    This fixes packets returned in the wrong stream for some OP1-b files.

    Based on a patch by Alex Mogurenko from https://github.com/da8eat/FFmpeg

    Reference : http://mogurenko.com/2018/01/02/mxf-op1b-ffmpeg-part1/

    Signed-off-by : Marton Balint <cus@passwd.hu>

    • [DH] libavformat/mxfdec.c
  • Evolution #3924 : Changer #FILE dans la boucle DATA source ls pour mettre le chemin complet

    28 février 2018, par BoOz -

    Fil : oui le seul risque avec ça c’est si on est dans ecrire/
    autrement dit il faut peut-être _DIR_RACINE.$v

    Dans écrire avec $b[’file’] = $v ; j’ai le bon résultat, avec _DIR_RACINE un ../ de trop.

    */ !par mtime"
    "
    0,10> [(#VALY-m-d H:i:s|date#MTIME)] - file : [(#FILE)] - basename : [(#BASENAME)]

    Donne

    2018-02-28 17:33:25 - file : ../IMG/gif/ - basename : gif
    2018-02-28 17:33:20 - file : ../IMG/png/ - basename : png
    2018-02-28 17:30:03 - file : ../IMG/jpg/ - basename : jpg
    

    Donc je mets $b[’file’] = $v