
Recherche avancée
Médias (91)
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#1 The Wires
11 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (42)
-
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community. -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP 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, parCe 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" ;
Sur d’autres sites (5575)
-
python - record and preview webcam at the same time, using e.g. ffmpeg
18 décembre 2024, par Jan OechslerI 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 user1830062I 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