
Recherche avancée
Médias (1)
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (60)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (6043)
-
Add different animation for diffrent frame in video using ffmpeg android
27 juin 2016, par Sachin SutharI am trying to apply animations for the particular video frame but hereby I’m not seeing that video frame by which I have to apply the animation. I only need fade in and fade out frame and display it as slide show video. Do you have any idea about this ?
for ex : I want to create an application like this one : https://play.google.com/store/apps/details?id=com.scoompa.slideshow
-
How to create UI for Terminal [y/n] Prompts ?
22 juin 2023, par itsRitsI am working with FFmpeg and I want to create a responsive user interface for terminal prompts.


Here's the main function.


#converter.py

def convert_video(input_video, output_video=None, new_fps=None, new_container=None):

 if not output_video:
 if new_container is not None:
 output_video = "output." + new_container
 else:
 output_video = "output." + input_video.split('.')[-1]
 
 command = f"ffmpeg -i {input_video}"

 if new_fps:
 command += f' -r {new_fps}'

 command += f' {output_video}'

 subprocess.call(command, shell=True)



On running the above code, if the video at the output destination with the same name already exists.
the terminal prompts :
File 'output.mp4' already exists. Overwrite? [y/N].

I want to implement same using the message box in pyside2. I can create a message box in such a fashion

#ui.py
 message_box = QMessageBox()
 message_box.setText("Do you want to proceed?")
 message_box.setStandardButtons(QMessageBox.Yes | QMessageBox.No)
 message_box.setDefaultButton(QMessageBox.No)



But I am unable to figure how to make the message box pop once this prompt is found in terminal. Further how to send response back to it ?


-
Process Multiple Streams using ffmpeg-python
27 novembre 2019, par C DormanI have a MPEG-2 TS with a stream of video and a steam of KLV metadata. I can use ffmpeg-python to process each of these streams independently. For example, I can get the video stream, process each frames using numpy as shown in the docs. I can also get the data stream and show it in following way (using the library klvdata) :
process = (
ffmpeg
.input(in_filename)
.output('pipe:', format='data', codec='copy', map='data-re')
.run_async(pipe_stdout=True, pipe_stderr=True)
)
for packet in klvdata.StreamParser(process.stdout.read()):
packet.structure()
process.wait()How do I do these at the same time ? I need to split the TS data into its streams and process them both, keeping them in sync. ffmpeg by itself can demultiplex the streams into separate files, but how do I handle the streams in python. The KLV has information that I want to show on top of the video stream (recognition boxes).