
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (59)
-
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community. -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
-
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 (...)
Sur d’autres sites (11856)
-
avformat/av1dec : Disallow seeking by bytes
22 août 2021, par Andreas Rheinhardtavformat/av1dec : Disallow seeking by bytes
The low overhead OBU format provides no means to resync after performing
a byte-based seek ; in other words : Byte based seeking is just not
supported.Reviewed-by : James Almer <jamrial@gmail.com>
Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com> -
FFmpeg, decode mp3 packet after sending by network
4 août 2022, par StanislavGood day, everyone.

Working with FFmpeg.

And have some issues with decoding, I cannot find in docs and forums.
The code is not simple, so I will try to explain firstly in words, may be someone really skilled in ffmpeg will understand the issue by words. But if the code really helps, i will try to post it.

So, firstly in general, what i want to do. I want to capture voice, encode to mp3, get packet, send to network, on the other side : accept the packet, decode and play. Why not to use ffmpeg streaming ? Well, because this packet will be modified a little bit, and may be encoded/crypted, so ffmpeg has no functions to do this, and i should do it manually.

Well, what i managed to do now. Now i can encode and decode via file. This code works fine, without any issues. So generally i can encode and decode mp3, and play, so i assume that my code for encoding/decoding works fine.

So, than i just change code, making no saving to file, and send packets via network instead.

This is the method, standard, well, i use to send packet to decoder on the accepting side.

result = avcodec_send_packet( codecContext, networkPacket );
 if( result < 0 ) {
 if( result != AVERROR(EAGAIN) ) {
 qDebug() << "Some decoding error occured: " << result;
 return;
 }
 }



networkPacket is the AVPacket restored from network.


AVPacket* networkPacket = NULL;
 networkPacket = av_packet_alloc();
 ...



And that is the way i restore it.


void FFmpegPlay::processNetworkPacket( MediaPacket* mediaPacket ) {

 qDebug() << "FFmpegPlay::processNetworkPacket start";

 int result;

 AVPacket* networkPacket = NULL;
 networkPacket = av_packet_alloc();

 networkPacket->size = mediaPacket->data.size();
 networkPacket->data = (uint8_t*) malloc( mediaPacket->data.size() + AV_INPUT_BUFFER_PADDING_SIZE );
 memcpy( networkPacket->data, mediaPacket->data.data(), mediaPacket->data.size() );
 networkPacket->pts = mediaPacket->pts;
 networkPacket->dts = mediaPacket->dts;
 networkPacket->flags = mediaPacket->flags;
 networkPacket->duration = mediaPacket->duration;
 networkPacket->pos = mediaPacket->pos;
 ...



And there i get -22, EINVAL, invalid argument.
Docs tell me :


AVERROR(EINVAL): codec not opened, it is an encoder, or requires flush



Well, my codec really opened, this is decoder, and this is first call, so i think that flush is not required. So i assume, that issue is in packet and codec setup. I also tried different flags, and always get this error. Codec just doesn't want to accept packet.


So, now i have explained the situation.

And question is : Is there any special options or flags for ffmpeg mp3 decoder to implement what is explained above ? Which one of them i should change ?

Upd.
After some testing, i decided to make more clear test and check if i can decode immediately after encoding, without network, and it looks like i can do that.
So it looks like in network case the decoder should be initialized somehow special, or have some options.
Well, i'm dealing initialization by copying AVCodecParameters from original and sending them by network. Maybe i should change them some special way ?


I'm stuck on this one. And have no idea how to deal with it. So any help is appreciated.


-
Animations with multiple Images using FFmpeg or another tools
14 novembre 2022, par Oleksandr MaliutaWhat I have :


- 

- different video templates without logo
- UI where users will select a template from that list
- UI where users can upload their logotype, add mp3 file, text








What should be done :


- 

- new generated video based on this configuration.




What I found :


- 

- I can use ffmpeg and combine it all. But not sure how to make such animations with logo. Maybe there is existing gui.
- I also found https://github.com/inlife/nexrender. But it works with Adobe After Effects and seems like what I need.






Example of result https://www.introbrand.com/logo-opening-mobiles.html


I'm not looking for the ready solution, just a few words - how to go, what to use..
This is absolutely new things for me, so if you could please suggest something or just tell me what's the best way - I'd appreciate this)