Recherche avancée

Médias (0)

Mot : - Tags -/diogene

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

Autres articles (72)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • 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

Sur d’autres sites (11713)

  • lavfi : add ff_detect_color_primaries helper

    10 avril 2022, par Niklas Haas
    lavfi : add ff_detect_color_primaries helper
    

    Related to #9673, this helper exists to facilitate "guessing" the right
    primary tags from a given set of raw primary coefficients.

    The cutoff value of 0.001 was chosen by experimentation. The smallest
    "false positive" delta observed in practice was 0.023329, while the
    largest "false negative" delta was 0.00016. So, a value of 0.001 sits
    comfortably in the middle.

    Signed-off-by : Niklas Haas <git@haasn.dev>

    • [DH] libavfilter/colorspace.c
    • [DH] libavfilter/colorspace.h
  • FFMpeg crop a portrait (vertical) video square 1:1

    1er avril 2022, par hugger

    SOLVED... It was a UI issue... Not an FFpeg issue.

    &#xA;

    I am new to FFMpeg. I am stuck on cropping a portrait video taken from a portrait device square.

    &#xA;

    I would like my video output to be 1080x1080.

    &#xA;

    First, I tried this.

    &#xA;

    FFmpegKit.execute(`-y -i ${media.path} -vf "crop=1080:1080:exact=1" ${path}`)&#xA;

    &#xA;

    As I hoped, this worked for photos. (but strangely rotates the photo) - looking into that...

    &#xA;

    BUT, for videos it does not work. instead it turns the video landscape.

    &#xA;

    I then tried to add scale :

    &#xA;

    FFmpegKit.execute(`-y -i ${media.path} -vf "crop=1080:1080:exact=1, scale=1080:1080" ${path}`)&#xA;

    &#xA;

    But this left me with the same result.

    &#xA;

    Here are the console logs for some more information :

    &#xA;

     LOG  Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;file:///private/var/mobile/Containers/Data/Application/71E462FC-4824-41FE-B28D-57AF7B6078C3/tmp/ReactNative/329ACC6F-42B6-4B12-A289-889DADE1BC3A.mov&#x27;:&#xA; LOG    Metadata:&#xA; LOG      major_brand     :&#xA; LOG  qt&#xA; LOG  &#xA; LOG      minor_version   :&#xA; LOG  0&#xA; LOG  &#xA; LOG      compatible_brands:&#xA; LOG  qt&#xA; LOG  &#xA; LOG      creation_time   :&#xA; LOG  2022-04-01T03:41:12.000000Z&#xA; LOG  &#xA; LOG    Duration:&#xA; LOG  00:00:02.35&#xA; LOG  , start:&#xA; LOG  0.000000&#xA; LOG  , bitrate:&#xA; LOG  21200 kb/s&#xA; LOG  &#xA; LOG    Stream #0:0&#xA; LOG  [0x1]&#xA; LOG  (und)&#xA; LOG  : Video: hevc (hvc1 / 0x31637668), yuv420p(tv, bt709), 1080x1920, 21140 kb/s&#xA; LOG  ,&#xA; LOG  59.96 fps,&#xA; LOG  59.94 tbr,&#xA; LOG  600 tbn&#xA; LOG   (default)&#xA; LOG  &#xA; LOG      Metadata:&#xA; LOG        creation_time   :&#xA; LOG  2022-04-01T03:41:13.000000Z&#xA; LOG  &#xA; LOG        handler_name    :&#xA; LOG  Core Media Video&#xA; LOG  &#xA; LOG        vendor_id       :&#xA; LOG  [0][0][0][0]&#xA; LOG  &#xA; LOG        encoder         :&#xA; LOG  HEVC&#xA; LOG  &#xA; LOG    Stream #0:1&#xA; LOG  [0x2]&#xA; LOG  (und)&#xA; LOG  : Audio: aac (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 61 kb/s&#xA; LOG   (default)&#xA; LOG  &#xA; LOG      Metadata:&#xA; LOG        creation_time   :&#xA; LOG  2022-04-01T03:41:13.000000Z&#xA; LOG  &#xA; LOG        handler_name    :&#xA; LOG  Core Media Audio&#xA; LOG  &#xA; LOG        vendor_id       :&#xA; LOG  [0][0][0][0]&#xA; LOG  &#xA; LOG  [hevc @ 0x118ce07d0] The "sub_text_format" option is deprecated: Deprecated, does nothing&#xA; LOG  [aac @ 0x10d30e190] The "sub_text_format" option is deprecated: Deprecated, does nothing&#xA; LOG  Stream mapping:&#xA; LOG    Stream #0:0 -> #0:0&#xA; LOG   (hevc (native) -> mpeg4 (native))&#xA; LOG  &#xA; LOG    Stream #0:1 -> #0:1&#xA; LOG   (aac (native) -> aac (native))&#xA; LOG  &#xA; LOG  Press [q] to stop, [?] for help&#xA; LOG  Output #0, mp4, to &#x27;/var/mobile/Containers/Data/Application/71E462FC-4824-41FE-B28D-57AF7B6078C3/Documents/after.mp4&#x27;:&#xA; LOG    Metadata:&#xA; LOG      major_brand     :&#xA; LOG  qt&#xA; LOG  &#xA; LOG      minor_version   :&#xA; LOG  0&#xA; LOG  &#xA; LOG      compatible_brands:&#xA; LOG  qt&#xA; LOG  &#xA; LOG      encoder         :&#xA; LOG  Lavf59.10.100&#xA; LOG  &#xA; LOG    Stream #0:0&#xA; LOG  (und)&#xA; LOG  : Video: mpeg4 (mp4v / 0x7634706D), yuv420p(tv, bt709, progressive), 1080x1080, q=2-31, 10000 kb/s&#xA; LOG  ,&#xA; LOG  59.94 fps,&#xA; LOG  60k tbn&#xA; LOG   (default)&#xA; LOG  &#xA; LOG      Metadata:&#xA; LOG        creation_time   :&#xA; LOG  2022-04-01T03:41:13.000000Z&#xA; LOG  &#xA; LOG        handler_name    :&#xA; LOG  Core Media Video&#xA; LOG  &#xA; LOG        vendor_id       :&#xA; LOG  [0][0][0][0]&#xA; LOG  &#xA; LOG        encoder         :&#xA; LOG  Lavc59.15.102 mpeg4&#xA; LOG  &#xA; LOG      Side data:&#xA; LOG  &#xA; LOG  cpb:&#xA; LOG  bitrate max/min/avg: 0/0/10000000 buffer size: 0&#xA; LOG  vbv_delay: N/A&#xA; LOG  &#xA; LOG    Stream #0:1&#xA; LOG  (und)&#xA; LOG  : Audio: aac (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 69 kb/s&#xA; LOG   (default)&#xA; LOG  &#xA; LOG      Metadata:&#xA; LOG        creation_time   :&#xA; LOG  2022-04-01T03:41:13.000000Z&#xA; LOG  &#xA; LOG        handler_name    :&#xA; LOG  Core Media Audio&#xA; LOG  &#xA; LOG        vendor_id       :&#xA; LOG  [0][0][0][0]&#xA; LOG  &#xA; LOG        encoder         :&#xA; LOG  Lavc59.15.102 aac&#xA; LOG  &#xA; LOG  frame=    1 fps=0.0 q=3.6 size=       0kB time=00:00:01.06 bitrate=   0.3kbits/s speed=9.23x&#xA; LOG  frame=   47 fps=0.0 q=2.0 size=     768kB time=00:00:01.85 bitrate=3390.0kbits/s speed=3.01x&#xA; LOG  frame=   95 fps= 81 q=2.2 size=    1792kB time=00:00:02.32 bitrate=6313.3kbits/s speed=1.99x&#xA; LOG  frame=  129 fps= 77 q=2.5 size=    2560kB time=00:00:02.32 bitrate=9018.9kbits/s speed=1.39x&#xA; LOG  frame=  139 fps= 78 q=2.6 Lsize=    2953kB time=00:00:02.38 bitrate=10124.6kbits/s speed=1.34x&#xA; LOG  video:2929kB audio:20kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead:&#xA; LOG  0.136336%&#xA; LOG  &#xA; LOG  [aac @ 0x112820f50] Qavg: 113.412&#xA; LOG  COMPLETED&#xA; LOG  {}&#xA;

    &#xA;

    This is the result, when i replace&#xA;-i {media} with&#xA;-f lavfi -i smptebars=r=60000/1001:s=1080x1920:d=1

    &#xA;

    enter image description here

    &#xA;

    ALMOST but not 1:1...

    &#xA;

    I have not had any luck online trying to find a solution for this so I have decided to post on here.

    &#xA;

    I hope I can get some guidance here !

    &#xA;

    Cheers.

    &#xA;

  • lavfi : generalize colorspace coefficent helpers

    9 avril 2022, par Niklas Haas
    lavfi : generalize colorspace coefficent helpers
    

    These are needed beyond just vf_colorspace, so give them a new home in
    colorspace.h.

    In addition to moving code around, also merge the white point and
    primary coefficients into a single struct to slightly increase the
    convenience and shrink the size of the new API by avoiding the need
    to introduce an extra function just to look up the white point as well.
    The only place the distinction matters is in a single enum comparison,
    which can just as well be a single memcpy - the difference is
    negligible.

    Signed-off-by : Niklas Haas <git@haasn.dev>

    • [DH] libavfilter/colorspace.c
    • [DH] libavfilter/colorspace.h
    • [DH] libavfilter/vf_colorspace.c