Recherche avancée

Médias (0)

Mot : - Tags -/api

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

Autres articles (69)

  • Participer à sa documentation

    10 avril 2011

    La documentation est un des travaux les plus importants et les plus contraignants lors de la réalisation d’un outil technique.
    Tout apport extérieur à ce sujet est primordial : la critique de l’existant ; la participation à la rédaction d’articles orientés : utilisateur (administrateur de MediaSPIP ou simplement producteur de contenu) ; développeur ; la création de screencasts d’explication ; la traduction de la documentation dans une nouvelle langue ;
    Pour ce faire, vous pouvez vous inscrire sur (...)

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

  • 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é.

Sur d’autres sites (6689)

  • Macports, ffpmeg, mpv on High Sierra [on hold]

    21 novembre 2017, par chris

    Has anyone seen this error on macports ?

    I’ve already installed Xcode and agreed license.

    Checked the logs and appears there’s an issue with audiotoolbox :

    :info:configure ERROR: audiotoolbox requested but not found

    Best, Chris

    Chris-MacBookAir:apps chrisbridges$ sudo port install mpv
    Password:
    --->  Computing dependencies for mpv
    The following dependencies will be installed:
    ffmpeg
    libcddb
    libcdio
    libcdio-paranoia
    libdvdcss
    libdvdnav
    libdvdread
    lua52
    popt
    rubberband
    youtube-dl
    Continue? [Y/n]: Y
    --->  Configuring ffmpeg
    Error: Failed to configure ffmpeg: configure failure: command execution failed
    Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/main.log for details.
    Error: Follow https://guide.macports.org/#project.tickets to report a bug.
    Error: Processing of port mpv failed
    Chris-MacBookAir:apps chrisbridges$
  • FFmpeg encode 8192x8192@60 with high quality from image sequence

    20 décembre 2017, par Daniel R.

    I am looking for the right ffmpeg config or an alternative software to encode a long sequence of images captured with 60fps and a resolution of 8192x8192 pixel.

    What i tried is to use h264 encoding, but at this high resolution it cannot be suitable since i couldnt play the encoded video.

    Using h265/HEVC i can play the video but i have nasty compression artifacts especially at the borders of the image.

    Here is the command i used with ffmpeg-3.4.1 at Windows 64-bit static Lib :

    .\ffmpeg.exe -framerate 60 -i ""E:\RenderedFrames\img%d.jpg"" -c:v libx265 -crf 28 output.mp4

    Here is the log of ffmpeg

    C:\ffmpeg-20171218-74f408c-win64-static\bin> .\ffmpeg.exe -framerate 60 -i ""D:\SansSousi\%d.jpg"" -c:v
    libx265 -crf 27 output3.mp4
    ffmpeg version git-2017-12-18-74f408c Copyright (c) 2000-2017 the FFmpeg developers
    built with gcc 7.2.0 (GCC)
    configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-amf --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
    libavutil 56. 6.100 / 56. 6.100
    libavcodec 58. 8.100 / 58. 8.100
    libavformat 58. 3.100 / 58. 3.100
    libavdevice 58. 0.100 / 58. 0.100
    libavfilter 7. 7.100 / 7. 7.100
    libswscale 5. 0.101 / 5. 0.101
    libswresample 3. 0.101 / 3. 0.101
    libpostproc 55. 0.100 / 55. 0.100
    Input #0, image2, from 'D:\SansSousi\%d.jpg':
    Duration: 00:00:03.02, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 8192x8192 [SAR 1:1 DAR 1:1], 60 tbr, 60 tbn, 60 tbc
    Stream mapping:
    Stream #0:0 -> #0:0 (mjpeg (native) -> hevc (libx265))
    Press [q] to stop, [?] for help
    [swscaler @ 0000027b64c702c0] deprecated pixel format used, make sure you did set range correctly
    x265 [info]: HEVC encoder version 2.6×6b079854e56e
    x265 [info]: build info [Windows][GCC 7.2.0][64 bit] 8bit
    x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
    x265 [info]: Main profile, Level-8.5 (Main tier)
    x265 [info]: Thread pool created using 16 threads
    x265 [info]: Slices : 1
    x265 [info]: frame threads / pool features : 4 / wpp(128 rows)
    x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
    x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
    x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 2
    x265 [info]: Keyframe min / max / scenecut / bias: 25 / 250 / 40 / 5.00
    x265 [info]: Lookahead / bframes / badapt : 20 / 4 / 2
    x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0
    x265 [info]: References / ref-limit cu / depth : 3 / on / on
    x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 1.0 / 32 / 1
    x265 [info]: Rate Control / qCompress : CRF-27.0 / 0.60
    x265 [info]: tools: rd=3 psy-rd=2.00 rskip signhide tmvp strong-intra-smoothing
    x265 [info]: tools: lslices=8 deblock sao
    Output #0, mp4, to 'output3.mp4':
    Metadata:
    encoder : Lavf58.3.100
    Stream #0:0: Video: hevc (libx265) (hev1 / 0x31766568), yuv420p, 8192x8192 [SAR 1:1 DAR 1:1], q=2-31, 60 fps, 15360 tbn, 60 tbc
    Metadata:
    encoder : Lavc58.8.100 libx265
    frame= 33 fps=1.8 q=-0.0 size= 1024kB time=00:00:00.00 bitrate=129060923.1kbits/s speed=3.63e-006x frame= 181 fps=1.1 q=-0.0 Lsize= 8112kB time=00:00:02.96 bitrate=22398.3kbits/s speed=0.0183x
    video:8107kB audio:0kB subtitle:0kB other streams:0kB global headers:2kB muxing overhead: 0.060955%
    x265 [info]: frame I: 1, Avg QP:28.18 kb/s: 528757.92
    x265 [info]: frame P: 36, Avg QP:30.76 kb/s: 36726.89
    x265 [info]: frame B: 144, Avg QP:35.78 kb/s: 14814.45
    x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
    x265 [info]: consecutive B-frames: 2.7% 0.0% 0.0% 0.0% 97.3%

    encoded 181 frames in 161.36s (1.12 fps), 22012.19 kb/s, Avg QP:34.74

    What can i do to improve the quality of the encoded video ?
    File size is secondary

  • ffmpeg get last x seconds with high accuracy

    12 mars 2018, par rbarab

    I would like to batch process mp4 videos, getting the last x seconds of each and saving them to individual files.
    I need to do this with a very high accuracy, preferably to 0.001 seconds or better.
    Found a related question (FFMPEG : get last 10 seconds) suggesting -sseof, which works great, but as the answer said it’s not completely accurate with stream copy.

    I am trying to match video lengths to the length of a reference video.

    Would I need to re-encode ? Can sseof handle this accurate enough if I specify duration as 00:00:00.000000 (which I get from reference video ffprobe) ?

    Please see related ffprobe -i below, all videos to be processed have this same encoding.

      Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.83.100
     Duration: 00:00:58.67, start: 0.000000, bitrate: 639 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x360, 499 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 131 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
    duration=58.673000

    Is there a better way to achieve frame-level accuracy ? As end goal I would need to overlay these videos with 25fps ’frame-level accuracy’.

    Thanks a lot !