
Recherche avancée
Autres articles (109)
-
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 (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (14912)
-
generate video containing scrolling image
7 mai 2020, par Sorin ButurugeanuI want to generate a video [let's say 800x600] from a 800x10000 still image.



The image has to scroll, from top to bottom as if someone was actually scrolling a page.



If it could scroll faster over some portions and slower over others, that would be great, if not I think I could just make a few separate videos and then just stitch them up.



I cannot find any documentation on this subject ; could anyone give me a hint ? Thanks for your time !


-
Configure AVCodecContext structure to encode from raw PCM to u-law
15 mai 2017, par N0unI’m trying to encode raw PCM audio data to u-law and it’s sound very weird (when it sounds...). I don’t understand pretty much how to initialize my
AVCodecContext
structure (and my inputAVFrame
).Here are my parameters :
-
Input : PCM (16bits signed), MONO, 44,1kHz (sample rate) (from my Android device MIC)
-
Required output : G.711 u-law, MONO, 8kHz (sample rate), 64 kbits/s (bitrate) (from my output target device’s documentation)
I also know my input nb samples and this is all informations I have.
So I initialize my
AVCodecContext
like that :AVCodec* pCodec = avcodec_find_encoder(AV_CODEC_ID_PCM_MULAW);
// ...
AVCodecContext* pCodecContext = avcodec_alloc_context3(pCodec);
// ...
// Do I need input or output params in following lines?
pCodecContext->channels = 1:
pCodecContext->channel_layout = AV_CH_LAYOUT_MONO;
pCodecContext->sample_rate = 8000;
pCodecContext->bit_rate = 64000
pCodecContext->sample_fmt = AV_SAMPLE_FMT_S16;And my
AVFrame
s like :AVFrame* pFrame = av_frame_alloc();
pFrame->channels = 1;
pFrame->channel_layout = AV_CH_LAYOUT_MONO;
pFrame->sample_rate = 44100;
pFrame->format = AV_SAMPLE_FMT_S16;
pFrame->nb_samples = /*my audio data samples count*/;
avcodec_fill_audio_frame(pFrame, 1, AV_SAMPLE_FMT_S16, /*my audio data*/, /*my audio data size*/, 0);Then, I encode with
avcodec_send_frame()
andavcodec_receive_packet()
.So my problem is that I’m not sure if I have to put input or output desired values in different parameters. Probably I have to encode on a way then "resample" using
swresample
lib. But for now, I’m pretty sure that I don’t encode properly. Any advise please ? Thanks ! -
-
How to generate HLS m3u8 playlist from TS chunks ?
4 mai 2017, par Lu MawI’d backup many movies from server which is mpeg TS chunks but not include m3u8 playlist files. And I don’t want to re-convert from MP4 to m3u8 again. Anyone know how to generate HLS playlist. Most of them are with 2 qualities(ABR).