Recherche avancée

Médias (0)

Mot : - Tags -/interaction

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (27)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (3243)

  • Cannot encode vp9 video with alpha to ivf container

    28 juillet 2022, par Jakob Košir

    I'm trying to convert a vp8/webm video with transparency to vp9 and ivf container. I can encode the video to vp9 into webm container with the following command which correctly produces a vp9 video with transparency :

    


    ffmpeg -c:v libvpx -i dancer1.webm -c:v libvpx-vp9 dancer_vp9.webm


    


    So basically forcing libvpx encoders instead of ffmpeg native ones to support alpha.

    


    However if I try to use ivf container instead of webm the resulting video does not have transparency :

    


    ffmpeg -c:v libvpx -i dancer1.webm -c:v libvpx-vp9 dancer_vp9.ivf


    


    Does not have transparency when played with VLC, when converting frames to PNG using ffmpeg (ffmpeg -c:v libvpx-vp9 -i dancer_vp9.ivf -vf "select=eq(n\,0)" frame.png) and when played in Chrome (using webcodecs API). Does ivf not support alpha channel somehow or am I doing something wrong ?

    


    I also tried copying the stream with alpha from webm container to ivf (ffmpeg -i dancer1_vp9.webm -c copy dancer1_vp9_copy.ivf) which produces the same result, no transparency.

    


    Curiously if I force or don't force libvpx decoder (which is required to support transparency, ffmpeg native one seems to just discard the alpha channel) when reading vp8/vp9 webm video it produces the same result when outputting to ivf container, while when outputting to webm container the resulting video has alpha when using libvpx decoder and not when using native ffmepg decoder.

    


    ffprobe output of created ivf file :

    


    ffprobe version 5.0.1 Copyright (c) 2007-2022 the FFmpeg developers
  built with Apple clang version 13.1.6 (clang-1316.0.21.2.5)
  configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/5.0.1_3 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-neon
  libavutil      57. 17.100 / 57. 17.100
  libavcodec     59. 18.100 / 59. 18.100
  libavformat    59. 16.100 / 59. 16.100
  libavdevice    59.  4.100 / 59.  4.100
  libavfilter     8. 24.100 /  8. 24.100
  libswscale      6.  4.100 /  6.  4.100
  libswresample   4.  3.100 /  4.  3.100
  libpostproc    56.  3.100 / 56.  3.100
Input #0, ivf, from 'dancer_vp9.ivf':
  Duration: 00:01:02.87, start: 0.000000, bitrate: 249 kb/s
  Stream #0:0: Video: vp9 (Profile 0) (VP90 / 0x30395056), yuv420p(tv), 640x360, 30 tbr, 30 tbn


    


  • get specific metadata with ffprobe

    1er mai, par mikem

    I'm having a terrible time getting one single line of metadata from ffprobe.

    


    I'm running this command :

    


    


    ffprobe -show_entries 'stream_tags :
format_tags=com.apple.quicktime.creationdate' -loglevel error
IMG_9931.MOV

    


    


    And I get this output

    


    


    [STREAM]

    


    TAG:creation_time=2022-05-14T20:24:55.000000Z

    


    TAG:language=und

    


    TAG:handler_name=Core Media Video

    


    TAG:encoder=H.264

    


    [/STREAM]

    


    [STREAM]

    


    TAG:creation_time=2022-05-14T20:24:55.000000Z

    


    TAG:language=und

    


    TAG:handler_name=Core Media Audio

    


    [/STREAM]

    


    [STREAM]

    


    TAG:creation_time=2022-05-14T20:24:55.000000Z

    


    TAG:language=und

    


    TAG:handler_name=Core Media Metadata

    


    [/STREAM]

    


    [STREAM]

    


    TAG:creation_time=2022-05-14T20:24:55.000000Z

    


    TAG:language=und

    


    TAG:handler_name=Core Media Metadata

    


    [/STREAM]

    


    [STREAM]

    


    TAG:creation_time=2022-05-14T20:24:55.000000Z

    


    TAG:language=und

    


    TAG:handler_name=Core Media Metadata

    


    [/STREAM]

    


    [FORMAT]

    


    TAG:com.apple.quicktime.creationdate=2022-05-14T16:24:55-0400

    


    [/FORMAT]

    


    


    But the only thing I want returned is

    


    


    com.apple.quicktime.creationdate=2022-05-14T16:24:55-0400

    


    


    I've searched and searched but I can't find any examples of pulling a single specific value of metadata.

    


    In actuality, I really just want the value of com.apple.quicktime.creationdate... ie "2022-05-14T16:24:55-0400"

    


    I know I can grep and awk my way through it, but it seems like there should be a way to do it with ffprobe alone given all of the options it has. I just can't figure out how.

    


    How can I do this ? Any help would be appreciated.

    


  • How Can I Copy Encoder and Metadata from Another Video

    27 juillet 2022, par Alper Can

    I have a video, generated with Opencv.
I want make video metadata and encoder settings like another video. How can I make it ?

    


    My video :
    
ffmpeg output :

    


    


    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output/fixed.mp4' :
    
Metadata :
    
compatible_brands : isommp42
    
major_brand : mp42
    
minor_version : 0
    
creation_time : 2022-03-03T19:12:13.000000Z
    
com.android.version : 11
    
encoder : Lavf59.16.100
    
Duration : 00:00:06.00, start : 0.000000, bitrate : 6683 kb/s
    
Stream #0:00x1 : Video : h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(progressive), 640x480 [SAR 1:1 DAR 4:3], 6681 kb/s, 30.03 fps, 30.03 tbr, 30030 tbn (default)
    
Metadata :
    
creation_time : 2022-03-03T19:12:13.000000Z
    
handler_name : VideoHandler
    
vendor_id : [0][0][0][0]
    
Side data :
    
displaymatrix : rotation of 90.00 degrees

    


    


    Media Info output :

    


    


    General
    
Complete name : fixed.mp4
    
Format : MPEG-4
    
Format profile : Base Media
    
Codec ID : isom (isom/iso2/avc1/mp41)
    
File size : 4.78 MiB
    
Duration : 5 s 995 ms
    
Overall bit rate : 6 683 kb/s
    
Encoded date : UTC 2022-03-03 19:12:13
    
Tagged date : UTC 2022-03-03 19:12:13
    

    
Video
    
ID : 1
    
Format : AVC
    
Format/Info : Advanced Video Codec
    
Format profile : Baseline@L3
    
Format settings : 1 Ref Frames
    
Format settings, CABAC : No
    
Format settings, Reference frames : 1 frame
    
Codec ID : avc1
    
Codec ID/Info : Advanced Video Coding
    
Duration : 5 s 995 ms
    
Bit rate : 6 682 kb/s
    
Width : 640 pixels
    
Height : 480 pixels
    
Display aspect ratio : 4:3
    
Rotation : 270°
    
Frame rate mode : Constant
    
Frame rate : 30.000 FPS
    
Color space : YUV
    
Chroma subsampling : 4:2:0
    
Bit depth : 8 bits
    
Scan type : Progressive
    
Bits/(Pixel*Frame) : 0.725
    
Stream size : 4.77 MiB (100%)
    
Encoded date : UTC 2022-03-03 19:12:13
    
Tagged date : UTC 2022-03-03 19:12:13
    
Codec configuration box : avcC

    


    


    I want change it like this :
    
ffmpeg output :

    


    


    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output/source_encoder/video.mp4' :
    
Metadata :
    
major_brand : mp42
    
minor_version : 0
    
compatible_brands : isommp42
    
creation_time : 2022-03-03T19:12:13.000000Z
    
com.android.version : 11
    
Duration : 00:00:04.83, start : 0.000000, bitrate : 1020 kb/s
    
Stream #0:00x1 : Video : h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 640x480, 1016 kb/s, SAR 1:1 DAR 4:3, 30.03 fps, 30 tbr, 90k tbn (default)
    
Metadata :
    
creation_time : 2022-03-03T19:12:13.000000Z
    
handler_name : VideoHandle
    
vendor_id : [0][0][0][0]
    
Side data :
    
displaymatrix : rotation of 90.00 degrees

    


    


    Media Info Output :

    


    


    General
    
Complete name : source_encoder/video.mp4
    
Format : MPEG-4
    
Format profile : Base Media / Version 2
    
Codec ID : mp42 (isom/mp42)
    
File size : 601 KiB
    
Duration : 4 s 828 ms
    
Overall bit rate : 1 020 kb/s
    
Encoded date : UTC 2022-03-03 19:12:13
    
Tagged date : UTC 2022-03-03 19:12:13
    
com.android.version : 11
    

    
Video
    
ID : 1
    
Format : AVC
    
Format/Info : Advanced Video Codec
    
Format profile : High@L3
    
Format settings : CABAC / 1 Ref Frames
    
Format settings, CABAC : Yes
    
Format settings, Reference frames : 1 frame
    
Format settings, GOP : M=1, N=30
    
Codec ID : avc1
    
Codec ID/Info : Advanced Video Coding
    
Duration : 4 s 828 ms
    
Bit rate : 1 016 kb/s
    
Width : 640 pixels
    
Height : 480 pixels
    
Display aspect ratio : 4:3
    
Rotation : 270°
    
Frame rate mode : Variable
    
Frame rate : 30.000 FPS
    
Minimum frame rate : 30.000 FPS
    
Maximum frame rate : 30.060 FPS
    
Color space : YUV
    
Chroma subsampling : 4:2:0
    
Bit depth : 8 bits
    
Scan type : Progressive
    
Bits/(Pixel*Frame) : 0.110
    
Stream size : 599 KiB (100%)
    
Title : VideoHandle
    
Language : English
    
Encoded date : UTC 2022-03-03 19:12:13
    
Tagged date : UTC 2022-03-03 19:12:13
    
Color range : Limited
    
Color primaries : BT.709
    
Transfer characteristics : BT.709
    
Matrix coefficients : BT.709
    
mdhd_Duration : 4828
    
Codec configuration box : avcC