
Recherche avancée
Autres articles (57)
-
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 (...) -
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 (...) -
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 (4108)
-
Anomalie #3910 : URL mal formaté dans le mail pour "Mot de passe oublié"
7 mars 2017, par Vincent LegeardOk squelettes-dist/formulaires/oublie.php a été patché entre la version 3.1.3 et 3.1.4
$ diff -pu spip-3.1.3/squelettes-dist/formulaires/oubli.php spip-3.1.4/squelettes-dist/formulaires/oubli.php
— - /home/www/default/spip/squelettes-dist/formulaires/oubli.php 2016-09-30 23:38:54.000000000 +0200 +++ spip/squelettes-dist/formulaires/oubli.php 2017-03-06 10:30:18.000000000 +0100 @@ -35,7 +35,7 @@ function message_oubli($email, $param) $msg = recuperer_fond( "modeles/mail_oubli", array(’url_reset’ => url_absolue(generer_url_public(’spip_pass’, "$param=$cookie"),$GLOBALS[’meta’][’adresse_site’]) + ’url_reset’ => url_absolue(generer_url_public(’spip_pass’, "$param=$cookie"), $GLOBALS[’meta’][’adresse_site’] . ’/’) ) ) ; include_spip("inc/notifications") ;
-
Is it possible to create new mp4 file from a single streaming byte range chunk ?
11 janvier 2021, par bevinlorenzoIf I have a remote mp4 file on a server that supports Byte Ranges, is it possible to retrieve a single byte range and create a new/self-contained mp4 from that range data ?



If I try and write a returned byte range data directly to an mp4 file using
fs.createWriteStream(remoteFilename)
it doesn't get the video meta data (duration, dimensions, etc) that it needs to be playable.


When I get a byte range that starts with 0 and ends with XX the output mp4 is playable, but will have the duration meta-data of the entire video length and will freeze the screen when the byte range is done for the remainder of the duration time.



How else can I take a byte range and create a stand-alone .mp4 file from that stream object ?



The whole point of this is to avoid downloading the entire 10 minute file before I can make a 5 second clip using ffmpeg. If I can calculate and download the byte range, there should be a way to write it to a standalone mp4 file.



Thanks in advance for any help you can provide.


-
Is it possible to create new mp4 file from a single streaming byte range chunk ?
22 avril 2014, par bevinlorenzoIf I have a remote mp4 file on a server that supports Byte Ranges, is it possible to retrieve a single byte range and create a new/self-contained mp4 from that range data ?
If I try and write a returned byte range data directly to an mp4 file using
fs.createWriteStream(remoteFilename)
it doesn’t get the video meta data (duration, dimensions, etc) that it needs to be playable.When I get a byte range that starts with 0 and ends with XX the output mp4 is playable, but will have the duration meta-data of the entire video length and will freeze the screen when the byte range is done for the remainder of the duration time.
How else can I take a byte range and create a stand-alone .mp4 file from that stream object ?
The whole point of this is to avoid downloading the entire 10 minute file before I can make a 5 second clip using ffmpeg. If I can calculate and download the byte range, there should be a way to write it to a standalone mp4 file.
Thanks in advance for any help you can provide.