Recherche avancée

Médias (91)

Autres articles (78)

  • Diogene : création de masques spécifiques de formulaires d’édition de contenus

    26 octobre 2010, par

    Diogene est un des plugins ? SPIP activé par défaut (extension) lors de l’initialisation de MediaSPIP.
    A quoi sert ce plugin
    Création de masques de formulaires
    Le plugin Diogène permet de créer des masques de formulaires spécifiques par secteur sur les trois objets spécifiques SPIP que sont : les articles ; les rubriques ; les sites
    Il permet ainsi de définir en fonction d’un secteur particulier, un masque de formulaire par objet, ajoutant ou enlevant ainsi des champs afin de rendre le formulaire (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Utilisation et configuration du script

    19 janvier 2011, par

    Informations spécifiques à la distribution Debian
    Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
    Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
    Récupération du script
    Le script d’installation peut être récupéré de deux manières différentes.
    Via svn en utilisant la commande pour récupérer le code source à jour :
    svn co (...)

Sur d’autres sites (5603)

  • ffmpeg how to add mkv to formats

    30 décembre 2015, par Mahmoud Saad

    hello after installing ffmpeg in my linux server with centos 6 after searching google i run ffmpeg -formats so i need to add mkv i know i will need to recompile ffmpeg but i do not know how to do it
    thank you

    File formats:
    D. = Demuxing supported
    .E = Muxing supported
    --
     E 3g2             3GP2 format
     E 3gp             3GP format
    D  4xm             4X Technologies format
    D  IFF             IFF format
    D  ISS             Funcom ISS format
    D  MTV             MTV format
    DE RoQ             raw id RoQ format
    D  aac             raw ADTS AAC
    DE ac3             raw AC-3
     E adts            ADTS AAC
    D  aea             MD STUDIO audio
    DE aiff            Audio IFF
    DE alaw            PCM A-law format
    DE alsa            ALSA audio output
    DE amr             3GPP AMR file format
    D  anm             Deluxe Paint Animation
    D  apc             CRYO APC format
    D  ape             Monkey's Audio
    DE asf             ASF format
     E asf_stream      ASF format
    DE ass             SSA/ASS format
    DE au              SUN AU format
    DE avi             AVI format
     E avm2            Flash 9 (AVM2) format
    D  avs             AVS format
    D  bethsoftvid     Bethesda Softworks VID format
    D  bfi             Brute Force & Ignorance
    D  bink            Bink
    D  c93             Interplay C93
    D  caf             Apple Core Audio Format
    D  cavsvideo       raw Chinese AVS video
    D  cdg             CD Graphics Format
     E crc             CRC testing format
    DE daud            D-Cinema audio format
    DE dirac           raw Dirac
    DE dnxhd           raw DNxHD (SMPTE VC-3)
    D  dsicin          Delphine Software International CIN format
    DE dts             raw DTS
    DE dv              DV video format
    D  dv1394          DV1394 A/V grab
     E dvd             MPEG-2 PS format (DVD VOB)
    D  dxa             DXA
    D  ea              Electronic Arts Multimedia Format
    D  ea_cdata        Electronic Arts cdata
    DE eac3            raw E-AC-3
    DE f32be           PCM 32 bit floating-point big-endian format
    DE f32le           PCM 32 bit floating-point little-endian format
    DE f64be           PCM 64 bit floating-point big-endian format
    DE f64le           PCM 64 bit floating-point little-endian format
    DE ffm             FFM (FFserver live feed) format
    D  film_cpk        Sega FILM/CPK format
    DE filmstrip       Adobe Filmstrip
    DE flac            raw FLAC
    D  flic            FLI/FLC/FLX animation format
    DE flv             FLV format
     E framecrc        framecrc testing format
     E gif             GIF Animation
    D  gsm             raw GSM
    DE gxf             GXF format
    DE h261            raw H.261
    DE h263            raw H.263
    DE h264            raw H.264 video format
    D  idcin           id Cinematic format
    DE image2          image2 sequence
    DE image2pipe      piped image2 sequence
    D  ingenient       raw Ingenient MJPEG
    D  ipmovie         Interplay MVE format
     E ipod            iPod H.264 MP4 format
    D  iv8             A format generated by IndigoVision 8000 video server
    D  libdc1394       dc1394 v.2 A/V grab
    D  lmlm4           lmlm4 raw format
    DE m4v             raw MPEG-4 video format
    DE matroska        Matroska file format
    DE mjpeg           raw MJPEG video
    DE mlp             raw MLP
    D  mm              American Laser Games MM format
    DE mmf             Yamaha SMAF
     E mov             MOV format
    D  mov,mp4,m4a,3gp,3g2,mj2 QuickTime/MPEG-4/Motion JPEG 2000 format
     E mp2             MPEG audio layer 2
    DE mp3             MPEG audio layer 3
     E mp4             MP4 format
    D  mpc             Musepack
    D  mpc8            Musepack SV8
    DE mpeg            MPEG-1 System format
     E mpeg1video      raw MPEG-1 video
     E mpeg2video      raw MPEG-2 video
    DE mpegts          MPEG-2 transport stream format
    D  mpegtsraw       MPEG-2 raw transport stream format
    D  mpegvideo       raw MPEG video
     E mpjpeg          MIME multipart JPEG format
    D  msnwctcp        MSN TCP Webcam stream
    DE mulaw           PCM mu-law format
    D  mvi             Motion Pixels MVI format
    DE mxf             Material eXchange Format
     E mxf_d10         Material eXchange Format, D-10 Mapping
    D  nc              NC camera feed format
    D  nsv             Nullsoft Streaming Video
     E null            raw null video format
    DE nut             NUT format
    D  nuv             NuppelVideo format
    DE ogg             Ogg
    D  oma             Sony OpenMG audio
    DE oss             Open Sound System playback
     E psp             PSP MP4 format
    D  psxstr          Sony Playstation STR format
    D  pva             TechnoTrend PVA file and stream format
    D  qcp             QCP format
    D  r3d             REDCODE R3D format
    DE rawvideo        raw video format
     E rcv             VC-1 test bitstream
    D  rl2             RL2 format
    DE rm              RealMedia format
    D  rpl             RPL/ARMovie format
     E rtp             RTP output format
    DE rtsp            RTSP output format
    DE s16be           PCM signed 16 bit big-endian format
    DE s16le           PCM signed 16 bit little-endian format
    DE s24be           PCM signed 24 bit big-endian format
    DE s24le           PCM signed 24 bit little-endian format
    DE s32be           PCM signed 32 bit big-endian format
    DE s32le           PCM signed 32 bit little-endian format
    DE s8              PCM signed 8 bit format
    D  sdp             SDP
    D  shn             raw Shorten
    D  siff            Beam Software SIFF
    D  smk             Smacker video
    D  sol             Sierra SOL format
    DE sox             SoX native format
     E spdif           IEC958 - S/PDIF (IEC-61937)
     E svcd            MPEG-2 PS format (VOB)
    DE swf             Flash format
    D  thp             THP
    D  tiertexseq      Tiertex Limited SEQ format
    D  tmv             8088flex TMV
    DE truehd          raw TrueHD
    D  tta             True Audio
    D  txd             Renderware TeXture Dictionary
    DE u16be           PCM unsigned 16 bit big-endian format
    DE u16le           PCM unsigned 16 bit little-endian format
    DE u24be           PCM unsigned 24 bit big-endian format
    DE u24le           PCM unsigned 24 bit little-endian format
    DE u32be           PCM unsigned 32 bit big-endian format
    DE u32le           PCM unsigned 32 bit little-endian format
    DE u8              PCM unsigned 8 bit format
    D  vc1             raw VC-1
    D  vc1test         VC-1 test bitstream format
     E vcd             MPEG-1 System format (VCD)
    D  video4linux     Video4Linux device grab
    D  video4linux2    Video4Linux2 device grab
    D  vmd             Sierra VMD format
     E vob             MPEG-2 PS format (VOB)
    DE voc             Creative Voice file format
    D  vqf             Nippon Telegraph and Telephone Corporation (NTT) TwinVQ
    D  w64             Sony Wave64 format
    DE wav             WAV format
    D  wc3movie        Wing Commander III movie format
     E webm            WebM file format
    D  wsaud           Westwood Studios audio format
    D  wsvqa           Westwood Studios VQA format
    D  wv              WavPack
    D  x11grab         X11grab
    D  xa              Maxis XA File Format
    D  yop             Psygnosis YOP Format
    DE yuv4mpegpipe    YUV4MPEG pipe format
  • More Cinepak Madness

    20 octobre 2011, par Multimedia Mike — Codec Technology

    Fellow digital archaeologist Clone2727 found a possible fifth variant of the Cinepak video codec. He asked me if I cared to investigate the sample. I assured him I wouldn’t be able to die a happy multimedia nerd unless I have cataloged all possible Cinepak variants known to exist in the wild. I’m sure there are chemistry nerds out there who are ecstatic when another element is added to the periodic table. Well, that’s me, except with weird multimedia formats.

    Background
    Cinepak is a video codec that saw widespread use in the early days of digital multimedia. To date, we have cataloged 4 variants of Cinepak in the wild. This distinction is useful when trying to write and maintain an all-in-one decoder. The variants are :

    1. The standard type : Most Cinepak data falls into this category. It decodes to a modified/simplified YUV 4:2:0 planar colorspace and is often seen in AVI and QuickTime/MOV files.
    2. 8-bit greyscale : Essentially the same as the standard type but with only a Y plane. This has only been identified in AVI files and is distinguished by the file header’s video bits/pixel field being set to 8 instead of 24.
    3. 8-bit paletted : Again, this is identified by the video header specifying 8 bits/pixel for a Cinepak stream. There is essentially only a Y plane in the data, however, each 8-bit value is a palette index. The palette is transported along with the video header. To date, only one known sample of this format has even been spotted in the wild, and it’s classified as NSFW. It is also a QuickTime/MOV file.
    4. Sega/FILM CPK data : Sega Saturn games often used CPK files which stored a variant of Cinepak that, while very close the standard Cinepak, couldn’t be decoded with standard decoder components.

    So, a flexible Cinepak decoder has to identify if the file’s video header specified 8 bits/pixel. How does it distinguish between greyscale and paletted ? If a file is paletted, a custom palette should have been included with the video header. Thus, if video bits/pixel is 8 and a palette is present, use paletted ; else, use greyscale. Beyond that, the Cinepak decoder has a heuristic to determine how to handle the standard type of data, which might deviate slightly if it comes from a Sega CPK file.

    The Fifth Variant ?
    Now, regarding this fifth variant– the reason this issue came up is because of that aforementioned heuristic. Basically, a Cinepak chunk is supposed to store the length of the entire chunk in its header. The data from a Sega CPK file plays fast and loose with this chunk size and the discrepancy makes it easy to determine if the data requires special handling. However, a handful of files discovered on a Macintosh game called “The Journeyman Project : Pegasus Prime” have chunk lengths which are sometimes in disagreement with the lengths reported in the containing QuickTime file’s stsz atom. This trips the heuristic and tries to apply the CPK rules against Cinepak data which, aside from the weird chunk length, is perfectly compliant.

    Here are the first few chunk sizes, as reported by the file header (stsz atom) and the chunk :

    size from stsz = 7880 (0x1EC8) ; from header = 3940 (0xF64)
    size from stsz = 3940 (0xF64) ; from header = 3940 (0xF64)
    size from stsz = 15792 (0x3DB0) ; from header = 3948 (0xF6C)
    size from stsz = 11844 (0x2E44) ; from header = 3948 (0xF6C)
    

    Hey, there’s a pattern here. If they don’t match, then the stsz size is an even multiple of the chunk size (2x, 3x, or 4x in my observation). I suppose I could revise the heuristic to state that if the stsz size is 2x, 3x, 4x, or equal to the chunk header, qualify it as compliant Cinepak data.

    Of course it feels impure, but software engineering is rarely about programmatic purity. A decade of special cases in the FFmpeg / Libav codebases are a testament to that.

    What’s A Variant ?
    Suddenly, I find myself contemplating what truly constitutes a variant. Maybe this was just a broken encoder program making these files ? And for that, I assign it the designation of distinct variation, like some sort of special, unique showflake ?

    Then again, I documented Magic Carpet FLIC as being a distinct variant of the broader FLIC format (which has an enormous number of variants as well).

  • FFMPEG Steam Stream stop after a few min

    24 novembre 2022, par Fabian Boulegue

    I try set a video stream to STREAM via FFMPEG so far everything works fine but after a few min it just seem to timeout (at last the stream stops but ffmpeg still send everything)

    



    Here is the ffmpeg string

    



    OUTRES="1920x1080"
GOP="60"
GOPMIN="15"
THREADS="4"
CBR="2500k"
QUALITY="ultrafast"
VIDEO="rescue.mp4"
STREAM_KEY="steam_62879128_f5xxxxxxxca5b1c"
SERVER="rtmp://ingest-01-fra1.broadcast.steamcontent.com/app/"

ffmpeg -stream_loop -1 -i $VIDEO -f flv \
-vcodec libx264 -g  $GOP -keyint_min $GOPMIN -b:v $CBR -minrate $CBR -maxrate $CBR -pix_fmt yuv420p \
-s $OUTRES -flvflags no_duration_filesize -preset $QUALITY -tune film -acodec aac -threads $THREADS -strict normal \
-bufsize $CBR "$SERVER$STREAM_KEY"


    



    this is the ffmpeg output

    



      ffmpeg version 3.4.6-0ubuntu0.18.04.1 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
  configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libavresample   3.  7.  0 /  3.  7.  0
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'rescue.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.83.100
  Duration: 00:44:48.08, start: 0.000000, bitrate: 2250 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 2114 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 127 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
[libx264 @ 0x55a3ddc7e520] using SAR=1/1
[libx264 @ 0x55a3ddc7e520] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x55a3ddc7e520] profile Constrained Baseline, level 4.0
[libx264 @ 0x55a3ddc7e520] 264 - core 152 r2854 e9a5903 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:-1:-1 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.15 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=4 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=60 keyint_min=15 scenecut=0 intra_refresh=0 rc_lookahead=0 rc=cbr mbtree=0 bitrate=2500 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=2500 vbv_bufsize=2500 nal_hrd=none filler=0 ip_ratio=1.40 aq=0
Output #0, flv, to 'rtmp://ingest-01-fra1.broadcast.steamcontent.com/app/steam_62879128_f5999013aeca5b1c':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.83.100
    Stream #0:0(und): Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 2500 kb/s, 30 fps, 1k tbn, 30 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      encoder         : Lavc57.107.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 2500000/0/2500000 buffer size: 2500000 vbv_delay: -1
    Stream #0:1(eng): Audio: aac (LC) ([10][0][0][0] / 0x000A), 44100 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
      encoder         : Lavc57.107.100 aac
frame=  479 fps= 74 q=-1.0 Lsize=    4669kB time=00:00:16.13 bitrate=2370.2kbits/s speed=2.49x