
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (49)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.
Sur d’autres sites (4767)
-
yuv420p10le format using ffmpeg without green background in web browser
16 août 2021, par OneWorldI just rebuilt ffmpeg, and generated a yuv420p10le video. Below is a snapshot from the video.




It seems to display a green background in chrome when I play it. However, if I switch hardware acceleration off in Chrome, the background appears white. Also if I play the video in VLC player the background is white.


I was wondering if there is a way within ffmpeg to get yuv420p10le to show backgrounds as white in browsers without needing to do anything special in the browser settings ?


My ffmpeg configuration is as follows :-


ffmpeg -i after_building_ffmpeg.mp4
ffmpeg version N-103222-gf040c1ec4e Copyright (c) 2000-2021 the FFmpeg developers
 built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
 configuration: --enable-gpl --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3 --enable-libxcb
 libavutil 57. 3.100 / 57. 3.100
 libavcodec 59. 4.101 / 59. 4.101
 libavformat 59. 4.101 / 59. 4.101
 libavdevice 59. 0.100 / 59. 0.100
 libavfilter 8. 1.103 / 8. 1.103
 libswscale 6. 0.100 / 6. 0.100
 libswresample 4. 0.100 / 4. 0.100
 libpostproc 56. 0.100 / 56. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'after_building_ffmpeg.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf59.4.101
 Duration: 00:00:03.00, start: 0.000000, bitrate: 5893 kb/s
 Stream #0:0(und): Video: h264 (High 10) (avc1 / 0x31637661), yuv420p10le(tv, gbr/unknown/unknown), 1400x1400 [SAR 1:1 DAR 1:1], 5888 kb/s, 25 fps, 25 tbr, 12800 tbn (default)
 Metadata:
 handler_name : VideoHandler
 vendor_id : [0][0][0][0]



-
How to get FFMpeg code working on remote server ?
4 février 2016, par OMiI am using the following code to add plain text to videos. It works fine on localhost with EasyPHP server but I am not able to get the output on server (ffmpeg hosting). In addition, video conversion, video to audio everything is working fine.
@exec('ffmpeg -y -i '.$source_file.' -vf drawtext="fontfile=font_omiA.ttf: \ text='.$watermark_text.': fontcolor=white@0.5: fontsize=20: \ x=(w-text_w)-3: y=(h-text_h-line_h)+10" '.$output_filename.'');
I tried with following code too but I didn’t get success :(
@exec("ffmpeg -y -i ".$source_file." \"fontfile=font_omiA.ttf: \ text=".$watermark_text.": \ fontcolor=white@0.5: \ fontsize=20: \ x=((w-text_w)-3): y=((h-text_h-line_h)+10))\" ".$output_filename."");
-
ffmpg - Overlay merged video from a bunch of small videos on another video
31 août 2022, par Krishna ChebroluI have a situation where 3-4 small 5secs video clips to be merged and placed at a specific point in time of another video within a fixed frame of 800x600.


For example, main video is of 40 secs of 1280x720 resolution and have 4 small clips of 5 secs each to be placed in a frame of 800x600 from 10 to 30 secs one after the other (or) merge them before placing within the frame.


I tried multiple filters and failing to get the required output.


ffmpeg -y -i bg.mp4 -i c0.mp4 -i f.mp4 -filter_complex "split [main][tmp]; [tmp][1:v][1:a][2:v][2:a]concat=n=2:v=1:a=1[tmp1]; [main][tmp1] overlay=enable='between(t,10,24)':x=50:y=50[v]; [v]drawtext=enable='between(t,26,29)':font='DejaVu Serif':text='Kris Cheb':x=(w-tw)/2:y=((h-text_h)/4): fontsize=80: fontcolor=white, drawtext=enable='between(t,27,29)':text='Awesome Work..':x=(w-tw)/2:y=(((h-text_h)/3)+20): fontsize=38: fontcolor=white, drawtext=enable='between(t,27,29)':text='Congratulations!!':x=(w-tw)/2:y=(((h-text_h)/2)+10): fontsize=38: fontcolor=white"[v] -map [v] out.mp4



Of course, in the above command, I'm yet to add
scale
withforce_original_aspect_ratio=decrease
filter and associated attributes.

Could someone please suggest how to achieve this with ffmpeg ?


Thanks


[EDIT-1] :


To overcome this issue, as an alterative, I had split
bg.mp4
into multiple segmentsintro.mp4
,outro.mp4
&frame.png
and concatenated them with the following command, which is working fine. Of course, there is slight deviation from original requirement of placingc0.mp4
&f.mp4
as overlay in the middle segment and nowframe.png
is being used as overlay on these middle segment clips.

ffmpeg -y -i intro.mp4 -i c0.mp4 -i f.mp4 -i outro.mp4 -i frame.png 
-filter_complex "[0:v][0:a][1:v][1:a][2:v][2:a][3:v][3:a]concat=n=4:v=1:a=1[vv][a];
[vv][4:v]overlay=enable='between(t,4,16)':x=0:y=0[v];
[v]drawtext=text='NAME': font='Serif':fontsize=70: fontcolor=white: x=((w-tw)/2):y=(((h-text_h)/4)+10):enable='between(t,16,20)', 
drawtext=text='TEXT2':font='Serif':fontsize=40: fontcolor=black:x=((w-tw)/2): y= ((h/2)+30):enable='between(t,16,20)',
drawtext=text='<text3>':font='Serif':fontsize=40: fontcolor=black:x=((w- 
tw)/2):y=((h/2)+70):enable='between(t,16,20)'[v]" -vsync 2 -map 
[v] -map [a] out.mp4
</text3>


But, need help in replacing the audio of middle segment clips
c0.mp4
&f.mp4
with the audio frombgm.mp3
which will be given as a new input.

Appreciate all the help..