
Recherche avancée
Médias (91)
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (76)
-
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 ) (...) -
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
Sur d’autres sites (8642)
-
How to speed up, adjust color, Crop, Scale and Mix two audio inputs into a video by FFMpeg ? [closed]
7 janvier 2024, par ReachHow to speed up, adjust color, Crop, Scale and Mix two audio inputs into a video by FFMpeg ?
When run not show result


I try to change some function in filter_complex but not work or show result when run.
My goal want mix one audio to one video and apply some filter like hflip, crop, scale, speed up and adjust color for video.


My command :


ffmpeg -y -i "%%a" -i "sound\123.mp3" -c:v copy -filter_complex "[0:v]hflip,crop=720:720,scale=1080 :-1,eq=saturation=1.3,eq=brightness=0.06:saturation=2,setpts=0.8*PTS[v] ;[0:a]atempo=(1/0.8)[a],[0:a][1:a] amix=inputs=2:duration=longest [audio_out]" -map "[v]" -map "[a]" -c:v -map 0:v -map "[audio_out]" h264_nvenc "output%% na.mp4


-
How to scale video dimensions to a square format with maximum 640x640 using FFmpeg ? [closed]
8 février 2024, par Mukhtor RasulovI’m working with FFmpeg and need to scale video dimensions to a square format while ensuring that the maximum size is 640x640.


Here are my requirements :


- 

- If the original width and height of the video are greater than 640, I want to scale it down to 640x640.
- If the original width and height are both less than 640, I want to maintain the aspect ratio and set the dimensions to min(width, height) x min(width, height).
- The audio should be copied without any changes (using
-c:a copy
). - Input video size will be max 50MB and I need output size less than 15MB










My current approach is :


ffmpeg -y -i 1.MOV -vf "crop=720:720, scale=640:640" -crf 21 -preset veryfast -c:a copy 1-640x640.MOV


if the width and height eqauls, I just scale to square without cropping, because I can't lose items in video.


I’ve tried various approaches, but the output size often ends up being much larger than the input. Could someone guide me on how to achieve this efficiently ? Additionally, I’m not sure if the
-preset veryfast
option is optimized for both time and video size. Any insights on that would be appreciated.

Thank you in advance for your help !


-
FFmpeg scale and watermark filters with VAAP gives error "Cannot allocate memory." [closed]
8 février 2024, par Diz-XI'm attempting to transcode any uploaded video on our website into H.264 using an ARC GPU (VAAPI). While I've achieved functionality, ffmpeg crashes after a certain period, displaying the error message : "Error while filtering : Cannot allocate memory."


The following is the ffmpeg command is used transcode videos to H.264 :




ffmpeg -hwaccel vaapi -hwaccel_output_format vaapi -vaapi_device /dev/dri/renderD129 -y -i '/Media/001.mp4' -codec:v h264_vaapi -movflags +faststart -f mp4 -b:v 500k -maxrate 1000k -bufsize 500k -vf "movie=/Watermarks/video-watermark.png,hwupload [watermark] ; [in] scale_vaapi=trunc(iw/2)*2:trunc(ih/2)*2 [scale] ; [scale][watermark] overlay_vaapi=main_w-overlay_w:main_h-overlay_h [out]" -an -pass 1 -passlogfile /tmp/91f13b11b0ccd5195b588fb204da6626 -map_metadata -1 /dev/null




We ensure that the video is scaled to the appropriate video dimensions expected by H.264 codec , we use the "scale_vaapi=trunc(iw/2)*2:trunc(ih/2)*2" filter for this. We also apply a watermark to the video using the "overlay_vaapi=main_w-overlay_w:main_h-overlay_h" filter.


If I omit the ",hwupload" after the "movie=" statement, I encounter the following error : "Impossible to convert between the formats supported by the filter 'Parsed_movie_0' and the filter 'auto_scale_0'."


The "-filter-complex" results in the identical error : "Error while filtering : Cannot allocate memory.".


Does anyone have insights on how to enable hardware-accelerated transcoding for this ?