Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (97)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (7148)

  • avformat/movenc : Do not pass AVCodecParameters in avpriv_request_sample

    27 juin 2018, par Michael Niedermayer
    avformat/movenc : Do not pass AVCodecParameters in avpriv_request_sample
    

    Fixes : out of array read
    Fixes : ffmpeg_crash_8.avi

    Found-by : Thuan Pham, Marcel Böhme, Andrew Santosa and Alexandru Razvan Caciulescu with AFLSmart
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/movenc.c
  • How to detect the real orientation of a video recorded by mobile with "auto rotate" disabled

    28 octobre 2022, par FlamingMoe

    When you record a video, the rotation metadata has 4 possible values (0, 90, 180 and 270) and it stores how the device was held when starting the recording.

    &#xA;

    But mobile phones has also a feature to enable or disable "auto rotation" of screen.

    &#xA;

    It's very typical, nowadays, to have that feature disable, and many people record videos with the phone horizontally, but since the "auto rotation" is disable, the metadata stores like the video was recorded as vertically.

    &#xA;

    How to handle this ?

    &#xA;

  • Why ANativeWindow_Buffer.stride is different for different devices

    17 août 2020, par user2578525

    I am writing simple video player using ffmpeg for android. Following are the steps I followed

    &#xA;

      &#xA;
    1. Read AVFrame from file
    2. &#xA;

    3. Convert AVFrame to RGB565 format using sws_scale
    4. &#xA;

    5. Get buffer from using av_image_copy_to_buffer
    6. &#xA;

    7. Display this buffer to SurfaceView by copying buffer to ANativeWindow_Buffer
    8. &#xA;

    &#xA;

    Most of the videos are playing fine, but there is issue with videos which have lower resolution than window. For ex, when I play a 656x480 video on my OnePlus 7T (2206x1080), video looks distorted. The same video plays fine on emulator (2160x1080).

    &#xA;

    When I debugged whole pipe, I found that on OP7T, after locking ANativeWindow, ANativeWindow_Buffer.stride was set to 704 instead of 656. For all videos which plays normal, stride is same as width of buffer. The same is not the case with Android emulator.

    &#xA;

    I did some trials and tried to scale width to 600, then stride jumped to 640 and video was distorted. When I scaled width to 640, video was displayed vertically half correct.

    &#xA;

    Can anyone help me understand, How stride is calculated ? And What is the reason stride is wrongly calculated ?

    &#xA;

    I found one same problem here : Simple FFMpeg player for Android&#xA;OP mentions that video works fine for 640, 1280, 1920.

    &#xA;