
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 (26)
-
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 (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...) -
Sélection de projets utilisant MediaSPIP
29 avril 2011, parLes exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
Ferme MediaSPIP @ Infini
L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)
Sur d’autres sites (3522)
-
ffmpeg resize logo depending on video resolution with multiple outputs
30 août 2022, par Panama JackI'm having a tough time trying to get a logo above text in the lower right corner of my videos. The problem is depending on the video size and resolution the logo (image) is too big or too small. Sometimes it overlaps the text. How can I make it so that no matter what the resolution or ratio is, it scales proportionately and always above the text ? For example, videos of 1920x1080 at 16:9 or 1080x1920 9:16, or 1280x720 16:9 or 720x1280 9:16 and so on. Basically, it will always scale correctly on all outputs. Sometimes there might be more outputs but in this code sample there are 3 hls files. I tried
scale2ref
but can't get that to work and it makes my file sizes much bigger.

Here's my current code.




-filter_complex "[1:v]scale=150 :-2[logo] ;[0:v][logo]overlay=main_w-overlay_w-10:main_h-overlay_h-35,drawtext=fontfile=/var/www/area51-process1.somesite.com/html/includes/helveticaneue/HelveticaNeueMed.ttf:text=@somesite:fontcolor=white@0.9:fontsize=(h/32):x=w-tw-15:y=h-th-6,format=yuv420p,split=3[s0][s1][s2] ;[s0]scale=640:360[360p] ;[s1]scale=854:480[480p] ;[s2]scale=1280:720[720p]"
-map "[360p]" -map "[480p]" -map "[720p]" -maxrate:v:0 3000000 -bufsize:v:0 3000000 -maxrate:v:1 4000000 -bufsize:v:1 4000000 -maxrate:v:2 8000000 -bufsize:v:2 8000000 -map 0:a -c:a libfdk_aac -ac 2 -async 1 -ar 48000 -b:a 128k -c:v libx264 -preset veryfast -crf:v:0
25 -profile:v:0 high -crf:v:1 24 -profile:v:1 high -crf:v:2 23
-profile:v:2 high -g 50 -keyint_min 50 -force_key_frames "expr:gte(t,n_forced*2)" -sc_threshold 0 -flags +global_header
-movflags +faststart -max_muxing_queue_size 4096 -threads 0 -f tee "[select='v:0,a':f=hls:start_number=0:hls_flags=single_file:hls_playlist_type=vod:hls_segment_type=fmp4:hls_time=4:hls_list_size=0:hls_segment_filename=/var/www/area51-process1.somesite.com/html/v/OHE4f9WSezA-078f9ec1-2f2b-4a6b-a34d-a8c9d4c39d7b-360p-segment.mp4]/var/www/area51-process1.somesite.com/html/v/OHE4f9WSezA-078f9ec1-2f2b-4a6b-a34d-a8c9d4c39d7b-360p.m3u8|[select='v:1,a':f=hls:start_number=0:hls_flags=single_file:hls_playlist_type=vod:hls_segment_type=fmp4:hls_time=4:hls_list_size=0:hls_segment_filename=/var/www/area51-process1.somesite.com/html/v/OHE4f9WSezA-078f9ec1-2f2b-4a6b-a34d-a8c9d4c39d7b-480p-segment.mp4]/var/www/area51-process1.somesite.com/html/v/OHE4f9WSezA-078f9ec1-2f2b-4a6b-a34d-a8c9d4c39d7b-480p.m3u8|[select='v:2,a':f=hls:start_number=0:hls_flags=single_file:hls_playlist_type=vod:hls_segment_type=fmp4:hls_time=4:hls_list_size=0:hls_segment_filename=/var/www/area51-process1.somesite.com/html/v/OHE4f9WSezA-078f9ec1-2f2b-4a6b-a34d-a8c9d4c39d7b-720p-segment.mp4]/var/www/area51-process1.somesite.com/html/v/OHE4f9WSezA-078f9ec1-2f2b-4a6b-a34d-a8c9d4c39d7b-720p.m3u8"




-
ScreenRecording a headless browser using xvfb with ffmpeg or jmf jar(java) shows distorted video in container, if the resolution greaterthan 1024x768
4 août 2022, par Vigneshwar A SI am getting a proper video output, if i used to record a screen resolution for about 1024x768(max) or lesser. but
whenever i used to increase the resolution like "1600x900 or 1920x1080 or greater than
1024x768 (approx.)", i am getting distorted video.


distorted image(frame of a video) with 1600x900 resolution
https://i.stack.imgur.com/iajzC.png


1600x900 video information : https://i.stack.imgur.com/yutDq.png


proper image(frame of a video) with 1024x768 resolution
https://i.stack.imgur.com/NcUt1.png


1024x768 video information : https://i.stack.imgur.com/TeaW7.png


I am using Xvfb & [both ffmpeg and jmf jar (either)] to record a headless browser inside docker container.


I am getting a proper output, if i used to screen record an actual display(monitor), I am facing this issue only when i record the display inside docker (specifically headless browser) by using x11grab.


To Start the Xvfb and ScreenRecording




Xvfb :5 -screen 0 1600x900x16 &


ffmpeg -nostdin -hide_banner -nostats -loglevel panic -video_size
1600x900 -framerate 30 -f x11grab -i :5 output.mp4 &




if i replaced 1600x900 with 1024x768 or lesser than this, it is providing a proper video without any distortion.


Am I missing anything ??


Please help !




Thanks for your time




-
ffmpeg to YouTube with tee mux giving resolution warning (65535x65535), which is not optimal
25 juillet 2022, par kuldeep chopraI am streaming to YouTube and Facebook using ffmpeg , also writing data into disk (recording).


it's working fine on Facebook and recording but on YouTube it's giving warning that is


Please check the video resolution. The current resolution is (65535x65535), which is not optimal.


and output on YouTube is also 1:1 aspect ratio due to the above resolution.


I am using tee mux in ffmpeg Command.


ffmpeg -f dshow -framerate 30 -i video="Integrated Webcam":audio="Microphone Array (Intel® Smart Sound Technology (Intel® SST))" -s 1920x1080 -c:v libx264 -r 30 -preset ultrafast -tune zerolatency -crf 28 -pix_fmt yuv420p -c:a aac -strict -2 -ac 2 -b:a 128k -t 4 -map 0 -f tee "[f=ismv]pipe:1 | [f=flv]rtmps ://youtube | [f=flv]facebook"