
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 (20)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Other interesting software
13 avril 2011, parWe don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
We don’t know them, we didn’t try them, but you can take a peek.
Videopress
Website : http://videopress.com/
License : GNU/GPL v2
Source code : (...)
Sur d’autres sites (5381)
-
Android JavaCV FFmpegFrameRecorder Exception Could not open video codec
11 décembre 2014, par bakuaI’m working on some encoding in Android and I use JavaCV FFmpegFrameRecorder for that. Thing is that sometims need to restart that process. I have a restart button and on tap I release everything and create it again.
I do it like that :
mVideoRecorder.stop();
mVideoRecorder.release();And then I :
mVideoRecorder = new FFmpegFrameRecorder(videoPath, outputResolution.getWidth(), outputResolution.getHeight(), 1);
mVideoRecorder.setFormat(recorderParameters.getVideoOutputFormat());
mVideoRecorder.setSampleRate(recorderParameters.getAudioSamplingRate());
mVideoRecorder.setFrameRate(recorderParameters.getVideoFrameRate());
mVideoRecorder.setVideoCodec(recorderParameters.getVideoCodec());
mVideoRecorder.setVideoQuality(recorderParameters.getVideoQuality());
mVideoRecorder.setAudioQuality(recorderParameters.getVideoQuality());
mVideoRecorder.setAudioCodec(recorderParameters.getAudioCodec());
mVideoRecorder.setVideoBitrate(1000000);
mVideoRecorder.setAudioBitrate(64000);
mVideoRecorder.start();But sometimes on the start() line I get this exception :
com.googlecode.javacv.FrameRecorder$Exception: avcodec_open2() error -22: Could not open video codec.
at com.googlecode.javacv.FFmpegFrameRecorder.start(FFmpegFrameRecorder.java:472)I am not able to exactly tell circumstances in which this happens but in most cases it is when I restart two times quickly (double tap the restart button). I am able to catch the exception, but it is useless because it forces app to exit.
My guess is that it calls start while previous mVideoRecorder is still releasing internally - and therefore has mp4 codec locked for itself or something. But that is just my guess.
Do you guys have any opinions please ?
Thank you -
FFMPEG - C# - Audio and Video out of sync on certain videos after concatenation
10 décembre 2016, par iamanoobHey guys I’ve been trying to make this work for a while now and I can’t seem to find how to make the audio/video synced after the concatenation, I’ve searched and tested some solutions but couldn’t get it working.
Here is what I do right now, Everything is working but I must be doing something wrong.
So First, I split the videos into the video that I want
System.Diagnostics.Process.Start(ffmpegPath, "-i " +
video.Path + " -ss " + StartTime + " -t " + Duration + " " + video.Output);After "cutting/splitting" the videos that I want like I want, I tried concatenating the videos together ( using -safe 0 to use the absolute path, else it wasn’t working ) :
System.Diagnostics.Process.Start(ffmpegPath,
"-f concat -safe 0 -i " + txtFile + " C:\\Downloads\\Build\\" + rdn.Next(0,1000) + ".mp4");After that , I’ve noticed the audio/video was sometime out of sync so I searched and found this
so I decided to Pad all the videos after splitting them :
System.Diagnostics.Process.Start(ffmpegPath,
"-i " + video.Output + " -af apad -c:v libx264 -shortest -avoid_negative_ts make_zero -fflags +genpts -report " + padding);and then building it again, but it ended up having the same audio desync.
It’s my first time working with mp4s and with FFMPEG and I’m sure I’m missing something.
-
How to convert 7sec Video to Gif Android
21 août 2014, par Donnie IbiyemiAm making an app that convert shot video clips to Gif. i was wondering if there was a libary that directly converts videos to gifs on the Fly on Android.
I’ve tried to extract all the frames of the video and encode them into a gif but am only getting the the first frame of the video. my code is below :
public static final int GIF_DELAY_BETWEEN_FRAMES = 100;
public static final float SPEED_RATIO = 1.1f;
Uri videoFileUri=Uri.parse(mOutputFile.toString());
FFmpegMediaMetadataRetriever retriever = new FFmpegMediaMetadataRetriever();
retriever.setDataSource(mOutputFile.getAbsolutePath());
rev = new ArrayList<bitmap>();
MediaPlayer mp = MediaPlayer.create(RecorderActivity.this, videoFileUri);
int millis = mp.getDuration();
for(int i=1000000;itest.gif");
outStream.write(generateGIF());
outStream.close();
}catch(Exception e){
e.printStackTrace();
}
public byte[] generateGIF() {
ByteArrayOutputStream bos = new ByteArrayOutputStream();
AnimatedGifEncoder encoder = new AnimatedGifEncoder();
encoder.setDelay((int)(GIF_DELAY_BETWEEN_FRAMES * (1 / SPEED_RATIO)));
encoder.start(bos);
for (Bitmap bitmap : rev) {
encoder.addFrame(bitmap);
}
encoder.finish();
return bos.toByteArray();
}
</bitmap>Please help me guys...thanks