
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (49)
-
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 -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (7951)
-
FFMPEG - crop and pad a video (keep 3840x1920 but with black borders)
23 avril 2020, par SteenPetersenI am trying to crop a video so that I can remove a chunk of the content from the sides of a 360-degree video file using FFmpeg.



I used the following command and it does part of the job :



ffmpeg -i testVideo.mp4 -vf crop=3072:1920:384:0,pad=3840:1920:384:0 output.mp4




This will remove the sides of the video and that was initially exactly what I wanted (A). Now I'm wondering if it is possible to crop in the same way but to keep the top third of video. As such, A is what I have, B is what I want. :






I thought I could simply do this :



ffmpeg -i testVideo.mp4 -vf crop=3072:1920:384:640,pad=3840:1920:384:640 output.mp4




But that doesn't seem to work.



Any input would be very helpful.


-
FFMPEG MP4 from a m3u8 stream results in a few black frames
14 avril 2020, par rooseveltI'm noticing an odd behavior and not sure how to tackle it through FFMPEG. Basically, I'm downloading some ts files from a stream and making an MP4 out of them. I don't need to encode them since they are already encoded.



Here's the command :



ffmpeg -nostdin -y -ss 3 -i https://d2nvs31859zcd8.cloudfront.net/d33af82762361135e8ba_yassuo_37349116016_1403122741/chunked/index-muted-EIVFBWYS1V.m3u8 -t 50 -c copy Test.mp4




If I run the MP4 file in Quicktime player, it seems like there are one or two black frames in the beginning. How do I get rid of that using the above command ?



I also tried downloading the .ts files and concat them via FFMPEG. But the result is the same. First few frames are black.



ffmpeg -nostdin -y -i "concat:0.ts|1.ts|2.ts|3.ts|4.ts|5.ts|6.ts" -c copy Test2.mp4




Seems like VLC doesn't show the black frame but it's apparent on the Quicktime player.



Thanks


-
How to automatically remove black bars using ffmpeg from a Powershell script ?
27 avril 2021, par timlwskThanks to the help of the user mklement0 I got this script to automatically convert all files in the folder "video_old" and move them into "video_new", all while keeping the original filename. Original Post.



Now I want to remove the black bars in the container. I know that there is "cropdetect" but AFAIK you have to manually parse the the value into the script. What parameter should I add to bellow's ffmpeg execution ?



Get-ChildItem .\video_old -Filter *.mkv | ForEach-Object {
 .\ffmpeg.exe -i $_.FullName -c:v libx265 -crf 18 ".\video_new\$($_.Name)"
}




Parameters used to remove the bars



ffmpeg -ss 90 -i input.mkv -vframes 10 -vf cropdetect -f null -
...
[Parsed_cropdetect_0 @ 0x220cdc0] x1:0 x2:1279 y1:0 y2:719 w:1280 h:720 x:0 y:0 pts:215 t:0.215000 crop=1280:720:0:0
[Parsed_cropdetect_0 @ 0x220cdc0] x1:0 x2:1279 y1:0 y2:719 w:1280 h:720 x:0 y:0 pts:257 t:0.257000 crop=1280:720:0:0
[Parsed_cropdetect_0 @ 0x220cdc0] x1:0 x2:1279 y1:0 y2:719 w:1280 h:720 x:0 y:0 pts:299 t:0.299000 crop=1280:720:0:0




In this example, we can apply the filter like this :



ffmpeg -i input.mkv -vf crop=1280:720:0:0 -c:a copy output.mkv







Screenshot