Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (51)

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

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

  • avformat/mxfenc : Write Mastering Display Colour Volume to MXF

    9 septembre 2020, par Harry Mallon
    avformat/mxfenc : Write Mastering Display Colour Volume to MXF
    

    Described in Annex B SMPTE ST 2067-21:2020

    Signed-off-by : Harry Mallon <harry.mallon@codex.online>

    • [DH] libavformat/mxfenc.c
  • FFmpeg trim filter fails to use sexagisimal time specification and the output stream is empty. Is it a bug and is there a fix ?

    29 novembre 2020, par Link-akro

    With ffmpeg the trim filter (or its audio variant atrim) malfunctions whenever i try to write a sexagesimal time specification for the boundaries or duration parameters of the filter : the result is always an empty stream.

    &#xA;

    According to the documentation i already linked, which was generated on November 26, 2020 so far, the time duration specification should be supported.

    &#xA;

    &#xA;

    start, end, and duration are expressed as time duration specifications

    &#xA;

    &#xA;

    Quote of the spec.

    &#xA;

    &#xA;

    [-][HH :]MM:SS[.m...]

    &#xA;

    &#xA;

    &#xA;

    [-]S+[.m...][s|ms|us]

    &#xA;

    &#xA;

    I am working in a Windows_10-64bit and scripting in its CMD.exe command-line, should it matter.

    &#xA;

    Here is an instance of trimming a video stream out of a media file with hardcoded value for simplicity. The audio is retained unless i use atrim as well.&#xA;We may or may not append the setpts filter as recommended in the documentation henceforth setpts=PTS-STARTPTS if we want to shift the stream to start at the beginning of the cut range.

    &#xA;

        ffmpeg -i sample-counter.mp4 -vf "trim=start=start=&#x27;1:2&#x27;:end=&#x27;1:5&#x27;" sample-counter-trimmed.mp4&#xA;

    &#xA;

    If i use decimal it works as intended.

    &#xA;

        ffmpeg -i sample-counter.mp4 -vf "trim=start=start=&#x27;2&#x27;:end=&#x27;5&#x27;" sample-counter-trimmed.mp4&#xA;

    &#xA;

    This is the banner of my ffmpeg build. We may see it is the latest build by gyan.dev at the moment i post this.

    &#xA;

        ffmpeg version 4.3.1-2020-11-19-full_build-www.gyan.dev Copyright (c) 2000-2020 the FFmpeg developers&#xA;      built with gcc 10.2.0 (Rev5, Built by MSYS2 project)&#xA;      configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint&#xA;

    &#xA;

    The incorrect stream is always reported as 0kB weight in the output of ffmpeg. I confirmed with ffprobe Movie_Countdown-trim-2-5.mov -show_streams -show_entries format=duration that the incorrect stream is duration zero.

    &#xA;

    Should i report it as a bug ? Is there some correction or workaround ?

    &#xA;

    I would rather a solution with the trim filter itself, but if not possible a CMD batch scripting.&#xA;We should not need a different filter like select or seeking option like there are tutorials and questions/answers everywhere already. Scripting would be straight-forward in a proper *nix shell+distrib and taught everywhere so it is not worth caring while CMD answers on the other hand are rare so a scripting workaround for CMD would have some microcosmic worth since making one is considerably less straight-forward than a shell with modern mathematics and parsing abilities built-in or packaged.

    &#xA;

  • How to embed an MP4 inside a PDF ?

    19 août 2020, par malat

    I am a happy user of img2pdf. This tool does the minimal amount of work to put a series of JPEG 2000/JPEG/PNG images into a PDF "enveloppe". However I am now faced with a new challenge : embed a MP4 file into a PDF "enveloppe".

    &#xA;

    I see that commercial tool can do it, as seen at :

    &#xA;

    &#xA;

    Here is one such sample PDF file (no Flash required on windows in this sample) :

    &#xA;

    &#xA;

    It seems to have been introduced in ISO 32000-1 (PDF 1.7 Extension Level 5)

    &#xA;

    I am looking for a solution which will use the Rich Media annotation inside the PDF stream.

    &#xA;

    There are dozen of duplicated questions on superuser/stackoverflow, which all pretty much refer to imagemagick/convert command line tool. But in my case, convert expand the images into a multi-page PDF (which is not my desired behavior) :

    &#xA;

    $ convert input.mp4 output.pdf&#xA;$ pdfinfo output.pdf &#xA;Title:          out&#xA;Producer:       https://imagemagick.org&#xA;CreationDate:   Wed Aug 19 15:38:01 2020 CEST&#xA;ModDate:        Wed Aug 19 15:38:01 2020 CEST&#xA;Tagged:         no&#xA;UserProperties: no&#xA;Suspects:       no&#xA;Form:           none&#xA;JavaScript:     no&#xA;Pages:          1601&#xA;Encrypted:      no&#xA;Page size:      352 x 288 pts&#xA;Page rot:       0&#xA;File size:      534407296 bytes&#xA;Optimized:      no&#xA;PDF version:    1.3&#xA;

    &#xA;

    with :

    &#xA;

    $ convert --version&#xA;Version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org&#xA;Copyright: &#xA9; 1999-2019 ImageMagick Studio LLC&#xA;License: https://imagemagick.org/script/license.php&#xA;Features: Cipher DPC Modules OpenMP &#xA;Delegates (built-in): bzlib djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png tiff webp wmf x xml zlib&#xA;

    &#xA;

    and

    &#xA;

    $ file input.mp4 &#xA;input.mp4: ISO Media, MP4 Base Media v1 [IS0 14496-12:2003]&#xA;$ ffprobe -v quiet -print_format json  -show_streams input.mp4 | grep codec_long_name&#xA;            "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",&#xA;

    &#xA;