
Recherche avancée
Autres articles (73)
-
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 (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
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 (6850)
-
Docker : an error happened : ffmpeg exited with code 127
18 mai 2021, par developerpoliceAs I mentioned above, when I run the container, I get an error. When I run it normally, it works, there is no problem.


my container run code : docker run —rm -i -t -p 8080:4444 9fa71c8ca9ba


the error i got ;
an error happened : ffmpeg exited with code 127


APP.JS


https://pastebin.ubuntu.com/p/znCRWz2rgx/


Dockerfile
:

FROM node:10

COPY . /app
WORKDIR /app

RUN npm install
RUN npm install fluent-ffmpeg
RUN npm install os
RUN npm install express
RUN npm install --save @google-cloud/text-to-speech
RUN npm install --save @google-cloud/translate
RUN export GOOGLE_APPLICATION_CREDENTIALS="dogwood-cipher-307314-4074350f02b8.json"


CMD ["node", "app.js"]



-
Alembik developement and source code
14 janvier 2013, par vaiboughtIn my project i am using alembik media server heavily. However i am unable to find the source code of the tag on the alembik site. The repository they are giving is not sure whether stable or not. somebody have knowledge if the alembik developement has been closed, if closed, then where i can found one stable tag of the code and if there any alternative to alembik
-
I have a problem with my input resampling FFmpeg audio code [closed]
31 mars, par Jaime SamperI,ve tried to do a resampling with ffmpeg, but i found issues all the time in my code.


firt, i tried to get the imput channel layout but
av_channel_layout_default(&layout, audio_codecpar->nb_channels)
tells me, "there´s not nb_channels menber.

so i put the resampling code manually cause I know is stereo.


av_opt_set_sample_fmt(swr_ctx, "in_sample_fmt", codec_ctx->sample_fmt, 0);
av_opt_set_int(swr_ctx, "in_channel_layout", AV_CH_LAYOUT_STEREO, 0);
av_opt_set_int(swr_ctx, "in_sample_rate", codec_ctx->sample_rate, 0);
av_opt_set_sample_fmt(swr_ctx, "out_sample_fmt", AV_SAMPLE_FMT_S16, 0);
av_opt_set_int(swr_ctx, "out_channel_layout", AV_CH_LAYOUT_STEREO, 0);
av_opt_set_int(swr_ctx, "out_sample_rate", pwfx->nSamplesPerSec, 0);



but on execution give me this error :


Formato de mezcla: 48000 Hz, 32 bits, 2 canales
[SWR @ 00000277ef707a40] Input channel layout "" is invalid or unsupported.



any clue ?