
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (91)
-
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 (...) -
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 (...) -
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 (11225)
-
Capture user-defined segment of RTSP video using FFmpeg
10 janvier 2019, par Tom LarcherI’m endeavouring to capture a segment of video from an RTSP (static not live) video stream using FFmpeg, however I’m not certain how this is achieved.
I am presently able to cut a segment of video from a local video file using a command similar to the one below :
ffmpeg -y -i input_video.mp4 -ss 0:04:41.215 -to 0:07:17.335 output_video.mp4
However commands similar to the above don’t seem to be working for remote (RTSP) video files. I’ve taken a look around for ways in which this can be achieved, to no avail. I’ve come across information on capturing individual frames as well as methods of capturing RTSP video files for storage locally, but I can’t seem to connect the dots to capture only a selected portion of the RTSP video.
Any help on this would be immensely appreciated.
-
How do I bind a specific wlan interface to an ffmpeg/ffplay call without modifying the source ?
5 mai 2017, par FalimondI have two wifi USB adapters connected to a Raspberry Pi running Raspbian jessie with their respective wlan0 and wlan1 interfaces set up. I can successfully use
wpa_supplicant
to connect to two individual, identical devices from which I can individually access a UDP video stream usingffplay
. Now I need to simultaneously bring up both UDP streams. This would be easy if the access URLs were different, but they are not and I cannot change the IP addresses, requiring another solution.Unless I am mistaken, there is no way to specify an interface in the call to
ffplay/ffmpeg
. I have looked through the FFmpeg source relevant to the UDP protocol and know that I can specify an interface in the appropriatesetsockopt
calls in libavformat/udp.c, but modifying the source in this way is rather involved and I’d like to avoid it if possible.I looked into adding namespaces using
ip
but this doesn’t seem like it will work because I can only bind the wireless hardware device phy0, not the separate wlan interfaces associated with phy0.Are there alternate means of dealing with such a situation where the UDP streams’ URLs are the same or am I stuck with modifying the FFmpeg source code ?
-
Converting mkv files to mp4 with ffmpeg-python
16 mai, par myth0sI have a lot of .mkv files that I'm trying to convert to .mp4, so I decided to try and program a solution in python. After a few hours, trying to figure out how to copy the subfolders too, I gave up on it and decided to stick with converting individual subfolders, and then copying them over to another directory.


I've made a simple script, that should convert .mkv files that are in the same folder as the script. However, I keep getting this error :




FileNotFoundError : [WinError 2] The system cannot find the file specified




Here's my code :


import os
import ffmpeg

start_dir = os.getcwd()

def convert_to_mp4(mkv_file):
 no_extension = str(os.path.splitext(mkv_file))
 with_mp4 = no_extension + ".mp4"
 ffmpeg.input(mkv_file).output(with_mp4).run()
 print("Finished converting {}".format(no_extension))

for path, folder, files in os.walk(start_dir):
 for file in files:
 if file.endswith('.mkv'):
 print("Found file: %s" % file)
 convert_to_mp4(file)
 else:
 pass