Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (112)

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

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

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

  • ffmpeg caps audio bitrate to 128kb/s [closed]

    1er mai 2013, par Andrew Burns

    I want to upconvert a file to 256kb/s. (I understand I am losing quality and all
    that, I know that I really want to upconvert a 64kb/s=>256kb/s)

    The command I am using

    ffmpeg -i "Same Love.m4a" -acodec libfaac "Same Love.m4a" -b:a 256kb \
     -loglevel debug

    I have used every combination that I can think of and ffmpeg will only upconvert
    to 128kbs !

    Here is a log of my output

    $ ffmpeg -i "Same Love.m4a" -acodec libfaac "ready_to_import_to_itunes/Same Love.m4a" -b:a 256kb -loglevel debug
    ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
      built on Oct 12 2012 12:31:30 with Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
      configuration : —prefix=/usr/local/Cellar/ffmpeg/1.0 —enable-shared —enable-gpl —enable-version3 —enable-nonfree —enable-hardcoded-tables —cc=cc —host-cflags= —host-ldflags= —enable-libx264 —enable-libfaac —enable-libmp3lame —enable-libxvid
      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
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc6ab006600] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc6ab006600] ISO : File Type Major Brand : mp42
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc6ab006600] File position before avformat_find_stream_info() is 30844
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc6ab006600] All info found
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc6ab006600] File position after avformat_find_stream_info() is 31216
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Same Love.m4a' :
      Metadata :
        major_brand : mp42
        minor_version : 0
        compatible_brands : mp42isom3gp63g2a3gp4
        creation_time : 2012-08-11 09:56:26
      Duration : 00:05:18.71, start : 0.000000, bitrate : 64 kb/s
        Stream #0:0(und), 1, 1/44100 : Audio : aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 64 kb/s
        Metadata :
          creation_time : 2012-08-11 09:56:26
          handler_name : soun
    [abuffer @ 0x7fc6aac0e560] Setting entry with key 'time_base' to value '1/44100'
    [abuffer @ 0x7fc6aac0e560] Setting entry with key 'sample_rate' to value '44100'
    [abuffer @ 0x7fc6aac0e560] Setting entry with key 'sample_fmt' to value 's16'
    [abuffer @ 0x7fc6aac0e560] Setting entry with key 'channel_layout' to value '0x3'
    [graph 0 input from stream 0:0 @ 0x7fc6aac0e660] tb:1/44100 samplefmt:s16 samplerate:44100 chlayout:0x3
    [aformat @ 0x7fc6aac0eba0] Setting entry with key 'sample_fmts' to value 's16'
    [aformat @ 0x7fc6aac0eba0] Setting entry with key 'channel_layouts' to value '0x4,0x3,0x7,0x107,0x37,0x3f'
    Output #0, ipod, to 'ready_to_import_to_itunes/Same Love.m4a' :
      Metadata :
        major_brand : mp42
        minor_version : 0
        compatible_brands : mp42isom3gp63g2a3gp4
        encoder : Lavf54.29.104
        Stream #0:0(und), 0, 1/44100 : Audio : aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 128 kb/s
        Metadata :
          creation_time : 2012-08-11 09:56:26
          handler_name : soun
    Stream mapping :
      Stream #0:0 -> #0:0 (aac -> libfaac)
    Press [q] to stop, [?] for help
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc6ab006600] demuxer injecting skip 1024
    [aac @ 0x7fc6ab02f600] skip 2048 samples due to side data
    [aac @ 0x7fc6ab02f600] skip whole frame, skip left : 0
    EOF on sink link output stream 0:0:default.28.0kbits/s
    No more output streams to write to, finishing.
    size=    5028kB time=00:05:18.71 bitrate= 129.2kbits/s
    video:0kB audio:4974kB subtitle:0 global headers:0kB muxing overhead 1.093817%
    [AVIOContext @ 0x7fc6aac0ca20] Statistics : 2580581 bytes read, 0 seeks
    

    What I think is happening is that ffmpeg determines that there is really no
    benifit from going to 256k so caps it at 128.

    How do I force it to output the file at the bitrate specified ? (I have tried
    with mp3 too and the samething happens)

  • Unrecognized option 'crf 21' in ffmpeg

    18 août 2020, par Gustavo Borba

    I'm trying to convert a video with ffmpeg in a simple jar application, but I'm getting this Unrecognized option Error splitting the argument list : Option not found.

    


    I'm doing the following :

    


    List <string> command = new ArrayList<string>();&#xA;command.add("ffmpeg");&#xA;command.add("-y");&#xA;command.add("-i"); &#xA;command.add(myCustomFileClass.getInputFileName()); &#xA;command.add("-c:v libx264");&#xA;command.add("-preset slower");&#xA;command.add("-crf 21");&#xA;command.add("-c:a aac"); &#xA;command.add(myCustomFileClass.getOutputFileName());&#xA;logger.debug(command.toString().replaceAll(",", ""));&#xA;ProcessBuilder builder = new ProcessBuilder(command);&#xA;process = builder.start();&#xA;</string></string>

    &#xA;

    After that, I just read the output from the command with a buffered reader and put it on the debug logger. I'm getting this output :

    &#xA;

    ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers&#xA;built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)&#xA;configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared&#xA;libavutil      56. 31.100 / 56. 31.100&#xA;libavcodec     58. 54.100 / 58. 54.100&#xA;libavformat    58. 29.100 / 58. 29.100&#xA;libavdevice    58.  8.100 / 58.  8.100&#xA;libavfilter     7. 57.100 /  7. 57.100&#xA;libavresample   4.  0.  0 /  4.  0.  0&#xA;libswscale      5.  5.100 /  5.  5.100&#xA;libswresample   3.  5.100 /  3.  5.100&#xA;libpostproc    55.  5.100 / 55.  5.100&#xA;Unrecognized option &#x27;crf 21&#x27;.&#xA;Error splitting the argument list: Option not found&#xA;

    &#xA;

    What's curious is that when I execute what's inside command.toString().replaceAll(",", "") in my terminal, the command executes without any error. It's only ocurring in the java application.

    &#xA;

    I saw similar posts of people suggesting updating ffmpe (which I don't think it's the case) and splitting the arguments, but it's alredy done. I tried to just eliminate the crf config, but it just changes the error to At least one output file must be specified.

    &#xA;

    This suggests that the problem is indeed a bad splitting, but I'm out of ideas.

    &#xA;

  • avcodec : add Newtek SpeedHQ decoder

    8 janvier 2017, par Steinar H. Gunderson
    avcodec : add Newtek SpeedHQ decoder
    

    This decoder can decode all existing SpeedHQ formats (SHQ0–5, 7, and 9),
    including correct decoding of the alpha channel.

    1080p is decoded in 142 fps on one core of my i7-4600U (2.1 GHz Haswell),
    about evenly split between bitstream reader and IDCT. There is currently
    no attempt at slice or frame threading, even though the format trivially
    supports both.

    NewTek very helpfully provided a full set of SHQ samples, as well as
    source code for an SHQ2 encoder (not included) and assistance with
    understanding some details of the format.

    • [DH] Changelog
    • [DH] libavcodec/Makefile
    • [DH] libavcodec/allcodecs.c
    • [DH] libavcodec/avcodec.h
    • [DH] libavcodec/codec_desc.c
    • [DH] libavcodec/get_bits.h
    • [DH] libavcodec/mpeg12.c
    • [DH] libavcodec/mpeg12.h
    • [DH] libavcodec/speedhq.c
    • [DH] libavcodec/version.h
    • [DH] libavcodec/vlc.h
    • [DH] libavformat/riff.c