
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (55)
-
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 (5505)
-
FFmpeg : How to create m3u8 file list file steam .txt from .mp4 video
11 juin 2019, par Susuka AkiraCan someone help me create
m3u8
file with a stream stream of.txt
files ?The steam file list looks like :
#EXTM3U
#EXT-X-VERSION:5
#EXT-X-TARGETDURATION:7
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:6.000000,
#EXT-X-BYTERANGE:533168@18
/output_1.txt
#EXTINF:5.280000,
#EXT-X-BYTERANGE:549148@533186
/output_2.txt
#EXTINF:4.000000,
#EXT-X-BYTERANGE:467180@1082334
/output_3.txt
.......Thank you !
-
How to define the condition of a corrupted file for audio file in Python
14 août 2020, par kutlusI am using Python 3.6, Jupyter notebook by connecting to a remote machine. I have a large dataset of mp3 files. I use FFmpeg (version is 2.8.14-0ubuntu0.16.04.1.) to convert mp3 files to wav format.


My code below goes over the file path list and if the file is mp3 it converts it to wav format and deletes the mp3 file. The code works but for a few files it stops and gives error. I opened those files and saw that they have no duration and each of them has size 600 looking at the terminal folder size column but it might be a coincidence. The error is
file not found for 'temp_name.wav'
.

I can see that these corrupted files are not able to be converted to wav. When I delete them manually and run the code again it works. But I have large datasets and cannot know which files are corrupted beforehand. Is there a way to make the code (before converting the file to wav) if the file is corrupted it deletes it and continues to next file. I just don`t know how to define the condition of a corrupted file or if the file cannot be converted to wav.


# npaths is the list of full file paths 
for fpath in npaths:
 if (fpath.endswith(".mp3")):
 cdir=os.path.dirname(fpath) # extract the directory of file
 os.chdir(cdir) # change the directory to cdir
 filename=os.path.basename(fpath) # extract the filename from the path
 os.system("ffmpeg -i {0} temp_name.wav".format(filename))
 ofnamepath=os.path.splitext(fpath)[0] # filename without extension
 temp_name=os.path.join(cdir, "temp_name.wav")
 new_name = os.path.join(ofnamepath+'.wav')
 os.rename(temp_name,new_name) # use original filename with wav ext
 old_file = os.path.join(ofnamepath+'.mp3') # find and delete the mp3
 os.remove(old_file)



-
Want to print a console message on every .ts file entry in m3u8 file by ffmpeg
18 décembre 2015, par Anurag YadavI am using ffmpeg to record ip camera rtsp stream. I want to get .ts file entry at the instant when the entry is done in m3u8 file so that i can get and store it somewhere else. That’s why i want to print a console message when ffmpeg do entry on m3u8 file. I am using below command. Also Iam running command using java.
ffmpeg -rtsp_transport tcp -i <ip camera="camera" rtsp="rtsp" url="url"> -c:v copy -map 0 -f segment -segment_time 5 -segment_list_type m3u8 -segment_list /home/ira/Desktop/test/out.m3u8 -segment_format ts -y /home/ira/Desktop/test/out%01d.ts
</ip>