Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (96)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

  • Add file name to video (drawtext) - Cannot find a valid font for the family Sans Error Ffmpeg [duplicate]

    18 mars 2019, par Oli Shingfield

    This question already has an answer here :

    I have a folder with a couple of short videos in, I would like to add the file names of the videos in the video in the bottom right corner while converting them from mov to mp4. I have tried using :

       @echo off
    set "INPUT=E:\Users\Oli Shingfield\Documents\Projects\v1.3.1\downloads3"
    for %%a in ("%INPUT%\*.mov") do (
       ffmpeg -i "%%~a" -vf drawtext=text="%%~na":x=105:y=120:fontfile="E:\Users\Oli Shingfield\Documents\Projects\v1.3.1\downloads3\impact.ttf":fontsize=25:fontcolor=white -b:v 1M -r 60 -b:a 320k -ar 48000 -crf 17 "%%~na.mp4"
    )
    pause

    but I am getting the error :

    [Parsed_drawtext_0 @ 000002548db70e00] Cannot find a valid font for the family Sans
    [AVFilterGraph @ 000002548cd00a20] Error initializing filter 'drawtext' with args 'text=RP AS A WHOLE:x=105:y=120:fontfile=E:UsersOli_ShingfieldDocumentsProjectsv1.3.1downloads3impact.ttf:fontsize=25:fontcolor=white'
    Error reinitializing filters!
    Failed to inject frame into filter network: No such file or directory
    Error while processing the decoded data for stream #0:0
    [aac @ 000002548be61ae0] Qavg: 65536.000
    [aac @ 000002548be61ae0] 2 frames left in the queue on closing
    Conversion failed!

    It seems as though it can’t find the font file even though it’s in the same location and I am specifying the exact file path.

    Has anyone got any ideas ? I’m baffled.

    Thanks !
    Oli

  • android chromecast mp4 by ffmpeg - shorter files play, some longer ones buffer but dont play

    20 octobre 2014, par Robert Rowntree

    Using Android SDK for CC, CCL, and ’styled receiver’ CC app.

    Video Files created by a heroku/ffmpeg bin that will play on any other client i tried (VLC ubuntu... ) and that will even play in chrome on a tab that’s being cast to chromecast will NOT PLAY natively on chromecast apps. They will appear as normal load in the UI of the app. CCL logs will show them buffering OK , but they never enter a play state from the buffering state. Debugging the receiver shows nothing unusual ( network tab, or Console ). They just buffer and dont play.

    If a slightly shorter version of the same , 2 ffmpeg input files is prepared and hosted, it seems to play fine in shorter versions under about 14 seconds long but will not play if a 16 second version is created.

    I used a number of chromecast apps including Allcast to test this. always got same result.

    2 dropbox mp4 links created with the ffmpeg cli here are below. A 14 second version of the output mp4 file plays fine on several Chromecast/android apps and a 16 second version fails.

    file len 14s

    file len 16s Wont play in CC apps

    ffprobe output on the files at :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'tst-nonplay-shorter_14s.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf54.29.105
     Duration: 00:00:14.07, start: 0.046440, bitrate: 311 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuvj420p, 1080x614 [SAR 1535:1539 DAR 100:57], 199 kb/s, 1 fps, 1 tbr, 16384 tbn, 2 tbc
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 22050 Hz, mono, s16, 110 kb/s
       Metadata:
         handler_name    : SoundHandler

    and the file 2 seconds longer that wont play

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'tst-nonplay-shorter_16s.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf54.29.105
     Duration: 00:00:16.06, start: 0.046440, bitrate: 286 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuvj420p, 1080x614 [SAR 1535:1539 DAR 100:57], 174 kb/s, 1 fps, 1 tbr, 16384 tbn, 2 tbc
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 22050 Hz, mono, s16, 110 kb/s
       Metadata:
         handler_name    : SoundHandler

    Used ’qtfaststart’ and checked for MOOV ATOM issues and dont think that’s relevant.

    I think i can limit recordings in my app to 14 seconds and avoid problems that way, but I would like to understand what is up with the chromecast GETS on MP4’s generated by ffmpeg.

  • lavc/*dec : use side data preference for mastering display/content light metadata

    23 février 2024, par Anton Khirnov
    lavc/*dec : use side data preference for mastering display/content light metadata
    
    • [DH] libavcodec/av1dec.c
    • [DH] libavcodec/h2645_sei.c
    • [DH] libavcodec/libdav1d.c
    • [DH] libavcodec/pngdec.c
    • [DH] libavcodec/qsvdec.c