
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 (69)
-
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (6951)
-
C# Cloud Function (System Packages Included in Cloud Functions not loading)
10 avril 2023, par Robert MeliI am new to cloud functions, and I'm trying to load the FFMPEG system package included in ubuntu (System Packages Included in Cloud Functions | Cloud Functions Documentation | Google Cloud)


Currently i am trying to load the FFMPEG system package like this :
Process.Start("ffmpeg",$"-i {temp_input_file} -vn -acodec wav {temp_output_file}");
but i am getting this error

An error occurred trying to start process 'ffmpeg' with working directory '/layers/google.dotnet.publish/publish/bin'. No such file or directory



I did this with python and it worked fine but i have a requirement to work with C#.


Thanks.


I tried
Process.Start("ffmpeg",$"-i {temp_input_file} -vn -acodec wav {temp_output_file}");


I need it to convert from MP4 to WAV in c# using google cloud function.


-
how to link ffmpeg libs with android system libs
7 juin 2013, par user718146I am using ffmepg to develope my own functionality for my android system,
I have gotten ffmpeg libs (libavutil.a and so on) by building ffmpeg project using android NDK
Static libs can be linked by declaring LOCAL_LDFLAGS += lib in Android.mk, however, my ffmpeg libs could not be linked for my project with android system compilation, a vast Error (undefined reference to 'av_xx' ) occurred during compilation process
I did another test of linking the ffmpeg libs in my project that is NDK compiled, the libs were linked without error
my own functionality im developing can only be compiled under android source code, how do i fix it, please help -
how to pass custom values into this Android ffmpeg method
28 août 2014, par kc ochibilii am trying to call this method. but i dont know how to pass my own values into it
Like : the output length, or FrameRate.The code uses some letters like "-y" "-i" which they explained without really explaining what the letters meant
here is the method from https://github.com/guardianproject/android-ffmpeg-java/blob/master/src/org/ffmpeg/android/FfmpegController.java#L488
/*
* ffmpeg -y -loop 0 -f image2 -r 0.5 -i image-%03d.jpg -s:v 1280x720 -b:v 1M \
-i soundtrack.mp3 -t 01:05:00 -map 0:0 -map 1:0 out.avi
-loop_input – loops the images. Disable this if you want to stop the encoding when all images are used or the soundtrack is finished.
-r 0.5 – sets the framerate to 0.5, which means that each image will be shown for 2 seconds. Just take the inverse, for example if you want each image to last for 3 seconds, set it to 0.33.
-i image-%03d.jpg – use these input files. %03d means that there will be three digit numbers for the images.
-s 1280x720 – sets the output frame size.
-b 1M – sets the bitrate. You want 500MB for one hour, which equals to 4000MBit in 3600 seconds, thus a bitrate of approximately 1MBit/s should be sufficient.
-i soundtrack.mp3 – use this soundtrack file. Can be any format.
-t 01:05:00 – set the output length in hh:mm:ss format.
out.avi – create this output file. Change it as you like, for example using another container like MP4.
*/
public Clip createSlideshowFromImagesAndAudio (ArrayList<clip> images, Clip audio, Clip out, int durationPerSlide, ShellCallback sc) throws Exception
{
final String imageBasePath = new File(mFileTemp,"image-").getCanonicalPath();
final String imageBaseVariablePath = imageBasePath + "%03d.jpg";
ArrayList<string> cmd = new ArrayList<string>();
String newImagePath = null;
int imageCounter = 0;
Clip imageCover = images.get(0); //add the first image twice
cmd = new ArrayList<string>();
cmd.add(mFfmpegBin);
cmd.add("-y");
cmd.add("-i");
cmd.add(new File(imageCover.path).getCanonicalPath());
if (out.width != -1 && out.height != -1)
{
cmd.add("-s");
cmd.add(out.width + "x" + out.height);
}
newImagePath = imageBasePath + String.format(Locale.US, "%03d", imageCounter++) + ".jpg";
cmd.add(newImagePath);
execFFMPEG(cmd, sc);
for (Clip image : images)
{
cmd = new ArrayList<string>();
cmd.add(mFfmpegBin);
cmd.add("-y");
cmd.add("-i");
cmd.add(new File(image.path).getCanonicalPath());
if (out.width != -1 && out.height != -1)
{
cmd.add("-s");
cmd.add(out.width + "x" + out.height);
}
newImagePath = imageBasePath + String.format(Locale.US, "%03d", imageCounter++) + ".jpg";
cmd.add(newImagePath);
execFFMPEG(cmd, sc);
}
//then combine them
cmd = new ArrayList<string>();
cmd.add(mFfmpegBin);
cmd.add("-y");
cmd.add("-loop");
cmd.add("0");
cmd.add("-f");
cmd.add("image2");
cmd.add("-r");
cmd.add("1/" + durationPerSlide);
cmd.add("-i");
cmd.add(imageBaseVariablePath);
cmd.add("-strict");
cmd.add("-2");//experimental
String fileTempMpg = new File(mFileTemp,"tmp.mpg").getCanonicalPath();
cmd.add(fileTempMpg);
execFFMPEG(cmd, sc);
//now combine and encode
cmd = new ArrayList<string>();
cmd.add(mFfmpegBin);
cmd.add("-y");
cmd.add("-i");
cmd.add(fileTempMpg);
if (audio != null && audio.path != null)
{
cmd.add("-i");
cmd.add(new File(audio.path).getCanonicalPath());
cmd.add("-map");
cmd.add("0:0");
cmd.add("-map");
cmd.add("1:0");
cmd.add(Argument.AUDIOCODEC);
cmd.add("aac");
cmd.add(Argument.BITRATE_AUDIO);
cmd.add("128k");
}
cmd.add("-strict");
cmd.add("-2");//experimental
cmd.add(Argument.VIDEOCODEC);
if (out.videoCodec != null)
cmd.add(out.videoCodec);
else
cmd.add("mpeg4");
if (out.videoBitrate != -1)
{
cmd.add(Argument.BITRATE_VIDEO);
cmd.add(out.videoBitrate + "k");
}
cmd.add(new File(out.path).getCanonicalPath());
execFFMPEG(cmd, sc);
return out;
}
</string></string></string></string></string></string></clip>so, say i want an out put video that has a
framerate --> 2sec
output frame size --> 480 x 480
output lenght of--> 02:08:00
and output file type --> .mp4How can i do call this method with these values ?
and how do they relate to the letters used above.