
Recherche avancée
Autres articles (98)
-
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 ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)
Sur d’autres sites (16847)
-
Use Video stream from Wifi device as input to stream over 4G
1er mars 2017, par pbdevI’m building an Android app that streams video from a Wifi device to a Wowza server. It should be quite simple but I can’t figure out how to use both Wifi and 4G at the same time. The device I’m using is a Samsung S5 with Android 6.0.1. To sum it up, this is the goal :
- Fetch the video stream from a GoPro device over Wifi.
- Send the video stream to a Wowza server over 4G.
When connected to the GoPro’s Wifi network I can ping the GoPro and see the stream in a
MediaPlayer
. Since I’m connected to a Wifi device that doesn’t provide internet access, I can’t ping my Wowza server. Once I’ve disabled Wifi this is no problem, by using FFmpeg I can reach the Wowza server over 4G.This is the FFmpeg command I want to use to copy the stream to the Wowza server, where
10.5.5.9
is the IP-address of the GoPro :ffmpeg -i http://10.5.5.9:8080/live/amba.m3u8 -acodec aac -ar 44100 -ab 48k -vcodec copy -f flv rtmp://username:password@my-wowza-server.com:1935/my-app/my-stream
If I enable Wifi and connect to the GoPro,
10.5.5.9
is reachable butmy-wowza-server.com
isn’t. The Samsung S5 provides a Smart network switch which makes the Wowza server reachable but the connection to the GoPro gets lost.Is there any way to bind
10.5.5.9
to the Wifi interface of the phone and bindmy-wowza-server.com
to the cellular interface ? -
How to ensure that ffmpeg libraries uses/ not uses GPU
31 mai 2021, par zimopisecMy library ( Linux, Debian) uses FFMpeg libraries ( avformat, avcodec, swscale etc) for reading video stream from network cameras. Actually, I need to capture each video frame from network camera, decode it, scale and store in memory- and other thread pass this data to calling program for display.


Problem is, that all works in CPU and take a huge amount of CPU resource. How can I enforce usage of GPU accelerator for processing ?


I have video card : VGA compatible controller : Intel Corporation HD Graphics 620 (rev 02)


My decode thread look like this ( I omit declarations, error handling etc, so pls don't look for grammar mistakes :)))


fmt = avformat_alloc_context(); 
//initialising, setting option by av_dict_set
// finding video stream index
***
 // finding decoder and allocate its contexts

 frame = av_frame_alloc();

 while ( av_read_frame(ctx->fmt, &pkt) >= 0) 
 {
 AVPacket orig_pkt = pkt;

 avcodec_send_packet(ctx->dec_ctx, pkt);
 avcodec_receive_frame(ctx->dec_ctx, frame);
 *** 
// get buffer allocated for store of frame data
 buff = get_free_buffer(ctx);
 sws_scale(ctx->sws, (const uint8_t * const*)frame->data, 
 frame->linesize, 0, ctx->dec_ctx->height, buff->data,
 buff->linesize);
 ret = decode_packet(ctx, frame, &pkt, &got_frame);
 if (ret < 0)
 break;
 pkt.data += ret;
 pkt.size -= ret;
 }
 while (pkt.size > 0);

 av_packet_unref(&orig_pkt);
 }
***** 



-
Use HLS from Wifi device as input to stream over 4G
26 février 2017, par pbdevI’m building an Android app that streams video from a Wifi device to a Wowza server. It should be quite simple but I can’t figure out how to use both Wifi and 4G at the same time. The device I’m using is a Samsung S5 with Android 6.0.1. To sum it up, this is the goal :
- Fetch the video stream from a GoPro device over Wifi.
- Send the video stream to a Wowza server over 4G.
When connected to the GoPro’s Wifi network I can ping the GoPro and see the stream in a
MediaPlayer
. Since I’m connected to a Wifi device that doesn’t provide internet access, I can’t ping my Wowza server. Once I’ve disabled Wifi this is no problem, by using FFmpeg I can reach the Wowza server over 4G.This is the FFmpeg command I want to use to copy the stream to the Wowza server, where
10.5.5.9
is the IP-address of the GoPro :ffmpeg -i http://10.5.5.9:8080/live/amba.m3u8 -acodec aac -ar 44100 -ab 48k -vcodec copy -f flv rtmp://username:password@my-wowza-server.com:1935/my-app/my-stream
If I enable Wifi and connect to the GoPro,
10.5.5.9
is reachable butmy-wowza-server.com
isn’t. The Samsung S5 provides a Smart network switch which makes the Wowza server reachable but the connection to the GoPro gets lost.Is there any way to bind
10.5.5.9
to the Wifi interface of the phone and bindmy-wowza-server.com
to the cellular interface ?