
Recherche avancée
Autres articles (44)
-
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 -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
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
Sur d’autres sites (10004)
-
Converting a video to a vertical video with blurred sidebars
28 mars 2020, par vinay jvI was trying to convert a video to a vertical video with blurred sidebars in the android app. I tried the following code in the windows cmd command it works like a charm but when I tried it on android it just stuck in the processing part. Snapshot of my code for converting a video into vertical video``
String[] command = {"-i", inputfile,"-filter_complex","[0:v]scale=-2:iw*16/9,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=w=ih*9/16",String.valueOf(outputFile)};
Am I missing any codecs here like x264 ?
-
ffmpeg , copy 1st video "codec info" into 2nd video (change 2nd video codec)
12 juillet 2016, par TomerI’m having 2 videos.
1st video is the master, it’s codec info needs to be encoded on the 2nd video.
Means, 2nd video codec will be same as the 1st one.I’m having 15 "1st videos" for "Master" codec info and one file that needs to be converted to the various codecs that each file contain.
Folder contains those files "1st video" :
2CIF.h264 , 4CIF.h264 , 5MP.h264 , CIF.H264 , CUSTOM.h264 , CUSTOM2.h264 ,
D1.h264 , HD1080.h264 , HD720.h264 , QVGA.h264 , QXGA.h264 , S5020_HD720_15FPS_1Min.mp4 ,
SVGA.h264 , UXGA.h264 , VGA.h264and the "2nd video" that needs to be converted is : TOM.MP4
An output of HD720.h264 for example is :
Input #0, h264, from 'HD720.h264':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: h264 (Main), yuv420p, 1280x720, 25 fps, 25 tbr, 1200k tbn, 50 tbcAn output of TOM.MP4 is :
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'TOM.mp4':
Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 1280x
720, 14013 kb/s, 30.01 fps, 30 tbr, 90k tbn, 180k tbc (default)what will be the right way to convert those files ?
I need to verify those settings ( got them through MediaInfo )
-
How to get video format from video URL (Any type, not just AVPlayer compatible)
18 novembre 2022, par Bruno PantaleãoI want to get the format from a video URL (mp4, m3u8, mpeg etc...) to decided which player to use in my app (AVPlayer or third party).


One option is to check if AVAsset(...).isPlayable, Im using this right now, but I want to improve my logic for when the AVPlayer can't be used.


When I can't use AVPlayer then I encode the video using ffmpeg, if I could have the format of the video (and maybe even more information) I could improve the encode done by ffmpeg.