Recherche avancée

Médias (91)

Autres articles (43)

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

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

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

  • python - record and preview webcam at the same time, using e.g. ffmpeg

    18 décembre 2024, par Jan Oechsler

    I want to record webcam with sound using python. After tryng multiple different methods, ffmpeg with the python wrapper showed the best results.

    


    Recording works, but how can I preview the webcam at the same time, so I know where I am pointing the cam at ?

    


    I've seen this post, but I dont understand how I could implement this in python, using the wrapper.

    


    Any ideas on how to do this ? Or if there is another, easier, solution to record webcam video with sound and preview it simultaneously from within a python (Qt) application ?

    


    This is my code so far :

    


    import ffmpeg
import time

process = (
    ffmpeg
    .input('video=Integrated Camera:audio=Microphone Array (Realtek(R) Audio)', format='dshow')
    .output('out.mp4', pix_fmt='yuv420p')
    .overwrite_output()
    .run_async(pipe_stdin=True, pipe_stderr=True, quiet=True)
)

# This is just to simulate some time-
time.sleep(10)

process.stdin.write('q'.encode())
process.communicate()
process.wait()

print('done')


    


  • Converted mp4 h264 baseline format loads long time

    10 juillet 2013, par user1830062

    I have converted my video to mp4 x264 baseline format and it works fine with all pc/mobile phones , the problem is it takes long time to load the video while googling came to know that ffmpeg converts and sets the index file at the eof the video so it loads to the end to read and then plays the video, So any advices would be appreciatable to cut short the loading time.
    Note:tryied out QT index swapper2 but dint give much difference , please advice .

    this is the cmd i used to convert -

    ffmpeg -i … -c:v libx264 -profile:v baseline -level 1 …

    Thanks for your time .

  • time : Use clock_gettime if the monotonic clock is available

    24 août 2014, par Luca Barbato
    time : Use clock_gettime if the monotonic clock is available
    

    Signed-off-by : Luca Barbato <lu_zero@gentoo.org>

    • [DBH] configure
    • [DBH] libavutil/time.c