Recherche avancée

Médias (91)

Autres articles (34)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • 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 (...)

  • 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 (...)

Sur d’autres sites (9170)

  • avcodec/h264_slice : compute and export film grain seed

    17 août 2021, par Niklas Haas
    avcodec/h264_slice : compute and export film grain seed
    

    From SMPTE RDD 5-2006, the grain seed is to be computed from the
    following definition of `pic_offset` :

    > When decoding H.264 | MPEG-4 AVC bitstreams, pic_offset is defined as
    > follows :
    > - pic_offset = PicOrderCnt(CurrPic) + (PicOrderCnt_offset << 5)
    > where :
    > - PicOrderCnt(CurrPic) is the picture order count of the current frame,
    > which shall be derived from [the video stream].
    >
    > - PicOrderCnt_offset is set to idr_pic_id on IDR frames. idr_pic_id
    > shall be read from the slice header of [the video stream]. On non-IDR I
    > frames, PicOrderCnt_offset is set to 0. A frame shall be classified as I
    > frame when all its slices are I slices, which may be optionally
    > designated by setting primary_pic_type to 0 in the access delimiter NAL
    > unit. Otherwise, PicOrderCnt_offset it not changed. PicOrderCnt_offset is
    > updated in decoding order.

    Co-authored-by : James Almer <jamrial@gmail.com>
    Signed-off-by : Niklas Haas <git@haasn.dev>
    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavcodec/h264_slice.c
    • [DH] libavcodec/h264dec.c
    • [DH] libavcodec/h264dec.h
    • [DH] libavutil/film_grain_params.h
  • FFmpeg command works locally but not on Azure Batch Service

    10 août 2018, par Elgert

    I have a command that generates a video with background and text on it with FFmpeg and would like to render it using Azure Batch Service. Locally my command works :

    ./ffmpeg -f lavfi -i color=c=green:s=854x480:d=7 -vf "[in]drawtext=fontsize=46:fontcolor=White:text=dfdhjf dhjf dhjfh djfh djfh:x=(w-text_w)/2:y=((h-text_h)/2)-48,drawtext=fontsize=46:fontcolor=White:text= djfh djfh djfh djfh djf jdhfdjf hjdfh djfh jd fhdj:x=(w-text_w)/2:y=(h-text_h)/2,drawtext=fontsize=46:fontcolor=White:text=fh:x=(w-text_w)/2:y=((h-text_h)/2)+48[out]" -y StoryA.mp4

    while the one generated programatically with C# and added as a task in batch service retursn failure :

    cmd /c %AZ_BATCH_APP_PACKAGE_ffmpeg#3.4%\ffmpeg-3.4-win64-static\bin\ffmpeg -f lavfi -i color=c=green:s=854x480:d=7 -vf "[in]drawtext=fontsize=46:fontcolor=White:text=dfdhjf dhjf dhjfh djfh djfh:x=(w-text_w)/2:y=((h-text_h)/2)-48,drawtext=fontsize=46:fontcolor=White:text= djfh djfh djfh djfh djf jdhfdjf hjdfh djfh jd fhdj:x=(w-text_w)/2:y=(h-text_h)/2,drawtext=fontsize=46:fontcolor=White:text=fh:x=(w-text_w)/2:y=((h-text_h)/2)+48[out]" -y StoryA.mp4

    The ffmpeg configuration works, and also the Pool as I’ve already tested it with simpler ffmpeg commands which had input and output files. This command doesnt have input file, maybe that is part of the problem ?

    Thank you

  • Révision 19284 : A prtir du moment ou le procure désigne bien une version donnée du service, on u...

    22 avril 2012, par Eric Lupinacci