Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (6)

  • L’espace de configuration de MediaSPIP

    29 novembre 2010, par

    L’espace de configuration de MediaSPIP est réservé aux administrateurs. Un lien de menu "administrer" est généralement affiché en haut de la page [1].
    Il permet de configurer finement votre site.
    La navigation de cet espace de configuration est divisé en trois parties : la configuration générale du site qui permet notamment de modifier : les informations principales concernant le site (...)

  • Déploiements possibles

    31 janvier 2010, par

    Deux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
    L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
    Version mono serveur
    La version mono serveur consiste à n’utiliser qu’une (...)

  • Sélection de projets utilisant MediaSPIP

    29 avril 2011, par

    Les exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
    Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
    Ferme MediaSPIP @ Infini
    L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)

Sur d’autres sites (5490)

  • Add support for new VUI parameters

    8 juin 2016, par Anton Mitrofanov
    Add support for new VUI parameters
    

    Support the new color primaries, transfer characteristics, and matrix
    coefficients defined in the 2016-02 edition of the H.264 specification.

    • [DH] encoder/set.c
    • [DH] x264.c
    • [DH] x264.h
  • opencv cannot read MP4 file from sony camcorder

    7 juin 2016, par Jundong

    The sony camcorder recorded video in MP4 format. I am reading the file by

    import cv2
    vid = cv2.VideoCapture('sample.MP4')

    my OpenCV version is 2.4.8, as a Python module.

    The codec of the ’sample.MP4’ is H.264, Linear PCM.

    ffprobe sample.MP4

    returns :

    > Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C0004.mp4':   Metadata:
    >     major_brand     : XAVC
    >     minor_version   : 16785407
    >     compatible_brands: XAVCmp42iso2
    >     creation_time   : 2016-06-06 13:41:51   Duration: 00:00:15.02, start: 0.000000, bitrate: 50439 kb/s
    >     Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709/bt709/iec61966-2-4), 1920x1080 [SAR 1:1 DAR 16:9],
    > 48655 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
    >     Metadata:
    >       creation_time   : 2016-06-06 13:41:51
    >       handler_name    : Video Media Handler
    >       encoder         : AVC Coding
    >     Stream #0:1(und): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, 2 channels, s16, 1536 kb/s (default)
    >     Metadata:
    >       creation_time   : 2016-06-06 13:41:51
    >       handler_name    : Sound Media Handler
    >     Stream #0:2(und): Data: none (rtmd / 0x646D7472), 245 kb/s (default)
    >     Metadata:
    >       creation_time   : 2016-06-06 13:41:51
    >       handler_name    : Timed Metadata Media Handler
    > Unsupported codec with id 0 for input stream 2

    It seems that the codec for h.264 is missing. The version of my FFmpeg is 3.0.

    I tried avconv -i sample.MP4 -c:a copy -c:v copy sample_converted.mp4 to convert the sample.MP4 to sample_converted.mp4, this command line did not work. The command ffmpeg -i sample.mp4 sample_converted.mp4 worked ; however, it compromised the video quality badly.I used an online video converter : http://www.online-convert.com/ (which output nice quality video in mp4 format, but it has size limitation for free users)
    to convert the MP4 to mp4, the command in Terminal as below :

    ffprobe 'sample_converted.mp4'

    returns

    > Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C0001_converted.mp4':  
    > Metadata:
    >     major_brand     : isom
    >     minor_version   : 512
    >     compatible_brands: isomiso2avc1mp41
    >     encoder         : Lavf57.36.100   Duration: 00:00:02.02, start: 0.000000, bitrate: 16777 kb/s
    >     Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 16801 kb/s, 59.94
    > fps, 59.94 tbr, 60k tbn, 119.88 tbc (default)
    >     Metadata:
    >       handler_name    : VideoHandler
    >     Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 127 kb/s (default)
    >     Metadata:
    >       handler_name    : SoundHandler

    Obviously, the encoders, handler_names etc. of the sample.MP4 and sample_converted.mp4 are different. Any idea using FFmpeg or OpenCV to convert this raw video from camcorder to the readable format without compromising the video quality ?

  • ffmpeg concat avi files loosing the audio

    14 juin 2016, par Nir Diamant

    Hey i have 2 AVI files that i want to concatenate them to one output.

    the files path is written in text file (mylist.txt) :

    file1.avi - contain video only.
    file2.avi - contain video and audio.

    i execute the next command :

    ffmpeg -f concat -i C:\ffmpeg\mylist.txt -c copy C:\ffmpeg\output.avi

    mylist.txt=

    file ’C :\motionbee\ffmpeg\bin\file1.avi’

    file ’C :\motionbee\ffmpeg\bin\file2.avi’

    the output file is concatenate of the 2 files. but the sound from file2.avi is not there.

    so how can i contact them without delete the sound ???

    console log :

    C:\motionbee\ffmpeg\bin>ffmpeg -f concat -i C:\motionbee\ffmpeg\bin\mylist.txt -
    c copy C:\motionbee\ffmpeg\bin\output.avi
    ffmpeg version N-78949-g6f5048f Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 5.3.0 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
    enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l
    ibilbc --enable-libmodplug --enable-libmfx --enable-libmp3lame --enable-libopenc
    ore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --ena
    ble-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable
    -libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --ena
    ble-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx
    264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable
    -lzma --enable-decklink --enable-zlib
     libavutil      55. 19.100 / 55. 19.100
     libavcodec     57. 27.101 / 57. 27.101
     libavformat    57. 28.100 / 57. 28.100
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 39.100 /  6. 39.100
     libswscale      4.  0.100 /  4.  0.100
     libswresample   2.  0.101 /  2.  0.101
     libpostproc    54.  0.100 / 54.  0.100
    Input #0, concat, from 'C:\motionbee\ffmpeg\bin\mylist.txt':
     Duration: N/A, start: 0.000000, bitrate: 523 kb/s
       Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 720
    x480 [SAR 32:27 DAR 16:9], 523 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 30k tbc
    File 'C:\motionbee\ffmpeg\bin\output.avi' already exists. Overwrite ? [y/N] y
    Output #0, avi, to 'C:\motionbee\ffmpeg\bin\output.avi':
     Metadata:
       ISFT            : Lavf57.28.100
       Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 720x480 [SAR 32:27 D
    AR 16:9], q=2-31, 523 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
    Press [q] to stop, [?] for help
    [concat @ 0000000000452620] New audio stream 0:1 at pos:10038 and DTS:100.104s
    frame= 6000 fps=0.0 q=-1.0 Lsize=   13020kB time=00:03:20.23 bitrate= 532.7kbits
    /s speed=1.39e+003x
    video:12870kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing
    overhead: 1.159987%

    thanks.