
Recherche avancée
Médias (91)
-
Spitfire Parade - Crisis
15 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Wired NextMusic
14 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (50)
-
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 (7277)
-
yt-dlp : ffmpeg working for some videos, but not for the others
30 janvier 2023, par Mikki99I started using yt-dlp a few days ago, so I'm new to the whole thing. I needed to download some videos from youtube, but have them split into chapters.


The command :


yt-dlp --split-chapters URL



seems to be doing the right thing. However, running exactly the same command works for some videos, but for some I get the following error :


ERROR: Postprocessing: ffmpeg not found. Please install or provide the path using --ffmpeg-location 'list' is not recognized as an internal or external command, operable program or batch file.



I have previously installed ffmpeg and added it to the PATH and it worked fine, and it doesn't make much sense to me that the command would work for certain URLs if ffmpeg wasn't there.


The video for which the error comes up is no different than the one for which the command works. They both have chapters.


Also, I don't really understand this last part of the error message


'list' is not recognized as an internal or external command, operable program or batch file



Does anyone have an idea what might be happening ?


Please do let me know if there is something else I should share — I'll edit the original post !


Thanks a lot !


I've tried running the command on different short (couple mins long) videos that included chapters (just so the download doesn't take a lot of time). It worked for numerous arbitrary videos I found on youtube. The video that I am actually interested in is 40 min long (suppose that doesn't make any difference), but for this video (or others from this playlist) I run into the mentioned error. Here is the link to the video, if you want to try it out yourself.


-
Simplest way to convert uploaded videos to mp4 before storing them on a server ?
26 juin 2017, par ioanI’m using a goDaddy server and cPanel to make a website, and I want to make a feature that lets users upload videos, save them on the server, then display them elsewhere on the site.
displaying uploaded videos :
echo "<video controls="controls"><source src="{$video_row[$i]}"></source></video>";
But I found out that most browsers can only play a few video formats like mp4. So I want to convert them all to mp4 before saving them to the server. So sometime before running the
move_uploaded_file()
function.Is there something I can download and put on the server that will let me do that ? From other questions I found about FFmpeg, but i couldn’t figure out how to use it and if I can even install it on a godaddy server.
Php code :
if (isset($_FILES["submit_file"])) { //this comes from an html form
$name = $_FILES['submit_file']['name'];
$original_name = $name;
$size = $_FILES['submit_file']['size'];
$tmp_name = $_FILES['submit_file']['tmp_name'];
$target_dir = null;
$finfo = finfo_open(FILEINFO_MIME_TYPE); //get mime type
$mime = finfo_file($finfo, $tmp_name);
if ($mime == "video/mp4" || $mime == "video/wmv" || $mime == "video/avi" || $mime == "video/mov") {
if ($mime != "video/mp4") {
//CONVERT TO MP4
}
$target_dir = "uploads/videos/";
$path = $target_dir.basename($name);
if (move_uploaded_file($tmp_name, $path) == true) {
//moved
}
} else {
//error: Unsupported File Type
}
}How do others deal with videos ? I was able to upload and play mp4 videos fine with my method, but html5 can’t seem to play other types, and I don’t want to limit users to only upload mp4
-
How to join two videos into one stream using ffmpeg
12 janvier 2016, par Andrey ProkhorenkoI am new to ffmpeg, and I try to join two videos and get a video stream. I found a command :
ffmpeg -i input0.avi -vf "movie=input1.avi [in1]; [in]pad=640*2:352[in0]; [in0][in1] overlay=640:0 [out]" out.avi
but at the end we get a file "out.avi" and I need a video stream. Is there any way to achieve this ?