
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 (37)
-
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 -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)
Sur d’autres sites (7102)
-
ffmediaplayer playing but screen keeps black
27 août 2023, par JoergahmannI#m coding a video tool for sports with the Windows Template Studio and using the Community Toolkit.MVVM. I finished this with the vlcMediaPlayer and it worked almost fine. I need the Frameback (vlc does not provide) and I like autohiding the controls (which is hard with vlc). So I decided to use the ffmediaelemrnt instead.
Almost everything is ok (I hear sound, i can pause, forward ..), only the Video is not showing !!


I'm using an observable property


` [ObservableProperty]
 private MediaElement _ffmeMediaElement;`



instead of the original implementation with a complete different basemodel :


public MediaElement MediaElement
 {
 get
 {
 if (m_MediaElement == null)
 m_MediaElement = (Application.Current.MainWindow as MainWindow)?.Media;

 return m_MediaElement;
 }
 }



—> Could this be the problem ? How do I get the (Application.Current.MainWindow as MainWindow) ? in my case with no mainwindow and a page instead








What I tried
When I use a contentcontrol instead : the Video is showing, but the controls are not autohiding anymore


When I compile your WindowsSample, it works completly, but still shows the error Object reference not set to an instance of an object on


I would appreciate any help. Thank you in advance


-
FFMPEG two black frames in the beginning when converting mp4 aac to mov pcm [closed]
12 octobre 2023, par VeikkaI'm trying to convert mp4 h265 aac file to mov 265 pcm16sle file using ffmpeg withoat touching the video stream. When opening the file in DaVinci Resolve, there is two black frames in beginning.


I used this ffmpeg command :


ffmpeg -i file.mp4 -map_metadata 0 -c:v copy -c:a pcm_s16le file.mov



For some reason this command changes timestamp info :


file.mp4
---
"start_pts": 0,
"start_time": "0.000000",
"duration_ts": 519000,
"duration": "20.760000",
"bit_rate": "80688676",

file.mov
---
"start_pts": 2000,
"start_time": "0.080000",
"duration_ts": 517000,
"duration": "20.680000",
"bit_rate": "81000818",



I also get this error when converting file :


[mov,mp4,m4a,3gp,3g2,mj2 @ 0x565392b65800] st: 0 edit list: 1 Missing key frame while searching for timestamp: 1000



I found this bug report, but there didn't found any fixes to my problem.


file.mp4 edit lists looks like this :


[mov,mp4,m4a,3gp,3g2,mj2 @ 0x561fc98ff800] track[0].edit_count = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x561fc98ff800] Processing st: 0, edit list 0 - media time: 1000, duration: 519000
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x561fc98ff800] st: 0 edit list: 1 Missing key frame while searching for timestamp: 1000
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x561fc98ff800] st: 0 edit list 1 Cannot find an index entry before timestamp: 1000.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x561fc98ff800] track[1].edit_count = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x561fc98ff800] Processing st: 1, edit list 0 - media time: 0, duration: 996353



AAC timecode and H265 has almost same duration withoat the
media time: 1000
starting time :

AAC timebase is 1/48000


996353/48000 = 20.75735416666666666667



H265 timebase is 1/25000


519000/25000 = 20.76



-
FFmpeg : How to convert vertical/horizontal video (any size) with black sides, to 1080x1350 vertical video with blurred background sides/bottom-top
12 octobre 2023, par devwebi've been trying to make a ffmpeg 'filter_complex' code to make what i need but i can't, i've used some codes here on stack but non works for what i need, each is like for a different size/dimension.
I'm trying to make videos like Instagram posts (tallest allowed) : 1080 x 1350


Bassically, horizontal videos with blurred sides or bottom-top.


Any help will be awesome, thanks !


This is the principal which i tried


Something like this :




Here some codes i tried to worked with and changing stuff :

filter_complex='[0:v]scale=1080*2:1350*2,boxblur=luma_radius=min(h\\,w)/20:luma_power=1:chroma_radius=min(cw\\,ch)/20:chroma_power=1[bg];[0:v]scale=-1:1080[ov];[bg][ov]overlay=(W-w)/2:(H-h)/2,crop=w=1080:h=1350'


filter_complex='[0:v]scale=ih*5/4:-1,crop=h=iw*4/5,gblur=sigma=20[blurred];[blurred][0:v]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2'


filter_complex='[0:v]scale=1080:1350,setsar=1,gblur=sigma=20[blurred];[blurred][0:v]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2'