
Recherche avancée
Autres articles (112)
-
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 ;
-
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 (15305)
-
FFMPEG Zoom pan to a particular coordinate x and y in a video
23 novembre 2024, par crysisI'm trying to zoom-in in a video at a particular coordinatates
x
,y
when video reaches attimestamp
in duration. I'm using this command for the zoompan filter

x = 784
y = 550
timestamp = 2
width = 1920
height = 1044

zoompan_filter = (
 f"zoompan=z='if(between(in_time,{timestamp},{timestamp + 0.5}),"
 f"1+2*(in_time-{timestamp}),"
 f"if(between(in_time,{timestamp + 0.5},{timestamp + 1}),"
 f"2-2*(in_time-{timestamp + 0.5}),1))':"
 f"x='{x}-(iw/zoom/2)':y='{y}-(ih/zoom/2)':"
 f"d=1:s={width}x{height}"
)



x and y are the coordinates where I want to zoom in. This filter works fine for most of coordinates but the zoom is weird near center of the screen. It zooms in a straight line then suddenly pans to right a little when zoom about to end.




How do I make the zoom straight ? Any help would be greatly appreciated.


-
FFmpegMediaMetadataRetriever returns setDataSource failed : status = > 0xFFFFFFFF
26 août 2015, par AlirezaThis is a weird error ! because it sometimes works but sometimes doesn’t work. I’m using FFmpegMediaMetadataRetriever to get the thumbnail from a video using an URL path.
retriever.setDataSource(((Video) obj).getVideoAddress());
return following error :java.lang.IllegalArgumentException : setDataSource failed : status =
0xFFFFFFFFThis is my code :
FFmpegMediaMetadataRetriever retriever = new FFmpegMediaMetadataRetriever();
Bitmap bmp;
retriever.setDataSource(((Video) obj).getVideoAddress
());
bmp = retriever.getFrameAtTime();Note : I checked the INTERNET permission and it exists. The problem is exists with some videos but with the same format ! I mean the only difference between videos is bit rates, length, size and others like this but not the file format.
-
aspect ratio is changed using ffmpeg sameq and codec copy
21 mars 2012, par Vishal Parekhi am using ffmpeg to extract clip from mp4 video,
i tried with "-acodec copy -vcodec copy" and "-sameq"
in both, aspect ration of generated file is changed.
(
ffmpeg -sameq -i "input file" "output file"ffmpeg -i "input file" -acodec copy -vcodec copy "outputfile"
)
source file is of aspect ratio
sar=4:3
dar=4:3new file is has aspect ratio
sar=4:3
dar=1:1please help me to solve this problem,
one weird thing is when i see details in another video tool, it shows me
sar=4:3
dar=4:3
of source videobut when i use command ffmpeg -i sourcefile, it shows me
sar=300:400
dar=1:1thanks