
Recherche avancée
Autres articles (41)
-
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 ;
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
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 (5916)
-
use PHP ffmpeg to split a video into many clips of X minute [duplicate]
23 août 2017, par TakiDDineThis question already has an answer here :
-
FFmpeg splitting large files
1 answer
i have a lot of videos in a folder , and i want to split each one of them into many clips of 5 minutes and delete the original video after, i have tried many codes here , but it didn’t work for me
now my code cut’s the video to the only first 5 minutes , any help please , this toke 3 days from me, any help will be much appreciated
these is my code
/******** Cut All The Videos To 5 min and send them to output folder *****/
foreach ($files as $file ) {
$path_parts = pathinfo('../../videos/'.$file);
$vids = '../../videos/';
$outpt = '../../output/';
$ext = $path_parts['extension'];
$name = $path_parts['filename'];
$to = $vids.$file;
// add old_video_ prefix
rename($to , $vids."old_vid_".$name.".".$ext);
$video = $vids."old_vid_".$name.".".$ext;
$to = $outpt.$name.".".$ext;
// To prevent white space error.
$video = "\"$video\"";
$to = "\"$to\"";
//ffmpeg command , to cut video
$cmd = "$ffmpeg -i $video -ss 00:00:00 -t 00:05:00 -async 1 -c copy $to";
$return = `$cmd`;
} -
FFmpeg splitting large files
-
Anomalie #2374 (Fermé) : request url too long
17 octobre 2011, par Ben .après modification d’un article (avec du texte capillotracté disponible en privé sur demande) /ecrire/ ?exec=article_edit&id_article=134&id_parent=37&var_ajax=form&formulaire_action=editer_article&formulaire_action_args=ibCJz1%2BjA................. Request-URI Too Large The (...)
-
FFMpeg : no essence (Invalid data found when processing input)
8 mai 2014, par Flock DawsonI’m trying to convert a 4K MXF file to a low res WEBM file. I’ve upgraded FFMpeg and codecs to the latest versions. When I initiate the conversion, however, I get following error :
ffmpeg version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers
built on May 8 2014 12:03:23 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configuration: --prefix=/usr/local/ffmpeg_build --extra-cflags=-I/usr/local/ffmpeg_build/include --extra-ldflags=-L/usr/local/ffmpeg_build/lib --bindir=/usr/local/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-x11grab
libavutil 52. 81.100 / 52. 81.100
libavcodec 55. 60.103 / 55. 60.103
libavformat 55. 37.102 / 55. 37.102
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 5.100 / 4. 5.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
[mxf @ 0x272de60] no essence
/tmp/TEST_4K.MXF: Invalid data found when processing inputThe file is quite large ( 30GB). Could this have something to do with this issue ? I googled for the no essence error but this doesn’t seem to provide any useful information. I checked the permissions on the file and those are not an issue. Also, I tried the same command for a smaller file (approx. 12 GB, which does work). Has anyone had any problems handling large files with FFMpeg ? Thanks !