
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 (98)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (3988)
-
ffmpeg not creating video from images
16 décembre 2014, par Knight RiderI have read this Create Video using ffmpeg
Still I am not able to get it.
I have written this shell command in PHPecho $make_movie = "$ffmpeg -framerate 1/5 -i $folder_name/img%03d.png -c:v libx264 -r 25 -pix_fmt yuv420p $folder_name/output.mp4";
This gives output
ffmpeg\bin\ffmpeg.exe -framerate 1/5 -i ankit/img%03d.png -c:v libx264 -r 25 -pix_fmt yuv420p ankit/output.mp4
if(shell_exec($make_movie)){
echo "<br />Movie Created..<br />";
}
else{
echo "<br />Movie Creation Error..<br />";
}The Output is Movie Creation Error that means the Shell Command is not executing ?
Questions :
- What is wrong ?
- For future use, any debugging methods for this ?
I ran the same command on cmd and it made the video..!!!
-
how to use ffmpeg batch convert mp4 to m3u8 ? [on hold]
29 mars 2017, par user6006103a script Can be use shell or perl or python by ffmpeg batch cut mp4 to m3u8 ts file?
-
How do I cut the last 10 seconds from mpeg using ffmpeg (and applescript etc) [closed]
10 décembre 2015, par EvGeniy IlyinI have many different mpeg files. In every mpeg file are credits at the end of the video. I need to cut it. How I can do it for bath(list) ?
for example :ffmpeg -i my.mp4 -vcodec copy -acodec copy -ss 00:10:10 my_cute.mp4
but every mpeg file has different duration...
Is there a way to specify the indent from the end ?my answer
using applescript organizing logic
main parameters : the length of the titles and file folder- to draw up a list of specified path mp4 files
- cycles through each file
- using ffprobe obtain data in xml with a total length video
- parse xml, we obtain the duration of the
- using ffmpeg, knowing the total duration of the video and the length of the credits at the end - set the new duration
-- settings
set titresDuration to 54.0
set folderPath to "/Users/-/Downloads/-.XviD.SATRip.Thunder"
set filesList to my filesInFolder(folderPath, true, ".mp4")
repeat with fileName in filesList
set videoDuration to my videoDurationOfFile(fileName)
set fileCutName to do shell script "echo '" & fileName & "' | sed 's/\\.mp4/c\\.mp4/g'"
if videoDuration > titresDuration then
set videoDurationWithoutTitres to videoDuration - titresDuration
set videoDurationWithoutTitres to my numberToString(videoDurationWithoutTitres)
set ffmpegScript to "/usr/local/bin/ffmpeg -y -i " & quoted form of fileName & " -t " & videoDurationWithoutTitres & " -c copy " & quoted form of fileCutName
set info to do shell script ffmpegScript
end if
end repeat
log "the end"
-- helpers methods
on videoDurationOfFile(fileName)
set probeScript to "/usr/local/bin/ffprobe -v quiet -print_format xml -show_format " & quoted form of fileName
set videoTags to do shell script probeScript --"/usr/local/bin/ffprobe -v quiet -print_format xml -show_format " & fileName
set videoDuration to 0.0
tell application "System Events"
set xmlData to make new XML data with properties {name:"xmldata", text:videoTags}
set xmlFFprobe to XML element "ffprobe" of xmlData
set xmlFormat to XML element "format" of xmlFFprobe
set attrs to value of XML attribute "duration" of xmlFormat
set attrs to do shell script "echo '" & attrs & "' | sed 's/[0]*$//g'"
set attrs to do shell script "echo '" & attrs & "' | sed 's/\\./,/g'"
set videoDuration to attrs as real
end tell
return videoDuration
end videoDurationOfFile
on numberToString(this_number)
set this_number to this_number as string
set this_number to do shell script "echo '" & this_number & "' | sed 's/,/\\./g'"
if this_number contains "E+" then
set x to the offset of "." in this_number
set y to the offset of "+" in this_number
set z to the offset of "E" in this_number
set the decimal_adjust to characters (y - (length of this_number)) thru ¬
-1 of this_number as string as number
if x is not 0 then
set the first_part to characters 1 thru (x - 1) of this_number as string
else
set the first_part to ""
end if
set the second_part to characters (x + 1) thru (z - 1) of this_number as string
set the converted_number to the first_part
repeat with i from 1 to the decimal_adjust
try
set the converted_number to ¬
the converted_number & character i of the second_part
on error
set the converted_number to the converted_number & "0"
end try
end repeat
return the converted_number
else
return this_number
end if
end numberToString
on filesInFolder(folderPath, lookInSubfolders, filter)
set filesList to {}
tell application "System Events" to set filesList to POSIX path of (files of folder folderPath whose name contains filter)
if lookInSubfolders then
tell application "System Events" to set subfoldersList to POSIX path of (folders of folder folderPath)
repeat with subfolderPath in subfoldersList
set subfilesList to my filesInFolder(subfolderPath, true, filter)
repeat with subfile in subfilesList
set end of filesList to subfile
end repeat
end repeat
end if
return filesList
end filesInFolder