Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (65)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, 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 (...)

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

Sur d’autres sites (11270)

  • movenc : Timecode in MP4 Although MP4 does not have a concrete specification to store...

    21 janvier 2016, par Syed Andaleeb Roomy
    movenc : Timecode in MP4 Although MP4 does not have a concrete specification to store timecode information, the following technical note from Apple describes a way to achieve this via timecode track, similar to how it is done for MOV files.
    

    https://developer.apple.com/library/mac/technotes/tn2174/_index.html

    - Enabled creation of timecode tracks for MP4 in the same way as MOV.
    - Used nmhd as media information header of timecode track of MP4 instead
    of gmhd used in MOV, thus avoiding tcmi also, as recommended above.
    - Bypassed adding source reference field for MP4, as suggested above.

    Issue : https://trac.ffmpeg.org/ticket/4704

    Signed-off-by : Syed Andaleeb Roomy <andaleebcse@gmail.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/movenc.c
  • App Intents FFmpeg-iOS operation not permitted

    2 octobre 2023, par apo_p9

    Using latest iOS and Xcode, I have an AppIntent to which Im passing a video file from iOS Shortcuts, Im using an IntentFile parameter to read that in the intent. Then Im using FFmpeg-iOS to generate a single frame from the video.

    &#xA;

    ...&#xA;@Parameter(title: "Media", supportedTypeIdentifiers: ["public.image", "public.video"], inputConnectionBehavior: .connectToPreviousIntentResult)&#xA;var media: IntentFile&#xA;...&#xA;let mediaPath = media.fileURL!.absoluteString;&#xA;let posterPath = mediaPath.replacingOccurrences(of: media.filename, with: "poster.jpg")&#xA;_ = ffmpeg(["FFmpeg-iOS", "-i", mediaPath, "-frames:v", "1", posterPath])&#xA;

    &#xA;

    Here is the output :

    &#xA;

    ffmpeg(_:) ["FFmpeg-iOS", "-i", "file:///var/mobile/tmp/com.apple.WorkflowKit.BackgroundShortcutRunner/IMG_2751.mov", "-frames:v", "1", "file:///var/mobile/tmp/com.apple.WorkflowKit.BackgroundShortcutRunner/poster.jpg"]&#xA;ffmpeg version N-109970-g7dc0944ce2 Copyright (c) 2000-2023 the FFmpeg developers&#xA;  built with Apple clang version 14.0.0 (clang-1400.0.29.202)&#xA;  configuration: --prefix=/Users/changbeomahn/Projects/FFmpeg-iOS/build/install/FFmpeg/arm64 --enable-cross-compile --disable-debug --disable-doc --enable-pic --disable-audiotoolbox --disable-sdl2 --disable-libxcb --target-os=darwin --arch=arm64 --cc=&#x27;xcrun -sdk iphoneos clang&#x27; --as=&#x27;gas-preprocessor.pl -arch aarch64 -- xcrun -sdk iphoneos clang&#x27; --extra-cflags=&#x27;-arch arm64 -mios-version-min=13.0 -I/Users/changbeomahn/Projects/FFmpeg-iOS/build/install/FFmpeg/arm64/include&#x27; --extra-ldflags=&#x27;-arch arm64 -mios-version-min=13.0 -L/Users/changbeomahn/Projects/FFmpeg-iOS/build/install/FFmpeg/arm64/lib&#x27;&#xA;HookMain: setjmp=0&#xA;FFmpeg_exit=1, will longjmp&#xA;HookMain: setjmp=1&#xA;  libavutil      58.  3.100 / 58.  3.100&#xA;  libavcodec     60.  6.100 / 60.  6.100&#xA;  libavformat    60.  4.100 / 60.  4.100&#xA;  libavdevice    60.  2.100 / 60.  2.100&#xA;  libavfilter     9.  4.100 /  9.  4.100&#xA;  libswscale      7.  2.100 /  7.  2.100&#xA;  libswresample   4. 11.100 /  4. 11.100&#xA;file:///var/mobile/tmp/com.apple.WorkflowKit.BackgroundShortcutRunner/IMG_2751.mov: Operation not permitted&#xA;

    &#xA;

    The issue is in the last line : Operation not permitted

    &#xA;

    I also tried just writing a file to the same directory as the media file :

    &#xA;

    let str = "Super long string here"&#xA;let filename = media.fileURL!.absoluteString.replacingOccurrences(of: media.filename, with: "asd.txt")&#xA;&#xA;do {&#xA;    try str.write(to: URL(string: filename)!, atomically: true, encoding: String.Encoding.utf8)&#xA;} catch {&#xA;    print(error)&#xA;}&#xA;

    &#xA;

    But got the error :

    &#xA;

    Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “asd.txt” in the folder “com.apple.WorkflowKit.BackgroundShortcutRunner”." UserInfo={NSFilePath=/var/mobile/tmp/com.apple.WorkflowKit.BackgroundShortcutRunner/asd.txt, NSUnderlyingError=0x280f09aa0 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}&#xA;

    &#xA;

    Apparently there is a permission issue, I tried googling about "AppIntents file permissions"/"shortcut permissions"/etc but found nothing. Im not a mobile developer so Im totally clueless. The same code though works fine in the simulator, it gets the permission issue only on device.

    &#xA;

  • Heroku FFMPEG HEVC Video with Alpha support ?

    15 septembre 2022, par Patrick Vellia

    I am looking for a way to handle converting videos like Webm VP9 with alpha channel to HEVC with alpha mov or mp4 files that are playable in Safari (The Webm will work in all other browsers).

    &#xA;

    While I can do this locally in my Rails app using streamio-ffmpeg gem and the havoc_videotoolbox encoder, this only works on Apple hardware.

    &#xA;

    Therefore if I push it up to Heroku and use the Heroku ffmpeg build pack, the HEVC VideoToolbox is not available for use.

    &#xA;

    FFMPEG does have the libx265 encoder but I can't find the property for this one to preserve the alpha channel.

    &#xA;

    ffmpeg -I INPUT -c:v libx265 -preset medium -crf 26 -tag:v hvc1 OUTput.mp4&#xA;

    &#xA;

    there is a -x265-params flag, but I can't figure out which param will enable the alpha channel.

    &#xA;

    I am hoping this is actually possible for my production app, otherwise I'd have to process this segment of our media locally and manually upload the HEVC components.

    &#xA;

    Local Configuration&#xA;Apple Monterey with ffmpeg 5.1.1 installed on Intel&#xA;Rails 7

    &#xA;

    Heroku

    &#xA;

    FFMPEG build pack

    &#xA;

    Hobby Plan

    &#xA;

    Rails 7

    &#xA;