
Recherche avancée
Médias (1)
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
Autres articles (112)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (5595)
-
Recursively converting all files in folder using FFMpeg and placing them in different output folder
10 janvier 2020, par Cecila TarjonI want to remux some videos to MP4 so that I can play them on my Roku as well as my Plex. I have reviewed the approaches suggested in the answers to the questions
How would I write a batch file to run an ffmpeg command on an entire directory ? and How do you convert an entire directory with ffmpeg ?, but this doesn’t quite solve my problem.I am currently using the command prompt to navigate to the directory in question and then running the command line :
for %i in (*.mkv) do c:\ffmpeg\bin\ffmpeg -i "%i" -c copy -map 0 %userprofile%\documents\Plex\mp4\%~ni.mp4"
I would like to be able to run this from a higher level (i.e.,
%userprofiles%\Documents\Plex\MKV
instead of...\mkv\show\season
) and have it run on all subfolders.I would also ideally like for it to output to the
mp4\show\season
level for the same place it gets them from.How can I accomplish this ?
Once I know it will work in a regular command window, I will be converting it to a batch file so I can run as needed.
-
Possible Duplicate : Batch convert all files in folder and sub folder using FFMpeg with different output folder
8 janvier 2020, par Cecila TarjonI know that the part of this is a duplicate to How would I write a batch file to run an ffmpeg command on an entire directory ? and How do you convert an entire directory with ffmpeg ?.
I am currently using the command prompt to navigate to the directory in question and then running the command line
for %i in (*.mkv) do c:\ffmpeg\bin\ffmpeg -i "%i" -c copy -map 0 %userprofile%\documents\Plex\mp4\%~ni.mp4"
I would like to be able to run this on a higher level (ie %userprofiles%\Plex\MKV instead of ...\mkv\show\season) and have it run on all sub folders. I would also ideally like for it to output to the mp4\show\season level for the same place it get them from.
Any advice ?
Note : this is for remuxing to MP4 so I can use it on my Roku as well as from my Plex. Once I know it will work in a regular command window I will be converting it to a batch file so i can run as needed.
-
Mangled output when printing strings from FFProbe STDERR
9 février 2018, par spikespazI’m trying to make a simple function to wrap around FFProbe, and most of the data can be retrieved correctly.
The problem is when actually printing the strings to the command line using both Windows Command Prompt and Git Bash for Windows, the output appears mangled and out of order.
Some songs (specifically the file
Imagine Dragons - Hit Parade_ Best of the Dance Music Charts\80 - Beazz - Lime (Extended Mix).flac
) are missing metadata. I don’t know why, but the dictionary the function below returns is empty.FFProbe outputs its results to
stderr
which can be piped tosubprocess.PIPE
, decoded, and parsed. I chose regex for the parsing bit.This is a slimmed down version of my code below, for the output take a look at the Github gist.
#! /usr/bin/env python3
# -*- coding: utf-8 -*-
import os
from glob import glob
from re import findall, MULTILINE
from subprocess import Popen, PIPE
def glob_from(path, ext):
"""Return glob from a directory."""
working_dir = os.getcwd()
os.chdir(path)
file_paths = glob("**/*." + ext)
os.chdir(working_dir)
return file_paths
def media_metadata(file_path):
"""Use FFPROBE to get information about a media file."""
stderr = Popen(("ffprobe", file_path), shell=True, stderr=PIPE).communicate()[1].decode()
metadata = {}
for match in findall(r"(\w+)\s+:\s(.+)$", stderr, MULTILINE):
metadata[match[0].lower()] = match[1]
return metadata
if __name__ == "__main__":
base = "C:/Users/spike/Music/Deezloader"
for file in glob_from(base, "flac"):
meta = media_metadata(os.path.join(base, file))
title_length = meta.get("title", file) + " - " + meta.get("length", "000")
print(title_length)I don’t understand why the output (the strings can be retrieved from the regex pattern effectively, however the output is strangely formatted when printing) appears disordered only when printing to the console using python’s
print
function. It doesn’t matter how I build the string to print, concatenation, comma-delimited arguments, whatever.I end up with the length of the song first, and the song name second but without space between the two. The dash is hanging off the end for some reason. Based on the print statement in the code before, the format should be
Title - 000
({title} - {length}
) but the output looks more like000Title -
. Why ?