Recherche avancée

Médias (91)

Autres articles (100)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (6457)

  • FFmpeg : Documented method of changing frame rate not working

    5 février 2019, par Chirag Arora

    According to the FFmpeg documentation over here, I can change frame rate of a video using :

    ffmpeg -i input.mkv -c:v copy -vsync drop -r 59.94 output.mkv

    but all I am getting is an av_interleaved_write_frame(): Invalid argument error on my machine. What am I doing wrong ?

    Here is the log :

    ffmpeg -i noaudio.mp4 -c:v copy -vsync drop -r 160 lapse.mp4

    ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
     built with Apple LLVM version 10.0.0 (clang-1000.11.45.5)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/4.1_1 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gpl --enable-libmp3lame --enable-libopus --enable-libsnappy --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-opencl --enable-videotoolbox
     libavutil      56. 22.100 / 56. 22.100
     libavcodec     58. 35.100 / 58. 35.100
     libavformat    58. 20.100 / 58. 20.100
     libavdevice    58.  5.100 / 58.  5.100
     libavfilter     7. 40.101 /  7. 40.101
     libavresample   4.  0.  0 /  4.  0.  0
     libswscale      5.  3.100 /  5.  3.100
     libswresample   3.  3.100 /  3.  3.100
     libpostproc    55.  3.100 / 55.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'noaudio.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf58.20.100
     Duration: 00:12:31.45, start: 0.000000, bitrate: 59950 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 59948 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc (default)
       Metadata:
         handler_name    : VideoHandler
    File 'lapse.mp4' already exists. Overwrite ? [y/N] y
    Output #0, mp4, to 'lapse.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf58.20.100
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt709), 3840x2160 [SAR 1:1 DAR 16:9], q=2-31, 59948 kb/s, 29.97 fps, 29.97 tbr, 10240 tbn, 160 tbc (default)
       Metadata:
         handler_name    : VideoHandler
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
    Press [q] to stop, [?] for help
    [mp4 @ 0x7fec5400e000] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
    av_interleaved_write_frame(): Invalid argument
    frame=    1 fps=0.0 q=-1.0 Lsize=       0kB time=-577014:32:22.77 bitrate=N/A speed=N/A
    video:794kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
    Conversion failed!
  • FFmpeg4 android Applying Overlay (watermark) taking too long

    13 janvier 2019, par Web Developer

    I’m using ffmpeg4 on android (Java) to apply overlay/watermark on the bottom left corner of the recorded video that is saved in the SD CARD.

    The video recording has maximum duration of 59 seconds. The problem that I’m facing is that I’m applying water through this command of ffmpeg4

    String[] complexCommand1 = new String[]"ffmpeg", "-y", "-i",
    "input.mp4", "-strict", "experimental", "-c:v", "libx264", "-preset",
    "ultrafast", "-vf", "movie=/water.png [watermark] ; [in][watermark] overlay=main_w-overlay_w-", "10:10", " [out]", "-s", "320x480", "-aspect",
    "2:3", "-r", "30", "-b:v", "500k",
    "output.mp4"
     ;

    I’ve reduced the video resolution to 320x480 after the conversion and 480p to recorded video that is provided as input to this command but still the processing time is around 40 seconds.

    Can someone provide me workaround this to reduce this processing time.

    or what should I do to reduce this processing time. I’ve researched a lot on this and found some GitHub issues link and tried their solutions but none of them seemed to work for me.

  • avcodec/qpeg : Optimize long runs in qpeg_decode_intra() not spanning a full row

    7 janvier 2019, par Michael Niedermayer
    avcodec/qpeg : Optimize long runs in qpeg_decode_intra() not spanning a full row
    

    Fixes : Timeout
    Fixes : 11354/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_QPEG_fuzzer-5766275943366656

    Before : Executed clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_QPEG_fuzzer-5766275943366656 in 9470 ms
    After : Executed clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_QPEG_fuzzer-5766275943366656 in 134 ms

    Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Reviewed-by : Paul B Mahol <onemda@gmail.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/qpeg.c