Recherche avancée

Médias (91)

Autres articles (93)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (8323)

  • webm_dash_manifest : Add option to specify bandwidth

    12 avril 2017, par Vignesh Venkatasubramanian
    webm_dash_manifest : Add option to specify bandwidth
    

    Add an option to webm_dash_manifest demuxer to specify a value for
    "bandwidth" field in the DASH manifest. The value is then used by
    the muxer. Fixes an existing FIXME in the code.

    Signed-off-by : Vignesh Venkatasubramanian <vigneshv@google.com>
    Signed-off-by : James Zern <jzern@google.com>

    • [DH] libavformat/matroskadec.c
    • [DH] libavformat/webmdashenc.c
    • [DH] tests/fate/vpx.mak
    • [DH] tests/ref/fate/webm-dash-manifest-live-bandwidth
  • Create different qaulities for my manifest with only mp4box

    29 septembre 2020, par Ted Bed

    I asked a question on slack on why the quality and bitrate of my dash video wasn't changing and I got this response : You only have one quality in your manifest. there is no way for the player to choose a different one

    &#xA;

    So how can I create different "qualities" ?

    &#xA;

    I have a mp4box command like :

    &#xA;

    MP4Box -dash 2000 -profile dashavc264:live -bs-switching multi -url-template whatever.mp4#trackID=1:id=vid0:role=vid0 whatever.mp4#trackID=2:id=aud0:role=aud0 -out whatever.mpd&#xA;

    &#xA;

    Would it be possible to create different "qualities" with only mp4box or would I have to create the same video with different resolutions with something like ffmpeg and then feed them into the inputs to the command above ?

    &#xA;

  • 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;