Recherche avancée

Médias (91)

Autres articles (21)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

Sur d’autres sites (4179)

  • Force x264_encoder_encode to only output one NAL unit [duplicate]

    29 mars 2019, par ktb92677

    This question already has an answer here :

    I am trying to figure out how to get x264_encoder_encode to only return one NAL unit.

    Google does not provide any good results on how to tune x264 to only produce one NAL unit per encode cycle.

    x264_param_default_preset(&x264_encoder->parameters, "ultrafast", "zerolatency");

     x264_encoder->parameters.i_csp = X264_CSP_I420;
       x264_encoder->parameters.i_log_level = X264_LOG_INFO;
     x264_encoder->parameters.i_threads = 1;
     x264_encoder->parameters.b_sliced_threads = 1;
     x264_encoder->parameters.i_width = x264_encoder->Width;
     x264_encoder->parameters.i_height = x264_encoder->Height;
     x264_encoder->parameters.i_fps_num = 60;
     x264_encoder->parameters.i_fps_den = 1;
     x264_encoder->parameters.i_keyint_max = 30;
     x264_encoder->parameters.b_intra_refresh = 1;
     x264_encoder->parameters.rc.i_rc_method = X264_RC_CRF;
     x264_encoder->parameters.rc.i_vbv_buffer_size = 200;
     x264_encoder->parameters.rc.i_vbv_max_bitrate = 350;
     x264_encoder->parameters.rc.f_rf_constant = 20;
     x264_encoder->parameters.rc.f_rf_constant_max = 30;
     x264_encoder->parameters.i_sps_id = 7;
       x264_encoder->parameters.i_slice_max_size = 1200;
     x264_encoder->parameters.b_repeat_headers = 1;
     x264_encoder->parameters.b_annexb = 1;
       x264_encoder->parameters.b_opencl = 1;

     x264_param_apply_profile(&x264_encoder->parameters, "baseline");

    x264_encoder->frameSize = x264_encoder_encode(x264_encoder->encoder,
     &x264_encoder->nals, &x264_encoder->i_nals, &x264_encoder->picture_in,
     &x264_encoder->picture_out);

    I would like x264_encoder->i_nals to equal one every time. Instead it varies up to 4 or 5 occasionally

  • Xuggle mp4 output (isom mp41 codec ?) issues

    19 mai 2017, par JonSides

    We’re using Xuggler to create an mp4 from pictures, with no audio at this point. The mp4 we’re getting is playable locally, but cannot be embedded in a webpage or chromecast. I suspect the issue is that we’re getting an older ISOM mp41 codec that’s not supported by HTML5 and chromecast. That’s a guess based on this snippet of header info :

    Internet media type                      : video/mp4
    Codec ID                                 : isom
    Codec ID                                 : isom (isom/iso2/mp41)
    Codec ID/Url                             :
    http://www.apple.com/quicktime/download/standalone.html
    CodecID_Compatible                       : isom/iso2/mp41
    Codec                                    : MPEG-4
    Codec                                    : MPEG-4
    Codec/Extensions usually used            : mov mp4 m4v m4a m4b m4p 3ga 3gpa
    3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma ismt f4a f4b f4v  

    I can embed and chromecast mp42 type files. So the first part of my question is Am I on the right track in looking at isom and mp41 ? And if so, can I get Xuggler to output using a newer codec ?
    I can post the full header if that would be helpful.
    The above snippet is from mediainfo. Here’s the whole thing, which is too long for a comment :
    General
    Count : 325
    Count of stream of this kind : 1
    Kind of stream : General
    Kind of stream : General
    Stream identifier : 0
    Inform : MPEG-4 (Base Media) : 377 KiB, 12 s 301 ms
    Count of video streams : 1
    Video_Format_List : MPEG-4 Visual
    Video_Format_WithHint_List : MPEG-4 Visual
    Codecs Video : MPEG-4 Visual
    Complete name : C :\Users\Jon\Desktop\vid-1.mp4
    Folder name : C :\Users\Jon\Desktop
    File name : vid-1
    File extension : mp4
    Format : MPEG-4
    Format : MPEG-4
    Format/Extensions usually used : mov mp4 m4v m4a m4b m4p 3ga 3gpa 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma ismt f4a f4b f4v
    Commercial name : MPEG-4
    Format profile : Base Media
    Internet media type : video/mp4
    Codec ID : isom
    Codec ID : isom (isom/iso2/mp41)
    Codec ID/Url :
    http://www.apple.com/quicktime/download/standalone.html
    CodecID_Compatible : isom/iso2/mp41
    Codec : MPEG-4
    Codec : MPEG-4
    Codec/Extensions usually used : mov mp4 m4v m4a m4b m4p 3ga 3gpa 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma ismt f4a f4b f4v
    File size : 386063
    File size : 377 KiB
    File size : 377 KiB
    File size : 377 KiB
    File size : 377 KiB
    File size : 377.0 KiB
    Duration : 12301
    Duration : 12 s 301 ms
    Duration : 12 s 301 ms
    Duration : 12 s 301 ms
    Duration : 00:00:12.301
    Duration : 00:00:14:00
    Duration : 00:00:12.301 (00:00:14:00)
    Overall bit rate mode : CBR
    Overall bit rate mode : Constant
    Overall bit rate : 251077
    Overall bit rate : 251 kb/s
    Frame rate : 3.415
    Frame rate : 3.415 FPS
    Frame count : 42
    Stream size : 1368
    Stream size : 1.34 KiB (0%)
    Stream size : 1 KiB
    Stream size : 1.3 KiB
    Stream size : 1.34 KiB
    Stream size : 1.336 KiB
    Stream size : 1.34 KiB (0%)
    Proportion of this stream : 0.00354
    HeaderSize : 36
    DataSize : 384703
    FooterSize : 1324
    IsStreamable : No
    File creation date : UTC 2017-05-05 19:49:25.209
    File creation date (local) : 2017-05-05 15:49:25.209
    File last modification date : UTC 2017-01-04 19:04:53.000
    File last modification date (local) : 2017-01-04 15:04:53.000
    Writing application : Lavf54.3.100
    Writing application : Lavf54.3.100

    Video

    Count                                    : 338
    Count of stream of this kind             : 1
    Kind of stream                           : Video
    Kind of stream                           : Video
    Stream identifier                        : 0
    StreamOrder                              : 0
    Inform                                   : 250 kb/s, 200*200 (1.000), at
    3.415 FPS, MPEG-4 Visual (Simple@L1)
    ID                                       : 1
    ID                                       : 1
    Format                                   : MPEG-4 Visual
    Commercial name                          : MPEG-4 Visual
    Format profile                           : Simple@L1
    Format settings, BVOP                    : No
    Format settings, BVOP                    : No
    Format settings, QPel                    : No
    Format settings, QPel                    : No
    Format settings, GMC                     : 0
    Format settings, GMC                     : No warppoints
    Format settings, Matrix                  : Default (H.263)
    Format settings, Matrix                  : Default (H.263)
    Internet media type                      : video/MP4V-ES
    Codec ID                                 : 20
    Codec                                    : MPEG-4V
    Codec                                    : MPEG-4 Visual
    Codec/Family                             : MPEG-4V
    Codec/CC                                 : 20
    Codec profile                            : Simple@L1
    Codec settings, Packet bitstream         : No
    Codec settings, BVOP                     : No
    Codec settings, QPel                     : No
    Codec settings, GMC                      : 0
    Codec settings, GMC                      : No warppoints
    Codec settings, Matrix                   : Default (H.263)
    Duration                                 : 12301
    Duration                                 : 12 s 301 ms
    Duration                                 : 12 s 301 ms
    Duration                                 : 12 s 301 ms
    Duration                                 : 00:00:12.301
    Duration                                 : 00:00:14:00
    Duration                                 : 00:00:12.301 (00:00:14:00)
    Bit rate mode                            : CBR
    Bit rate mode                            : Constant
    Bit rate                                 : 250207
    Bit rate                                 : 250 kb/s
    Width                                    : 200
    Width                                    : 200 pixels
    Height                                   : 200
    Height                                   : 200 pixels
    Sampled_Width                            : 200
    Sampled_Height                           : 200
    Pixel aspect ratio                       : 1.000
    Display aspect ratio                     : 1.000
    Display aspect ratio                     : 1.000
    Rotation                                 : 0.000
    Frame rate mode                          : VFR
    Frame rate mode                          : Variable
    Frame rate                               : 3.415
    Frame rate                               : 3.415 FPS
    Minimum frame rate                       : 3.333
    Minimum frame rate                       : 3.333 FPS
    Maximum frame rate                       : 65535.000
    Maximum frame rate                       : 65 535.000 FPS
    Frame count                              : 42
    Resolution                               : 8
    Resolution                               : 8 bits
    Colorimetry                              : 4:2:0
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Scan type                                : Progressive
    Interlacement                            : PPF
    Interlacement                            : Progressive
    Compression mode                         : Lossy
    Compression mode                         : Lossy
    Bits/(Pixel*Frame)                       : 1.832
    Stream size                              : 384695
    Stream size                              : 376 KiB (100%)
    Stream size                              : 376 KiB
    Stream size                              : 376 KiB
    Stream size                              : 376 KiB
    Stream size                              : 375.7 KiB
    Stream size                              : 376 KiB (100%)
    Proportion of this stream                : 0.99646
    Writing library                          : Lavc54.14.101
    Writing library                          : Lavc54.14.101
  • Transcode to opus by Fluent-ffmpeg or ffmpeg from command line

    14 juillet 2017, par shamaleyte

    My purpose is to transcode a webm file into opus file.
    It works just fine as the following ;

    ffmpeg -i input.webm -vn -c:a copy output.opus

    But the generated opus file always starts from 4rd or 5th seconds when I play it. It seems like that the first seconds are lost. Any idea why it happens ?

    >ffmpeg -i x.webm -vn -c:a copy x1.opus
    ffmpeg version N-86175-g64ea4d1 Copyright (c) 2000-2017 the FFmpeg
    developers
    built with gcc 6.3.0 (GCC)
    configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid -
    -enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-
    avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
    --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-
    libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-
    libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb -
    -enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --
    enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --
    enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab -
    -enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-
    libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-
    libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
     libavutil      55. 63.100 / 55. 63.100
     libavcodec     57. 96.101 / 57. 96.101
     libavformat    57. 72.101 / 57. 72.101
     libavdevice    57.  7.100 / 57.  7.100
     libavfilter     6. 90.100 /  6. 90.100
     libswscale      4.  7.101 /  4.  7.101
     libswresample   2.  8.100 /  2.  8.100
     libpostproc    54.  6.100 / 54.  6.100
    Input #0, matroska,webm, from 'x.webm':
     Metadata:
     encoder         : libwebm-0.2.1.0
     creation_time   : 2017-06-19T20:50:21.722000Z
    Duration: 00:00:32.33, start: 0.000000, bitrate: 134 kb/s
    Stream #0:0(eng): Audio: opus, 48000 Hz, mono, fltp (default)
    Stream #0:1(eng): Video: vp8, yuv420p(progressive), 640x480, SAR 1:1 DAR
    4:3, 16.67 fps, 16.67 tbr, 1k tbn, 1k tbc (default)
    Output #0, opus, to 'x1.opus':
    Metadata:
    encoder         : Lavf57.72.101
    Stream #0:0(eng): Audio: opus, 48000 Hz, mono, fltp (default)
    Metadata:
     encoder         : Lavf57.72.101
    Stream mapping:
    Stream #0:0 -> #0:0 (copy)
    Press [q] to stop, [?] for help
    size=     114kB time=00:00:32.33 bitrate=  28.8kbits/s speed=3.22e+003x
    video:0kB audio:111kB subtitle:0kB other streams:0kB global headers:0kB
    muxing overhead: 2.152229%

    It is jumping from 0 to 4th second .
    Please take a look at this screencast.
    https://www.screenmailer.com/v/52IXnpAarHavwJE

    This is the sample video file that I tried to transcode : https://drive.google.com/open?id=0B2sa3oV_Y3X_ZmVWX3MzTlRPSmc

    So I guess the transcoding starts right at the point that the voice comes in, why is that ?