
Recherche avancée
Médias (5)
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
-
Valkaama DVD Cover Outside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Valkaama DVD Cover Inside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
Autres articles (40)
-
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 -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.
Sur d’autres sites (6270)
-
How to split each channel data of the recording [on hold]
4 décembre 2018, par MikeDuring the mass production process, the 4-channel data of the microphone recording is split into the data of each channel.
How to use ffmpeg split each channel data of the recording
-
How to split accurately a LONG GOP video (h264/XDCAM...) with FFMPEG ?
29 août 2013, par ManuhozMy goal is to split a XDCAM or a H264 video, frame-accurately, with ffmpeg.
I guess that the problem comes from its long GOP structure, but I'm looking for a way to split the video without re-encoding it.
I apply an offset to encode only a specific section of the video (let say from the 10th second to the end of the media)
Any ideas ? -
split videos with ffmpeg
23 novembre 2020, par 5DiraptorI'm trying to create a script that scans a directory, and for all videos larger then X size, splits them down into smaller chunks.


There are two similar questions :


- 

- Using ffmpeg to split video files by size
- Split into equal parts and convert many mp4 videos using ffmpeg






Neither of these work in the way I want. The first you have to manually input every file that you want to process. The second doesn't check for filesize, or output the files in the way I want.


So far, this is the contents of the .bat file :


%~d1

for %%a in (*.MOV) do (

if %%~za GTR 2000000000 (

REM usage %%a <filename>
set "_filename=%~n1"
set "_tally=.SPLIT-%03d"
set "_extension=%~x1"

set "_outputname=%_filename%%_tally%%_extension%"


 ffmpeg -i "%%a" ^
 -crf 0 -c copy -map 0 -segment_time 00:00:30 -f segment -reset_timestamps 1 ^
 %_outputname%
)
)
pause
</filename>


My aim is for the script to work in the following way :


- 

- Drag a video (from a folder of videos) onto the .bat file.
- Script opens up, and targets each file ending
.MOV
, and is greater then 2GB - ffmpeg splits the video down into >2GB chunks. (I know it's currently split down in 30 second chunks, still working on understanding how to use the
-fs
parameter). - Each chunk gets saved with the original filename and extension, but the filename is suffixed with ".SPLIT" and then a unique number that relates to which file it is - first file is 000 and second is 001 etc.










Problems :


- 

- Firstly, I want to split by filesize and not time, but I don't understand how to use the -fs parameter in this case. I guess I could use something like
ffprobe -i input.file -show_format -v quiet | sed -n 's/duration=//p'
in conjunction with it but I'm not confident... - Secondly, I'm getting a problem with
%03d
in the .bat. Think I'm mixing up languages ? It retrieves the filepath of the .bat file instead of counting number of loops.






Any help really appreciated !