
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (63)
-
Qu’est ce qu’un éditorial
21 juin 2013, parEcrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
Vous pouvez personnaliser le formulaire de création d’un éditorial.
Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (8008)
-
Turn Mp4 File into Portrait Video
5 avril 2022, par Tech BreakerI recently programmed a bot, which uses the Twitch API to scrape Twitch videos, and then post them on YouTube. This is my youtube channel if you want to see an example : https://www.youtube.com/channel/UCuhWw8LbPWdkybIF9olAszw


The problem that I am having is I want to find a way to convert these regular twitch videos, into youtube shorts which I can automatically upload. The facecam does not need to be included, and the entire video can just be compressed into a 9:16 format.


I already tried FFMPEG but I don't know if I am doing it correctly, and really need help or advice on how to do this.


Here is an example of a video I would try to convert :
https://www.youtube.com/watch?v=hZecXrvd6_g


(excuse the explicit language, this is just the first video I saw on my bot channel)


Tldr : Convert mp4 file into a 9:16 video format


EDIT :


Command i ran : ffmpeg -i video.mp4 -vf scale=1280:720 output.mp4


-
Creating a smooth animation with ffmpeg filters
30 mai 2021, par user1503606I am trying to add a watermark to a video using ffmpeg and have it animated from left to right in the center of the video.


I have it working with the following command.


ffmpeg -y -i Volkswagen.mp4 -loop 1 -i logo.png -filter_complex overlay=x='W/30*mod(t,30):enable=gt(mod(t,60),0)':y=main_h/2-overlay_h/2:shortest=1 Volkswagen_watermarked.mp4



It works but the outcome looks like this.


https://www.youtube.com/watch?v=M31wG2ub1Lg


The video is from here : https://gist.github.com/jsturgis/3b19447b304616f18657


http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/VolkswagenGTIReview.mp4


As you can see its not very smooth. I am just trying to get my head around the ffmpeg filter functions this is the first time I have used them so would appreciate some advise or is this as good as it gets ?


I have looked at a few other posts but cant find any that can help with this maybe there is another filter I should be using ?


I can run a draw filter command like this and the animation is smoother.


ffmpeg -y -i Volkswagen.mp4 -vf "drawtext=fontfile=/Montserrat-Medium.ttf:text='Text':x=200:y=h-20*t: fontsize=36:fontcolor=yellow@0.9: box=1: boxcolor=black@0.6" -c:a copy VolkswagenText.mp4



But it is obviously not looping.


https://www.youtube.com/watch?v=wdANCWUHaMc


I dont really understand whats happening here.


w*mod(t\,10):enable=gt(mod(t\,60)\,0)

w = width of text
t = time in seconds



I understand if I just have this.


-filter_complex "overlay=x=w*t:y=main_h/2-overlay_h/2:shortest=1"

w*t = every second the x position is incremented by the text width * time



so if the text width is 100px it would be something like this.


1x100 = 100;
2x100 = 200;
etc



What does the mod() function do ? I cant find any help really here https://ffmpeg.org/ffmpeg-filters.html


is this saying when x is greater than the width of the viewport start again ?


enable=gt(mod(t\,60)\,0)



Thanks


-
Architecture of video-based service for mobile phones
27 juin 2015, par David AzarI guess this is more of a conceptual question than a technical one.
I’m trying to figure out the best way to upload short videos to a server and also be able to download them and watch them on both Android and iOS.
Lets focus on Android for the moment.
I’ve done some experiments, and my results have been :
-
I’m able to compress 12-14MB video down to 500KB using FFMPEG lib with pretty good results in quality, but it takes about 12 seconds.
-
Next, im uploading those videos to my Parse backend as ParseFile to store them.
-
Finally, i can download them and watch them with no problem using a VideoView widget.
Now, for the tests i’ve been running, these are great results. But i want to see if there is a better way to manage and scale all of this.
My questions are :
-
Is there a better, lighter way to compress video ?
-
Is Parse the right way to go ?
-
How can i stream videos instead of downloading them and storing the on local storage before playing them ? i know this will cause my app to use significant space on disk and i dont want that.
-
How do big companies do this kind of tasks ?
I’ve heard Amazon S3 is a cool thing for projects like this one, also Google Cloud Platform. I want to understand the best approach before building everything so i can do it the right way and also, provide the absolute best user experience for watching these videos.
-