Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (27)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

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

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (4332)

  • Mozilla Firefox 36 has problems playing my h264 MP4 files

    11 juin 2015, par Wolfgang Pürstner

    I try to convert videos with ffmpeg to mp4 format (h264) Profile : High Level : 3.1 (1280x720 with 30fps), Bitrate 1500k

    The video plays very well in every browser except in Firefox.

    http://5.79.72.89/trailer/trailer.mp4

    At first it needs longer to load and when I seek inside the video most times the video don’t stop to load and never plays again.
    I can see a lot of partial downloads in the developer console. A lot of them are for the initial play and the rest of the requests are during the video load when I seek to a later position.

    enter image description here

    When I play other h264 Videos (MP4 with similar settings) they play without problems on this server.
    And when I put my video on another webserver (apache) there are the same problems with Firefox.

    For this reason I believe it has to do something with me my conversion.

    My settings :
    Debian 7 (wheezy)
    Webserver : nginx (with 260k bandwidth limit)

    I started converting videos with avconv and switched to ffmpeg because of this problems. But there was no success.
    Meanwhile I tried all options for encoding but there are always the same problems with Firefox. Other videos play well but not mines and I don’t know why.

    Command :

    ffmpeg -i input.mp4 -tune zerolatency -x264opts bitrate=1500:vbv-maxrate=1500:vbv-bufsize=3000:nal-hrd=vbr -codec:v libx264 -profile:v high -level 3.1 -movflags +faststart -pix_fmt yuv420p  -s 1280x720 -r 30 -ac 2 -ar 48000 -codec:a aac -ab 64k -strict experimental -y trailer.mp4
    
    ffmpeg 1.0.10
    libavutil      51. 73.101 / 51. 73.101
    libavcodec     54. 59.100 / 54. 59.100
    libavformat    54. 29.104 / 54. 29.104
    libavdevice    54.  2.101 / 54.  2.101
    libavfilter     3. 17.100 /  3. 17.100
    libswscale      2.  1.101 /  2.  1.101
    libswresample   0. 15.100 /  0. 15.100
    libpostproc    52.  0.100 / 52.  0.100
    

    Mediainfo of the file : trailer.mp4

    General
    Complete name : trailer.mp4
    Format : MPEG-4
    Format profile : Base Media
    Codec ID : isom
    File size : 115 MiB
    Duration : 10mn 34s
    Overall bit rate : 1 516 Kbps
    Movie name : Big Buck Bunny, Sunflower version
    Performer : Blender Foundation 2008, Janus Bager Kristensen 2013
    Composer : Sacha Goedegebure
    Genre : Animation
    Writing application : Lavf54.29.104
    Comment : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net
    

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L3.1
    Format settings, CABAC : Yes
    Format settings, ReFrames : 4 frames
    Codec ID : avc1
    Codec ID/Info : Advanced Video Coding
    Duration : 10mn 34s
    Bit rate : 1 500 Kbps
    Width : 1 920 pixels
    Height : 1 080 pixels
    Display aspect ratio : 16:9
    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.024
    Stream size : 109 MiB (95%)
    Writing library : x264 core 132
    Encoding settings : cabac=1 / ref=4 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / 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 / lookahead_threads=2 / 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=2 / keyint=50 / keyint_min=5 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=cbr / mbtree=1 / bitrate=1500 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=1500 / vbv_bufsize=3000 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00

    Audio
    ID : 2
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format profile : LC
    Codec ID : 40
    Duration : 10mn 34s
    Duration_LastFrame : -11ms
    Bit rate mode : Constant
    Bit rate : 64.2 Kbps
    Channel(s) : 2 channels
    Channel positions : Front : L R
    Sampling rate : 48.0 KHz
    Compression mode : Lossy
    Delay relative to video : -2ms
    Stream size : 4.85 MiB (4%)

    I don’t know what is wrong with my files.

    Update 2015-03-12 :

    If I convert the video without audio stream there is no problem with firefox anymore.

    I updated ffmpeg to 2.6. I used libfaac, aac and libfdk_aac for audio encoding with cbr and vbr but without success.

  • Evolution #2798 : Notification mise à jour SPIP

    9 avril 2015, par b b

    Et hop, voici le patch à jour avec la proposition de Cedric.

    Reste à améliorer le lien. Je pense qu’on pourrait mettre en place sur spip.net une page dont le fonctionnement serait similaire à celle des téléchargements avec une url comme http://www.spip.net/fr_update

    Pour cela, il faut créer un article en fr (pour commencer) qui reprend les propositions de Nicolas par ici :

    http://www.spip.net/ecrire/?exec=rubrique&id_rubrique=151

    Puis modifier le squelette pour qu’il prenne en charge l’url /xx_update par ici :

    http://zone.spip.org/trac/spip-zone/browser/_galaxie_/www.spip.net/squelettes/branches/2008/urls/trad.php#L8

    Ça vous semble convenable ? gogogo ?

  • ffmpeg convert any file to any file

    28 mai 2015, par Vishnu

    I Want simple command to convert any supported file to any file with little possible video compression.

    for example

    avi to mp4
    mp4 to 3gp
    .
    .etc..

    I tried below code

    ffmpeg -i infile.flv outfile.3gp

    It works for some but for some other like flv to 3gp conversion it throws error like below and also output file size is very large than input.

    "Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height"

    P:s i compiled with below librareis

    ./configure --enable-version3 --enable-libopencore-amrnb --enable-libvo-aacenc --enable-libopencore-amrwb --enable-libvpx --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-gpl --enable-postproc --enable-nonfree

    full response

    array(48) {
     [0]=>
     string(77) "ffmpeg version N-72286-gd9b264b Copyright (c) 2000-2015 the FFmpeg developers"
     [1]=>
     string(56) "  built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-11)"
     [2]=>
     string(261) "  configuration: --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-gpl --enable-postproc --enable-nonfree"
     [3]=>
     string(40) "  libavutil      54. 23.101 / 54. 23.101"
     [4]=>
     string(40) "  libavcodec     56. 39.101 / 56. 39.101"
     [5]=>
     string(40) "  libavformat    56. 33.101 / 56. 33.101"
     [6]=>
     string(40) "  libavdevice    56.  4.100 / 56.  4.100"
     [7]=>
     string(40) "  libavfilter     5. 16.101 /  5. 16.101"
     [8]=>
     string(40) "  libswscale      3.  1.101 /  3.  1.101"
     [9]=>
     string(40) "  libswresample   1.  1.100 /  1.  1.100"
     [10]=>
     string(40) "  libpostproc    53.  3.100 / 53.  3.100"
     [11]=>
     string(32) "Input #0, flv, from 'video.flv':"
     [12]=>
     string(11) "  Metadata:"
     [13]=>
     string(25) "    major_brand     : M4V"
     [14]=>
     string(23) "    minor_version   : 1"
     [15]=>
     string(39) "    compatible_brands: M4V M4A mp42isom"
     [16]=>
     string(26) "    date            : 2008"
     [17]=>
     string(71) "    copyright       : © 2008 Blender Foundation | www.bigbuckbunny.org"
     [18]=>
     string(36) "    title           : Big Buck Bunny"
     [19]=>
     string(43) "    artist          : Peach Open Movie Team"
     [20]=>
     string(56) "    composer        : Sacha Goedegebure / Ton Roosendaal"
     [21]=>
     string(35) "    encoder         : Lavf55.33.100"
     [22]=>
     string(59) "  Duration: 00:09:56.58, start: 0.058000, bitrate: 663 kb/s"
     [23]=>
     string(88) "    Stream #0:0: Video: h264 (High), yuv420p, 640x360, 24.42 fps, 24 tbr, 1k tbn, 48 tbc"
     [24]=>
     string(61) "    Stream #0:1: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s"
     [25]=>
     string(90) "[h263 @ 0x1ef5f60] The specified picture size of 640x360 is not valid for the H.263 codec."
     [26]=>
     string(77) "Valid sizes are 128x96, 176x144, 352x288, 704x576, and 1408x1152. Try H.263+."
     [27]=>
     string(33) "Output #0, 3gp, to 'outfile.3gp':"
     [28]=>
     string(11) "  Metadata:"
     [29]=>
     string(25) "    major_brand     : M4V"
     [30]=>
     string(23) "    minor_version   : 1"
     [31]=>
     string(39) "    compatible_brands: M4V M4A mp42isom"
     [32]=>
     string(26) "    date            : 2008"
     [33]=>
     string(71) "    copyright       : © 2008 Blender Foundation | www.bigbuckbunny.org"
     [34]=>
     string(36) "    title           : Big Buck Bunny"
     [35]=>
     string(43) "    artist          : Peach Open Movie Team"
     [36]=>
     string(56) "    composer        : Sacha Goedegebure / Ton Roosendaal"
     [37]=>
     string(35) "    encoder         : Lavf55.33.100"
     [38]=>
     string(60) "    Stream #0:0: Video: h263, none, q=2-31, 128 kb/s, 24 fps"
     [39]=>
     string(13) "    Metadata:"
     [40]=>
     string(42) "      encoder         : Lavc56.39.101 h263"
     [41]=>
     string(52) "    Stream #0:1: Audio: amr_nb, 0 channels, 128 kb/s"
     [42]=>
     string(13) "    Metadata:"
     [43]=>
     string(55) "      encoder         : Lavc56.39.101 libopencore_amrnb"
     [44]=>
     string(15) "Stream mapping:"
     [45]=>
     string(54) "  Stream #0:0 -> #0:0 (h264 (native) -> h263 (native))"
     [46]=>
     string(66) "  Stream #0:1 -> #0:1 (mp3 (native) -> amr_nb (libopencore_amrnb))"
     [47]=>
     string(119) "Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height"
    }