
Recherche avancée
Autres articles (80)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (10721)
-
FFmpeg scaling error
9 juillet 2015, par oleg.semenI’m trying to convert video on Android using FFmpeg Android Java library
My method takes input and output file pathes and dimentions of output file (for instance 640x480). Video should fit crop these bounds. As video might be in landscape or portrait orientation I’m next params :String.format("-i %s \"scale='if(gt(a,1),-1,%d)':'if(gt(1,a),%d,-1)'\" %s", in, h, w, out);
see this article
according to official doc
a
is aspect ration (w/h) of input file.So a > 1
gt(a,1)
means w > h so video is landscape, and 1 > agt(1,a)
means h > w so video is portrait.But I’m getting next error :
Unable to find a suitable output format for "scale='if(gt(a,1),-1,480)':'if(gt(1,a),640,-1'"
'"scale='if(gt(a,1),-1,480)':'if(gt(1,a),640,-1'" : Invalid argumentWhat am I doing wrong ?
Thanks. -
OpenCV error : [mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls
2 mai 2015, par Relax WuI installed OpenCV in Ubuntu according to the official guide, then I’m trying to decode a file, then error occurs :
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!the video is about 150 frames, the error log may exceed 1000, can someone help me here ? thanks.
-
webm to mp4 without loosing audio video sync
9 avril 2018, par KishoreIam trying to covert webm to mp4 using ffmpeg so that the output file is playable in all browsers.
Iam using this ffmpeg command in ubuntu
ffmpeg -i inpput.webm -f mp4 -copyts -vcodec libx264 -strict -2 -vf scale="380:-2" -pix_fmt yuv420p -profile:v baseline -level 3 output.mp4
It is converting the file to mp4 but that file is out of sync in Mac safari browser and chrome browser. Means the audio and video is not syncing and sometimes the video gets stopped in between and audio goes on.
If I play the input.web media file directly in chrome it is playing perfectly fine, the same input.webm is also playing good with firefox. But the converted mp4 is out of sync in safari on mac and all chrome browsers.
However if the output.mp4 is played on ipad safari it is playing fine.
The Mac safari version I tried is 11.03
iPad safari version is 11.3Firefox and chrome are all latest.
firefox : 59.0.2(64 bit),
chrome : 65.0.3325.181 (Official Build) (64-bit)Please help me out with what Iam doing wrong.
Thanks in advance.