
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 (45)
-
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 -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
MediaSPIP Player : les contrôles
26 mai 2010, parLes contrôles à la souris du lecteur
En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)
Sur d’autres sites (6932)
-
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 ?
-
Bash script for prepending a video intro file to a directory of videos using ffmpeg
21 juillet 2016, par WesleySI cooked up the following script to prepend an intro video to a directory of videos. I simply put the intro video one directory up, then run the script ./vidProcess.sh from the directory where all my videos that need the intro are located. I’m getting some varied results with this, but I believe I’m close to having a working script. I figured I’d share here in case anyone else finds this helpful and ask if you have any suggestions for making this work better. this requires ffmpeg.
FILES=*.mp4
INTRO=../MyIntro.mp4
mkdir processed
for f in $FILES
do
echo "Renaming $f file..."
# Replace spaces with underscores and copy to "processed" directory
cp "$f" "processed/${f// /_}"
done
for p in processed/$FILES
do
# Create text file with paths to both files
echo "file $INTRO" >> temp.txt
echo "file $p" >> temp.txt
# ffmpeg command overwriting with processed file
ffmpeg -y -f concat -i temp.txt -c copy $p
rm temp.txt
done