
Recherche avancée
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 -
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 -
Soumettre bugs et patchs
10 avril 2011Un logiciel n’est malheureusement jamais parfait...
Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
Si vous pensez avoir résolu vous même le bug (...)
Sur d’autres sites (10930)
-
To concat two videos, one of which is the first video webcam recorder and the other is the normal video(Mp4) using ffmpeg
8 décembre 2020, par Zargam HusaynTwo videos have to be join in which the first video is a webcam recorder and the other is a normal video in which the first video I set up plays correctly but the second video does not play, only the audio is heard.


foreach ($video as $value) {
 exec("ffmpeg -i ".$this->APP_PATH.$value." -c:v libx264 -c:a aac -b:a 192k ".$this->TEMP_PATH.++$this->temp_file.".mp4");
 exec("ffmpeg -i ".$this->TEMP_PATH.$this->temp_file.".mp4 -c:a aac -ar 48000 -ac 2 -c:v copy -video_track_timescale 600 ".$this->TEMP_PATH.++$this->temp_file.".mp4");
 $text .= "file '".$this->TEMP_PATH.$this->temp_file.".mp4'\n";
 }
 
 $file = $this->TEMP_PATH.++$this->temp_file.".txt";
 //chmod($this->TEMP_PATH, 0777);
 file_put_contents($file,$text);
 chmod($file, 0777);

 Log::info(" ********** file paths ********** ".$text);

 exec("ffmpeg -safe 0 -f concat -i ".$file." -c copy ".$this->TEMP_PATH.$this->final);



-
Extracting parts of video and make a new video with them [on hold]
13 février 2014, par FilippoI need to extract parts of a video and make a video (in order to make a summary).
My videos are mostly mpg, sometimes avi.I'm using ffmpeg to do it :
Extraction : ffmpeg -ss XX -t XX -i video.mpg -vcodec copy -acodec copy partX.mpg
Concatenation : ffmpeg -i concat:part1.mpg|part2.mpg|... -vcodec copy -acodec copy summary.mpg
I have two problems :
- ffmpeg only let me set position by time reference and not by frame number. I will prefere to set it by frame number, but it's not a big deal
- the resulting video is...bad. The transitions between extracted parts are not smooth at all.
What is the best way to do that ?
I guess I need some kind of non-linear editing library : gnonlin, gtreamer-editing-services (but no package for Fedora 16 ?), MLT...But how I can do that easily ? (in preference in python)
I can't find any good example.
Thanks.
-
FFmpeg - video frame cropped after rotating video ?
20 juin 2021, par Md YeaminI am using following command to rotate video :


ffmpeg -i input.mp4 -c:v h264 -vf rotate=PI/2 -c:a copy output.mp4



After processing the video, the frame get cropped. Please see the attached screenshot of the video for reference.


Screenshot of original video



Screenshot of rotated video