
Recherche avancée
Autres articles (79)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (7965)
-
Cropping black bars in video with ffmpeg on ubuntu changes video size
9 décembre 2013, par pramodI have a source video size that's 720x576 with black rectangles on the top and bottom.
I want to remove the black rectangles and set the output video size to 640x352.
I tried
-vf cropdetect
and the value it gave was 640:192:0:80.However, putting that same value in
crop=<parameter></parameter>
changes the output video size.How can I fix this ?
E.g. :
ffmpeg -i all_the_best_test.mpg -s 640x352 -deinterlace -b 500k -minrate 500k \
-maxrate 500k -aspect 1.82 -force_fps -vcodec libx264 -me_method 10 \
-vf crop=640:192:0:80 -r 25 -acodec libfaac -ac 2 -ar 44100 -ab 96k -subq 6 \
-vpre medium /vod/Movies/final/allthebest-crop-2.mp4 -
Extract part of a video using ffmpeg_extract_subclip - black frames
20 août 2020, par albert1905I'm trying to use : "ffmpeg_extract_subclip" for extracting part of a video.


And I'm facing a few problems :


1.when I'm cutting a small video (1-3seconds) I'm getting black frames, only audio is working.
2.when I'm cutting longer video, the output video is stuck 2-3 seconds before the end.


This is my simple code :


from moviepy.video.io.ffmpeg_tools import ffmpeg_extract_subclip

input_video_path = 'myPath/vid1.mp4'
output_video_path = 'myPath/output/vid1.mp4'
t1 = 6.5
t2 = 16 # random numbers, my last attempt..
 
ffmpeg_extract_subclip(input_video_path, t1, t2, targetname=output_video_path)



I tried to look inside the code :
ffmpeg_extract_subclip Function


But still couldn't understand what's wrong.. :(


I'm still trying, and if anyone knows the problem or have a different approach, that will be amazing.


Thanks a lot for your help !


-
avfilter/vf_ciescope : Fix undefined behavior in rgb_to_xy() with black
5 juin 2021, par Michael Niedermayer