
Recherche avancée
Autres articles (88)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)
Sur d’autres sites (6742)
-
Text Watermarking on video without any loss of video and audio quality using FFmpeg
7 janvier 2021, par Aditya KumarI am using following command to add text watermark on a video file(for mp4, mpg,m4v,flv,mov etc..) :




ffmpeg -i input.mp4 -vf "drawtext=text='Opentext':x=(w-text_w)/2:y=(h-text_h)/2:fontsize=24:fontcolor=white" TextOutput.mp4




For some of the file transformation the property of video file changes. for example- When I tried to add text watermark on a mkv file I got this message :




[matroska @ 0000001867d36ec0] Non-monotonous DTS in output stream 0:1 ;
previous : 2273, current : 1596 ; changing to 2273. This may result in
incorrect timestamps in the output file.




So, I want to preserve the quality of video after adding the text watermark. How can I do that ?


-
ffmpeg : convert a video by using another video's settings
11 janvier 2015, par orcamanI have an mp4 file containing an H.264 video. This video has particular settings that I am not sure about, but I want to reproduce them on other videos that I encode (those other videos are already H.264 encoded, but they have different properties - bitrate, size, etc.)
I know that ffprobe can be used to extract some information from the original video, and I guess that using this information I could try to reproduce the conversion settings required for use with other videos.
Question is : do I have to do this manually, in the sense that I need to map the output of ffprobe to ffmpeg flags ? Is there a better way to do this, to make sure I don’t miss anything ?
-
Using FFmpeg, How to convert an frame image sequence to video(video codec : dvvideo) ?
25 mai 2022, par rupingI'm working on an image processing project.


The project proceeds as follows :


Input Video -> frame Sequence -> (Processing) -> Output Video


I want to create the output video with the same specifications as the input video.


The specs of the input video we use are :


- Size : 1280x1080, Codec : dvvideo, pixel_fmt : yuv422



But I am struggling with the following error :


Duration: 00:00:03.20, start: 0.000000, bitrate: N/A
 Stream #0:0: Video: png, rgb24(pc), 1280x1080 [SAR 3:2 DAR 16:9], 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc
Stream mapping:
 Stream #0:0 -> #0:0 (png (native) -> dvvideo (native))
Press [q] to stop, [?] for help
[dvvideo @ 0x55b965b745c0] DVCPRO HD encoding is not supported.
[dvvideo @ 0x55b965451780] ff_frame_thread_encoder_init failed
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!



The code is below. (subprocess in python)


ffmpeg -y -f image2 -r "{fps}" -i {input_img_root} -s 1280:1080 -b:v {bit_rate} -vcodec dvvideo -pix_fmt yuv422p "{output}"



(fps and bitrate are taken from the input video. and input_img_root and output are paths.)


I've been trying for several days, but it doesn't work.


If you know any way to make a new video while maintaining the video specifications (Especially dvvideo codec)(not using ffmpeg), it would be nice to share it.