Recherche avancée

Médias (10)

Mot : - Tags -/wav

Autres articles (72)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

Sur d’autres sites (7641)

  • Matching a specific media format with ffmpeg/avconv

    5 mai 2020, par Markus A.

    I need to encode a video from static images in such a way that it format-matches another one so I can splice the video streams together.

    



    Here is the mediainfo of the file I'm trying to match :

    



    Video
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Baseline@L3.1
Format settings, CABAC                   : No
Format settings, ReFrames                : 1 frame
Codec ID                                 : 7
Duration                                 : 2mn 46s
Bit rate                                 : 1 614 Kbps
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Variable
Standard                                 : NTSC
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Stream size                              : 32.0 MiB (87%)
Color primaries                          : BT.601 PAL
Transfer characteristics                 : BT.601
Matrix coefficients                      : BT.601


    



    So far, what I have been able to come up with is the following :

    



    avconv -f image2 -framerate 1.2 -i loop_%d.tif -c:v libx264 -preset veryslow -profile:v baseline -level:v 31 -b:v 1614K -refs 1 loop.flv


    



    This gets me to :

    



    Video
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Baseline@L3.1
Format settings, CABAC                   : No
Format settings, ReFrames                : 1 frame
Codec ID                                 : 7
Duration                                 : 2s 917ms
Bit rate                                 : 1 614 Kbps
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 1.200 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 1.459
Stream size                              : 575 KiB
Writing library                          : x264 core 142 r2431 a5831aa
Encoding settings                        : cabac=0 / ref=1 / deblock=1:0:0 / analyse=0x1:0x131 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=250 / keyint_min=1 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=abr / mbtree=1 / bitrate=1614 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00


    



    Which, unfortunately, still isn't good enough as VLC Media Player crashes hard (just closes), logging main error: Failed to compensate for the format changes, removing all filters; main error: Failed to create video converter as soon as the stream splice occurs. I tried splicing another stream in that does have the exact same encoding, and it works fine. I'm also making sure to only splice on key-frames and I am including the NALU containing the AVCDecoderConfigRecord, so I'm pretty sure I'm not doing anything else wrong, especially since a couple other programs are fine with the splice. It's just VLC that expects an even closer match.

    



    Here are things I've tried :

    



      

    • Adding -vsync 2 to get variable frame rate mode. Doesn't change anything.
    • 


    • Adding -color_primaries bt470bg -color_trc gamma28 -colorspace bt470bg to try to get BT.601 PAL settings (several websites mentioned this). Doesn't change anything.
    • 


    • Adding -s ntsc to set the standard to NTSC. This also changes the resolution to 720x480 (not OK), and specifying -s 1280x720 in addition gets rid of the NTSC tag again.
    • 


    



    If anyone knows what flags I need to supply to get closer, that would be super-helpful ! The stream I'm trying to match is encoded on an Android device (it's a live-stream), so I'm assuming it is built using the standard Android MediaCoder framework, in case that helps.

    


  • avcodec/proresenc_anatoliy : support for more color matrix for proresenc

    5 novembre 2019, par Limin Wang
    avcodec/proresenc_anatoliy : support for more color matrix for proresenc
    

    Please tested with below command :
    ./ffmpeg -i ../fate-suite/mpeg2/t.mpg -c:v prores_aw -color_primaries bt2020 -colorspace bt2020_ncl -color_trc smpte2084 -an output.mov

    mediainfo outout.mov
    ...
    Color primaries : BT.2020
    Transfer characteristics : PQ
    Matrix coefficients : BT.2020 non-constant

    ./ffmpeg -i ../fate-suite/mpeg2/t.mpg -c:v prores_aw -color_primaries bt2020 -colorspace bt2020_ncl -color_trc arib-std-b67 -an output.mov
    mediainfo outout.mov
    ...
    Color primaries : BT.2020
    Transfer characteristics : HLG
    Matrix coefficients : BT.2020 non-constant

    Signed-off-by : Limin Wang <lance.lmwang@gmail.com>

    • [DH] libavcodec/proresenc_anatoliy.c
  • How to Write ffmpeg code according to video data

    26 avril 2020, par Tevfik
    Format                      : MPEG-4&#xA;Format profile              : Base Media / Version 2&#xA;Codec ID                    : mp42 (isom/mp42)&#xA;File size                   : 337 MiB&#xA;Duration                    : 1 h 23 min&#xA;Overall bit rate mode       : Variable&#xA;Overall bit rate            : 562 kb/s&#xA;Encoded date                : UTC 2020-04-23 00:22:37&#xA;Tagged date                 : UTC 2020-04-23 00:22:37&#xA;gsst                        : 0&#xA;gstd                        : 5034271&#xA;&#xA;Video&#xA;ID                          : 1&#xA;Format                      : AVC&#xA;Format/Info                 : Advanced Video Codec&#xA;Format profile              : Main@L3.1&#xA;Format settings             : CABAC / 3 Ref Frames&#xA;Format settings, CABAC      : Yes&#xA;Format settings, Reference  : 3 frames&#xA;Codec ID                    : avc1&#xA;Codec ID/Info               : Advanced Video Coding&#xA;Duration                    : 1 h 23 min&#xA;Bit rate                    : 431 kb/s&#xA;Width                       : 1 280 pixels&#xA;Height                      : 720 pixels&#xA;Display aspect ratio        : 16:9&#xA;Frame rate mode             : Constant&#xA;Frame rate                  : 23.976 (24000/1001) FPS&#xA;Color space                 : YUV&#xA;Chroma subsampling          : 4:2:0&#xA;Bit depth                   : 8 bits&#xA;Scan type                   : Progressive&#xA;Bits/(Pixel*Frame)          : 0.019&#xA;Stream size                 : 258 MiB (77%)&#xA;Title                       : ISO Media file produced by Google Inc. Created on: 04/22/2020.&#xA;Writing library             : x264 core 155 r2901 7d0ff22&#xA;Encoded date                : UTC 2020-04-23 00:22:37&#xA;Tagged date                 : UTC 2020-04-23 00:22:37&#xA;Color range                 : Limited&#xA;Color primaries             : BT.709&#xA;Transfer characteristics    : BT.709&#xA;Matrix coefficients         : BT.709&#xA;Codec configuration box     : avcC&#xA;&#xA;Audio&#xA;ID                          : 2&#xA;Format                      : AAC LC&#xA;Format/Info                 : Advanced Audio Codec Low Complexity&#xA;Codec ID                    : mp4a-40-2&#xA;Duration                    : 1 h 23 min&#xA;Bit rate mode               : Variable&#xA;Bit rate                    : 128 kb/s&#xA;Channel(s)                  : 2 channels&#xA;Channel layout              : L R&#xA;Sampling rate               : 44.1 kHz&#xA;Frame rate                  : 43.066 FPS (1024 SPF)&#xA;Compression mode            : Lossy&#xA;Stream size                 : 76.8 MiB (23%)&#xA;Title                       : ISO Media file produced by Google Inc. Created on: 04/22/2020.&#xA;Encoded date                : UTC 2020-04-23 00:22:37&#xA;Tagged date                 : UTC 2020-04-23 00:22:37&#xA;

    &#xA;&#xA;

    I have these information and I want to get same results with ffmpeg. What should I do ? What codes do I have to use ?

    &#xA;&#xA;

    Thanks in advance...

    &#xA;