
Recherche avancée
Médias (91)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
avec chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
sans chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
config chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (83)
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)
Sur d’autres sites (10013)
-
Revision 16115 : remettons cet overflow:hidden pour que le boite inclue bien les derniers ...
12 septembre 2010, par cedric@… — Logremettons cet overflow:hidden pour que le boite inclue bien les derniers elements en float qu’elle contient, sans necessiter de clear
-
Libavformat | Hidden RTP channel inside RTSP
22 mai 2020, par Max RidmanThe problem :



I'm working with libavformat (ffmpeg) library to grab RTSP stream.



I have accidently discovered that when my test RTSP grabber will represent itself with a custom "RTSP USER AGENT NAME" - it starting to receive a secret (hidden) RTP channel inside main RTSP stream.



In receiving TCP stream I can see 3 Interleaved channels. But RTSP SDP describes only 2 channels (0-1 Video, 2-3 Audio). The data I need flies in the 3 stream (WireShark tells me its channel 0x04)



The problem is that the source will not describe this hidden channel in RTSP DESCRIBE. So this way libavformat can not see it and will not receive this stream. Have read tons of libavformat documentation, still no luck...



The question :



Is there a way I can manually tell libavformat that this channel exists and start receiving it ? I just need the HEX inside of Data Payload of this channel.



Hope some ffmpeg/libavformat experts will give me an advice how to move on with this stuff.



#include 
#include 
#include <libavcodec></libavcodec>avcodec.h>
#include <libavformat></libavformat>avformat.h>
#include <libavutil></libavutil>error.h>
#include 

#define MEDIA_URL "rtsp://admin:password@192.168.50.154:554/stream1"

/*
 * 
 */
int main(int argc, char** argv) {

 AVFormatContext *input_fmt_ctx = NULL;
 AVDictionary *opt = NULL;
 AVPacket frame;
 AVPacket pkt;
 int ret; //var for return value


 av_dict_set(&opt, "rtsp_transport", "tcp", 0);
 av_dict_set(&opt, "user-agent", "Media-1.0-Server", 0);
 //av_dict_set(&opt, "initial_pause","1",0);




 if ((ret = avformat_open_input(&input_fmt_ctx, MEDIA_URL, 0, &opt)) < 0) {
 fprintf(stderr, "Could not open input url '%s'", MEDIA_URL);
 goto end;
 }


 if ((ret = avformat_find_stream_info(input_fmt_ctx, 0)) < 0) {
 fprintf(stderr, "Failed to retrieve input stream information");
 goto end;
 }


 av_dump_format(input_fmt_ctx, 0, MEDIA_URL, 0); // HIDDEN RTP CHANNEL IS ABSENT
 //av_read_play(input_fmt_ctx);

 while ((ret = av_read_frame(input_fmt_ctx, &frame)) >= 0) {

 /*
 * Here I never receive rtsp-tcp interleaved channel 4
 */
 printf("stream index=%d\r\n",frame.stream_index);
 av_packet_unref(&frame);
 }


end:
 if (ret < 0 && ret != AVERROR_EOF) {
 fprintf(stderr, "Error occurred: %s\n", av_err2str(ret));
 return 1;
 }
 avformat_close_input(&input_fmt_ctx);


 return (EXIT_SUCCESS);
}




Thank you.


-
Prevent uploading hidden system files (e.g. replacing the .htaccess file).
1er août 2011, par Sebastian Tschanm example/upload.php Prevent uploading hidden system files (e.g. replacing the .htaccess file). Thanks to Rich Lott for the issue report.