
Recherche avancée
Autres articles (73)
-
Participer à sa documentation
10 avril 2011La documentation est un des travaux les plus importants et les plus contraignants lors de la réalisation d’un outil technique.
Tout apport extérieur à ce sujet est primordial : la critique de l’existant ; la participation à la rédaction d’articles orientés : utilisateur (administrateur de MediaSPIP ou simplement producteur de contenu) ; développeur ; la création de screencasts d’explication ; la traduction de la documentation dans une nouvelle langue ;
Pour ce faire, vous pouvez vous inscrire sur (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
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 (...)
Sur d’autres sites (11178)
-
Use FFmpeg to split a video into 2 equal segments
3 mai 2023, par Alon GI try split a video into 2 equal segments.


I try :


ffmpeg -i input_video.MTS -c copy -map 0 -segment_time 8 -f segment output_video%03d.MTS



but the problem I don't know the length of the video


-
Split a video with ffmpeg, without reencoding, at timestamps given in a txt file
16 février, par BasjLet's say we have a video
input.mp4
, and a filesplit.csv
containing :

start;end;name
00:00:27.132;00:07:42.422;"Part A.mp4"
00:07:48.400;00:17:17.921;"Part B.mp4"



(or I could format the text file in any other format, but the timestamps must be hh:mm:ss.ddd)


How to split the MP4 into different parts with the given start / end timestamps, and the given filename for each part ?


Is it possible directly with
ffmpeg
, and if not with a Python script ?

-
FFmpeg command in Windows to split audio file by silence
28 janvier 2019, par ZhouWI have previously used ffmpeg to split audio files by silence in Linux, with the following command (taken from How to split video or audio by silent parts, which splits an audio file by silences of -40dB that last at least 0.35 seconds) :
ffmpeg -i testfile.wav -filter_complex "[0:a]silencedetect=n=-40dB:d=0.35[outa]" -map [outa] -f s16le -y /dev/null |& F='-aq 70 -v warning' perl -ne 'INIT { $ss=0; $se=0; } if (/silence_start: (\S+)/) { $ss=$1; $ctr+=1; printf "ffmpeg -nostdin -i testfile.wav -ss %f -t %f $ENV{F} -y %03d.wav\n", $se, ($ss-$se), $ctr; } if (/silence_end: (\S+)/) { $se=$1; } END { printf "ffmpeg -nostdin -i testfile.wav -ss %f $ENV{F} -y %03d.wav\n", $se, $ctr+1; }' | bash -x
When trying to run this in Windows, I get the following error :
& was unexpected at this time.
The above command uses Linux-specific syntax and I’m unclear on how this should be written in a Windows environment. How should this be done ?