
Recherche avancée
Médias (2)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (98)
-
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
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 -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)
Sur d’autres sites (11768)
-
ffmpeg exited with code 1 : Output with label 'videooutput' does not exist in any defined filter graph, or was already used elsewhere
12 avril 2022, par ThePrimeI'm using the https://www.npmjs.com/package/live-stream-radio module, but a few times i get this error using it. How could i solve it ? My code :


const NodeMediaServer = require('node-media-server');

const config = {
 rtmp: {
 port: 1935,
 chunk_size: 60000,
 gop_cache: true,
 ping: 30,
 ping_timeout: 60
 },
 http: {
 port: 8080,
 allow_origin: '*',
 mediaroot: 'F:/VMediaServer/mediaroot'
 },
 trans: { ffmpeg: 'C:/ffmpeg/bin/ffmpeg.exe', tasks: [ { app: 'live', ac: 'aac', vc: 'libx264', hls: true, hlsFlags: '[hls_time=2:hls_list_size=3:hls_flags=delete_segments]', dash: true, dashFlags: '[f=dash:window_size=3:extra_window_size=5]' } ] }
};

var nms = new NodeMediaServer(config)
nms.run();



-
PHP-FFMpeg filters()->resize() throw Use of undefined constant RESIZEMODE_INSET
27 février 2023, par Angus SimonsI'm using
PHP-FFMpeg
to use FFMpeg with php, unfortunately I can't set resize filter.


This is my code :



$video = $ffmpeg->open('video.mov');

$dimension = new FFMpeg\Coordinate\Dimension(1920, 1080);
$video->filters()
 ->resize($dimension, RESIZEMODE_INSET, true, 1)
 ->synchronize();

$format = new FFMpeg\Format\Video\X264('aac', 'libx264');
$format->setAudioChannels(2)->setAudioKiloBitrate(256);
$video->save($format, 'video.mp4');




But it throws this error :



Use of undefined constant RESIZEMODE_INSET - assumed 'RESIZEMODE_INSET'



I tried also :



->resize($dimension, 'RESIZEMODE_INSET', true, 1)



and



->resize($dimension, 'inset', true, 1)



But I can't get the video converted without stretching.



Thanks in advance


-
PHP-FFMpeg filters()->resize() throw Use of undefined constant RESIZEMODE_INSET
17 avril 2017, par Angus SimonsI’m using
PHP-FFMpeg
to use FFMpeg with php, unfortunately I can’t set resize filter.This is my code :
$video = $ffmpeg->open('video.mov');
$dimension = new FFMpeg\Coordinate\Dimension(1920, 1080);
$video->filters()
->resize($dimension, RESIZEMODE_INSET, true, 1)
->synchronize();
$format = new FFMpeg\Format\Video\X264('aac', 'libx264');
$format->setAudioChannels(2)->setAudioKiloBitrate(256);
$video->save($format, 'video.mp4');But it throws this error :
Use of undefined constant RESIZEMODE_INSET - assumed 'RESIZEMODE_INSET'
I tried also :
->resize($dimension, 'RESIZEMODE_INSET', true, 1)
and
->resize($dimension, 'inset', true, 1)
But I can’t get the video converted without stretching.
Thanks in advance