
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (111)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Other interesting software
13 avril 2011, parWe don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
We don’t know them, we didn’t try them, but you can take a peek.
Videopress
Website : http://videopress.com/
License : GNU/GPL v2
Source code : (...) -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...)
Sur d’autres sites (10433)
-
Anomalie #2142 (Nouveau) : Balise #SET - espace ajouté lors de l’affectation d’une variable
1er juillet 2011, par Severo LipariLe code suivant : #SETtoto, a "#GETtoto" rend "a " J’imagine que ca serait mieux si ca rendait "a" sans espace final...
-
How can I save local video file to django FileField ?
11 janvier 2021, par Nina deRossiI create a local video file (.mp4) by adding a logo to an existing video with the following code :


logo_path = os.path.join(MEDIA_ROOT, 'logo.png')

 logo = (mp.ImageClip(logo_path)
 .set_duration(video.duration)
 .resize(height=50) # if you need to resize...
 .margin(right=8, top=8, opacity=0) # (optional) logo-border padding
 .set_pos(("right", "top")))

 video_path = os.path.join(MEDIA_ROOT, 'test7.mp4')
 audio_path = os.path.join(MEDIA_ROOT, 'temp-audio.m4a')

 final = mp.CompositeVideoClip([video, logo])
 final.write_videofile(video_path, codec='libx264',
 audio_codec='aac',
 temp_audiofile=audio_path,
 remove_temp=True
 )



I want to save the new video to a FileField of my model.
Here is the code :


f = open(video_path)
 flick.videoWithWatermark.save("videoWithWaterMark.mp4", File(f))



I keep getting the error :
'ascii' codec can't decode byte 0xd1 in position 42 : ordinal not in range(128)


How can I save the video to a FileField ?


-
Applying audio to video background using ffmpeg_kit_flutter package not working in flutter
2 décembre 2024, par MhmD YoI am trying to merge video and audio and downloading the video in a flutter app using ffmpeg_kit_flutter package, it works fine with the videos that recorded by screen recorder app which records the screen of my phone, but it does not works with the videos that recorded by my phone camera or any video else and I do not know where the problem is.
Here's my code :


Future<void> mergeRecordWithIntro({required String videoPath, required String audiPath, }) 
async 
 {
 final random = Random();
 final directory = await getTemporaryDirectory();

 String outputVideoPath = '${directory.path}/${random.nextInt(10000)}_merged_video.mp4';
 String ffmpegCommand = '-i $videoPath -i $audiPath -c:v copy -c:a aac $outputVideoPath';

 await FFmpegKit.execute(ffmpegCommand)
 .then((value) async {
 await Gal.putVideo(outputVideoPath);
 emit(MergeVideoAudioSuccessState());
 }).catchError((error){
 emit(MergeVideoAudioFailureState());
 });
}
</void>