
Recherche avancée
Autres articles (100)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
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 ;
Sur d’autres sites (14416)
-
Anomalie #2405 (Nouveau) : navigation au clavier forums partie privée
13 novembre 2011, par jluc -Quand on saisit un forum en partie privée, TAB ne permet pas de sortir de la zone de saisie du titre. Par contre, SHIFT TAB permet bien de focuser en arrière et d’y rentrer à partir de la zone de saisie de texte. Constaté sur grml.eu SPIP 3.0.0-beta SVN (...)
-
Changed youtube url format due to new bug in Youtube's video iframe in IE7 :
14 juin 2013, par jackmooreChanged youtube url format due to new bug in Youtube's video iframe in IE7 : http://productforums.google.com/forum/#!msg/youtube/-kOMQjxmPZU/AkvLf3m7vpYJ
-
How to raw TS packets off a file/url — Without decoding
15 août 2019, par ZnuraNew to ffmpeg and playing around that to understand better. I’m trying to use ffmpeg code base to get TS packets from a HLS Streaming server. I don’t need any decoding as I just have to store the TS packets to be processed later.
First I built a minimal FFMPEG as outlined in https://zeranoe.com/forum/viewtopic.php?f=5&t=7426. No decoders and only hls and mpegts demuxers. Then using the following code to receive the frames. While inspecting it doesn’t seem to be MPEG-TS packets while looking into buffers thru GDB. Attaching the code here..
Two Questions :
-
Shouldn’t the av_recv_frame get me the TS packets ? However When I trace all the way to playlists (off HLSContext), the read_buffer there contains TS packets. IS there any example I could look into to get TS packets in this scenario without decoders ?
-
If I get answer for (1), How to get the best stream off the HLS server ? when looking into ffplay, av_find_best_stream() sounds like the one to look into.. But again without needing to decode, is there a way to get best one according to the network condition ?
Thanks..
I dumped whatever I got off
av_recv_frame()
and stored in file. This file is not playable with VLC but Windows Movies & TV player could play the sound with missing frames..int main(int argc, char *argv[]) {
AVFormatContext * ifmt_ctx = NULL;
char *in_filename = NULL;
int ret = 0;
AVPacket pkt;
if (argc != 2) { return 1; }
in_filename = argv[1];
av_register_all();
if (!(ifmt_ctx = avformat_alloc_context())) { goto end; }
if ((ret = avformat_open_input(&ifmt_ctx, in_filename, 0, 0)) < 0) {
fprintf(stderr, "Could not open input file '%s'", in_filename);
goto end;
}
if ((ret = avformat_find_stream_info(ifmt_ctx, 0)) < 0) {
fprintf(stderr, "Failed to retrieve input stream information");
goto end;
}
av_dump_format(ifmt_ctx, 0, in_filename, 0);
while (1) {
ret = av_read_frame(ifmt_ctx, &pkt);
if (ret < 0) break;
av_free_packet(&pkt);
}
end: avformat_close_input(&ifmt_ctx); return 0;
} -