
Recherche avancée
Autres articles (9)
-
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 -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...) -
Formulaire personnalisable
21 juin 2013, parCette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire. (...)
Sur d’autres sites (2920)
-
Windows Batch - Change the beginning of a path but keep the rest
21 juin 2014, par o_renI’m running FFMPEG for video encoding.
I have a batch file which will encode files you drop on it, keeping the file’s original name and copy the encoded files to a specific directory.
I would like that script to "know" the original’s file path and copy the encoded file to a path relative to it, meaning :
original file dropped on batch file is in C :\some\folder\show\season\episode\file.mov
encoded file should be encoded to D :\different\directory\show\season\episode\file.mp4
The part of the path up until \show is fixed.This is what I have so far :
@echo on
set count=0
for %%a in (%*) do (<br />
if exist %%a (
md \\specific\path\"%%~na"
%MYFILES%\ffmpeg.exe -i "%%~a" -vcodec libx264 -preset medium -vprofile baseline -level 3.0 -b 500k -vf scale=640:-1 -acodec aac -strict -2 -ac 2 -ab 64k -ar 48000 "%%~na_500.mp4"
copy "%%~na_500.mp4" "\\specific\path\"%%~na"\%%~na_500.mp4"
copy "%%~na_500.mp4" "\\specific\path\"%%~na"\%%~na_500.mp4"
del "%%~na_500.mp4"set /a count+=1
) else (
echo Skipping non-existent %% a
Thank you,
Oren -
Transcode Adobe Media Encoder live stream using FFMPEG in node.js
23 juin 2014, par user2757842I am using Adobe media live encoder to send a stream up to the adobe media server. What I would like to do is take that stream and transcode it to a local file on my machine in another format other that .f4m
Here is the code I have so far, it is built using FFmpeg within a node.js app :
var ffmpeg = require('fluent-ffmpeg');
var fs = require('fs');
//make sure you set the correct path to your video file
var inStream = fs.createReadStream('rtmp://localhost/livepkgr/livestream live=1'); // this is where the streams are stored
var command = new ffmpeg({ source: inStream});
//Set the path to where FFmpeg is installed
command.setFfmpegPath("C:\\Users\\Jay\\Documents\\FFMPEG\\bin\\ffmpeg.exe");
command
//set the size
.withSize('100%')
// set fps
.withFps(24)
// set output format to force
.toFormat('ismv')
// setup event handlers
.on('end', function() {
console.log('file has been converted successfully');
})
.on('error', function(err) {
console.log('an error happened: ' + err.message);
})
// save to file <-- the new file I want -->
.saveToFile('rtmp://localhost/livepkgr/livestream1'); //this is where i want to store the newly converted streamI have it working with a local file but when I try it with my live stream, I get this error
events.js:72
throw er; // Unhandled 'error' event
^
Error: ENOENT, open 'C:\Users\Jay\workspace\FFMPEGtest\rtmp:\localhost\livepkgr\livestream live=1'Anyone seen this before ?
-
How to access windows enviroment variables on MSYS ?
15 octobre 2016, par Mostafa SatakiI want to build ffmpeg by vs2015 from msys2.
In the first add vs2015\vc\bin\amd64 in to path enviroment in windows.
Run "vs2015 x64 command prompt" as administrator then run vcvarsall.bat amd64.
In the final go to "msys" path and then run "msys2_shell.cmd".
I use "which cl" command for localize cl.exe.
Output :
which : no cl in
(/usr/local/bin :/usr/bin :/bin :/opt/bin :/c/Windows/System32 :/c/Windows :/c/Windows/System32/Wbem :/c/Windows/System32/WindowsPowerShell/v1.0/)How to access to windows enviroments in the msys ?