Recherche avancée

Médias (1)

Mot : - Tags -/framasoft

Autres articles (30)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (3432)

  • RTMP streaming without flash and low latency

    4 juin 2020, par Ruben Sanchez Castellano

    I have a server that currently streams out RTMP media and I need to play it with minimum delay (2-3 seconds).
Now I'm using CRTMPServer to consume the stream but, since there is no RTMP player without flash dependency, this solutions does not work for me because I need to play it embedded into a web page.

    



    At this point, I tried Nimble Streamer but I only could consume HLS, DASH and SLDP. HLS and DASH has 10 second delay so I discard these approaches.
SLDP has low latency but is a closed protocol and there is only one player (closed but freeware).

    



    On the other hand, there is RTSP but there are no HTML5 players for it. But I couldn't consume RTSP streams from Nimble neither.

    



    Any other ideas ?

    


  • Python ImageIO WARNING:root:IMAGEIO FFMPEG_WRITER WARNING

    21 janvier 2018, par cavaler12345

    I’m working in python with some images and I’m trying to convert a series of images with size = 961x509 into an MP4 movie file. I’ve already did this and it’s working but I have a quite annoying problem with a warning which says something like this :

    WARNING:root:IMAGEIO FFMPEG_WRITER WARNING : input image is not
    divisible by macro_block_size=16, resizing from (509L, 961L) to (512L,
    976L) to ensure video compatibility with most codecs and players. To
    prevent resizing, make your input image divisible by the
    macro_block_size or set the macro_block_size to None (risking
    incompatibility). You may also see a FFMPEG warning concerning
    speedloss due to data not being aligned. [swscaler @ 04f8ac40]
    Warning : data is not aligned ! This can lead to a speedloss

    The problem that warning appears is my images resolution, that resolution should be divisible by 2, but mine it doesn’t. Is it there any possibility to just make this warning to don’t appear again ? Because I can’t change the size of my images and in the same time I don’t want to resize all of them.

    Here is my code :

    ready_images = []

    for img in videos['Images']:
       image = imageio.imread(img.fileName)
       ready_images.append(image)

    videoName = videos['Images'][0].gifLocationPath + "//" + videos['Name']
    imageio.mimwrite(videoName, ready_images, 'MP4')

    Is anyone here how has a solution for me ?

    UPDATE :

    If I’m gonna put macro_block_size to None in this way(That’s the only way I know) :

    ready_images = []

    for img in videos['Images']:
       image = imageio.imread(img.fileName)
       ready_images.append(image)

    video_name = videos['Images'][0].gifLocationPath + "//" + videos['Name']
    imageio.mimwrite(video_name, ready_images, 'MP4', macro_block_size = None)

    I will receive this error message :

    Error while opening encoder for output stream #0:0 - maybe incorrect
    parameters such as bit_rate, rate, width or height

    Traceback (most recent call last) : File "", line 146, in
    run() File "", line 136, in run
    for i, _ in tqdm(enumerate(pool.imap_unordered(generateGIFsWithThreads,
    videoList))) : File "", line 953, in iter
    for obj in iterable : File "", line 673, in next
    raise value IOError : [Errno 32] Broken pipe

    FFMPEG COMMAND : ffmpeg -y -f rawvideo -vcodec rawvideo -s 961x509
    -pix_fmt rgb24 -r 10.00 -i - -an -vcodec libx264 -pix_fmt yuv420p -crf 25 -v warning
    D :\work\hero_forge\build\win32\Documents\GIFs\CH3_M1_0.mp4

    FFMPEG STDERR OUTPUT :

  • how to draw n number of rectangles on video with ffmpeg

    29 octobre 2017, par taltal115

    Im trying to create a video for testing framrate html5 players
    this video need to contain rectanges for each frame for the first 10 frames
    i need it to be dynamic.

    for now i have the following command :

    ffmpeg -loop 1 -i black.png -c:v libx264 -t 15 -r 30 -vcodec h264 -pix_fmt yuv420p \
          -vf "[in]drawtext=fontfile=/usr/share/fonts/open-sans/OpenSans-Regular.ttf : text=%{n}:x=(w-tw): y=h-(lh): fontcolor=white: box=1: boxcolor=0x00000099, \
               drawbox=x='mod(t\,10)*32':w=16:h=16:color=white@1[out]" \
          -y out123.mp4

    again im trying to draw a rectangle for each frame in the to image like so :
    x=16*0,x=16*1,x=16*2...

    the only mving pate here is the x param and its not moving
    can any one help ?