
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 (27)
-
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (7174)
-
Android radio stream metadata notification
27 janvier 2016, par sNorei was looking for Android libraries which are able to fetch metadata stuff e.g. artist, title from radio streams. I’ve found these 2 libs which are capable of that :
https://code.google.com/archive/p/streamscraper/
https://github.com/wseemann/FFmpegMediaMetadataRetrieverAnd there’s also ffmpeg available, where the libraries have first to be compiled for Android.
The above libs haven’t a listener interface for getting informed about song changes. The only possible solution is to poll every couple of seconds, and check old artist and title with the new ones. But I think this will drain the smartphone batteries quite a lot.
Is there a way to get notified if radio song changes ? Maybe with ffmpeg ?
-
ffmpeg decode multiple streams at same time
29 février 2012, par broschbI am using ffmpeg to decode a file and play it back on an android device. I have this working and would now like to decode two streams at the same time. I have read some comments regarding needing to use av_lockmgr_register() call with ffmpeg, unfortunately I am not sure how to use these and how the flow would work when using these locks.
Currently I have seperate threads on the java side making requests through JNI to native code that is communicating with ffmpeg.
Do the threads need to be on the native(NDK) side, or can I manage them on the java side ? And do I need to do any locking, and if so how does that work with ffmpeg ?
***UPDATE
I have this working now, it appears that setting up the threads at the java sdk level transfers into separate threads at the native level. With that I was able to create a struct with my variables, and then pass a variable to the native layer to specify what struct to use for each video. So for I have needed to use any mutexs or locks at the native level, and haven't had any issues.Does anyone know of potential gotchas I may encounter by not doing so with ffmpeg ?
-
Creating RTSP stream in Java - not serving a file
9 mai 2016, par user2959589I’ve done quite a bit of searching and have not found any clear answers. I would like to create a RTSP stream in my Java server app. This stream isn’t just sending out an existing file. No, I want it to stream some images generated from within Java. For example, I might generate a spinning cube, or a graph that updates based on some input (number of queries on my server, data from a sensor, etc), or something like that.
Essentially I’ll be creating a series of BufferedImages (perhaps 10 per second) and I need to stream them out as RTSP with reasonable video compression. As an advanced aspect, I might want to add some sound after I have the basics working, such as "beep" when the graph goes over some value.
I’ve seen all the various tool options. There are Java bindings for FFMPEG, VLC, and gstreamer, and perhaps others. But I haven’t seen anyone using them to do what I am proposing here.
One obvious way to do this is to write the BufferedImages to files, then use ffmpeg to turn those into a video format file of some kind, and then serve that file. That would work, but I need something that’s efficient and low latency (near real-time), not writing out files and converting them.
Any ideas ? Thank you !