
Recherche avancée
Médias (91)
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (98)
-
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users. -
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. -
Modifier la date de publication
21 juin 2013, parComment changer la date de publication d’un média ?
Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
Dans la rubrique "Champs à ajouter, cocher "Date de publication "
Cliquer en bas de la page sur Enregistrer
Sur d’autres sites (5616)
-
vf_yadif : Relicense from GPL to LGPL
5 janvier 2014, par Robert Krüger -
Comand failed error with ffmpeg Node.js library
24 juillet 2020, par msrumonI have a VPS of 2-core CPU and 2GB of memory. I am using this ffmpeg library to convert a video at a lower resolution and apply watermark. The app gives me this error :


App 1442311 output: Error: Command failed: ffmpeg -i /home/cimbi/galaxnetpictures/tmp/2ee061f0-cd7b-11ea-81aa-05472f29ddbf.mp4 -i /home/cimbi/galaxnetpictures/public/logo.png -f webm -aspect 16:9 -s 1280x720 -filter_complex "overlay=main_w/2-overlay_w/2-0+0:main_h/2-overlay_h/2-0+0, scale=iw*sar:ih, pad=max(iw\,ih*(16/9)):ow/(16/9):(ow-iw)/2:(oh-ih)/2" /home/cimbi/galaxnetpictures/_previews_/e1ec28363c7af82474250fb88a447705.webm
App 1442311 output: ffmpeg version 2.8.15 Copyright (c) 2000-2018 the FFmpeg developers
App 1442311 output: built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-36)
App 1442311 output: configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' --extra-ldflags='-Wl,-z,relro ' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-gnutls --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394 --enable-libfdk-aac --enable-nonfree --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
App 1442311 output: libavutil 54. 31.100 / 54. 31.100
App 1442311 output: libavcodec 56. 60.100 / 56. 60.100
App 1442311 output: libavformat 56. 40.101 / 56. 40.101
App 1442311 output: libavdevice 56. 4.100 / 56. 4.100
App 1442311 output: libavfilter 5. 40.101 / 5. 40.101
App 1442311 output: libavresample 2. 1. 0 / 2. 1. 0
App 1442311 output: libswscale 3. 1.101 / 3. 1.101
App 1442311 output: libswresample 1. 2.101 / 1. 2.101
App 1442311 output: libpostproc 53. 3.100 / 53. 3.100
App 1442311 output: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/cimbi/galaxnetpictures/tmp/2ee061f0-cd7b-11ea-81aa-05472f29ddbf.mp4':
App 1442311 output: Metadata:
App 1442311 output: major_brand : mp42
App 1442311 output: minor_version : 0
App 1442311 output: compatible_brands: mp42mp41
App 1442311 output: creation_time : 2019-10-26 11:48:02
App 1442311 output: Duration: 00:00:08.67, start: 0.000000, bitrate: 11191 kb/s
App 1442311 output: Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 11179 kb/s, 30 fps, 30 tbr, 30k tbn, 60 tbc (default)
App 1442311 output: Metadata:
App 1442311 output: creation_time : 2019-10-26 11:48:02
App 1442311 output: handler_name : Alias Data Handler
App 1442311 output: encoder : AVC Coding
App 1442311 output: Input #1, png_pipe, from '/home/cimbi/galaxnetpictures/public/logo.png':
App 1442311 output: Duration: N/A, bitrate: N/A
App 1442311 output: Stream #1:0: Video: png, rgba64be(pc), 120x30 [SAR 11811:11811 DAR 4:1], 25 tbr, 25 tbn, 25 tbc
App 1442311 output: 
App 1442311 output: at ChildProcess.exithandler (child_process.js:295:12)
App 1442311 output: at ChildProcess.emit (events.js:209:13)
App 1442311 output: at maybeClose (internal/child_process.js:1021:16)
App 1442311 output: at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)



Can someone help me understand what this means ?


-
xuggler : no video in encoded 3gp file
1er août 2012, par khizari am trying to encode videos into 3gp format using xuggler, i somehow got it to work, work as in the program stopped throwing errors and exceptions, but the new file that is created does not have any video. Now there is no error or exception for me to work with so i have stuck a wall.
EDIT : Note the audio is working as it shud.This is the code for the main function where the listeners are configured
IMediaReader reader = ToolFactory.makeReader("/home/hp/mms/b.flv") ;
IMediaWriter writer = ToolFactory.makeWriter("/home/hp/mms/xuggle/a_converted.3gp", reader);
IMediaDebugListener debugListener = ToolFactory.makeDebugListener();
writer.addListener(debugListener);
ConvertVideo convertor = new ConvertVideo(new File("/home/hp/mms/b.flv"), new File("/home/hp/mms/xuggle/a_converted.3gp"));
// convertor.addListener(writer);
reader.addListener(writer);
writer.addListener(convertor);
while (reader.readPacket() == null)
;And this is the code for the convertor that i wrote.
public ConvertVideo(File inputFile, File outputFile)
{
this.outputFile = outputFile;
reader = ToolFactory.makeReader(inputFile.getAbsolutePath());
reader.addListener(this);
}private IVideoResampler videoResampler = null;
private IAudioResampler audioResampler = null;
@Override
public void onAddStream(IAddStreamEvent event)
{
if (writer == null)
{
writer = ToolFactory.makeWriter(outputFile.getAbsolutePath(), reader);
}
int streamIndex = event.getStreamIndex();
IStreamCoder streamCoder = event.getSource().getContainer().getStream(streamIndex).getStreamCoder();
if (streamCoder.getCodecType() == ICodec.Type.CODEC_TYPE_AUDIO)
{
streamCoder.setFlag(IStreamCoder.Flags.FLAG_QSCALE, false);
writer.addAudioStream(streamIndex, 0, 1, 8000);
}
else if (streamCoder.getCodecType() == ICodec.Type.CODEC_TYPE_VIDEO)
{
streamCoder.setFlag(IStreamCoder.Flags.FLAG_QSCALE, false);
streamCoder.setCodec(ICodec.findEncodingCodecByName("h263"));
writer.addVideoStream(streamIndex, 0, VIDEO_WIDTH, VIDEO_HEIGHT);
}
super.onAddStream(event);
}
// //
@Override
public void onVideoPicture(IVideoPictureEvent event)
{
IVideoPicture pic = event.getPicture();
if (videoResampler == null)
{
videoResampler = IVideoResampler.make(VIDEO_WIDTH, VIDEO_HEIGHT, pic.getPixelType(), pic.getWidth(), pic.getHeight(), pic.getPixelType());
}
IVideoPicture out = IVideoPicture.make(pic.getPixelType(), VIDEO_WIDTH, VIDEO_HEIGHT);
videoResampler.resample(out, pic);
IVideoPictureEvent asc = new VideoPictureEvent(event.getSource(), out, event.getStreamIndex());
super.onVideoPicture(asc);
out.delete();
}
@Override
public void onAudioSamples(IAudioSamplesEvent event)
{
IAudioSamples samples = event.getAudioSamples();
if (audioResampler == null)
{
audioResampler = IAudioResampler.make(1, samples.getChannels(), 8000, samples.getSampleRate());
}
if (event.getAudioSamples().getNumSamples() > 0)
{
IAudioSamples out = IAudioSamples.make(samples.getNumSamples(), samples.getChannels());
audioResampler.resample(out, samples, samples.getNumSamples());
AudioSamplesEvent asc = new AudioSamplesEvent(event.getSource(), out, event.getStreamIndex());
super.onAudioSamples(asc);
out.delete();
}
}I just cant seem to figure out where the problem is. I wud be thankful if someone wud plz point me in the right direction.
EDIT : If i see the properties of my newly encoded video, its audio properties are set and its video properties are not i.e in video properties, dimension= 0 x 0, frame rate= N/A and codec= h.263. The problem here is the 0 x 0 dimension.