
Recherche avancée
Autres articles (89)
-
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 ;
-
Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur
8 février 2011, parLa visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
Configuration de la boite multimédia
Dès (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (15479)
-
Draw FFmpeg AVFrame data with OpenGL with Go
27 avril 2018, par nevernewI’m making a video player in Go (on Windows) using FFmpeg and OpenGl, with the go wrappers goav and go-gl respectively. I want to set the pixels (stored in AVFrame->data) as a texture to display with OpenGL.
I have it drawing pixels from a test array I created in Go, but it’s not taking the AVFrame data at all. The gl wrapper is giving me an error
panic: reflect: call of reflect.Value.Pointer on uintptr Value
with this code, I’ve tried different ways, trying to cast the data to the right type to be accepted but to no avail.This is the offending code where
f
is of type*Frame
:type Frame C.struct_AVFrame
dataPtr := (*uint8)(unsafe.Pointer((*C.uint8_t)(unsafe.Pointer(&f.data))))
dataAddr := uintptr(unsafe.Pointer(dataPtr))
glPixelPointer := gl.Ptr(dataAddr) // reflect error happens here, so the pointer is wrongTrying to get the data from this C struct :
#include
typedef struct AVFrame {
#define AV_NUM_DATA_POINTERS 8
uint8_t *data[AV_NUM_DATA_POINTERS];
}I can provide the rest of the code if needed, but there’s a lot of it to get the example running.
-
How to make ffmpeg configure add to the end of compiling line ?
28 octobre 2012, par myWallJSONI want to make ffmpeg not to use
-fno-math-errno
on compilation.I tried
./configure --extra-cflags="-fmath-errno"
but it ads it before ffmpegs
-fno-math-errno
:gcc -I. -I./ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DHAVE_AV_CONFIG_H -std=c99 -fomit-frame-pointer -I/cygdrive/c/Users/Avesta/Downloads/FlasCC_1.0.1121790_10-08-2012/sdk/usr/include/SDL -D_GNU_SOURCE=1 -Wdeclaration-after-statement -Wall -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wwrite-strings -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -O3 -mllvm -stack-alignment=16 -MMD -MF libavformat/allformats.d -MT libavformat/allformats.o -c -o libavformat/allformats.o libavformat/allformats.c
\so I wonder how to make configure to add flags after all
-f
including-fno-math-errno
?there are :
--extra-cflags=ECFLAGS add ECFLAGS to CFLAGS []
--extra-cxxflags=ECFLAGS add ECFLAGS to CXXFLAGS []
--extra-ldflags=ELDFLAGS add ELDFLAGS to LDFLAGS []
--extra-libs=ELIBS add ELIBS []
--extra-version=STRING version string suffix [] -
FFMpeg kills itself when restreaming http to rtmp
22 novembre 2019, par dust19992We are trying to restream few stations to our Emby server (alternative to plex), but always when we start the command as provided by many cast-software it runs for some time and then it dies.
Here is our command :
ffmpeg -i http://URL/IP:1515/station/discoverychannel/15HD -c:a aac -b:a 96k -ar 44100 -vcodec copy -f flv rtmp://server/discoverystation/15HD
The error is none the only exit message is :
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
frame=33056 fps= 60 q=-1.0 Lsize= 302387kB time=00:09:11.45 bitrate=4492.0kbits/s speed=1.01x
video:295223kB audio:6576kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.194924%
[aac @ 0x55b6a748ee40] Qavg: 583.684
Exiting normally, received signal 2
root@simpsons:~#```
Our server is WOWZA media server, and we have been looking for the problem for some time now, but without any success, so we hope you guys can help us figure it out, we are trying to copy the live video as it is, and we do not want to change the encoding, or anything else, but if necessary then it has to be encoded.
I have not much experience in ffmpeg but we have been using VMIX that uses ffmpeg and it's running smooth there to the server without dying, so there has to be a way to run that with the ffmpeg standalone.
Here is the WOWZA restream manual: https://www.wowza.com/docs/how-to-restream-using-ffmpeg-with-wowza-streaming-engine
Thanks.