
Recherche avancée
Autres articles (14)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)
Sur d’autres sites (3437)
-
Revision 1b5d612b5d : Merge "Add a guard on intra mode skip control for RTC mode"
19 décembre 2014, par Jingning HanMerge "Add a guard on intra mode skip control for RTC mode"
-
I'm having problem encoding video using Laravel FFMPEG to save it to Minio storage
8 juillet 2022, par Ibrahim AhmadI am trying to convert video from .mp4 extension into HLS format (.m3u8) using Laravel FFMPEG.


FFMpeg::fromDisk('minio')
 ->open($videoFile)
 ->exportForHLS()
 ->onProgress(function ($percentage) use ($movie) {
 Cache::put('progress-' . $movie->id, $percentage);

 if($percentage >= 100) {
 Cache::forget('progress-' . $movie->id);
 }
 })
 ->toDisk('minio')
 ->addFormat($lowBitrate, function (HLSVideoFilters $filter) {
 $filter->resize(480, 360);
 })
 ->addFormat($midBitrate, function (HLSVideoFilters $filter) {
 $filter->resize(852, 480);
 })
 ->addFormat($highBitrate, function (HLSVideoFilters $filter) {
 $filter->resize(1920, 1080);
 })
 ->save($newFile);



I have a .mp4 video stored in Minio S3 storage, want to export to Minio S3 storage again. And I came up with this error


RecursiveDirectoryIterator::__construct(C:\Windows\Temp/52325dd01cfde90a\): Access is deni (code: 5)



What does the error message say ? But when I export the video file to local, it works totally fine. How do I solve this problem. Thanks.


Update :
The export process requires windows temporary folder, and I cleared the temporary folder, the problem is solved for now. This probably the temporary folder can't hold many files.


-
How to solve the problem of low performance of complex video generation using ffmpeg ?
21 novembre 2019, par ZeddI use ffmpeg to generate a complex video.
This video consists of the following materials :
-
Original video
-
Video dub
-
Background music
-
Subtitle
My code logic is as follows
-
Combine ’Original video’ and ’Video dub’ into ’Video A’
-
Subtitle ’Video A’ as ’Video B’
-
Add ’Background music’ for ’Video B’ as ’Video C’
The ’Video C’ is the video I want.
My Code
// Step1:
ffmpeg -i VideoDub.mp3 -i OriginalVideo.mp4 VideoA.mp4
// Step2:
ffmpeg -i VideoA.mp4 -vf subtitles=Subtitle.srt -y VideoB.mp4
// Step3:
ffmpeg -i VideoB.mp4 -i BackgroundMusic.mp3 -filter_complex "[1:a]aloop=loop=-1:size=2e+09[out];[out][0:a]amix" -ss 0 -t 100 -y VideoC.mp4Design defect
- I think my code is very redundant
- poor performance
- There are many times of encoding
- It takes too long to generate such a video
- The CPU usage has reached 100%.
My Question
How to solve the above problem?
-