
Recherche avancée
Autres articles (85)
-
L’agrémenter visuellement
10 avril 2011MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté. -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (11170)
-
Append two videos without duplicating FFMPEG
10 septembre 2021, par Hasindu LankaLet's say we have 2 video files (X,Y) in the same format, codec and dimensions.


X is a longer video with several gigabytes in size. Y is a short 10 second video. I want to append Y to the end of X without creating another copy of X (Because it's big in size)


I have to repeat this process for hours with many 10 second videos arriving one after another.


Currently, I'm concatenating files using ffmpeg.


ffmpeg -f concat -safe 0 -i chunk.list -c copy final-video.mkv


chunk.list
contains file names of X and several 10 second videos. After this, X will be deleted and replaced byfinal-video.mkv
. Then, repeat.

But this needs twice the storage capacity and I/O operations. How to do this without creating duplicates ?


It's okay to duplicate these 10 second videos. But duplicating that bigger file
X
really hurts performance.

Additional info :


All these videos will be encoded with H264, H265, VP8 or VP9 and contained in MKV or MP4 as they are
codec copy friendly
. Only one of these formats will be used.

This is for a special case screen recorder that's supposed to run on cloud and preemptive remote desktops (Linux).
HTML/JS browser front-end captures the screen and sends to the back-end (Golang) as chunks through HTTP. Network route is undefined and unreliable as there can be firewalls/proxies between the front-end and the back-end. Therefore, we can't use connections like UDP. So the only option is to send video chunks using HTTP.


It's FOSS on https://github.com/HasinduLanka/screencorder


-
ffmpeg : combine two or three audios into one by lowering the volume of the other
15 juin 2016, par somya bhargavaWant to combine some audio files eg :
1) one long audio file which will act as a background audio
2) some audio files which will be replaced at specific intervals
like at 10 sec of the first oneSo final output required is
audio-1 60 sec
audio-2 starting from 10 sec to 20 sec with audio-1 at 0.1 volume -
convert video to audio using ffmpeg
5 mai 2024, par shakti goyalI'm trying to convert a video to mp3 using ffmpeg library but ffmpeg command is not working, it is returning the code 1


Video conversion to MP3 failed with return code : 1


try {
 final session = await FFmpegKit.execute('-i $videoFilePath -vn -ar 44100 -ac 2 -b:a 192k -f mp3 $audioFilePath');

 final returnCode = await session.getReturnCode();

 if (ReturnCode.isSuccess(returnCode)) {
 print('Video conversion to MP3 successful!');
 } else {
 print('Video conversion to MP3 failed with return code: $returnCode');
 }
} catch (e) {
 print('Error occurred during video conversion: $e');
}



$videoFilePath - /Users/shaktigoyal/Library/Developer/CoreSimulator/Devices/9D514AC1-E245-4360-B876-745B9527B844/data/Containers/Data/Application/091D48E6-3AE4-4867-B3B2-2034854D27CE/tmp/image_picker_3DA6CDD3-C2F9-4313-98A1-40A7B0AED652-1298-00001B041C9F94E4trim.59BC5143-1EBA-4BB0-955C-EA1942FA56E3.MOV


$audioFilePath - /Users/shaktigoyal/Library/Developer/CoreSimulator/Devices/9D514AC1-E245-4360-B876-745B9527B844/data/Containers/Data/Application/091D48E6-3AE4-4867-B3B2-2034854D27CE/Documents/audio-14.mp3