
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 (51)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
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 -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (8405)
-
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.