
Recherche avancée
Autres articles (104)
-
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 (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (13268)
-
Stacking 3 gmp4-files using Avisynth and VirtualDub, results in wrong colors and distorted files
22 juin 2015, par Frederik AmannI need to conduct the seemingly simple task of stacking 3 files next to each other. They are all the same : .avi Container, 320x240, 4:3, 25 fps, GeoVision Advanced MPEG-4 GEO codec.
I installed the GeoVision codec (http://www.geovision.com.tw/english/5_8.asp# - select "other utilities"), so my system (windows media player, media player classic) can play back the files. Also, I can open and work with them in Virtual Dub. I installed AviSynth and wrote the simple script for stacking them next to each otherh1 = AVISource("Event20150423075842001.avi")
h2 = AVISource("Event20150423075842002.avi")
h3 = AVISource("Event20150423075848003.avi")
StackHorizontal(h1, h2, h3)now, when I save it as .avs and then open it using VirtualDub, I see three videos nicely put next to each other, but the colors are weird and parts of the video are upside down and everything is just ..wrong - see Screenshot http://www.linkfile.de/download-46f71057ed130f9be29510f68ce4ee71.php. First I thought it has something to do with avisynth taking the wrong codec, so i forced it on gmp4 (as you can also see in the screenshot), but the result is the same. I have now also Avisynth+ installed, as well as VirtualDubMod.
When I open the .avs in VDMod, I get "couldn’t locate decompressor for format YV24", but it still opens the video which looks a little better though (but when I make a direct stream copy and save it, then play it back in MPC it looks exactly the same as it looked on the first screenshot). So this error points me toward something related to the colorspace.
Now my questions :- How can I find out in which format my files are ? YUV24, YUV12, ..?
- And then, how can I tell Avisynth to use a format that VirtualDubMod can deal with ?
- Or how can I make VirtualDub deal with YUV24 ? Am I just missing a codec ? Is my train of thought even slightly on the right track, or is my problem something totally different ?
I also found this related thread : Editing/Decoding AVI files using system-installed proprietary codecs, but using avisynth and ffmpeg, I get similar results as with VirtualDub.
I can’t use the solution of converting all my files first and then do the stacking in a second step - because the actual files I have to work with are about 180 videos, each like 8hours long and the time it would consume would stand in no relation to my possibilities..
I really have looked for solutions during the past week, and I think I’m close, but I sadly just don’t know enough about programming to be able to solve it on my own.. so I also want to excuse for any apparent stupidities in my explanation ;)
I’m very thankfull for any helpHave a good time everybody
EDIT :
So I have some more Info, and an example file, which I can’t link in this post -.- because I -again- have not enough reputation, very nice. I will try to comment and post the links :)Here is what the info() command brought me :
Colorspace : YV24,
FieldBased (Separated) Video : NO,
Parity : Bottom Field First,
Video Pitch : 320 bytes,
Audio : NO,
CPU detected : x87 MMX ISSE SSE4.1 SSSE3 -
Anomalie #3322 : Erreur de hreflang sur lien vers rubrique (en 2.1, 3.0 et 3.
28 octobre 2014, par realet RealETDonc, tu trouves "sain" d’avoir cet affichage :
This is translated in english [fr]Cela dans un site ou comme je l’indique dans le rapport de bug, le choix de la langue sur les rubriques n’est pas autorisé.
Du coup, la langue de toute les rubriques est la langue par défaut du site (fr).
Mais l’intégralité des rubriques à les multi pour avoir la version fr et en disponible.Pour moi, il y a une incohérence de fonctionnement :
- rubrique 12 prend automatiquement le texte du multi dans la langue de navigation ("en" dans notre cas)
- rubrique 12 mais considère que la destination qu’il vient d’afficher en anglais est en français
Pour le 1. c’est bien que ça affiche en anglais, parce qu’en cliquant dessus, ça va effectivement affiché de l’anglais (au moins pour le titre qui est en anglais)
Pour le 2. c’est confusionnant parce que ça prévient que le contenu visé sera en français, alors que justement il est en anglais. -
mmpeg changing the bitrate and file size of resulting file
17 août 2019, par Paco AbatoI’m using
ffmpeg
within a Python script (usingmmpeg-python
) in order to change metadata values but the bitrates and file size are also changed in the resulting video (bitrates are ’Velocidad de datos’ and ’Velocidad de bits’, sorry for non-english GUI) :The command I use is the following (removed the metadata part because the result is the same : the bitrate and the file size being changed) :
import ffmpeg
ifile = 'borrar.mp4'
ofile = 'res.mp4'
ffmpeg.input(ifile).output(ofile).run()How to preserve bitrates and so an aproximate file size.
Thanks in advance.