
Recherche avancée
Médias (1)
-
1 000 000 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (74)
-
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (5704)
-
How to link and call function of prebuild static native library from android studio
23 janvier 2017, par JanakiI need to change pitch and time stretching of an audio. For this I am using prebuild static library. Currently I am having libZtxAndroid.a static library and corresponding header file which contains function declaration. But I don’t know how to load this library in my android studio app and call native function from java code. I explored many links and tried to load this library. But all attempts are failed. This is the one link which I have tried last time https://tariqzubairy.wordpress.com/2012/03/12/use-of-prebuild-static-library-compiled-with-android-toolchain/
Also I am using FFMPEG shared library and MP4Parser (https://github.com/sannies/mp4parser) library in this app for adding water mark to video and merging audio respectively. Can any one help from basics.
- How to load static library ?
- Where I need to place that static library ?
- Where I need to create jni folder (folder structure) ?
- How to call function available in that static library with the help of header file from java code ?
-
"method DESCRIBE failed : 401 Unauthorized" in Ffmpeg, yet VLC accepts the exact same RTSP URL
30 septembre 2021, par IpsRichI've an RTSP URL that includes the username and password (i.e. of the form
rtsp://username:password@server:554/path
) and this works in VLC, but using this as an input to Ffmpeg, I get back the above DESCRIBE error and it aborts.

I wondered if it might be the version of Ffmpeg I've got, but I used a fresh one via Docker (
alfg/ffmpeg:latest
) and the result was the same.

Is there something I have to do, perhaps some extra information/hint I have to provide to Ffmpeg, to get it to accept the credentials and get past the DESCRIBE ? Or if it's the DESCRIBE bit that's the problem, can I get it to skip that (perhaps by providing all the source stream details manually) so that it doesn't fail ?


I'd hoped that this might be the same problem, but it's not - my URL is quoted and doesn't contain anything like
?
or*
.

(In case it has any bearing, I'm trying to take an RTSP stream that requires credentials, resize it on the fly using Ffmpeg, and "pipe" the new RTSP to RTSP Simple Server. Most of this I can do : it's just the credentials that are tripping me up.)


UPDATE : One thing I didn't mention previously (because it didn't seem relevant) is that the RTSP stream comes from Milestone's Open Network Bridge server. It seems that ONB does not now allow URLs containing credentials, although this does not explain why the same URL works in VLC. Perhaps VLC extracts the credentials and provides them another way ? I've a support case open on this to try to get to the bottom of it. I'll update here if I discover anything helpful...


-
How to stream frames from OpenCV C++ code to Video4Linux or ffmpeg ?
6 juillet 2022, par usamazfI am experimenting with OpenCV to process frames from a video stream. The goal is to fetch a frame from a stream, process it and then put the processed frame to a new / fresh stream.


I have been able to successfully read streams using OpenCV video capture functionality. But do not know how I can create an output stream with the processed frames.


In order to do some basic tests, I created a stream from a local video file using ffmpeg like so :


ffmpeg -i sample.mp4 -v 0 -vcodec mpeg4 -f mpegts \
 "udp://@127.0.0.1:23000?overrun_nonfatal=1&fifo_size=50000000"



And in my C++ code using the VideoCapture functionality of the OpenCV library, I am able to capture the above created stream. A basic layout of what I am trying to achieve is attached below :


cv::VideoCapture capture("udp://@127.0.0.1:23000?overrun_nonfatal=1&fifo_size=50000000", cv::CAP_FFMPEG);

cv::Mat frame;

while (true) 
{
 // use the above stream to capture a frame
 capture >> frame;
 
 // process the frame (not relevant here)
 ...

 // finally, after all the processing is done I 
 // want to put this frame on a new stream say at
 // udp://@127.0.0.1:25000, I don't know how to do
 // this, ideally would like to use Video4Linux but
 // solutions with ffmpeg are appreciated as well
}



As you can see from comment in above code, I don't have any idea how I should even begin handling this, I tried searching for similar questions but all I could find was how to do VideoCapture using streams, nothing related to outputting to a stream.


I am relatively new to this and this might seem like a very basic question to many of you, please do excuse me.