
Recherche avancée
Autres articles (35)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (4839)
-
Bulk Edit Videos resolution/aspect problem
1er mars 2020, par buffe bufferaLets say i have 100 videos, all different dimensions and formats
I would like to know if there’s a way to bulk edit each video and set it to 16:9 1920x1080
If is possible would like to add blurred sides effectfor %%a in ("C :\Users\vmp\Desktop\Videos\100ClipsConcat*.mp4") do ffmpeg -i "%%a" -lavfi "scale=1080:640,boxblur=luma_radius=min(h\,w)/20:luma_power=1:chroma_radius=min(cw\,ch)/20:chroma_power=1[bg] ;[bg][0:v]overlay=(W-w)/2 :(H-h)/2,setsar=1" "C :\Users\vmp\Desktop\Videos\100ClipsConcat\Blurred\%% na.mp4"
pauseIve tried this and it blur add video but resolution isnt good
Ive also tried to do that :
ffmpeg -i 2.mp4 -lavfi "scale=ih*16/9 :-1,boxblur=luma_radius=min(h\,w)/20:luma_power=1:chroma_radius=min(cw\,ch)/20:chroma_power=1[bg] ;[bg][0:v]overlay=(W-w)/2 :(H-h)/2,crop=h=iw*9/16,setsar=1" r3.mp4
It blur every video perfectly but it also increase resolution a lot
I would just like to find something that convert each video to 1920x1080 16:9 (if is possible with blur effect)
-
Deal with resolution changed while decoding ?
30 juillet 2024, par TTGroupI'm using FFMPEG with C++ to read frames and decode them from RTSP Stream on IP Camera.


Anything is ok, but while decoding, I try to change stream resolution config on IP Camera (ex : change from 1280x720 to 1920x1080).


The result is
av_read_frame()
in while loop still read successful next frames (with new resolution) without error. So I can not detect that change to reinit buffer or reconnect stream to update other stream's information.

av_read_frame()
will read an AVPacket, If I can read resolution info in the AVPacket, then I can detect that change and reinit buffer. But I can't see any resolution info in AVPacket struct.

How do I detect a resolution change while reading and decoding the stream ?



I'm using many codecs as H264 and H265/H265+. This case happened with all 3 codecs above.


In many cases, I also store the AVPacket for later playback, so there's no need for decode. I need to detect the resolution change immediately to be able to properly build header information to store on the HDD.


-
Is there any (or possible) html5 player that play videos on different resolution without convertion the media file ?
1er avril 2020, par In-my-country-we-dont-use-nameI want to play videos on my website with a html5 media player.I found this for an example :






but it needs different videos for every resolution with these codes :




 
 
 




I dont want convert media files with some convertion technologies for example ffMpeg, IF IT IS POSSIBLE.So, I want to learn how to play videos on different resolution without convertion.If you know a html5 player, you can suggest me.



Its urgent.My company loses many thousand dollars everyday because of this problem.If we cant solve this, we cant save us from bankrupt.I dont want go to jail because of depts.