Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (6)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

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

  • playing live streaming with video.js

    12 juin 2015, par randomuser1

    I want to stream on a webpage a video live that I receive from a server (with ffserver). So far when I write a very simple code :

       <code class="echappe-js">&lt;script src=&quot;http://www.andy-howard.com/js/libs/jquery-1.8.2.min.js&quot;&gt;&lt;/script&gt;

    &lt;script src=&quot;http://vjs.zencdn.net/4.12.6/video.js&quot;&gt;&lt;/script&gt;

    then it doesn’t work. But when I replace the line :

    <source src="http://10.172.180.235:8090/live.flv" type="video/x-flv">
    </source>

    with this one :

    <source src="http://vjs.zencdn.net/v/oceans.mp4" type="video/mp4">
    </source>

    then I can see the stream, but it comes from a file... Is there a way to display on my webpage live stream coming from ffserver ? Thanks.

  • 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;

  • DirectShow IVideoWindow can't be wider than 4096px

    25 mars 2019, par ulvesked

    I have a C# application which uses DirectShow to show play video clips. We recently tried to play a video that is 9600x1080 px and it would not show. DirectShow emits events that everything.

    We use K-Lite codec pack (1295) and utilise ffdshow libx264 as codec and video renderer. Media Player Classic using the same renderer can play the clip just fine. The latest version of our application use DirectShow.NET while the older versions call DirectShow interfaces directly. Both old and new versions of our application have the same issues.

    After some experimentation we have found out the following :

    • If the video window width is 4096px or narrower it will render video. If it is 4097 or wider it will not render any video. We tried playing a HD-clip and a 720-clip with the same results. They will play when the video window is 4096x1080 but not when the window is 4097x1080 or wider.

    • When changing resolution or graphic settings there are some flashes (a few frames) of the video when the settings is applied, so that would suggest that it is in fact playing the video but it displays only black.

    Tested on Windows 10, 64 bit.

    Any ideas of what the we can do to fix this ?