
Recherche avancée
Médias (1)
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (34)
-
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (6239)
-
Encoding Android Camera Frames h263/h264 [closed]
29 décembre 2015, par Another GuyI want to implement a Video Chatting app on Android . I created a SurfaceView , get Camera preview and captured the frame as a byte[ ] using Camera.PreviewCallback.onPreviewFrame( ) method . Now I want to encode that byte[ ] to a h263 frame , pass over the network . Also get similar type of frame over network , decode it to a byte[ ] ( or a displayable format ) , and show it in a View . I want to do it at least 15 FPS rate . I am asking help for the encoding/decoding part .
For that purpose , which library would be suitable for me ? From where I should start ? Is my starting point wrong ? Is there any support on SDK or would I have to use NDK ? I have heard about FFMpeg/x264 library , but I could not figure out how I can use them in my purpose . It’s highly appreciated If you name any library , any reference , learning path , link or code snippet . Can you help me saying any workflow I should follow ? What if I want to use h264 encoding ? I just want to get it done , GPL/LGPL license of library would not matter a lot .
I am a beginner in Android development . Any kind of assistance would be highly appreciated . Thanks in advance .
-
Encoding Android Camera Frames h263/h264 [on hold]
29 décembre 2015, par Another GuyI want to implement a Video Chatting app on Android . I created a SurfaceView , get Camera preview and captured the frame as a byte[ ] using Camera.PreviewCallback.onPreviewFrame( ) method . Now I want to encode that byte[ ] to a h263 frame , pass over the network . Also get similar type of frame over network , decode it to a byte[ ] ( or a displayable format ) , and show it in a View . I want to do it at least 15 FPS rate . I am asking help for the encoding/decoding part .
For that purpose , which library would be suitable for me ? From where I should start ? Is my starting point wrong ? Is there any support on SDK or would I have to use NDK ? I have heard about FFMpeg/x264 library , but I could not figure out how I can use them in my purpose . It’s highly appreciated If you name any library , any reference , learning path , link or code snippet . Can you help me saying any workflow I should follow ? What if I want to use h264 encoding ? I just want to get it done , GPL/LGPL license of library would not matter a lot .
I am a beginner in Android development . Any kind of assistance would be highly appreciated . Thanks in advance .
-
FFMPEG excute error from C# with "setup factory"setups
15 mars 2012, par Savas Adari am developing an application and i am using ffmpeg in this application for convert audio file "mp3" to "amr".
My application running successfully when i debug it or when if i copy debug folder another computer, it is running.
But, i am create a setup with "Setup Factory" application. When i install application which i create with setup factory, ffmpeg code block is not running, i get "OutputPackage" as null.
here is code ;
Converter converter = new Converter();
//varsa sil
if (File.Exists(PathTargetPre + "_orijinal.amr"))
File.Delete(PathTargetPre + "_orijinal.amr");
//dosyayı convert et ve olustur
OutputPackage oo = converter.ConvertToAMR(PathSource, PathTargetPre + "_orijinal.amr");
if (oo == null)
{
MessageBox.Show("Convert Error!");
return;
}
//dosya hazırlandı
if (oo.AudioStream == null)
{
MessageBox.Show("Convert Error 2!");
return;
}
lblGercekBoyut.Text = Convert.ToString((oo.AudioStream.Length / 1000)) + " KB";
lblSikismisBoyut.Text = Convert.ToString((oo.AudioStream.Length / 1000)) + " KB";
actualBitrate = converter.GetVideoInfo(PathTargetPre + "_orijinal.amr").BitRate;here is "ConvertToAMR" method ;
public OutputPackage ConvertToAMR(string sourcePath, string destPath)
{
OutputPackage ou = new OutputPackage();
string Params = string.Format("-i {0} -ar 8000 -ac 1 {1}", sourcePath, destPath);
//-ab 320k
string output = RunProcess(Params);
if (File.Exists(destPath))
{
ou.AudioStream = LoadMemoryStreamFromFile(destPath);
}
return ou;
}