
Recherche avancée
Autres articles (63)
-
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 (...) -
Sélection de projets utilisant MediaSPIP
29 avril 2011, parLes exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
Ferme MediaSPIP @ Infini
L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)
Sur d’autres sites (4958)
-
Convert form 30 to 60fps by increasing speed, not duplicating frames, using FFmpeg
12 août 2018, par Matt PellegriniI have a video that is incorrectly labelled at 30fps, it is actually 60fps and so looks like it’s being played at half speed. The audio is fine, that is, the soundtrack finishes half way through the video clip. I’d like to know how, if possible to fix this, that is double the video speed, making it 60fps and meaning that the audio and video are synced.
The file is H.264 and the audio MPEG-4 AAC.
File details as given by ffmpeg, as requested :
ffmpeg version 0.8.9-6:0.8.9-0ubuntu0.13.10.1, Copyright (c) 2000-2013 the Libav developers
built on Nov 9 2013 19:09:46 with gcc 4.8.1
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './Tignes60fps.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2014-01-13 02:23:09
Duration: 00:08:33.21, start: 0.000000, bitrate: 5690 kb/s
Stream #0.0(eng): Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 5609 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
Metadata:
creation_time : 2014-01-13 02:23:09
Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16, 156 kb/s
Metadata:
creation_time : 2014-01-13 02:23:09
At least one output file must be specified -
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";
-
how can I get the length of an video in order to validate django form before upload can begin ?
20 juin 2018, par GetItDoneI have an app running on heroku that allows users to upload videos, then I use ffmpeg to preform 3 tasks using celery and redis-to-go :
1) Check the format and if it isn't already mp4, convert it to mp4.
2) Extract a 3 minute clip, in mp4 format
3) Grab an image from the videoThe problem is that I want to verify the video length before the video is uploaded and the three tasks are run since I want to make sure all videos are at least 15 minutes, and if not I want to raise a ValidationError. So when validating the form, I want to do something like this :
def clean(self, *args, **kwargs):
data = super(ContentTypeRestrictedVideoField, self).clean(*args, **kwargs)
file = data.file
try:
content_type = file.content_type
main, extension = content_type.split('/')
if content_type in self.content_types:
if file._size > self.max_upload_size:
raise forms.ValidationError(_('Please keep filesize under %s. Current filesize %s') % (filesizeformat(self.max_upload_size), filesizeformat(file._size)))
if VIDEO_LENGTH < MINIMUM_LENGTH:
raise forms.ValidationError(_('Please make sure video file is at least %s. Current video length %s') % (MINIMUM_LENGTH, VIDEO_LENGTH)
else:
raise forms.ValidationError(_('File type is not supported. File must be mov, flv, avi, mpeg, wmv, or mp4.'))
except AttributeError:
pass
return dataWhat could I do for VIDEO_LENGTH and MINIMUM_LENGTH ? I read that ffprobe could be used for getting the duration, but it isn’t available with the buildpack I am using and I am very inexperienced. I can’t just validate file size because it can vary greatly depending on numerous factors. Anyone have any solution as to what I could try ? Thanks