
Recherche avancée
Autres articles (75)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...) -
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation"
Sur d’autres sites (11664)
-
Convert a Video that it can show with preview in telegram via bot api
7 avril 2016, par siavashgI Have a video and i want to send it with telegram bot api by
pytelegrambotapi
library so i write this code for send video by bot :import telebot
bot = telebot.TeleBot("TOKEN")
@bot.message_handler(commands=['start'])
def send_welcome(message):
video = open('1.mp4', 'rb')
bot.send_video(message.chat.id,video, duration=)
bot.polling(none_stop=True)but I send a video and it has been sent successfully but telegram show black screen for my video like this picture
Telegram With Black Scrreen preview of video.
I think this is about the encoding . I found this site for encoding and it said the videos in telegram have specific format.Conditions to trim a video
- Audio codec = mp4a
- Video codec = supported by the device
- Any side of the video more than 640px
- Or if a side is less than 640px but video codec is h264
Conditions to compress a video
- Any side of the video over 640px
- Audio codec = mp4a
- A video encoder different than :
OMX.google.h264.encoder
OMX.ST.VFM.H264Enc
OMX.Exynos.avc.enc
OMX.MARVELL.VIDEO.HW.CODA7542ENCODER
OMX.MARVELL.VIDEO.H264ENCODER
How can I send Video with blur image preview of that in telegram with telegram bot api ?
-
Revert "avcodec/h264 : also show frames with missing fields when CODEC_FLAG2_SHOW_ALL...
20 janvier 2015, par Michael Niedermayer -
show output before making / rendering the output file ffmpeg [closed]
5 janvier 2021, par Education 4FunI wanna build an editing application using FFmpeg so when someone gives a video and do his operations I wanna show result before starting of rendering like any normal video editing
can some one let me know how it can be shown as all the operations he did should effect the video
like is there any way to do in FFmpeg or what does video editors do to achieve it
Thank you


Aditional info :-
like I made a basic GUI application using pyqt5 with some buttons to rotate, increase audio, increase the speed of the video, conversion b/n multiple types of video formats, and changing aspect ratio. so I just wanna show output before executing / clicking submit for rendering Hope now its a bit clear.


Finally i found the solution


ffplay test.mp4 -af "volume=8.0,atempo=4.0" -vf "transpose=2,transpose=2,setpts=1/4*PTS" -aspect 4:2