
Recherche avancée
Autres articles (62)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
-
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)
Sur d’autres sites (6771)
-
avcodec/movtextenc : Simplify writing to AVBPrint
15 octobre 2020, par Andreas Rheinhardtavcodec/movtextenc : Simplify writing to AVBPrint
The mov_text encoder uses an AVBPrint to assemble the subtitles ;
yet mov_text subtitles are not pure text ; they also have a binary
portion that was mostly handled as follows :uint32_t size = /* calculation */ ;
size = AV_RB32(&size) ;
av_bprint_append_data(bprint, (const char*)&size, 4) ;Here AV_RB32() is a no-op on big-endian systems and a LE-BE swap
on little-endian systems, making the output endian-independent.Yet this is ugly and unclean : On LE systems, the variable size from
the snippet above won't contain the correct value any more. Furthermore,
using this pattern leads to lots of small writes to the AVBPrint.This commit therefore changes this to using a temporary buffer instead :
uint8_t buf[4] ;
AV_WB32(buf, /* size calculation */) ;
av_bprint_append_data(bprint, buf, 4) ;This method also allows to use bigger buffers holding more than one
element, saving calls to av_bprint_append_data() and reducing codesize.Reviewed-by : Philip Langdale <philipl@overt.org>
Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com> -
avcodec/movtextdec : Fix immediately adjacent styles
17 octobre 2020, par Andreas Rheinhardtavcodec/movtextdec : Fix immediately adjacent styles
The checks for whether a style should be opened/closed at the current
character position are as follows : A variable entry contained the index
of the currently active or potentially next active style. If the current
character position coincided with the start of style[entry], the style
was activated ; this was followed by a check whether the current
character position coincided with the end of style[entry] ; if so, the
style was deactivated and entry incremented. Afterwards the char was
processed.The order of the checks leads to problems in case the endChar of style A
coincides with the startChar of the next style (say B) : Style B was never
opened. When we are at said common position, the currently active style
is A and so the start pos check does not succeed ; but the end pos check
does and it closes the currently active style A and increments entry.
At the next iteration of the loop, the current character position is
bigger than the start position of style B (which is style[entry]) and
therefore the style is not activated.The solution is of course to first check for whether a style needs to be
closed (and increment entry if it does) before checking whether the next
style needs to be opened.Reviewed-by : Philip Langdale <philipl@overt.org>
Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com> -
ffmpeg mov_text subtitle too small when converting mkv to mp4
16 octobre 2020, par Utkarsh SinghI want to remux a mkv file into mp4.
I used the following command.


ffmpeg -i "input.mkv" -c:v copy -c:a copy -map 0:0 -map 0:1 -map 0:2 -map 0:3 -c:s mov_text "output.mp4"



Problem : The subtitles in the
output.mp4
file are way too small.

Also, the subtitles of the mp4 file are unaffected when I try to make them bigger from vlc preferences.
I can turn them on/off but I think they are somewhat hardcoded.
I had to rencode subtitles while remuxing as otherwise it was showing error.


input.mkv
:



output.mp4
:





input.mkv
has the following streams,codecs :



I searched a lot, but couldn't find a way to make
mov_text
subtitles bigger. How can I make them bigger ?

Or Please suggest any other way to retain the subtitles while remuxing from mkv to mp4.