
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (61)
-
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 (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
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 (7486)
-
How to the stream should be automatically restart after 10 seconds if the stream cut
2 mars 2023, par Mr_MilkyI will restart using this script . But sometime for some reason the stream goes cut....


How to the stream should be automatically restart after 10 seconds if the stream cut.


#!/bin/bash
while true;do
grep -c "Non-monotonous DTS in output stream" file.txt >nonmonotonus.txt
grep -c "Timestamps are unset in a packet for stream" file.txt >timestamp.txt
grep -c "PES packet size mismatch" file.txt >pespacket.txt
grep -c "Error while decoding stream" file.txt >errordecoding.txt
grep -c "Circular buffer overrun" file.txt >circularbuffer.txt
grep -c "Header missing" file.txt >header.txt
grep -c "Conversion failed" file.txt >conversion.txt

file=nonmonotonus.txt
file1=timestamp.txt
file2=pespacket.txt
file3=errordecoding.txt
file4=circularbuffer.txt
file5=header.txt
file6=conversion.txt

if (($(<"$file")>=3000)) || (($(<"$file1")>=500)) || (($(<"$file2")>=100)) || (($(<"$file3")>=1000)) || (($(<"$file4")>=500)) || (($(<"$file5")>=6)) || (($(<"$file6")>=1)); then
stream1 restart > restart.txt
sleep 1
fi
done
__________________________________________________________________________

FFmpeg -re -threads 3 -c:s webvtt -i "$INPUT_URL?source=null&overrun_nonfatal=1&fifo_size=1000000" \
 -c:v copy \
 -map 0:0 -map 0:1 \
 -c:a aac -b:a 128k -ar 48000 \
 -threads 4 -f hls -hls_time 2 -hls_wrap 15 \
 "manifest.m3u8" \
null > /dev/null 2>&1 2>file.txt & echo $! > $STREAM_PID_PATH




How to automatically restart the stream.. after cut the .ts file


Thankyou ...


-
How to convert a .m4a file to a .wav file on Android using React Native ?
23 octobre 2022, par aurelien_morelI am trying to convert a .m4a file that I record using expo-audio into a .wav file. The goal is then to use it as a blob to send it on a Google Cloud Storage.
I tried to do this using ffmpeg-kit-react-native :


const uri = recording.getURI();
console.log(uri);

if (Platform.OS === 'android') {
 FFmpegKit.execute(`-i ${uri} temp.wav`).then(async (session) => {
 // const returnCode = await session.getReturnCode();
 uri = 'temp.wav';
 });
}

const response = await fetch(uri);
const blob = await response.blob();



but I have no sucess (getting the error) :


TypeError : null is not an object (evaluating 'FFmpegKitReactNativeModule.ffmpegSession')


uri have this form :


file :///data/user/0/host.exp.exponent/cache/ExperienceData/%2540aamorel%252Fvoki/Audio/recording-4038abed-f264-48ca-a0cc-861268190874.m4a


I am not sure if I use the FFmpeg toolkit correctly. Do you know how to make this work ? Or is there a simpler way to do it ?


-
UDP Streaming with ffmpeg - overrun_nonfatal option
21 octobre 2022, par Julien GreardI'm working on a software which uses FFMPEG C++ libs to make an acquisition from an UDP streaming.



FFMPEG (1.2) is implemented and running but I get some errors (acquisition crashes and restarts). The log displays the following message :



*Circular buffer overrun. To avoid, increase fifo_size URL option. To survive in such case, use overrun_nonfatal option*



I searched online for documentation about how to use this option, but I only got informations about how to use when running directly ffmpeg executable.



Would someone know how to set the correct option in my C++ code to :
- increase fifo_size
- use overrun_nonfatal option



Thanks