Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (103)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur

    8 février 2011, par

    La visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
    Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
    Configuration de la boite multimédia
    Dès (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (13473)

  • FFMPEG YUV444 to YUV420 [duplicate]

    9 août 2020, par Juan Felipe

    Soo I need to use a video reader which onl accepts yuv420.
I have videos which are yuv444 and have very weird resolutions (they come from an algorith and they are videos manually created stacking frames)

    


    Soo I tried the following

    


    ffmpeg -i CJMOPvsinJE.mp4 -pix_fmt yuv420p yuv420.mp4


    


    But it seems that resolution have to be even.

    


    [libx264 @ 0x556e02626660] width not divisible by 2 (241x1080)
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height


    


    Sooo I solved it by cropping.

    


    ffmpeg -i CJMOPvsinJE.mp4 -filter:v "crop=240:1080:1:0" -pix_fmt yuv420p yuv420.mp4


    


    Buuut The fact is that I need to perform this operation for a bunch of videos.

    


    Is there a way to tell ffmpeg to crop to the nearest even resolution ? Namely, if resolution is odd just to remove 1 row/column.

    


  • what is the packet size unit of ffprobe(similar to ffmpeg) ?

    26 août 2014, par Juneyoung Oh

    I am developing thumbnail extractor with ff- series(means ffmpeg, ffplay, ffprobe).

    I need to know the location of frames, so I use a command like below which I found another posting in stackoverflow.

    ffprobe -show_frames -select_streams v -print_format json=c=1 0001.wmv

    Actually it works nice and makes a file with lots of information of packet.

    The output file like below.

      "frames": [
           { "media_type": "video", "key_frame": 1, "pkt_pts": 900000, "pkt_pts_time": "10.000000", "pkt_dts": 900000, "pkt_dts_time": "10.000000", "pkt_duration": 3003, "pkt_duration_time": "0.033367", "pkt_pos": "453", "pkt_size": "9744", "width": 720, "height": 480, "pix_fmt": "yuv420p", "sample_aspect_ratio": "8:9", "pict_type": "I", "coded_picture_number": 0, "display_picture_number": 0, "interlaced_frame": 0, "top_field_first": 0, "repeat_pict": 0 },...

    There is a column named "pkt_size", which I assume that size of packet.

    It displays some numbers in, but no information of units.

    I wonder that unit is ’byte’ or ’bit’.

    If somebody has some information of this, Tell me.

    Thanks.

  • what is the packet size unit of ffprobe(similar to ffmpeg) ?

    4 septembre 2017, par Juneyoung Oh

    I am developing thumbnail extractor with ff- series(means ffmpeg, ffplay, ffprobe).

    I need to know the location of frames, so I use a command like below which I found another posting in stackoverflow.

    ffprobe -show_frames -select_streams v -print_format json=c=1 0001.wmv

    Actually it works nice and makes a file with lots of information of packet.

    The output file like below.

      "frames": [
           { "media_type": "video", "key_frame": 1, "pkt_pts": 900000, "pkt_pts_time": "10.000000", "pkt_dts": 900000, "pkt_dts_time": "10.000000", "pkt_duration": 3003, "pkt_duration_time": "0.033367", "pkt_pos": "453", "pkt_size": "9744", "width": 720, "height": 480, "pix_fmt": "yuv420p", "sample_aspect_ratio": "8:9", "pict_type": "I", "coded_picture_number": 0, "display_picture_number": 0, "interlaced_frame": 0, "top_field_first": 0, "repeat_pict": 0 },...

    There is a column named "pkt_size", which I assume that size of packet.

    It displays some numbers in, but no information of units.

    I wonder that unit is ’byte’ or ’bit’.

    If somebody has some information of this, Tell me.

    Thanks.