
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (111)
-
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 -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (11957)
-
PHP/FFmpeg can not save video
19 mai 2019, par tour travelThe error is :
[Sun May 19 11:41:03.158185 2019] [php7:error] [pid 32405] [client
85.133.232.4:35172] PHP Fatal error : Uncaught Alchemy\BinaryDriver\Exception\ExecutionFailureException : ffmpeg
failed to execute command ’/usr/bin/ffmpeg’ ’-y’ ’-i’ ’Sample.mp4’
’-async’ ’1’ ’-metadata:s:v:0’ ’start_time=0’ ’-f’ ’webm’ ’-vcodec’
’libvpx’ ’-acodec’ ’libvorbis’ ’-b:v’ ’1000k’ ’-refs’ ’6’ ’-coder’ ’1’
’-sc_threshold’ ’40’ ’-flags’ ’+loop’ ’-me_range’ ’16’ ’-subq’ ’7’
’-i_qfactor’ ’0.71’ ’-qcomp’ ’0.6’ ’-qdiff’ ’4’ ’-trellis’ ’1’ ’-b:a’
’128k’ ’-vf’ ’[in]scale=320:240 [out]’ ’export-webm.webm’ in
/vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/ProcessRunner.php:100\nStack
trace :\n#0
/vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/ProcessRunner.php(72) :
Alchemy\BinaryDriver\ProcessRunner->doExecutionFailure(’’/usr/bin/ffmpe...’)\n#1
/vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/AbstractBinary.php(209) :
Alchemy\BinaryDriver\ProcessRunner->run(Object(Symfony\Component\Process\Process),
Object(SplObjectStorage), false)\n#2
/vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/AbstractBinary.php(137) :
Alchemy\BinaryDr in
/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/Media/AbstractVideo.php on
line 106aWhat I trying to do is, save video :
require '/vendor/autoload.php';
$ffmpeg = FFMpeg\FFMpeg::create();
$ffprobe = FFMpeg\FFProbe::create();
$video = $ffmpeg->open('Sample.mp4');
$video
->filters()
->resize(new FFMpeg\Coordinate\Dimension(320, 240))
->synchronize();
$video
->save(new FFMpeg\Format\Video\X264('aac'), 'export-x264.mp4')What I have done :
I searched and similar topics tell me to set permission to my files and folders, I set user and also set 755 to files and folders but still I have this error and no success, any idea ?
Errorlog :
Fatal error : Uncaught
Alchemy\BinaryDriver\Exception\ExecutionFailureException : ffmpeg
failed to execute command ’/usr/bin/ffmpeg’ ’-y’ ’-i’ ’Sample.mp4’
’-async’ ’1’ ’-metadata:s:v:0’ ’start_time=0’ ’-vcodec’ ’libx264’
’-acodec’ ’aac’ ’-b:v’ ’1000k’ ’-refs’ ’6’ ’-coder’ ’1’
’-sc_threshold’ ’40’ ’-flags’ ’+loop’ ’-me_range’ ’16’ ’-subq’ ’7’
’-i_qfactor’ ’0.71’ ’-qcomp’ ’0.6’ ’-qdiff’ ’4’ ’-trellis’ ’1’ ’-b:a’
’128k’ ’-vf’ ’[in]scale=320:240 [out]’ ’-pass’ ’1’ ’-passlogfile’
’/tmp/ffmpeg-passes5ce11d01dc0038yfbl/pass-5ce11d01dc0c7’
’export-x264.mp4’ in
/vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/ProcessRunner.php:100
Stack trace : #0
/vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/ProcessRunner.php(72) :
Alchemy\BinaryDriver\ProcessRunner->doExecutionFailure(’’/usr/bin/ffmpe...’)1 /vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/AbstractBinary.php(209) :
Alchemy\BinaryDriver\ProcessRunner->run(Object(Symfony\Component\Process\Process),
Object(SplObjectStorage), false) #2 /vendor/alchemy/binary-driver in
/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/Media/AbstractVideo.php on
line 106 -
Using FFMPEG to save 2 seconds slices, every 5 seconds interval [closed]
15 mars 2024, par EduardoWhat I want to do is to save 2 seconds, skip 5 seconds and keep going until the end of the video.
It's ok to encode as long its mp4, since I will use the slices on Vegas.
The end resolt will be a bunch of random 2 seconds segments videos, from a larger file.


I can cut a slice


ffmpeg -i video.mp4 -ss 00:00:00 -t 00:00:02 -async 1 -strict -2 slice.mp4



I need to loop it and also move the 5 seconds interval every pass.


-
If multiple channels, merge then take sample length from audio file and save it to s3
18 mai 2017, par khinesterI am using transloadit to extract the audio from a video file, which is then saved to S3.
This works great, but I wanted to know how to :-
check if the file has multiple channels and then squash it inot one as per https://transloadit.com/demos/audio-encoding/merging-multiple-audio-streams/ - do I need to check for this or do i default to use this robot ?
-
extract a small sample from the audio file - and save this as a separate file.
For example, I have a 2h audio file from which I want to take 5% of the length and save this as sample.mp3
In ffmpeg, i can cut :
ffmpeg -ss 0 -t 30 -i original.mp3 sample.mp3
but I am unsure how to chain this workflow, here is what i have thus far :
const opts = {
params: {
notify_url: `${ process.env.SELF }/services/trans/${ jwToken }`,
steps: {
import: {
robot: '/s3/import',
use: ':original',
bucket: process.env.S3_INGEST,
path: ingest.key,
key: process.env.AWS_ID,
secret: process.env.AWS_SECRET,
},
encode: {
robot: '/audio/encode',
use: 'import',
ffmpeg_stack: 'v2.2.3',
preset: 'aac',
ffmpeg: {
ab: '128k',
},
},
export: {
robot: '/s3/store',
use: 'encode',
bucket: s3Export,
path: `${ prefix }/${ token }.m4a`,
headers: {
'Content-Type': 'audio/mp4',
'x-amz-server-side-encryption': 'AES256',
},
key: process.env.AWS_ID,
secret: process.env.AWS_SECRET,
},
},
},
};in the docs, https://transloadit.com/docs/conversion-robots/ i can’t see how to do this ?
any advice is much appreciated.
-