Recherche avancée

Médias (91)

Autres articles (41)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

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

Sur d’autres sites (4451)

  • OpenCV encoding to H264

    29 mars 2018, par Yost777

    I want to encode images to H264 video in OpenCV.

    As part of my software for image tracking, I’m using VideoWriter in OpenCV 3.4 (64-bit) with Visual Studio 2017 C++. I use ffmpeg for manual encoding, and as it comes with OpenCV I assume this is the best option. My version of OpenCV indicates it has been compiled with ffmpeg, and I can verify it loads the opencv_ffmpeg340_64.dll.

    Decoding H264 (AVC1) is absolutely fine, including when specifically using the ffmpeg API. But encoding anything other than MJPG or raw images doesn’t work :
    VideoWriter.Open() mostly returns false, for some cases it only writes an empty or small header but won’t write frames. I’ve tried not only the ffmpeg API, but also any available API. Redirecting console/debug output to intermediate window in VC doesn’t give any messages from OpenCV or ffmpeg.

    There are numerous posts on previous versions of OpenCV using FFmpeg, including (Cisco) OpenH264 library and difficulties using this. I’ve tried many options, installing codecs pack including H264, ffmpeg static version, Cisco openH264 library, setting paths etc and even tried the low level ffmpeg library functions such as cvCreateVideoWriter exposed in OpenCV, and using different video containers (AVI, MPG, MP4) as well as fourcc strings.

    I can’t believe in 2018 the great OpenCV with FFmpeg support is unable to encode anything but arcane MJPG or raw images. If it uses FFmpeg surely a significant set of functionality should be available ?

    Though I think this should work, my next best option would be using a separate ffmpeg library, which would ironically add another ffmpeg.dll to my solution I imagine. Any suggestion appreciated !

    Code fragment (using any video encoding API) :

    VideoWriter writer;
    int codec = VideoWriter::fourcc('X', '2', '6', '4');
    writer.open("test.avi", codec, 30, colorImage.size(), true);
    writer.write(colorImage);
    writer.release();
  • Want to send a video from desktop to Wowza using ffmpeg

    3 mars 2018, par ST94

    I am trying to stream a local .mp4 video file from my laptop to Wowza Streaming Engine using ffmpeg. Both systems are able to ping each other. I give the following command on my laptop

    ffmpeg -re -i bunny_1080p_60fps_normal.mp4 -vcodec libx264 -acodec aac -ar 48000 -strict experimental -f flv "rtmp://192.168.1.22:1935/live/myStream"

    192.168.1.22 is the IP address of Wowza server residing on another system running Ubuntu 17.04.

    I see the following on the command prompt of my laptop when I give the above command,

    ffmpeg version N-89894-g18e2ac032e Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 7.2.0 (GCC)
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libmfx --enable-amf --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth
     libavutil      56.  7.100 / 56.  7.100
     libavcodec     58.  9.100 / 58.  9.100
     libavformat    58.  5.101 / 58.  5.101
     libavdevice    58.  0.101 / 58.  0.101
     libavfilter     7. 11.101 /  7. 11.101
     libswscale      5.  0.101 /  5.  0.101
     libswresample   3.  0.101 /  3.  0.101
     libpostproc    55.  0.100 / 55.  0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'bunny_1080p_60fps_normal.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 1
       compatible_brands: isomavc1
       creation_time   : 2013-12-16T17:59:32.000000Z
       title           : Big Buck Bunny, Sunflower version
       artist          : Blender Foundation 2008, Janus Bager Kristensen 2013
       comment         : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net
       genre           : Animation
       composer        : Sacha Goedegebure
     Duration: 00:10:34.53, start: 0.000000, bitrate: 4486 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 4001 kb/s, 60 fps, 60 tbr, 60k tbn, 120 tbc (default)
       Metadata:
         creation_time   : 2013-12-16T17:59:32.000000Z
         handler_name    : GPAC ISO Video Handler
       Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, s16p, 160 kb/s (default)
       Metadata:
         creation_time   : 2013-12-16T17:59:37.000000Z
         handler_name    : GPAC ISO Audio Handler
       Stream #0:2(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 320 kb/s (default)
       Metadata:
         creation_time   : 2013-12-16T17:59:37.000000Z
         handler_name    : GPAC ISO Audio Handler
       Side data:
         audio service type: main
    [rtmp @ 000001ed7c4108c0] No credentials set
    [rtmp @ 000001ed7c4108c0] Server error: [ AccessManager.Reject ] : [ code=403 need auth; authmod=adobe ] :
    rtmp://192.168.1.22:1935/live/myStream: Unknown error occurred

    Can anyone please tell me what the exact procedure is to stream a video file to Wowza .

    How will I be able to view the stream at Wowza ?

  • configure : check for a sufficiently recent enough AMF version

    9 septembre 2019, par Hendrik Leppkes
    configure : check for a sufficiently recent enough AMF version
    

    Due to the recent addition of Vulkan support to AMF, we require more
    recent headers that include the new structures, which have been
    available since AMF 1.4.9 released in September 2018.

    Fixes Ticket #8125

    • [DH] configure