Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (49)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

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

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (7006)

  • Monitoring ffmpeg two-passes encoding

    31 décembre 2024, par Hodol

    I'm new in FFMPEG.

    


    According to the official guide, https://trac.ffmpeg.org/wiki/Encode/VP9 I use the following command to convert a large h.264 file :

    


    ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 0 -crf 30 -pass 1 -an -f null /dev/null
ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 0 -crf 30 -pass 2 -c:a libopus output.webm


    


    However, the pass-1 takes too long time and it does not log progress. With -report option I can see something is in progress but I don't know how long I should wait.

    


    Here's questions :

    


      

    1. Is there any way to see the progress of 1-pass ?
    2. 


    3. Is there any way to speed up the process ?
    4. 


    


    Thank you,

    


  • How can I automatically embed commit information into a subtitles file that I'm tracking ?

    23 février 2015, par microspace

    I use git to track *.ass subtitle files.
    Here is example of *.ass file :

    [Script Info]
    ; Script generated by Aegisub 3.1.2
    ; http://www.aegisub.org/
    Title: Default Aegisub file
    ScriptType: v4.00+

    [V4+ Styles]
    Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour,    BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
    Style: Default,Arial,20,&H00FFFFFF,&H000000FF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,2,2,2,10,10,10,1
    Style: titr,DejaVu    

    Sans,20,&H007DDBFA,&H000000FF,&H00000000,&HFF000000,0,0,0,0,100,100,0,0,1,2,2,1,10,10,10,1

    [Events]
    Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
    Dialogue: 0,0:00:00.46,0:00:11.22,Default,,0,0,0,,Если это можно было бы
    Dialogue: 0,0:00:03.44,0:00:08.96,titr,,0,0,0,,{\pos(20,240)\fad(600,600)}бывший министр

    After commit I burn subtitles into video :

    ffmpeg -i video.avi -vf "ass=subtitle.ass" out.avi

    My goal is to show commit date for 10 second at the start of movie. This should be done automatically.

    1) It can be easily done with by modifying subtitle.ass itself, but I can’t do it after commit and there are other reasons.

    2) It can be done by ffmpeg from command line : How to use ffmpeg to add a text to avi video ?

    Problem is that in this case text will be shown for the whole lenght of movie.

    3) I can copy *.ass file to temporary directory, insert date, render and delete *.ass file.

    Is there a simpler way ?

  • Android Samsung Galaxy S2 / S3 device bitmap rendering to ImageView issue

    18 décembre 2014, par Steve

    I am stuck in a very strange Bitmap rendering issue with Samsung Android devices. Let me discuss in brief what I have done.

    I am taking frame from a video and rendering it in a ImageView using ffmpeg. Following code gives me a bitmap object in return from JNI callback.

       img_convert_ctx = sws_getContext(pCodecCtx->width,
               pCodecCtx->height, pCodecCtx->pix_fmt, target_width,
           target_height, PIX_FMT_RGB24, SWS_BICUBIC, NULL, NULL,NULL);

       sws_scale(img_convert_ctx,(const uint8_t* const *)
           pFrame->data,pFrame->linesize, 0, pCodecCtx->height,pFrameRGB->data,
    pFrameRGB->linesize);

    Next, I’m just setting the Bitmap to ImageView. Now the issue is the Bitmap I get is rendering very well in maximum devices except Samsung S2/S3.

    A>Working well In :- Screen Shot 1

    1. Nexus 4
    2. HTC One / HTC One x
    3. LG Optimus
    4. Sony Experia
    5. Samsung Galaxy S Plus / Samsung Exhibit (Android 2.3)

    Issue With :-
    B>Samsung Galaxy S2 & S3 : The second screen shot.

    For Case B, A part of the video is rendering at the right side if you notice.

    I have tried saving the Bitmap I get from JNI as jpg in SD card and read that again to set the ImageView and it works. I Don’t understand what is going wrong with the raw Bitmap that I get from JNI callback, is it with Samsung S2 Hardware ? Please someone help me on this.

    With Nexus 4/HTC/XOLO/Sony/Samsung S plus

    With Samsung S3/S3