
Recherche avancée
Médias (2)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (74)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
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 ) (...)
Sur d’autres sites (16699)
-
C# ffmpeg not working
24 février 2018, par ViViI am trying to convert an mp3 file into a flac file using ffmpeg for c#.
I downloaded theffmpeg.exe
and placed it inside thebin/debug
folder of my project.My input folder is
testmp3
and output folder istestmp3OUTPUT
. These folders are located within the debug folder itself. testmp3 folder got mp3 files.This is the code I am using :
string inputfile = @"..\\testmp3\\349.mp3";
string outputfile = @"..\\testmp3OUTPUT\\349.flac";
Process myProcess = new Process();
ProcessStartInfo p = new ProcessStartInfo();
string sArgs = string.Format(" -i {0} -f wav - | neroAacEnc -ignorelength -q 0.5 -if - -of {1}", inputfile, outputfile);
p.FileName = "ffmpeg.exe";
p.CreateNoWindow = true;
p.RedirectStandardOutput = true;
//p.WindowStyle = ProcessWindowStyle.Normal
p.UseShellExecute = false;
p.Arguments = sArgs;
myProcess.StartInfo = p;
myProcess.Start();
myProcess.WaitForExit();
//Write details about call
myProcess.StandardOutput.ReadToEnd(); -
Non stop stream to rtmp with FFMPEG
13 février 2020, par Надежда ПеременI want to stream to RTMP with FFMPEG. I need to dynamically change next play file, for that i use web urls for my localhost.
I have PHP file located : http://127.0.0.1/mp3.php
$file = '1.mp3';
$mime_type = "audio/mpeg, audio/x-mpeg, audio/x-mpeg-3, audio/mpeg3";
if(file_exists($file)){
header('Content-type: {$mime_type}');
header('Content-length: ' . filesize($file));
header('Content-Disposition: filename="' . $file);
header('X-Pad: avoid browser bug');
header('Cache-Control: no-cache');
readfile($file);
}else{
header("HTTP/1.0 404 Not Found");
}And i run ffmpeg with this command line :
ffmpeg -re -stream_loop -1 -i logo.png -stream_loop -1 -i http://127.0.0.1/mp3.php -ab 320k -c:v libx264 -f flv "rtmp://ms......."
This works, but it playing only once time and FFMPEG returns an error :
Seek to start failed
http://127.0.0.1/mp3.php: Function not implementedHow can i fix it ?
-
Removing file in windows batch script not working
13 février 2020, par BluePrintI’m trying to create a batch script for trimming 25 seconds from the beginning of all mp4 files in a folder. The batch script is located in the same folder as the files, and there is a folder called
trimmed
in the same folder. This is my script so far :@echo off
setlocal DisableDelayedExpansion
:promptdel
set /p delorig=Delete original file (default no)? [Y/N]:
if not defined delorig (
set delorig=N
)
set "vartwo="&for /f "delims=YNyn" %%i in ("%delorig%") do set vartwo=%%i
if defined vartwo (
echo Please state Y or N!
goto :promptdel
)
for %%a in ("*.mp4") do (
echo Starting %%a
rem "Need to rename since file names may contain whitespaces"
ren "%%a" "working.mp4"
ffmpeg -loglevel panic -hide_banner -i "working.mp4" -ss 00:00:25.000 -c:v copy -c:a copy "trimmed\%%a"
ren "working.mp4" "%%a"
echo %delorig%
if %delorig% == "Y" (del "%%a" /f /q)
if %delorig% == "y" (del "%%a" /f /q)
echo %%a finished!
)
pauseMy problem is that the original file does not get removed regardless of if I input y/Y or n/N. What am I doing wrong ?