
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (77)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
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 (...) -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)
Sur d’autres sites (6658)
-
Unable to Creating Video File from one audio file and single image file in windows form c# using ffmpeg.exe
25 juillet 2018, par MoonTechHello I created one form for creating video from one mp3 file and one jpg file.
For this I Wrote this Code but this is not the answer.private void button2_Click(object sender, EventArgs e)
{
string input_audio = @"C:\Users\...\Desktop\test\audio";
string outPut = @"C:\Users\...\Desktop\test\outputvideo";
string img= @"C:\Users\...\Desktop\folder image\image123";
stripAudioTest(img, input_audio, outPut);
}
public void stripAudioTest(string image, string AudioFile, string outputfile)
{
string FFMPEG_PATH = "ffmpeg.exe";
string strParam = "-loop 1 -i "+ image+".jpg -i "+ AudioFile+ ".mp3 -c:v libx264 -c:a aac -strict experimental -b:a 128k -shortest "+ outputfile+ ".mp4";
process(FFMPEG_PATH, strParam);
}
public void process(string Path_FFMPEG, string strParam)
{
try
{
Process ffmpeg = new Process();
ffmpeg.StartInfo.UseShellExecute = false;
ffmpeg.StartInfo.RedirectStandardOutput = true;
ffmpeg.StartInfo.CreateNoWindow = true;
ffmpeg.StartInfo.FileName = Path_FFMPEG;
ffmpeg.StartInfo.Arguments = strParam;
ffmpeg.Start();
ffmpeg.StartInfo.ErrorDialog = true;
ffmpeg.WaitForExit();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}FYI : mp3 file Duration 5 minutes and 23 Seconds .
1. I am new in FFmpeg so I don’t have idea how to get out of this.
2. I Got ffmpeg command from Here
3. I tried Few of more ffmpeg command .Please check it below.string strParam = "-y -stream_loop -1 -i " + image + ".jpg -i " + AudioFile + ".mp3 -y -r 25 -b 2500k - acodec ac3 - ab 384k - vcodec mpeg4 " + outputfile+".mp4";
another one
string strParam = "-loop 1 -i " + image + ".jpg -i " + AudioFile+ ".mp3 -c:v libx264 -tune stillimage -c:a aac -strict experimental -b:a 192k -pix_fmt yuv420p -shortest " + outputfile+".mp4";
-
unwanted bitrate reduction in MOD to mp4 conversion with ffmpeg
18 juillet 2014, par BrianMy Panasonic camcorder records video to a .MOD file.
On Windows... (my linux box currently has network issues :)ffmpeg -i file.MOD
yields
bitrate: 9579 kb/s
video: mpeg2video yuv 420p 704x480 [SAR 10:11 DAR 4:3]
29:97 fps, 29.97 tbr, 90k tbn, 59.94 tbcI tried
ffmpeg -loglevel verbose -i file.MOD file.mp4
ffmpeg -loglevel verbose -i file.MOD -qscale 0 file.mp4
ffmpeg -loglevel verbose -i file.MOD -qscale 1 file.mp4Each of these yields the same bitrate of 2604 and a video codec of h264 (High).
My original file was 22,786 KB and the new files are each 6,217 KB.My goal/purpose is for lossless conversion of the .MOD files for video editing, probably using blender.
So my big question is "How do I do lossless video conversion of .MOD files using ffmpeg to a format that blender and other common video editing tools can work with ?"
But for educational purposes (and posterity) I am also curious why the bitrate is being reduced by the conversions above and why there is no difference when using the -qscale argument.
-
Ffmpeg adds unwanted metadata
2 mai 2023, par Mister Woyngwe use ffmpeg in WooCommerce to give Customers the possibility to listen to a 30sec sample of the MP3 file they'd like to buy, and also to create a full MP3 version


Since 2 days, both the full and the 30sec MP3s have little blips and pings on a regular interval, every 6 seconds in one case.


Nobody has changed anything in the ffmpeg code


I have opened the unconverted MP3 (the "before" version) and the converted MP3 (the "after" version") in a merging tool, Winmerge.


It shows that the 2 files are mostly identical, but there are differences on a regular interval, something is added. It includes a number of hex characters, 2 line breaks and "audio/mpeg". Looks a bit like this :


(00)(00)(02)(00)(10)

audio/mpeg(12)€€(08)



This happens until the end of the file. The regular rhythm of appearance corresponds to the regular rhythm of the audible blips and pings.


The other big difference is the header. Here, a big chunk is added, with lots of hex charaters and a few words :
ID3, #TSSE, Lavf58.45.100, Info


I have searched for Lavf and found out that it's a part of ffmpeg.


This added data is probably metadata, and I'd like to remove it. What can I do ?


Can I remove the metadata ? Can I change the encoder ?


(I have no real experience in Linux development, I use PHP shell_exec with this :


ffmpeg -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=4100 -t '.$duration.' out.mp3 -y'



Thanks !