Recherche avancée

Médias (91)

Autres articles (93)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (7847)

  • Streaming video playlist from collection of identical mp4 files

    25 mars 2019, par user2746672

    I am looking for a way to play/stream to browser tag a list of mp4 files (same size, bitrate, etc) without hickups in between the files. I am hoping the following approach would work :
    * convert mp4 files to m4s/m4v files
    * generate MPEG-Dash MPD file (xml)
    * stream MPD to dash player in browser

    Is this in any way possible ? I am aware the m4s/m4v files need special headers and an entry file must be made somehow, and there you have my roadblock.

    Bottom-line is I want to avoid to concatenate the separate videos into one big video file and avoid the hick-ups you see when sequencing via a straightforward ’ended-event’ way in JS.

    Any suggestion much appreciated !

  • How can I efficiently process a video on a per-request basis ?

    20 décembre 2015, par mipadi

    I’m working on a web application in which a watermark must be applied to a video before it is sent to the user. Currently this watermark is static, and is created using ffmpeg when a video is updated. However, the application is changing so that a unique watermark will be added to the video for every request made for the video. This prevents a problem, as the video files may be fairly large and adding a watermark may be time-consuming (e.g., in some cases it may take over a minute to add a watermark), but the watermarks cannot be added on upload.

    I figured that streaming video could be a solution and implemented a solution using the nginx-rtmp-module, but several problems cropped up :

    1. RTMP solutions are a no-go as they appear to require Flash. This application must be supported on devices that don’t support Flash at all, or don’t (and won’t) have it installed.
    2. I have considered using MPEG-DASH, but that enjoys only limited support. Namely, it is not supported on versions of Firefox targeted by the application, nor is it supported on iOS or some versions of Safari.
    3. I have considered HLS, but that enjoys even more limited support than MPEG-DASH.
    4. Regardless, I haven’t actually been able to get Dash.js (the reference player for MPEG-DASH streams) to work, although that may be due to an encoding issue, I’m not sure.

    I wondered if there is a better (perhaps simpler) solution to this problem ; perhaps streaming video isn’t the way to go at all ? Is there an efficient way to transcode a video file on-the-fly and start sending it to the browser quickly ?

    I am not against using solutions like node.js or other platforms/frameworks, and solutions can use HTML5 <video></video> if necessary.

  • Ffmpeg hardware acceleration unsupported formats betwen transpose and auto_scaler_0

    11 août 2021, par Eduard6421

    I am trying to develop a transoding service which makes use of nvidia hardware acceleration capabilities ( The gpu used in this process is a Tesla T4) ; I want to generate a mpeg-dash playlist for my video so that i can stream it ;

    &#xA;

    ffmpeg -y -hwaccel cuda -hwaccel_output_format cuda -i mobil1.mp4 -c:v h264_nvenc -c:a aac  \&#xA;-map v:0 -b:v:0 1000k -maxrate:0 1500k -bufsize:0 2500k -filter:v:0 "scale_npp=1920:1080:force_original_aspect_ratio=decrease" -map 0:a -b:a 128k \&#xA;-f dash dash.mpd&#xA;

    &#xA;

    But when mobile videos are uploaded ( which have rotation metadata ) I encounter the following error :

    &#xA;

    Impossible to convert between the formats supported by the filter &#x27;transpose&#x27; and the filter &#x27;auto_scaler_0&#x27;&#xA;Error reinitializing filters!&#xA;Failed to inject frame into filter network: Function not implemented&#xA;Error while processing the decoded data for stream #0:0&#xA;

    &#xA;

    How can i solve this issue ? I am using the following docker image :&#xA;jrottenberg/ffmpeg:4.4-nvidia

    &#xA;