
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 (90)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
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 (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (5787)
-
How to split multiple audio files by 10 seconds each on OSX ?
23 juin 2020, par LA_Let's say I have 100 audio files and I would like to split each file into several files with 10 seconds length.


I think the following should work :


for i in *.ogg; do
 echo -n $i ...
 ffmpeg -i $i.ogg -ss 0 -t 10 $i_1.ogg
 ffmpeg -i $i.ogg -ss 10 -t 10 $i_2.ogg
 ffmpeg -i $i.ogg -ss 20 -t 10 $i_3.ogg
done



But I don't understand how many times ffmpeg commands should be repeated.


-
ffmpeg decode video to YUV and damaged pixels
28 août 2021, par user3807476I use this example to decode a mpeg1 video


when decode starts


log (every 3 to 10 frames) :


[mpeg1video @ 0x5626caf74e40] ac-tex damaged at 39 15
[mpeg1video @ 0x5626caf74e40] Warning MVs not available
[mpeg1video @ 0x5626caf74e40] concealing 405 DC, 405 AC, 405 MV errors in P frame



and the result is :




I tried make rgb from YUV using opencv but the rgb results is same


cv::Size actual_size(frame->width, frame->height);
 cv::Size half_size(frame->width/2, frame->height/2);
 cv::Mat y(actual_size, CV_8UC1, frame->data[0]);
 cv::Mat u(half_size, CV_8UC1, frame->data[1]);
 cv::Mat v(half_size, CV_8UC1, frame->data[2]);

 cv::Mat u_resized, v_resized;
 cv::resize(u, u_resized, actual_size, 0, 0, cv::INTER_NEAREST); //repeat u values 4 times
 cv::resize(v, v_resized, actual_size, 0, 0, cv::INTER_NEAREST); //repeat v values 4 times

 cv::Mat yuv; 
 std::vector yuv_channels = { y, u_resized, v_resized };
 cv::merge(yuv_channels, yuv);

 cv::Mat bgr;
 cv::cvtColor(yuv, bgr, cv::COLOR_YUV2BGR);
 
 cv::imshow("x",bgr);
 cv::waitKey(1000/25);





-
Windows Pipes STDIN and STDOUT Parent Child proc communication IPC FFMPEG
15 octobre 2018, par Evren BingølI am writing a simple WINDOWS app which demonstrates piping,
I pass byte size data down to child proc, increment the value and send the char size data back to parent and loop until it reaches MAX_CHAR
Pretty much demonstration of "i++" with IPC.Parent Process
while(i<256){
bSuccess = WriteFile(g_hChildStd_IN_Wr, chBuf, sizeof(char), &dwWritten, NULL);
bSuccess = ReadFile(g_hChildStd_OUT_Rd, chBuf, sizeof(char), &dwRead, NULL); // IF THERE IS NO FFLUSH IT BLOCKS
}And in Child
while (i<256){
byte data=0;
fread(&data, sizeof(char), 1, stdout);
data++;
fwrite(&data, sizeof(char), 1, stdout);
//fflush(stdout); IF I DO NOT HAVE THIS PARENT BLOCKS ON READ
}First of all if I do not FFLUSH child proc stdout, the parent blocks on reading child’s stdout.
How can one run this code without having to fflush child’s stdout.
Closing the pipe after child’s first write is not an option as it is in a loop and needs to execute 256 times.
more generically I want the child to write N bytes to parent, parent read that N bytes do something and write back to child another N bytes and child does something with that N bytes and write to parent N bytes. This happens M times.
thing is I can not use fflush because my final goal is to use a child process that is not implemented by me.
My final goal is to pipe data to FFMPEG encode the data and read back from the stdin and do this over and over again with out having to fork a new FFMPEG process for each image frame but rather fork one instance of FFMPEG and pipe data in and read data out from it. And since I did not implement ffmpeg and I can not change the source code.
thanks
Thanks