Advanced search

Medias (0)

Tag: - Tags -/formulaire

No media matches your criterion on the site.

Other articles (81)

  • Modifier la date de publication

    21 June 2013, by

    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

  • Le profil des utilisateurs

    12 April 2011, by

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

  • Configurer la prise en compte des langues

    15 November 2010, by

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

On other websites (12314)

  • lavc/opus: replace pow(10,x) by ff_exp10(x)

    23 December 2015, by Ganesh Ajjanagadde
    lavc/opus: replace pow(10,x) by ff_exp10(x)
    

    Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com>
    Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>

    • [DH] libavcodec/opus.c
  • Android Exoplayer garbled mp4 video output on imagereader surface while playing fine on SurfaceView (Samsung galaxy tab s7)

    29 March 2023, by Orcun

    Problem:

    &#xA;

    I am trying to play an mp4 video file on Samsung Galaxy Tab S7 for video processing purposes. For the purpose, I use Exoplayer(v2.18.4) library to be able to play the video onto an ImageReader surface so that I can grab the frames in ImageReader.OnImageAvailableListener.

    &#xA;

    I do not have any problems in getting the frames. However, the frames I acquire are garbled/corrupted like:

    &#xA;

    garbled frame

    &#xA;

    When I saw this frame, it made me think that it is some sort of color format or codec issue for the mp4 file or device I use. In logcat, there are no errors reported.&#xA;Device uses [OMX.qcom.video.decoder.avc] decoder. Also, same video plays nicely on some other devices that use exactly the same decoder.

    &#xA;

    What I tried so far:

    &#xA;

    I tried a lot of things to understand the root cause and also find a solution, so my brain currently is free flowing stream. I will try to summarise, please bear with me.

    &#xA;

    I use a CustomMediaCodecVideoRenderer in my app which overrides MediaCodecVideoRenderer.getMediaFormat of Exoplayer to set color format like:

    &#xA;

    setInteger(MediaFormat.KEY_COLOR_FORMAT, MediaCodecInfo.CodecCapabilities.COLOR_FormatYUV420Flexible)&#xA;

    &#xA;

    This step proved itself necessary. Without it I get a crash simply because I cannot access the image planes of an image frame in expected YUV image format.&#xA;This unfortunately was not enough for the Samsung Galaxy Tab 7 although it was already enough for another device like Xiaomi to render the image correctly.

    &#xA;

    Then I decided to use a library like ffmpeg to modify the mp4 file itself to maybe use a different profile, color format, resolution that is widely compatible in android devices. No luck so far.&#xA;a quick ffprobe on my mp4 file shows:

    &#xA;

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;outputyuv169.mp4&#x27;:&#xA;Metadata:&#xA;  major_brand     : isom&#xA;  minor_version   : 512&#xA;  compatible_brands: isomiso2avc1mp41&#xA;  encoder         : Lavf59.16.100&#xA;Duration: 00:03:00.02, start: 0.000000, bitrate: 4823 kb/s&#xA;Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), &#xA;1280x720 [SAR 1:1 DAR 16:9], 4820 kb/s, 30 fps, 30 tbr, 360k tbn (default)&#xA;

    &#xA;

    I tried even recording a simple video on the tablet itself and using that as my input file. Nevertheless, still getting similarly garbled frames.

    &#xA;

    One thing I keep noticing in logcat is this line:

    &#xA;

    [OMX.qcom.video.decoder.avc] using color format 0x7fa30c04 in place of 0x7f420888

    &#xA;

    and

    &#xA;

    [OMX.qcom.video.decoder.avc] Requested output format 0x7f420888 and got 0x7fa30c04

    &#xA;

    where 0x7fa30c04 refers to YCbCr_420_SP_VENUS_UBWC. Not really sure If this has anything to do with it. I did not dive too deep into that because same log is present also on other device that renders the mp4 correctly.

    &#xA;

    I would be grateful for any clue.

    &#xA;

  • Next drawtext clears the previous one ffmpeg

    27 August 2021, by Макс Шульдинер
    ffmpeg.exe -i ffmpeg_inputs/zheltiy_chelik.mp4  -vf "[in]drawtext=fonts/Temporarium.otf:text=&#x27;r&#x27;:fontcolor=orange:fontsize=100:x=(w-text_w)/2&#x2B;0:y=0:enable=&#x27;between(t,0, 11)&#x27;, drawtext =fonts/Temporarium.otf:text = &#x27;r&#x27;:fontcolor=orange:fontsize=100:x=(w-text_w)/2&#x2B;20:y=0:enable=&#x27;between(t,11, 22)&#x27;, drawtext =fonts/Temporarium.otf:text = &#x27;r&#x27;:fontcolor=orange:fontsize=100:x=(w-text_w)/2&#x2B;40:y=0:enable=&#x27;between(t,22, 33)&#x27;[out]" ffmpeg_outputs/test2.mp4 -y &#xA;

    &#xA;

    There is such a ffmpeg line. Its meaning is to draw a letter 20 pixels to the right of the current position of the word every 11 seconds, and in this way "write the word". But here's the problem - when the second letter starts to render, it overwrites the first, and the third, respectively, overwrites the second. The string seems to have prescribed [in] and [out] but does not help, maybe someone has ideas

    &#xA;