Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (33)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

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

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

  • How to add transition effects like fade in, fade out, slide in, etc, to a video [on hold]

    31 mai 2018, par Janhavi Savla

    I am trying to add crossfade effect to a series of images ina folder and then create a video but I am getting an error :’tuple’ object has no attribute ’crossfadein’.
    How should I resolve it ?
    Here’s the code :

    from moviepy.editor import *
    import os

    delay =1
    H = 720
    W = 1280
    output = "out.mp4"
    path = "/Users/test/Desktop/Image_test_data/testdata2"
    dirs = os.listdir( path )
    ext = '.jpg'
    clips=[]
    images = [img for img in os.listdir(path) if img.endswith(ext)]

    for image in images:
       img=ImageClip(path+'/'+image).set_duration(2).resize(height=H,width=W)
       clips.append(img)

    final = concatenate([clip.crossfadein(delay) for clip in enumerate(clips)],
        padding=-delay, method="compose")

    final.write_videofile(output,fps=24, audio_codec="aac")
  • Implementing hardware accelerated decoding on windows with FFMPEG

    24 juillet 2019, par sacha legrand

    Intel processor incorporates hardware acceleration capabilities for video encoding / decoding.

    I use :

    Intel 5 series HD graphics & Processeur Intel Core i7-620UE

    and/or

    Intel Gen9 HD Graphics Engine & Processor Intel Core i7-6600U

    So wich hardware acceleration should I use (H264, VC1, H265, etc.) to be more efficient ?

    The FFMPEG library provides everything you need to perform decoding.

    We accessed these hardware acceleration features by default ?

    Should I use a specific API or library ?

    I finnally find in
    https://trac.ffmpeg.org/wiki/HWAccelIntro
    It is Libmfx how seems the best for my case (Windows & Intel)

    Am I on the right way ?

    I should explaine all the possibility so if you have any other doc about that it’s could be cool.

    Thank you

  • Merge audio (m4s) segments into one

    20 avril 2022, par akinuri

    I recently started learning Laravel, and currently watching an online course. Online courses are fine, but I like to have local copies, so I'm trying to download/merge segmented audio from Laracasts : Laravel 8 From Scratch series.

    


    I've written some scripts (in Python) that does the following :

    


      

    1. Download the master.json
    2. 


    3. Read master.json and download audio segments
    4. 


    5. Merge the segments into a single file (the file is not playable yet)
    6. 


    7. Process the audio file via ffmpeg (now it's playable, but has issues)
    8. 


    


    I think there's a problem with the step 3 and/or 4.

    


    In step/script 3, I create a new file, and add the contents of the segments to the file in binary.

    


    Then (step/script 4), run a ffmpeg command in python : ffmpeg -i merged-file.mp4 -c copy processed-file.mp4

    


    However, the final file doesn't work/play as expected. There's a delay in the beginning, and some parts seem to be cut off/skipped.

    


    There are three possibilities :

    


      

    • Segment files are problematic (not likely ?)
    • 


    • I'm doing the merging wrong
    • 


    • I'm doing the ffmpeg processing wrong
    • 


    


    Can someone guide me here ?

    



    


    The issues/colored parts in the ffmpeg output are :

    


    ...
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001cfbc0de780] could not find corresponding track id 2
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001cfbc0de780] could not find corresponding trex (id 2)
...
[aac @ 000001cfbc0f0380] Number of bands (31) exceeds limit (6).
...
[mp4 @ 000001cfbc20ecc0] track 0: codec frame size is not set
...
[mp4 @ 000001cfbc20ecc0] Non-monotonous DTS in output stream 0:0; previous: 318318, current: 286286; changing to 318319. This may result in incorrect timestamps in the output file.
...


    


    Everything required for a test case is located in GitHub (akinuri/dump/m4s-segments/). Screenshot of the contents :

    


    repo folder contents

    



    


    Note : there are two types/formats of audio in the master.json : mp42 and dash. dash works as expected, and seem to be used in limited videos/courses. On the other hand, mp42 appears more. So I need a way to make mp42 work.