Recherche avancée

Médias (91)

Autres articles (99)

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

Sur d’autres sites (5237)

  • http: Add the trailing endlines if they are missing

    23 juillet 2015, par Luca Barbato
    http: Add the trailing endlines if they are missing
    

    Makes slightly easier the life of those want to use the option
    from the command line

    • [DH] libavformat/http.c
  • avformat/http: Fix for invalid use of av_strtok

    18 avril 2020, par Limin Wang
    avformat/http: Fix for invalid use of av_strtok
    

    Signed-off-by : Limin Wang <lance.lmwang@gmail.com>

    • [DH] libavformat/http.c
  • How to concatenate two MP4 files, which require http basic Authorization : Bearer , using ffmpeg ?

    8 juillet 2023, par Jeff Strongman

    Hello dear ffmpeg experts ! 🧠 🎯

    &#xA;

    I ran the following command, which worked perfectly :

    &#xA;

    ffmpeg -protocol_whitelist https,concat,tls,tcp -i "concat :https://dash.akamaized.net/akamai/bbb_30fps/bbb_30fps_1280x720_4000k/bbb_30fps_1280x720_4000k_0.m4v|https://dash.akamaized.net/akamai/bbb_30fps/bbb_30fps_1280x720_4000k/bbb_30fps_1280x720_4000k_1.m4v|https://dash.akamaized.net/akamai/bbb_30fps/bbb_30fps_1280x720_4000k/bbb_30fps_1280x720_4000k_2.m4v" -c:v copy -vframes 180 -y Movie_of_6_seconds.mp4

    &#xA;

    I followed the recommended solution of the following post :&#xA;How to concatenate two MP4 files using FFmpeg ?

    &#xA;

    You can execute the command on your local computer and see that it should run just fine...

    &#xA;

    I used 3. concat protocol, which does indeed concat init + progressive segments

    &#xA;

    However... when every segment on a server I refer to, is password protected, it fails with 401 Unauthorized, even though I added the following line :&#xA;-headers "Authorization : Bearer bas64user:password" , before specifying the -i "concat :...".

    &#xA;

    It seems to me... that the headers don't pass to the concat command inside of the input of ffmpeg... and it simply ignores them. When I used the same -headers command, on a single file, without concat, it passed the authorization successfully

    &#xA;

    Notes :

    &#xA;

      &#xA;
    • Even though every segment has a length of 120 frames (So in maximum, I could have generated 2*120 = 240 frames... I wanted a movie of 6 seconds and not 8... And by this way, to test that ffmpeg is smart enough to stop processing the whole input). To do that, I used -vframes 180, where 180 / 30 (FPS) = 6 seconds
    • &#xA;

    • I used -c:v copy, to get without re-encoding, only the video part (No audio !)
    • &#xA;

    • I used -y to override existing file...
    • &#xA;

    • 0.m4v, is the init file ! it is a small file, that has metadata of the original video which was produced with mpeg-dash
    • &#xA;

    • 1.m4v and 2.m4v, are the progressive segments
    • &#xA;

    &#xA;

    Is there a way, to pass the http basic headers (Authorization : Bearer) to all of the chained files ?

    &#xA;

    Like :

    &#xA;

      &#xA;
    • Via a json content type on the ffmpeg request
    • &#xA;

    • Or user:password@video_segment (Although... it seems to me it's not a header ?)
    • &#xA;

    • Somehow specify header inside the concat command ?
    • &#xA;

    &#xA;

    I don't want to first download all files and then get rid of the password protected... as it both takes ridiculous time & other resources... and I would like to record from a segment that is "endless", meaning a camera that keeps streaming data.

    &#xA;

    Thanks in advance 🙏🏻,

    &#xA;

    FFmpeg noobie 🙈

    &#xA;