
Recherche avancée
Médias (29)
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (102)
-
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 (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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
Sur d’autres sites (10050)
-
How to transcode discord opus bytes wav ?
13 décembre 2022, par TacokeetI am trying to convert discords opus audio bytes to wav bytes. I'm using the discord python library Pycord to receive opus audio. This receives opus aduio from a socket. This audio is 2 channel, 48khz.


I want transcode these bytes into 1 channel 16khz wav. So that I can pass it into Pico voice their porcupine (pvporcupine) wake word detection.


I tried convert the decoced data with audioop but this doesn't work.


converted = audioop.ratecv(data.decoded_data, 2, 2, 48000, 16000, None)
converted = audioop.tomono(converted[0], 2, 1, 0)



Pycord has a feature that it writes the bytes into a wav file. I can use ffmpeg to then transcode it into an 1 channel 16khz wav file. I can then feed this file into pvporcupine. It then detects the desired wake words.


But I want to transcode the decoded bytes and then pass them into pvpvporcupine.


Any help towards an answer would be appreciated.


-
I want FFMPEG generate the m3u8 file with the oldest segments instead of the newest
4 juin 2021, par SandiI have an FFmpeg command like this :


ffmpeg -i test.mp4 -f hls -hls_time 2 -hls_wrap 10 -hls_list_size 5 test.m3u8



Afaik, hls_wrap is the number of segments we want to store locally and hls_list_size is the segment listed in the m3u8 output file. The command above will generate 10 files of the video segment.


[seg 0][seg 1][seg 2][seg 3][seg 4][seg 5][seg 6][seg 7][seg 8][seg 9]



And inside the test.m3u8, of course, there are 5 newest segments listed.


[seg 5][seg 6][seg 7][seg 8][seg 9]



I want the test.m3u8 lists the oldest available segment instead of the newest. So it should contain :


[seg 0][seg 1][seg 2][seg 3][seg 4]



In another word, I want to preload the segments before it listed in test.m3u8.


The idea is I want to rsync the output of that FFmpeg command to a different folder on the network. I want to avoid test.m3u8 contains a segment that not completely copied because of the large segment size.


Please help me and pardon my English. Thank you very much !


-
Java IO Streaming Large Files Video/Data/Sound [on hold]
2 mars 2015, par James RelicI have a series of questions listed below regarding java.io streaming and sockets.
-
What is a video streaming server ? How does it differ from a standard web server.
-
Remember Napster/Morpheus etc ? They’re P2P programs, did they allow users to stream data to each other ? Is there a difference between streaming and downloading (on the clients end) ?
-
How would you go about writing a generic program in java that streams anything to the client , word docs, mp3 files, videos files ? Would you use serverlets for this purpose ?
-
If all you are doing is sending files video/sound/docs/text etc from one computer to another would you need to use specialist APIs like FFMPEG-Java, Red5 ?
-
if you are sending video or sound as a file supposedly you don’t need to worry about encoding or decoding ?
-
Do I need to worry about RTSP if im streaming videos as a file ? Rather then wanting them to play live on the client end ?
I understand my questions sound very untechnical and basic, but I’m a little confused on this whole streaming topic and want to know the best way to stream large files of all types using the Java EE/Spring platform.
-