Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (38)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (5273)

  • Python ffmpeg does not save the mp4 clips to file

    30 janvier 2021, par oo92

    I'm using the ffmpeg Python library to save 60 second mp4 clips to file from Twitch livestreams using its API. This is my code :

    


    current_dir = os.getcwd()

client = TwitchClient(client_id='')
streams_now = client.streams.get_live_streams(limit=100, offset=900)
epoch = str(math.ceil(time.time()))

if not os.path.exists(current_dir + '/twitch_videos/'):
    os.mkdir(current_dir + '/twitch_videos/')

for i in range(0, 1):
    try:
        username = streams_now[i]['channel']['name']
        id = streams_now[i]['id']
        game = streams_now[i]['game']
        game = game.translate(str.maketrans({':': '-', ' ': '-', "'": '', '!': '', '&': '_', '.': '', '+': '_'}))
        streaming = streamlink.streams('http://twitch.tv/' + username)
        stream = streaming["best"].url

        twitch_stream = ffmpeg.input(stream)

        twitch_stream = ffmpeg.filter(twitch_stream,
                                      'fps',
                                      fps=1,
                                      round='up')

        twitch_stream = ffmpeg.output(twitch_stream,
                                      current_dir + '/twitch_videos/' + '%d_' + username + '_' + epoch + '.mp4',
                                      sc_threshold='0',
                                      g='60',
                                      f='segment',
                                      segment_time='600',
                                      segment_format_options='movflags=+faststart',
                                      reset_timestamps='1')frl3dqgn21bbpp6tajjvg5pdevczac
        ffmpeg.run(twitch_stream)


    except:
        pass


    


    I am concatenating the path it should go to, to the name of the file. But the folder is empty after I take a look.

    


  • Convert 10bit Apple pro res 422 HQ video mov to png without changing color format using ffmpeg only 2 png created [closed]

    15 janvier 2024, par Mark Brady

    I am looking to convert a 'Formats : 10-Bit ProRes 422 (2K)' .MOV to PNGs, I saw this post and got the following information / questiosn.

    


    This is form this post form awhile ago.
Convert 10bit Apple pro res 422 HQ video mov to png without changing color format using ffmpeg

    


    I ran this command
ffmpeg -i "Hyper.mov" -vf fps=1 -pix_fmt rgba -sws_flags +accurate_rnd+bitexact+full_chroma_int "out-%04d.png" on a short mov in the format of Formats : 10-Bit ProRes 422 (2K)

    


    From this site, it is a hyper warp mov (effect), I want to convert into either pngs or a gif or a flipbook of 8x8 (which is prob to small to do it all, but maybe a few 8x8x) end goal is getting the effect in Roblox

    


    The mov is from this site
https://www.actionvfx.com/collections/free-blasters-stock-footage/8798

    


    The hyper one.

    


    When I did the command it only generated 2 images, perhaps the start frame and the end.

    


    Does anyone know why it only did 2 images ?

    


    [enter image description here](https://i.stack.imgur.com/REDDx.jpg)

    


    In the post I saw this, it has 'without changing color format ', which I do not know if I need that... just trying to get the effect mov into png or a flipbook

    


    Thanks

    


    Tried the above syntax and expecting it to generate a bunch of pngs, not just 2.

    


  • drawertext color with conditon ffmpeg

    31 octobre 2022, par abderrahim khadri

    I have a coin price banner where I use ffmpeg to stream it and use reload:1 to render it in real time. I want to color the negative with red and the positive with green , haw to do it and is it posible with fflmpeg

    


    -vf 'drawtext=enable='between(t,18.93,20.28)':fontfile=fonts/cousine-bold.ttf:fontsize=144:fontcolor_expr=%{eif\\: if(between(0,1000)\, green\, red) \\: x}:x=82:y=288:text=coinsprice.txt:reload:1'