Recherche avancée

Médias (91)

Autres articles (86)

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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

Sur d’autres sites (11712)

  • How to compile avconv with libx264 on Ubuntu 12.04.?

    26 septembre 2013, par Kugutsumen

    Is there any step by step guide on how to compile avconv in Ubuntu ?
    It seems hard to search for any tutorial with avconv compared to ffmpeg.

  • Close and reopen stream

    7 janvier 2020, par Expressingx

    I’m streaming video from a camera into a file. Using mp4 but if there is unexpected power off the video gets corrupted. So I’m going to store the video in a backup file where ffmpeg will write frames to temporary file and in some interval the content of that file will be copied to the backup file. So far so good, but in order backup file to be not corrupted I have to write the trailer first (I guess) to the temp file and eventually close the stream and then copy the content. After that reopen the stream to the temp file. But I’m getting Attempted to read or write protected memory if I try to call av_write_trailer() after its already called once.

    Is there even a way to achieve that or if I expect power off I should use other format like flv ?

  • MPlayer not playing HTTP video stream for a specific type of content from the same source

    2 août 2017, par Joel

    Implementation overview

    Before I dive into the question, I need to establish the context from the start.

    I am currently implementing a cloud gaming solution utilising the following :

    • Nvidia Capture SDK
    • Nvidia Video Codec SDK
    • FFmpeg
    • MPlayer

    The Nvidia Capture SDK is used to produce a shim layer (via DXGI.dll), intercepting and capturing DirectX frames so that they can be passed to the Nvidia Video Codec SDK to be encoded into an h264 video format. All this is done within DXGI.dll.

    I then pass the encoded video to FFmpeg. FFmpeg acts as an HTTP server that broadcasts the video stream for MPlayer to play.

    Problem

    I am running an Unreal Engine 4 game called "Epic Survival Game Series". The Nvidia Capture SDK’s shim layer kicks off when the game starts, and FFmpeg launches the HTTP server to start streaming. However, when I start MPlayer to receive the stream, MPlayer stops at the following message, and nothing happens after that.

    libavformat version 57.72.101 (internal)
    Stream not seekable!
    H264-ES file format detected

    The thing is, when I play the same video using ffplay, it works without any issue. This is not the only quirk. When I launch a different Unreal Engine 4 game called "First Person Shooter Template", MPlayer can play that video as well. Also, if I modify the Survival Game to load directly into the game level by skipping the menu, MPlayer is also able to play the video.

    Using FFmpeg to write the video to a file instead of streaming it to a video also works, no matter the game or whether I loaded into the menu or game level.

    This is very strange and I do not have any idea why this is the case. Any ideas ?

    Edit : One strange quirk I forgot to mention is that MPlayer does manage to play the video in very rare occasions - maybe once every 10-20 tries or so.

    Implementation Details

    Additional details of how certain parts are implemented.

    (1) For the Nvidia Capture SDK, I use the provided DXIFRShim example that is provided in the SDK

    (2) for the Nvidia Video Codec SDK, I use the provided NvEncoder example that is provided in the SDK

    (3) The FFmpeg command I use is this :
    ffmpeg -i - -listen 1 -threads 1 -vcodec copy -preset ultrafast -an -tune zerolatency -f h264 http://address:port
    The encoded frames from Nvidia Video Codec SDK is piped to FFmpeg.

    (4) The MPlayer command I use is this :
    mplayer -quiet -vo gl -nosound -benchmark http://address:port

    Things I’ve tried

    I am suspecting MPlayer to be the cause, so I’ve only played around with MPlayer parameters.
    mplayer http://address:port

    mplayer -fps 30 -vo gl -nosound -benchmark http://address:port

    mplayer -fps 30 -screenw 720 -screenh 1280 -vo gl -nosound -benchmark http://address:port

    mplayer -fps 30 -vo directx -nosound -benchmark http://address:port

    mplayer -fps 30 -vo null -nosound -benchmark http://address:port

    None of these worked.