Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (57)

  • 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

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

  • Initialisation de MediaSPIP (préconfiguration)

    20 février 2010, par

    Lors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
    Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
    Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
    Dans un premier temps il active ou désactive des options de SPIP qui ne le (...)

Sur d’autres sites (4619)

  • FFMPEG convert .avi into playable iOS movie mp4

    8 janvier 2016, par Julien Klindt

    I’m trying to convert an avi file which is h264 encoded baseline4.0 to a new h264 mpeg file that is encoded with baseline3.

    The file original file is not playable on any iOS device, due to baseline4.0 (I think ?)

    I’m using this wrapper class here https://github.com/OpenWatch/FFmpegWrapper

    but actually I have no clue how to set baseline. I can convert to mpeg4, but it seems that defaults everytime to baseline4.0.

    I tried to set it on the AVCodecContext

    AVCodecContext *outputCodecContext = outputStream->codec;
    outputCodecContext->level = 31;
    outputCodecContext->profile = FF_PROFILE_H264_BASELINE;

    but this has no effect.

    Perhaps anybody has a clue, or has a better FFMPEGWrapper.

    Specs from original video :
    original video

  • avcodec/libopenh264enc : set iEntropyCodingModeFlag by coder option

    14 janvier 2022, par Limin Wang
    avcodec/libopenh264enc : set iEntropyCodingModeFlag by coder option
    

    For high/main profile, user can choose to use cavlc by specify "-coder cavlc",
    for default, it'll will use cabac, if it's baseline, we'll use cavlc by specs anyway.

    ffmpeg -y -f lavfi -i testsrc -c:v libopenh264 -profile:v main -coder cavlc -frames:v 1 -bsf trace_headers -f null -
    before the patch :
    entropy_coding_mode_flag 0 = 1

    after the patch :
    entropy_coding_mode_flag 0 = 0

    Reviewed-by : Martin Storsjö <martin@martin.st>
    Signed-off-by : Limin Wang <lance.lmwang@gmail.com>

    • [DH] libavcodec/libopenh264enc.c
  • Video recorded from a webcam using FFmpeg is desynchronizing in iOS native player

    11 mars 2021, par Luuudo

    Objective

    &#xA;

    I am trying to record a video (duration ≈ 1min to 4hours) from a webcam plugged into a PC. Then play just after the end of the recording the video on an Ipad connected to the same network as the PC.

    &#xA;

    To do this I'm trying to record the video using ffmpeg (the detailed command I use is below). Then I serve the video that's on the PC to the Ipad via a Java server (The server works well with other videos so I don't think the problem is here).

    &#xA;

    Problem

    &#xA;

    When I play the video on the IPad native player, for example in Safari, the sound is going faster than the video and therefore it's desynchronizing from the video. If I request a certain time the video and audio re-sync then the audio is desynchronizing again while playing.

    &#xA;

      &#xA;
    • The video when played on VLC on the PC or on Firefox by requesting the server is well synced.
    • &#xA;

    • Another video (I downloaded this one to test) played on the Ipad from the server stay synced.
    • &#xA;

    &#xA;

    It is only with the combination of a video record by myself using FFmpeg played in the iOS native player that I can observe the desynchronization.

    &#xA;

    FFmpeg command

    &#xA;

    I use FFmpeg to record the video from the webcam and save it into a file format readable on iOS.

    &#xA;

    ffmpeg -y -f avfoundation -framerate 25 -pixel_format nv12 -video_size 1280x720 -i "0:0" -r 25 out.mp4&#xA;

    &#xA;

    The resulting recorded file info according to ffmpeg is below :

    &#xA;

    > ffmpeg -i out.mp4&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;out.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    encoder         : Lavf58.45.100&#xA;  Duration: 00:00:33.76, start: 0.000000, bitrate: 1510 kb/s&#xA;    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 1440 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)&#xA;    Metadata:&#xA;      handler_name    : VideoHandler&#xA;    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 61 kb/s (default)&#xA;    Metadata:&#xA;      handler_name    : SoundHandler&#xA;

    &#xA;

    Compatible video formats from TV and Video iPad Pro specs

    &#xA;

    &#xA;

    Video formats supported : H.264 video up to 4K, 30 frames per second, High Profile level 4.2 with AAC‑LC audio up to 160 Kbps, 48kHz, stereo audio or Dolby Audio up to 1008 Kbps, 48kHz, stereo or multichannel audio, in .m4v, .mp4, and .mov file formats ; MPEG‑4 video up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC‑LC audio up to 160 Kbps per channel, 48kHz, stereo audio or Dolby Audio up to 1008 Kbps, 48kHz, stereo or multichannel audio, in .m4v, .mp4, and .mov file formats ; Motion JPEG (M‑JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format

    &#xA;

    &#xA;

    I don't see what codecs or profiles I don't respect ?

    &#xA;

    ps : I write PC but I'm currently trying this on a Mac. Eventually, I want to be able to do it also on Linux or even Windows. It looks like I just have to change the input devices to do that, which is avfoundation for MacOS.

    &#xA;