
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (28)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
Taille des images et des logos définissables
9 février 2011, parDans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)
Sur d’autres sites (5962)
-
How can we play 2 videos side by side as per the resolution we provide to the output video and adjust the two input videos position
1er décembre 2023, par Bhavya Nayak-> For playing two video side by side as per the output video resolution I provide :-


- 

- I want output video of resolution 1280x720 so for this.




a. First I have trimmed the two video using below command :-


ffmpeg -i input_viedo.mp4 -ss 00:00:10 -t 00:00:20 -vf "scale=1920:1080,pad=1920:1080:0:0:yellow" -c:v libx264 -c:a aac -strict -2 output_video_trimmed.mp4




b. Now to I want to play both the trimmed video into one output video file as per the position I provide , so for this I have tried below command which is not giving the correct output :


ffmpeg -i output_video_trimmed_1.mp4 -i output_trimmed_2.mp4 -filter_complex "[0:v]scale=634:360[pad1];[1:v]scale=640:360[pad2];[pad1]pad=1280:360:0:100[tl];[pad2]pad=1280:360:634.752:130.392[br];[tl][br]vstack,scale=1280:720[output]" -map "[output]" -c:v libx264 -preset ultrafast -crf 18 -c:a aac -b:a 1280x720 output_final_video.mp4



- 

- In above command I have provide the specific width,height,top,left of the input video I want ,




But it is not giving me correct output.


—> Output I am getting by running this command is attached below :-


Output video Image I am getting by running above command




—> The issue in above command is while adding top it is not working properly , like top is not affecting the video so I want the solution for that.


-
avformat/asf : Factor common code out
29 mars 2021, par Andreas Rheinhardtavformat/asf : Factor common code out
Both functions to read attached pictures coincide since
e83f27a21a6d2f602b55e541ef66e365400e9827 (save for some log messages
in case av_dict_set failed).Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
Movie from PNGs using FFmpeg and Python - rgb24 vs yuv420p
7 février 2016, par Eilam GI wrote a little Python program to grab a bunch of PNGs and render them into a movie using the FFmpeg command line. The PNGs are read into [X*Y*3] numpy arrays (ignoring the alpha channel), new frames are added via interpolation, and the data is fed into FFmpeg as a pipe and saved as an mp4.
The files play fine in VLC on Windows, but don’t work in iMovie on a Mac. I think it might have to do with most programs expecting H264 videos to be in the YUV420P color space, which my movies aren’t. I’ve tried changing the ffmpeg command
-pix_fmt
fromrgb24
toyuv420p
, but no go.Relevant Python code attached below.
def init_vars(args):
global log_file, file_names, command, num_int_frames, num_files, silent
file_names = glob('./*.png')
num_files = len(file_names)
if args.log:
log_file = 'bmmp.log'
else:
log_file = os.devnull
silent = args.silent
frames_per_second = args.fps
wanted_movie_length = args.length
movie_file_name = args.name + '.mp4'
num_int_frames = round((frames_per_second * wanted_movie_length - 1) / (num_files - 1) - 1)
if sys.platform == 'win32':
ffmpeg_bin = 'ffmpeg.exe'
else:
ffmpeg_bin = 'ffmpeg'
command = [ffmpeg_bin,
'-y', # (optional) overwrite output file if it exists
'-f', 'rawvideo',
'-vcodec','rawvideo',
'-s', '1280x720', # size of one frame
'-pix_fmt', 'rgb24',
'-r', str(frames_per_second), # frames per second
'-i', '-', # The input comes from a pipe
'-an', # Tells FFMPEG not to expect any audio
movie_file_name]Cheers,
Eilam