Recherche avancée

Médias (3)

Mot : - Tags -/Valkaama

Autres articles (13)

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

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

Sur d’autres sites (3220)

  • ffmpeg/avconv mp4 to webm libvorbis buffer overflow

    4 janvier 2013, par Halsafar

    Trying to convert a bunch of mp4 files into webm. So I run the following command. I tried a similar command with ffmpeg.

    avconv -i input.mp4 -threads 8 -s 1280x720 -pre libvpx-720p -b 3900k -pass 2 -acodec libvorbis -b:a 128k -ac 2 -f webm -y output/webm

    Results in :

       Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2mp41
       creation_time   : 1970-01-01 00:00:00
       encoder         : Lavf52.32.0
     Duration: 00:01:02.90, start: 0.000000, bitrate: 1649 kb/s
       Stream #0.0(und): Video: mpeg4 (Simple Profile), yuv420p, 640x480 [PAR 4:3 DAR 16:9], 1492 kb/s, PAR 853:640 DAR 853:480, 23.94 fps, 30 tbr, 30 tbn, 30 tbc
       Metadata:
         creation_time   : 1970-01-01 00:00:00
       Stream #0.1(und): Audio: aac, 44100 Hz, stereo, s16, 152 kb/s
       Metadata:
         creation_time   : 1970-01-01 00:00:00
    [buffer @ 0x1232600] w:640 h:480 pixfmt:yuv420p
    [scale @ 0x123c300] w:640 h:480 fmt:yuv420p -> w:1280 h:720 fmt:yuv420p flags:0x4
    [libvpx @ 0x1256d60] v1.0.0
    Output #0, webm, to 'output.webm':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2mp41
       creation_time   : 1970-01-01 00:00:00
       encoder         : Lavf53.21.0
       Stream #0.0(und): Video: libvpx, yuv420p, 1280x720 [PAR 2559:2560 DAR 853:480], q=11-51, pass 2, 3900 kb/s, 1k tbn, 30 tbc
       Metadata:
         creation_time   : 1970-01-01 00:00:00
       Stream #0.1(und): Audio: libvorbis, 44100 Hz, stereo, s16, 152 kb/s
       Metadata:
         creation_time   : 1970-01-01 00:00:00
    Stream mapping:
     Stream #0:0 -> #0:0 (mpeg4 -> libvpx)
     Stream #0:1 -> #0:1 (aac -> libvorbis)
    Press ctrl-c to stop encoding
    [libvorbis @ 0x1221240] libvorbis: buffer overflow.Audio encoding failed

    Notice the nice error. buffer overflow in libvorbis.

    Any assistance ? An Alternative conversion command ?

    UPDATE

    The first pass looks like this :

    avconv -i input.mp4 -threads 8 -s 1280x720 -pre libvpx-720p -b 3900k -pass 1 -an -f webm -y output.webm

    Thanks !

  • ffmpeg Too many bits per frame requested

    18 novembre 2016, par GRaecuS

    I am using ffmpeg to convert videos to mp4 format. Everything works fine except with MOV format.

    The command I use for everything is :

    ffmpeg -i input.mov -strict experimental -sameq -s vga -aspect 1.7777 -vcodec libx264 -preset fast -crf 22 -y output.mp4

    but the output I keep getting is :

    ffmpeg version 0.9, Copyright (c) 2000-2011 the FFmpeg developers
    built on Mar 12 2012 11:01:05 with gcc 4.4.5
    configuration: --enable-libx264 --enable-gpl --disable-yasm
     libavutil    51. 32. 0 / 51. 32. 0
     libavcodec   53. 42. 0 / 53. 42. 0
     libavformat  53. 24. 0 / 53. 24. 0
     libavdevice  53.  4. 0 / 53.  4. 0
     libavfilter   2. 53. 0 /  2. 53. 0
     libswscale    2.  1. 0 /  2.  1. 0
     libpostproc  51.  2. 0 / 51.  2. 0
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x21767a0] Referenced QT chapter track not found

    Seems stream 0 codec frame rate differs from container frame rate: 30.00 (30/1) -> 30.07 (2225/74)
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mov':
     Metadata:
       creation_time   : 2009-04-04 07:12:29
       comment         : EASTMAN KODAK COMPANY  KODAK Z1275 ZOOM DIGITAL CAMERA
       comment-eng     : EASTMAN KODAK COMPANY  KODAK Z1275 ZOOM DIGITAL CAMERA
     Duration: 00:00:17.76, start: 0.000000, bitrate: 8100 kb/s
       Stream #0:0(eng): Video: mpeg4 (Advanced Simple Profile) (mp4v / 0x7634706D), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 7968 kb/s, 30.07 fps, 30.07 tbr, 8544k tbn, 30 tbc
       Metadata:
         creation_time   : 2009-04-04 07:12:29
         handler_name    :
       Stream #0:1(eng): Audio: pcm_mulaw (ulaw / 0x77616C75), 16000 Hz, 1 channels, s16, 128 kb/s
       Metadata:
         creation_time   : 2009-04-04 07:12:29
         handler_name    :
    [buffer @ 0x2187f00] w:1280 h:720 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
    [scale @ 0x219c120] w:1280 h:720 fmt:yuv420p -> w:640 h:480 fmt:yuv420p flags:0x4
    [libx264 @ 0x2190d20] using SAR=4/3
    [libx264 @ 0x2190d20] using cpu capabilities: none!
    [libx264 @ 0x2190d20] profile High, level 3.0
    [libx264 @ 0x2190d20] 264 - core 120 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=2 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=6 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=30 rc=crf mbtree=1 crf=22.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    [aac @ 0x21917e0] Too many bits per frame requested
    Output #0, mp4, to 'output.mp4':
     Metadata:
       creation_time   : 2009-04-04 07:12:29
       comment         : EASTMAN KODAK COMPANY  KODAK Z1275 ZOOM DIGITAL CAMERA
       comment-eng     : EASTMAN KODAK COMPANY  KODAK Z1275 ZOOM DIGITAL CAMERA
       Stream #0:0(eng): Video: h264, yuv420p, 640x480 [SAR 4:3 DAR 16:9], q=-1--1, 90k tbn, 30.07 tbc
       Metadata:
         creation_time   : 2009-04-04 07:12:29
         handler_name    :
       Stream #0:1(eng): Audio: aac, 16000 Hz, 1 channels, s16, 128 kb/s
       Metadata:
         creation_time   : 2009-04-04 07:12:29
         handler_name    :
    Stream mapping:
     Stream #0:0 -> #0:0 (mpeg4 -> libx264)
     Stream #0:1 -> #0:1 (pcm_mulaw -> aac)
    Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height

    It seems the problem is with audio’s bit per frame.
    Which might be the right solution ?

  • Merge commit ’eeaf4f3b87815cbae4c12856cfaafb3a2dae8e0c’

    5 mars 2014, par Michael Niedermayer
    Merge commit ’eeaf4f3b87815cbae4c12856cfaafb3a2dae8e0c’
    

    * commit ’eeaf4f3b87815cbae4c12856cfaafb3a2dae8e0c’ :
    av_vdpau_get_profile : mask out H.264 intra profile flag

    Merged-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/vdpau.c