
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (51)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...) -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)
Sur d’autres sites (3159)
-
avformat/argo_asf : don't check file version
10 août 2020, par Zane van Iperenavformat/argo_asf : don't check file version
It has no bearing on structure. Determined by looking at the ASF
files from several Argonaut games :
- FX Fighter,
- Croc,
- Croc 2,
- The Emperor's New Groove, and
- Disney's Aladdin in Nasira's RevengeThe only versions that appear are 1.1, 1.2, and 2.1, and their
structure is identical.Reviewed-by : Alexander Strasser <eclipse7@gmx.net>
Signed-off-by : Zane van Iperen <zane@zanevaniperen.com> -
Convert multible files with threading ffmpeg in Python
21 mars 2020, par FlorianI’m trying to convert mp3 files to m4a. The files are in different folders like MainFolder(folder1, folder2,...)
It works already but is very slow because it is converting file by file.
import os
import sys
path = "/Users/flo/Desktop/test"
for root, dir, files in os.walk(path):
dir.sort()
files.sort()
for file in files:
if file.find('.mp3') != -1:
os.system('ffmpeg -i ' +'"' +root +'/' +file +'" ' +'-c:v copy -c:a libfdk_aac -b:a 300k ' +'"' +root +'/' +file[:-4] +'.m4b' +'"')Now I would like to implement multitasking.
import os
import sys
import threading
import queue
path = "/Users/flo/Desktop/test"
def convert(file):
if file.find('.mp3') != -1:
os.system('ffmpeg -i ' +'"' +root +'/' +file +'" ' +'-c:v copy -c:a libfdk_aac -b:a 300k ' +'"' +root +'/' +file[:-4] +'.m4b' +'"')
for root, dir, files in os.walk(path):
dir.sort()
files.sort()
q = queue.Queue
threads = [threading.Thread(target=convert(file)) for file in files]
for t in threads:
t.start()
for file in files:
q.put(file)
for file in files:
q.put('stop')
q.join()
for t in threads:
t.join()But I got the error message :
File "/var/folders/r6/z5f_jcf139b8fh2n8m4lznlm0000gn/T/atom_script_tempfiles/30127c90-6b13-11ea-af8a-432a34b059ac", line 31
threads = [threading.Thread(target=convert(file)) for file in files]
^
IndentationError: unexpected indent
[Finished in 0.028s] -
FFMPEG Batch Copy Metadata from "Folder1File1.mp3" to "Folder2File1.mp3" in different folders
27 février 2020, par VektorzI have two separate files in separate folders with the same name and I would like to transfer the metadata from the file in "folder1" to "folder2".
Then I would like to add a whole bunch of files fitting this same format and batch transfer all of the metadata information.From a stack exchange thread I’ve tried :
"The following script will loop through the the files in one directory, find corresponding files in a second directory and then combine these two files into a third output directory
dir1=FIRST DIRECTORY
dir2=SECOND DIRECTORY
output=OUTPUT DIRECTORY
for file in $(ls $dir1); do
ffmpeg -i "$dir1/$file" -i "$dir2/$file" -map 1 -c copy \
# copies all global metadata from in0.mkv to out.mkv
-map_metadata 0 \
# copies video stream metadata from in0.mkv to out.mkv
-map_metadata:s:v 0:s:v \
# copies audio stream metadata from in0.mkv to out.mkv
-map_metadata:s:a 0:s:a \
"$outdir/$file"
done"But for the life of me I cannot get this to work properly and it is a bit overkill. He continues on saying :
If you want to make something reuseable you could put this in a script with the following header (remove the assignment for dir1, dir2 and output in the script above). And then call it as script.sh dir1 dir2 outdir
#!/bin/bash
set -x errexit # exit immediately on error
dir1="$1"
dir2="$2"
output="$3"And I am totally lost. Can someone please help me to get this to work and walk me through it a bit easier as I’m fairly inexperienced with code/FFMPEG.
Thank you.