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 (7847)

  • How to not add AdaptationSet for audio in cmd file if audio stream is not present in input video file

    15 juin 2019, par Saurabh

    I am using ffmpeg-dash to create mpd files. I am using following command to generate the same :

    ffmpeg -i input/video.mov \
           -map 0:v:0 -map 0:v:0 -map 0:v:0 -map 0:a\?:0 \
           -b:v:0 350k -c:v:0 libx264 -filter:v:0 "scale=320:-1" \
           -b:v:1 1000k -c:v:1 libx264 -filter:v:1 "scale=640:-1" \
           -b:v:2 3000k -c:v:2 libx264 -filter:v:2 "scale=1280:-1" \
           -use_timeline 1 -use_template 1 -window_size 6  -adaptation_sets "id=0,streams=v id=1,streams=a"  \
           -seg_duration 2 -threads 16 -hls_playlist true -f dash output/ffmpeg/output.mpd

    This works with video which has audio streams, but for the case there is no audio stream in the video file, I get empty entry for audio in mpd files like following, which is not valid and fails while playing in Exo Player in Android.

    <adaptationset contenttype="audio" segmentalignment="true" bitstreamswitching="true">
    </adaptationset>

    I tried adding ? in option adaptation_sets like : id=0,streams=v id=1,streams=a?, however that also adds above line.

    One solution is to run different commands for different videos by first checking whether there is audio stream or not, but would be better if there is some option which add audio adaptationSet only if audio stream is present in the input file.

  • How to not add AdaptationSet for audio if audio stream is not present in input file

    13 juin 2019, par Saurabh

    I am using ffmpeg-dash to create mpd files. I am using following command to generate the same :

    ffmpeg -i input/video.mov \
           -map 0:v:0 -map 0:v:0 -map 0:v:0 -map 0:a\?:0 \
           -b:v:0 350k -c:v:0 libx264 -filter:v:0 "scale=320:-1" \
           -b:v:1 1000k -c:v:1 libx264 -filter:v:1 "scale=640:-1" \
           -b:v:2 3000k -c:v:2 libx264 -filter:v:2 "scale=1280:-1" \
           -use_timeline 1 -use_template 1 -window_size 6  -adaptation_sets "id=0,streams=v id=1,streams=a"  \
           -seg_duration 2 -threads 16 -hls_playlist true -f dash output/ffmpeg/output.mpd

    This works with video which has audio streams, but for the case there is no audio stream in the video file, I get empty entry for audio in mpd files like following, which is not valid and fails while playing in Exo Player in Android.

    <adaptationset contenttype="audio" segmentalignment="true" bitstreamswitching="true">
    </adaptationset>

    I tried adding ? in option adaptation_sets like : id=0,streams=v id=1,streams=a?, however that also adds above line.

    One solution is to run different commands for different videos by first checking whether there is audio stream or not, but would be better if there is some option which add audio adaptationSet only if audio stream is present in the input file.

  • 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