
Recherche avancée
Médias (3)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
-
Creativecommons informational flyer
16 mai 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (57)
-
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 ;
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)
Sur d’autres sites (10953)
-
C++ - Failed to stream to youtube with ffmpeg
27 mars 2022, par Samuel IvesWell, I have an open source project similar to OBS but aimed at churches, the repository you can find here, however I'm stuck in the encoding part,
avcodec_send_frame
after a while just returns Failed to send frame - code : -11 err : Resource temporarily unavailable and never gets to the stage of receiving packets.

I've tried everything including changing the output format to MP4 but the application just crashes, this time I'm challenging myself to a bigger project, I thought I had solved it by changing the codec to H.264 but I was wrong


Basically I'm trying to get OpenCV images from my webcam and send them to youtube


void Broadcast::writeFrame(const cv::Mat &image)
{

 const int width = image.cols;
 const int height = image.rows;

 if(swConv == nullptr) {
 swConv = sws_getContext(width, height, AV_PIX_FMT_RGB24, codecCtx->width, codecCtx->height, codecCtx->pix_fmt, SWS_BILINEAR, nullptr, nullptr, nullptr);
 if(!swConv) {
 qCritical() << "Could not create SwContext";
 return;
 }
 }

 const int stride[4] = { static_cast<int>(image.step[0]) };
 sws_scale(swConv, &image.data, stride, 0, image.rows, frame->data, frame->linesize);
 frame->pts = frame_pts++;

 int ret = avcodec_send_frame(codecCtx, frame);
 if(ret < 0) {
 qWarning() << "Failed to send frame - code: " << ret << " err: " << av_err2str(ret);;
 return;
 }

 qDebug() << "AA " << ret;

 // Encode frames into packet
 while(ret > 0) {

 qDebug() << "BB " << ret;

 ret = avcodec_receive_packet(codecCtx, pkt);
 if (ret == AVERROR(EAGAIN) || ret == AVERROR_EOF) {
 return;
 } else if(ret < 0) {
 qCritical() << "Error reciving packets: " << av_err2str(ret);
 break;
 }

 qDebug() << "CC";

 av_write_trailer(ofctx);
 //av_packet_unref(pkt);

 }

 qDebug() << "Frames " << frame_pts;

}
</int>


-
Streaming to facebook rtmps gives TLS connection error
18 juin 2021, par jdramerI am trying to stream to Facebook with ffmpeg. As of late 2019 the connection requirement is rtmps. Using the stock Debian Buster ffmpeg the TLS connection fails.


FFMPEG Version


ffmpeg version 4.1.6-1~deb10u1 Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 8 (Debian 8.3.0-6)
 configuration: --prefix=/usr --extra-version='1~deb10u1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared



Stream command


$ ffmpeg -i "rtmp://127.0.0.1/restream/STREAMKEY" -threads 1 -vcodec copy -acodec copy -f flv "rtmps://live-api-s.facebook.com:443/rtmp/FSTREAMKEY"



Error


[rtmps @ 0x55d9e0e3ea40] Cannot open connection tls://live-api-s.facebook.com:443
rtmps://live-api-s.facebook.com:443/rtmp/FSTREAMKEY: Resource temporarily unavailable



Am I missing something ?


-
How Can I Configure Storybook to Use React-App-Rewired ?
8 août 2022, par josephI'm working on a project that implements react-app-rewired to send headers to the server in order to bypass
ReferenceError: SharedArrayBuffer is not defined
(I'm getting this error from using the@ffmpeg/ffmpeg
library).

// config-overrides.js
const {
 override,
 // disableEsLint,
 // addBabelPlugins,
 // overrideDevServer
} = require('customize-cra')

module.exports = {
 devServer(configFunction) {
 // eslint-disable-next-line func-names
 return function (proxy, allowedHost) {
 const config = configFunction(proxy, allowedHost)

 // Set loose allow origin header to prevent CORS issues
 config.headers = {
 'Access-Control-Allow-Origin': '*',
 'Cross-Origin-Opener-Policy': 'same-origin',
 'Cross-Origin-Embedder-Policy': 'require-corp',
 'Cross-Origin-Resource-Policy': 'cross-origin'
 }

 return config
 }
 }
}



// package.json
"scripts": {
 "start": "react-app-rewired start",
 "build": "react-app-rewired build",
 "test": "react-app-rewired test --transformIgnorePatterns \"node_modules/(?!siriwave)/\"",
 "eject": "react-scripts eject",
 "storybook": "start-storybook -p 6006 -s public",
 "build-storybook": "build-storybook -s public"
}



Though this works when I run
npm start
, meaning the headers get sent to the server, it doesn't work when I runnpm run storybook
, and I still get theSharedArrayBuffer is not defined
error. I'm assuming it's becausenpm run storybook
still usesreact-scripts
as opposed toreact-app-rewired
under the hood, but I'm not sure where I can change the configurations for this. Any ideas ?