
Recherche avancée
Autres articles (50)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (7891)
-
How to set dateTime over captured video in android ?
3 février 2016, par Anish KumarI’m developing a project with camera activity. I need to set current date and Time to the video which I captured and compress and save it in SD Card. I searched a lot in Google, but I am unable to achieve this.
Here is my Code
private void recordVideo() {
Intent intent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE);
fileUri = getOutputMediaFileUri(MEDIA_TYPE_VIDEO);
// set video quality
intent.putExtra(MediaStore.EXTRA_VIDEO_QUALITY, 0);
intent.putExtra(MediaStore.EXTRA_DURATION_LIMIT,10);
intent.putExtra(MediaStore.EXTRA_OUTPUT, fileUri); // set the image file
// name
// start the video capture Intent
startActivityForResult(intent, CAMERA_CAPTURE_VIDEO_REQUEST_CODE);
}
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
if (requestCode == CAMERA_CAPTURE_VIDEO_REQUEST_CODE) {
if (resultCode == RESULT_OK) {
pass=fileUri;
try
{
b = ThumbnailUtils.createVideoThumbnail(fileUri.getPath(), MediaStore.Video.Thumbnails.MICRO_KIND);
}
catch (Exception e)
{
Log.e("EXX",e.getMessage());
Toast.makeText(getApplicationContext(),"Uri is empty", Toast.LENGTH_SHORT).show();
}
if (b == null)
{
cvideo.setImageResource(R.drawable.video);
ipreview.setVisibility(View.INVISIBLE);
Toast.makeText(getApplicationContext(),
"Unable to set Thumbnail ", Toast.LENGTH_SHORT)
.show();
} else {
cvideo.setImageBitmap(b);
LoadJNI vk = new LoadJNI();
try {
String workFolder = getApplicationContext().getFilesDir().getAbsolutePath();
String[] complexCommand = {"ffmpeg","-i", fileUri.getPath()};
vk.run(complexCommand, workFolder, getApplicationContext());
Log.i("test", "ffmpeg4android finished successfully");
} catch (Throwable e) {
Log.e("test", "vk run exception.", e);
}
tphoto.setImageResource(R.drawable.camera1);
ipreview.setVisibility(View.VISIBLE);
//flag=1;
}
} else if (resultCode == RESULT_CANCELED) {
// user cancelled recording
Toast.makeText(getApplicationContext(),
"User cancelled video recording", Toast.LENGTH_SHORT)
.show();
} else {
// failed to record video
Toast.makeText(getApplicationContext(),
"Sorry! Failed to record video", Toast.LENGTH_SHORT)
.show();
}
}I did the same concept in Captured Image, I used Canvas to draw date Time over image and saved in SD Card. But I don’t know how to perform this task.
-
DirectShow IVideoWindow can't be wider than 4096px
25 mars 2019, par ulveskedI have a C# application which uses DirectShow to show play video clips. We recently tried to play a video that is 9600x1080 px and it would not show. DirectShow emits events that everything.
We use K-Lite codec pack (1295) and utilise ffdshow libx264 as codec and video renderer. Media Player Classic using the same renderer can play the clip just fine. The latest version of our application use DirectShow.NET while the older versions call DirectShow interfaces directly. Both old and new versions of our application have the same issues.
After some experimentation we have found out the following :
-
If the video window width is 4096px or narrower it will render video. If it is 4097 or wider it will not render any video. We tried playing a HD-clip and a 720-clip with the same results. They will play when the video window is 4096x1080 but not when the window is 4097x1080 or wider.
-
When changing resolution or graphic settings there are some flashes (a few frames) of the video when the settings is applied, so that would suggest that it is in fact playing the video but it displays only black.
Tested on Windows 10, 64 bit.
Any ideas of what the we can do to fix this ?
-
-
How to encode Live Streaming using NReco.VideoConverter ?
11 janvier 2016, par Siva PrasannaI’m developing an application to encode a live stream using NReco.VideoConverter component. I’m getting a live video stream from one of my IP cameras, and it uses rtsp. The url is "rtsp ://test.vaprtech.com/vid/show.sav ?[PARAMETERS]". Now the code I use is given below.
private void button1_Click(object sender, EventArgs e)
{
String path="rtsp://test.vaprtech.com/vid/show.sav?[PARAMETERS]";
String pathToSave="C:\\Videos\\LiveVideo.mp4";
var ffMpeg = new NReco.VideoConverter.FFMpegConverter();
ConvertLiveMediaTask task=ffMpeg.ConvertLiveMedia(path, Format.mp4, pathToSave, Format.mp4, new ConvertSettings(){VideoCodec="h264"});
task.Start();
}But I’m getting an error saying
"The best overloaded method match for
’...ConvertLiveMedia(string,string,System.IO.Stream,string,ConvertSettings)’
has some invalid arguments".