Recherche avancée

Médias (91)

Autres articles (49)

  • Qu’est ce qu’un masque de formulaire

    13 juin 2013, par

    Un masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
    Chaque formulaire de publication d’objet peut donc être personnalisé.
    Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
    Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

Sur d’autres sites (4313)

  • Unrecognized options even though compiled FFmpeg on Ubuntu manually

    11 février 2016, par Kathy Lee

    I would like to convert a video from .avi to .mp4 with same quality using ffmpeg but the command I put in the terminal always report some errors saying that there are unrecognized options.

    I have compiled the ffmpeg manually following the steps in http://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu

    After compiling the ffmpeg, I used the command below the compress the video

    ffmpeg -i input.avi -c:v libx264 -crf 19 -preset slow -c:a libfaac -b:a 192k -ac 2 output.mp4

    But the error message is saying "Unrecognized option ’crf’" :

    ffmpeg version 2.8.5 Copyright (c) 2000-2016 the FFmpeg developers
    built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
    configuration: --enable-nonfree --enable-pic --enable-shared
    libavutil      54. 31.100 / 54. 31.100
    libavcodec     56. 60.100 / 56. 60.100
    libavformat    56. 40.101 / 56. 40.101
    libavdevice    56.  4.100 / 56.  4.100
    libavfilter     5. 40.101 /  5. 40.101
    libswscale      3.  1.101 /  3.  1.101
    libswresample   1.  2.101 /  1.  2.101
    Unrecognized option 'crf'.
    Error splitting the argument list: Option not found

    Then I tried to omit flag -crf, but I got error saying

    Unrecognized option 'preset'.
    Error splitting the argument list: Option not found

    Then I omitted flag -preset, it says I do not have libx264....

    [mjpeg @ 0x164f2c0] Changeing bps to 8
    Input #0, avi, from 'backup_bush.avi':
     Duration: 00:01:40.70, start: 0.000000, bitrate: 12409 kb/s
       Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj420p(pc, bt470bg/unknown/unknown), 400x250 [SAR 1:1 DAR 8:5], 12407 kb/s, 30 fps, 30 tbr, 30 tbn, 30 tbc
    Unknown encoder 'libx264'

    I am very confused what is going on because I have complied ffmpeg step by step and also installed the dependencies such as libx264 as described in http://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu. The command I used to configure ffmpeg is

    ./configure   --prefix="$HOME/ffmpeg_build"   --pkg-config-flags="--static"   --extra-cflags="-I$HOME/ffmpeg_build/include"   --extra-ldflags="-L$HOME/ffmpeg_build/lib"   --bindir="$HOME/bin"   --enable-gpl   --enable-libass   --enable-libfdk-aac   --enable-libfreetype   --enable-libmp3lame   --enable-libopus   --enable-libtheora   --enable-libvorbis   --enable-libvpx   --enable-libx264   --enable-nonfree

    Why these errors happen ? How can I fix them to allow me to convert the video from .avi to .mp4 ?

    Thank you very much !

  • FFmpeg splitting large files

    1er février 2016, par Yusaf Khaliq

    I need to split a large video file into multiple pieces quickly and without files with errors. The basic idea is, I have a 2GB video file which I want to change to multiple formats. I have read some encoders can not make use of more than 1 core when encoding to a different format. So I had the idea to split the large file (which is very quick) into 4/8 pieces depending on how many cores I have available on individual servers. re-encode each piece to a new format and use these to display video in sequence.

    so

    testfile.mp4

    becomes

    1. testfile_piece_1.mp4
    2. testfile_piece_2.mp4
    3. testfile_piece_3.mp4
    4. testfile_piece_4.mp4

    these can then be individually be converted.

    The solution should not be format specific. However I have found issues with mp4 files.

    I have tried the command below, which works really well and fast but creates files with errors.

    ffmpeg -i testfile.mp4 -ss 00:00:00 -t 00:20:00 -c copy testfile_piece_1.mp4

    When I play the testfile_piece_1.mp4 on VLC it works fine. An issue arises when converting the split file to a different height and width mp4 file. I would get an error similar to "moov atom not found"

    I tried adding -movflags faststart with no luck

    I then came across this library https://code.google.com/archive/p/moovrelocator/ which fixed the moov issue but I would then get an error with regards to aac "Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height"

    The other way of splitting the files is useless but involved re-encoding the file. not too bad for smaller file size but the 2GB file would probably take days to complete.

    Is there a way to split the largr file quickly without producing files with errors ? I have been working on it for days with no luck.

    Console output for comment - FFmpeg splitting large files

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/usr/share/nginx/html/uploads/testfile01.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf56.36.100
     Duration: 00:05:02.08, start: 302.120000, bitrate: 3254 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709)                                  , 1920x1080 [SAR 1:1 DAR 16:9], 3252 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (de                                  fault)
       Metadata:
         handler_name    : VideoHandler
    [libx264 @ 0x165ffc0] width not divisible by 2 (853x480)
    Output #0, mp4, to '/usr/share/nginx/html/uploads/testfile01_480.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf56.36.100
       Stream #0:0(und): Video: h264, none, q=2-31, 128 kb/s, SAR 2560:2559 DAR 0:0                                  , 25 fps (default)
       Metadata:
         handler_name    : VideoHandler
         encoder         : Lavc56.41.100 libx264
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
    Error while opening encoder for output stream #0:0 - maybe incorrect parameters                                   such as bit_rate, rate, width or height

    console output 2

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/usr/share/nginx/html/uploads/testfile.mp4':
     Metadata:
       major_brand     : dash
       minor_version   : 0
       compatible_brands: iso6avc1mp41
       creation_time   : 2016-01-24 04:26:37
     Duration: 01:15:58.08, start: 0.000000, bitrate: 3163 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 3161 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc (default)
       Metadata:
         creation_time   : 2016-01-24 04:26:37
         handler_name    : VideoHandler
    [segment @ 0x1197060] Codec for stream 0 does not use global headers but container format requires global headers
    [mp4 @ 0x11512a0] Codec for stream 0 does not use global headers but container format requires global headers
    Output #0, segment, to '/usr/share/nginx/html/uploads/testfile%02d.mp4':
     Metadata:
       major_brand     : dash
       minor_version   : 0
       compatible_brands: iso6avc1mp41
       encoder         : Lavf56.36.100
       Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 3161 kb/s, 25 fps, 25 tbr, 12800 tbn, 25 tbc (default)
       Metadata:
         creation_time   : 2016-01-24 04:26:37
         handler_name    : VideoHandler
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
    Press [q] to stop, [?] for help
    [mp4 @ 0x11512a0] Codec for stream 0 does not use global headers but container format requires global headers
    [mp4 @ 0x11512a0] Codec for stream 0 does not use global headers but container format requires global headers
    [mp4 @ 0x11512a0] Codec for stream 0 does not use global headers but container format requires global headers
    [mp4 @ 0x11512a0] Codec for stream 0 does not use global headers but container format requires global headers
    [mp4 @ 0x11512a0] Codec for stream 0 does not use global headers but container format requires global headers
    [mp4 @ 0x11512a0] Codec for stream 0 does not use global headers but container format requires global headers
    [mp4 @ 0x11512a0] Codec for stream 0 does not use global headers but container format requires global headers
    [mp4 @ 0x11512a0] Codec for stream 0 does not use global headers but container format requires global headers
    [mp4 @ 0x11512a0] Codec for stream 0 does not use global headers but container format requires global headers
    [mp4 @ 0x11512a0] Codec for stream 0 does not use global headers but container format requires global headers
    [mp4 @ 0x11512a0] Codec for stream 0 does not use global headers but container format requires global headers
    [mp4 @ 0x11512a0] Codec for stream 0 does not use global headers but container format requires global headers
    [mp4 @ 0x11512a0] Codec for stream 0 does not use global headers but container format requires global headers
    [mp4 @ 0x11512a0] Codec for stream 0 does not use global headers but container format requires global headers
    [mp4 @ 0x11512a0] Codec for stream 0 does not use global headers but container format requires global headers
  • How to use direct264 in Directshow ?

    19 août 2016, par Phung Tien Trieu

    I am finding a h264 (x264) directshow filter for my application and i found project direct264 here : https://sourceforge.net/projects/direct264

    When can see dump.ax from binary package but when i load it to GraphStudioNext (or try to register it by using regsvr32) i see error :

    http://tientrieu.net/wp-content/uploads/2016/08/direct264_load_error.png