
Recherche avancée
Médias (2)
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
Autres articles (46)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (6980)
-
WhatsApp video as Gif sharing on Android programatically
2 novembre 2017, par Razec LuarHow can i convert a mp4 video file to a WhatsApp gif file (it’s simple showed as gif inside app UI but internally is a specific mp4 format) to be use in android share intent, being recognized as this type of media by whatsapp chat app ???
I search a lot but i can’t find any information from WhatsApp docs (they don’t have this kind of doc anyway) or any dev with the same problem as i.
WHAT I HAVE :
I have discovered that at beginning of whatsapp "gif" mp4 files is present a loop value if you read they on hex editor, all files have this. Remove this value make whatsapp receive as regular video (not sharing as gif).
How can i add this value using ffmpeg encoding ? (editing my mp4 files manually with this value corrupt the files, maybe i have to fix some mp4 header index that i don’t know yet...)
FIRST 80 BYTES in hexadecimal (from beginning to start of "moov" atom from mp4 structure) :
00 00 00 1C 66 74 79 70 6D 70 34 32 00 00 00 01 6D 70 34 31 6D 70 34 32 69 73 6F 6D 00 00 00 18 62 65 61 6D 01 00 00 00 01 00 00 00 00 00 00 00 05 00 00 00 00 00 00 0C 6C 6F 6F 70 00 00 00 00 00 00 00 08 77 69 64 65 00 00 04 9F 6D 6F 6F 76
A short mp4 file generated by WhatsApp that internally (at app) was showed as a Gif (with different UI) :
https://www.dropbox.com/s/kpynmx1bg3z76lz/VID-20171024-WA0009.mp4?dl=0
-
Inputting Audio Stream to FFMPEG
5 avril 2018, par WijayaI’m building a real time chat application with C# and ffmpeg.exe. My requirement is to get a memory stream from Microsoft Speech API and feed it to ffmpeg process in real time. I can take a memory stream from Microsoft Speech API. I’m using following code to create the memory stream.
using (MemoryStream stream = new MemoryStream())
{
MemoryStream streamAudio = new MemoryStream();
System.Media.SoundPlayer m_SoundPlayer = new System.Media.SoundPlayer();
_speechSynthesizerVisemesSender.SetOutputToWaveStream(streamAudio);
_speechSynthesizerVisemesSender.SetOutputToNull();
stream.WriteTo(proc.StandardInput.BaseStream);
}I’m already using another datapipe with another command to feed video content to ffmpeg. But I couldn’t find a stable solution to feed audio through a datapipe. This article briefly explains about audio datapipe. I’m using following command to stream audio.
"ffmpeg -re -f s16le -i pipe:wav -f mpegts udp://127.0.0.1:1234"
But it is not working with the datapipe. If I try the command with mp3 or wav file, it works.
-
Anomalie #4717 (Nouveau) : Erreurs nombre d’argument des filtres
8 avril 2021, par jluc -Depuis PHP 7.1, une fonction appelée avec un mauvais nombre d’argument provoque une Fatal error : Uncaught ArgumentCountError : Too few arguments to function filtre_implode_dist(), 1 passed ... and exactly 2 expected
Or il n’y a aucune vérification, avant de l’appeler, du nombre d’argument avec lequel est appelée une fonction implémentant un filtre.
Du coup appeler (#LISTEArbre,Bateau,Chat,Doche fait page blanche avec l’erreur ci dessus dans error.log
La définition est en effet
function filtre_implode_dist($a, $b) return is_array($a) ? implode($b, $a) : $a ;
C’est assez rude pour du code SPIP où l’erreur est permise.
Du coup serait il possible de récupérer proprement ces situations d’erreur par gestion d’exception avant l’eval du code compilé ?
Sinon il faudrait s’assurer que toutes les fonctions php implémentant des filtres puissent accepter de n’avoir qu’un seul argument (la balise sur laquelle elles s’appliquent).
Ce qui donnerait ici :
function filtre_implode_dist($a, $b=", ") return is_array($a) ? implode($b, $a) : $a ;