Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (89)

  • À propos des documents

    21 juin 2013, par

    Que faire quand un document ne passe pas en traitement, dont le rendu ne correspond pas aux attentes ?
    Document bloqué en file d’attente ?
    Voici une liste d’actions ordonnée et empirique possible pour tenter de débloquer la situation : Relancer le traitement du document qui ne passe pas Retenter l’insertion du document sur le site MédiaSPIP Dans le cas d’un média de type video ou audio, retravailler le média produit à l’aide d’un éditeur ou un transcodeur. Convertir le document dans un format (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (17004)

  • swresample/rematrix : fix typo in clean_layout()

    28 mars 2022, par James Almer
    swresample/rematrix : fix typo in clean_layout()
    

    av_channel_layout_index_from_channel() takes an AVChannel value, not a mask.

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libswresample/rematrix.c
  • vp9/x86 : simplify FILTER_INIT.

    19 avril 2014, par Clément Bœsch
    vp9/x86 : simplify FILTER_INIT.
    

    In the 2 FILTER_INIT usages, the source is already preloaded so that
    extra complexity taken from FILTER_UPDATE is not necessary.

    Also add forgotten "mask" argument in FILTER_INIT,UPDATE comments.

    • [DH] libavcodec/x86/vp9lpf.asm
  • Translating Handbrake options to a FFMPEG command

    9 mai 2020, par Arif

    I want to convert a bunch of videos from x264 to x265, but I need to do so with ffmpeg in terminal because it's a remote server. These are my Handbrake options (listed items are ticked) :

    &#xA;&#xA;

    Summary tab

    &#xA;&#xA;

      &#xA;
    • Web optimized
    • &#xA;

    • Align A/V Start
    • &#xA;

    &#xA;&#xA;

    Dimensions tab unchanged

    &#xA;&#xA;

    Filters tab

    &#xA;&#xA;

      &#xA;
    • Sharpen - LapSharp, preset : Medium
    • &#xA;

    &#xA;&#xA;

    Video tab

    &#xA;&#xA;

      &#xA;
    • Video codec - H.265 (x265)

    • &#xA;

    • Framerate (FPS) - 30 - Peak Framerate

    • &#xA;

    • Quality - Constant Quality - 28

    • &#xA;

    • Encoder preset - Medium

    • &#xA;

    • Encoder tune - None

    • &#xA;

    • Encoder profile - Auto

    • &#xA;

    &#xA;&#xA;

    Audio tab

    &#xA;&#xA;

      &#xA;
    • Audio track - AAC, bitrate : 128
    • &#xA;

    &#xA;&#xA;

    Subtitles tab - No subtitles (remove if exists)

    &#xA;&#xA;

    This is the ffmpeg command that I've managed to compile so far :

    &#xA;&#xA;

    ffmpeg -i input.mp4 -c:v libx265 -crf 28 -c:a aac -b:a 128k -max_muxing_queue_size 400 -movflags &#x2B;faststart output.mp4

    &#xA;&#xA;

    I have the following two questions :

    &#xA;&#xA;

      &#xA;
    1. Does the ffmpeg command provided list all the options except the peak framerate, sharpening filter and removing subtitle ones ? How do I incorporate these three ?
    2. &#xA;

    3. Slightly unrelated, but does having -max_muxing_queue_size 400 negatively affect file size or video quality ? I've only included this because I'd ran into encoding errors in the past.
    4. &#xA;

    &#xA;&#xA;

    Thank you.

    &#xA;&#xA;

    My Handbrake log with the above options, if it helps :

    &#xA;&#xA;

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;E:\input.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    encoder         : Lavf58.10.100&#xA;  Duration: 00:02:20.52, start: 0.000000, bitrate: 1487 kb/s&#xA;    Stream #0:0(und): Video: h264 (High) [avc1 / 0x31637661]&#xA;      yuv420p, tv, bt709/bt709/bt709&#xA;      1280x720 [PAR 1:1 DAR 16:9], 1288 kb/s, PAR 1:1 DAR 16:9&#xA;      29.97 fps, 30k tbn (default)&#xA;    Metadata:&#xA;      handler_name    : VideoHandler&#xA;    Stream #0:1(eng): Audio: aac (LC) [mp4a / 0x6134706D]&#xA;      44100 Hz, stereo, fltp, 192 kb/s (default)&#xA;    Metadata:&#xA;      handler_name    : SoundHandler&#xA;[04:26:49] scan: decoding previews for title 1&#xA;[04:26:49] scan: audio 0x1: aac, rate=44100Hz, bitrate=192025 English (AAC) (2.0 ch)&#xA;[04:26:50] scan: 10 previews, 1280x720, 29.970 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1&#xA;[04:26:50] scan: supported video decoders: avcodec qsv&#xA;[04:26:50] libhb: scan thread found 1 valid title(s)&#xA;[04:26:50] starting job&#xA;[04:26:50] decomb filter thread started for segment 0&#xA;[04:26:50] decomb filter thread started for segment 1&#xA;[04:26:50] decomb filter thread started for segment 3&#xA;[04:26:50] decomb check thread started for segment 0&#xA;[04:26:50] decomb check thread started for segment 1&#xA;[04:26:50] yadif thread started for segment 0&#xA;[04:26:50] decomb check thread started for segment 3&#xA;[04:26:50] mask filter thread started for segment 0&#xA;[04:26:50] work: track 1, dithering not supported by codec&#xA;[04:26:50] mask filter thread started for segment 1&#xA;[04:26:50] work: only 1 chapter, disabling chapter markers&#xA;[04:26:50] job configuration:&#xA;[04:26:50]  * source&#xA;[04:26:50]    &#x2B; E:\input.mp4&#xA;[04:26:50]    &#x2B; title 1, chapter(s) 1 to 1&#xA;[04:26:50]    &#x2B; container: mov,mp4,m4a,3gp,3g2,mj2&#xA;[04:26:50] mask filter thread started for segment 3&#xA;[04:26:50]    &#x2B; data rate: 1487 kbps&#xA;[04:26:50]  * destination&#xA;[04:26:50]    &#x2B; C:\Users\Hp\Desktop\output.mp4&#xA;[04:26:50]    &#x2B; container: MPEG-4 (libavformat)&#xA;[04:26:50]      &#x2B; optimized for HTTP streaming (fast start)&#xA;[04:26:50]      &#x2B; align initial A/V stream timestamps&#xA;[04:26:50]  * video track&#xA;[04:26:50]    &#x2B; decoder: h264&#xA;[04:26:50]      &#x2B; bitrate 1288 kbps&#xA;[04:26:50]    &#x2B; filters&#xA;[04:26:50] mask filter thread started for segment 2&#xA;[04:26:50]      &#x2B; Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)&#xA;[04:26:50]      &#x2B; Decomb (mode=39)&#xA;[04:26:50]      &#x2B; Framerate Shaper (mode=2:rate=27000000/900000)&#xA;[04:26:50]        &#x2B; frame rate: 29.970 fps -> peak rate limited to 30.000 fps&#xA;[04:26:50] mask erode thread started for segment 1&#xA;[04:26:50]      &#x2B; Crop and Scale (width=1280:height=720:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)&#xA;[04:26:50]        &#x2B; source: 1280 * 720, crop (0/0/0/0): 1280 * 720, scale: 1280 * 720&#xA;[04:26:50]      &#x2B; Sharpen (lapsharp) (y-strength=0.2:y-kernel=isolap:cb-strength=0.2:cb-kernel=isolap)&#xA;[04:26:50]    &#x2B; Output geometry&#xA;[04:26:50]      &#x2B; storage dimensions: 1280 x 720&#xA;[04:26:50]      &#x2B; pixel aspect ratio: 1 : 1&#xA;[04:26:50]      &#x2B; display dimensions: 1280 x 720&#xA;[04:26:50]    &#x2B; encoder: H.265 (libx265)&#xA;[04:26:50]      &#x2B; preset:  medium&#xA;[04:26:50]      &#x2B; profile: auto&#xA;[04:26:50]      &#x2B; quality: 28.00 (RF)&#xA;[04:26:50]  * audio track 1&#xA;[04:26:50] mask erode thread started for segment 2&#xA;[04:26:50]    &#x2B; decoder: English (AAC) (2.0 ch) (track 1, id 0x1)&#xA;[04:26:50]      &#x2B; bitrate: 192 kbps, samplerate: 44100 Hz&#xA;[04:26:50]    &#x2B; mixdown: Stereo&#xA;[04:26:50]    &#x2B; encoder: AAC (libavcodec)&#xA;[04:26:50]      &#x2B; bitrate: 128 kbps, samplerate: 48000 Hz&#xA;[04:26:50] mask erode thread started for segment 3&#xA;[04:26:50] mask dilate thread started for segment 0&#xA;[04:26:50] mask dilate thread started for segment 1&#xA;[04:26:50] mask dilate thread started for segment 2&#xA;[04:26:50] decomb check thread started for segment 2&#xA;[04:26:50] yadif thread started for segment 1&#xA;[04:26:50] yadif thread started for segment 2&#xA;[04:26:50] yadif thread started for segment 3&#xA;[04:26:50] MTFrame thread started for segment 1&#xA;[04:26:50] MTFrame thread started for segment 2&#xA;[04:26:50] MTFrame thread started for segment 3&#xA;[04:26:50] mask dilate thread started for segment 3&#xA;[04:26:50] sync: expecting 4211 video frames&#xA;[04:26:50] mask erode thread started for segment 0&#xA;[04:26:50] decomb filter thread started for segment 2&#xA;[04:26:50] MTFrame thread started for segment 0&#xA;x265 [info]: HEVC encoder version 2.6&#xA;x265 [info]: build info [Windows][GCC 7.2.0][64 bit] 8bit&#x2B;10bit&#x2B;12bit&#xA;x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2&#xA;x265 [info]: Main profile, Level-3.1 (Main tier)&#xA;x265 [info]: Thread pool created using 4 threads&#xA;x265 [info]: Slices                              : 1&#xA;x265 [info]: frame threads / pool features       : 2 / wpp(12 rows)&#xA;x265 [info]: Coding QT: max CU size, min CU size : 64 / 8&#xA;x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra&#xA;x265 [info]: ME / range / subpel / merge         : hex / 57 / 2 / 2&#xA;x265 [info]: Keyframe min / max / scenecut / bias: 30 / 300 / 40 / 5.00&#xA;x265 [info]: Lookahead / bframes / badapt        : 20 / 4 / 2&#xA;x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0&#xA;x265 [info]: References / ref-limit  cu / depth  : 3 / on / on&#xA;x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 1.0 / 32 / 1&#xA;x265 [info]: Rate Control / qCompress            : CRF-28.0 / 0.60&#xA;x265 [info]: tools: rd=3 psy-rd=2.00 rskip signhide tmvp strong-intra-smoothing&#xA;x265 [info]: tools: lslices=4 deblock sao&#xA;[04:26:50] sync: first pts video is 0&#xA;[04:26:50] sync: "Chapter 1" (1) at frame 1 time 0&#xA;[04:26:50] sync: first pts audio 0x1 is 0&#xA;[04:40:02] reader: done. 1 scr changes&#xA;[04:40:13] work: average encoding speed for job is 5.245789 fps&#xA;[04:40:13] comb detect: heavy 3 | light 10 | uncombed 4198 | total 4211&#xA;[04:40:13] decomb: deinterlaced 3 | blended 10 | unfiltered 4198 | total 4211&#xA;[04:40:13] vfr: 4211 frames output, 0 dropped and 0 duped for CFR/PFR&#xA;[04:40:13] vfr: lost time: 0 (0 frames)&#xA;[04:40:13] vfr: gained time: 0 (0 frames) (0 not accounted for)&#xA;[04:40:13] aac-decoder done: 6052 frames, 0 decoder errors&#xA;[04:40:13] h264-decoder done: 4211 frames, 0 decoder errors&#xA;[04:40:13] sync: got 4211 frames, 4211 expected&#xA;[04:40:13] sync: framerate min 18.394 fps, max 29.970 fps, avg 29.966 fps&#xA;x265 [info]: frame I:     18, Avg QP:24.13  kb/s: 2900.85&#xA;x265 [info]: frame P:   1079, Avg QP:26.64  kb/s: 1040.14&#xA;x265 [info]: frame B:   3114, Avg QP:33.15  kb/s: 235.18&#xA;x265 [info]: Weighted P-Frames: Y:0.4% UV:0.4%&#xA;x265 [info]: consecutive B-frames: 4.0% 1.4% 20.1% 55.7% 18.8%&#xA;encoded 4211 frames in 802.93s (5.24 fps), 452.83 kb/s, Avg QP:31.44&#xA;[04:40:13] mux: track 0, 4211 frames, 7970061 bytes, 453.68 kbps, fifo 8192&#xA;[04:40:13] mux: track 1, 6588 frames, 2254132 bytes, 128.31 kbps, fifo 8192&#xA;[04:40:13] libhb: work result = 0&#xA;&#xA;# Encode Completed ...&#xA;

    &#xA;