Recherche avancée

Médias (0)

Mot : - Tags -/api

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (74)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (9056)

  • How can I encode a video in a MP4 container using OpenCV 2.4.10 ? (Win 8.1)

    24 juin 2015, par Angie Quijano

    I have been trying to encode a vector that contains images, in a MP4 video. I have tried to use a lot of FOURCC codecs for this purpose, but I have not been successful.
    I have achieved to encode my vector in a AVI video using as CV_FOURCC code this : CV_FOURCC(’X’,’V’,’I’,’D’), but I really need to obtain a MP4 video. I have tried the following FOURCC codes : MP4S, MP4V, XVID, DVIX, X264, H264, FMP4, and others than I can’t remember.

    My line of code is :

    VideoWriter(videoName, CV_FOURCC('X','2','6','4'), fps, outputSize)
    where videoName = "OutputVideo.mp4", fps = 47, outputSize = [4225x2030].

    I checked if I built my OpenCV with Ffmpeg support and I got this :

    Video I/O:
      Video for Windows:           YES
      DC1394 1.x:                  NO
      DC1394 2.x:                  NO
      FFMPEG:                      YES (prebuilt binaries)
        codec:                     YES (ver 55.18.102)
        format:                    YES (ver 55.12.100)
        util:                      YES (ver 52.38.100)
        swscale:                   YES (ver 2.3.100)
        gentoo-style:              YES
      OpenNI:                      NO
      OpenNI PrimeSensor Modules:  NO
      PvAPI:                       NO
      GigEVisionSDK:               NO
      DirectShow:                  YES
      Media Foundation:            NO
      XIMEA:                       NO
      Intel PerC:                  NO

    I don’t know what I’m doing wrong. Can anyone help me, please ?

    Sorry for my english.

  • some of google drive mp4 files are not playing in jwplayer

    14 juin 2017, par dev

    I am working on to play the mp4 videos from google drive but I am facing the problem that some mp4 files are playing well while some mp4 files are not playing at all insteal "file not found" error shows.

    This is what I am doing.
    link :

    https://drive.google.com/file/d/0BwnSGB-C8mEGUmY2U1dhcVNiWjQ/view?usp=sharing

    My code is :

    jwplayer("player_embed").setup ({
         file:   "https://docs.google.com/uc?id=0BwnSGB-C8mEGUmY2U1dhcVNiWjQ",
         type:   "mp4",
         primary: "flash",
         image: image_link,
         width:  950,
         height: 370,
         tracks:[{
           file: subtitle_link,
           label: "English",
           kind : "captions",
           default: "true",
         }]
         });

    is there any mime type issue or something else I need to do ?
    is there any other player that can play videos,subtitles,image poster from google drive ?

  • FFMPEG : Error writing trailer of v%v/index.m3u8 : Cannot allocate memory

    7 avril 2023, par user3309447

    I wanted to convert one video track and 2 audio tracks to HLS by combining them.
That means, the HLS conversion has to be multi-bitrate and multi-language both.

    


    What do I want to achieve ?
I have to prepare an HLS stream for 3 resolutions, namely, 720px, 480px and 360px.
Also, there will be 2 audio tracks in the resultant stream, one English and another Hindi.
I am running the below command and getting the error as described below.
Can anybody help me out ?

    


    Command :

    


    ffmpeg-5.0.1-amd64-static/ffmpeg -i raw/vid_only.mp4 -i raw/english.mp3 -i raw/hindi.mp3 \
-c:a:0 aac \
-c:a:1 aac \
-filter_complex \
"[0:v]split=3[v1][v2][v3]; \
[v1]scale=w=1280:h=720[v1out]; [v2]scale=w=854:h=480[v2out]; [v3]scale=w=640:h=360[v3out]" \
-map [v1out] -c:v:0 libx264 -x264-params "nal-hrd=cbr:force-cfr=1" -b:v:0 5M -maxrate:v:0 5M -minrate:v:0 5M -bufsize:v:0 10M -preset slow -g 48 -sc_threshold 0 -keyint_min 48 \
-map [v2out] -c:v:1 libx264 -x264-params "nal-hrd=cbr:force-cfr=1" -b:v:1 3M -maxrate:v:1 3M -minrate:v:1 3M -bufsize:v:1 3M -preset slow -g 48 -sc_threshold 0 -keyint_min 48 \
-map [v3out] -c:v:2 libx264 -x264-params "nal-hrd=cbr:force-cfr=1" -b:v:2 1M -maxrate:v:2 1M -minrate:v:2 1M -bufsize:v:2 1M -preset slow -g 48 -sc_threshold 0 -keyint_min 48 \
-map 1:a -c:a:0 aac -b:a:0 96k -ac 2 \
-map 1:a -c:a:1 aac -b:a:1 96k -ac 2 \
-map 1:a -c:a:2 aac -b:a:2 48k -ac 2 \
-map 2:a -c:a:0 aac -b:a:0 96k -ac 2 \
-map 2:a -c:a:1 aac -b:a:1 96k -ac 2 \
-map 2:a -c:a:2 aac -b:a:2 48k -ac 2 \
-var_stream_map "a:0,agroup:audio,default:yes a:1,agroup:audio v:0,agroup:audio" \
-var_stream_map "v:0,name:720p v:1,name:480p v:2,name:360p" v%v/index.m3u8 \
-master_pl_name master.m3u8 \
-f hls \
-hls_time 6 \
-hls_list_size 0 \
-hls_playlist_type vod \
-hls_flags independent_segments \
-hls_segment_type mpegts \
-hls_segment_filename v%v/data%02d.ts \
-max_muxing_queue_size 80072 \
-muxing_queue_data_threshold 30036


    


    Output :

    


    [hls @ 0x59c3340] Unable to find mapping variant stream00:00.00 bitrate=N/A speed=   0x    
av_interleaved_write_frame(): Cannot allocate memory
[hls @ 0x59c3340] Unable to find mapping variant stream
av_interleaved_write_frame(): Cannot allocate memory
[hls @ 0x59c3340] Unable to find mapping variant stream
av_interleaved_write_frame(): Cannot allocate memory
[hls @ 0x59c3340] Unable to find mapping variant stream
av_interleaved_write_frame(): Cannot allocate memory
[hls @ 0x59c3340] Unable to find mapping variant stream
av_interleaved_write_frame(): Cannot allocate memory
[hls @ 0x59c3340] Unable to find mapping variant stream
av_interleaved_write_frame(): Cannot allocate memory
[hls @ 0x59c3340] Unable to find mapping variant stream
[hls @ 0x59c3340] Opening 'v720p/index0.ts' for writing
[hls @ 0x59c3340] Opening 'v720p/index.m3u8.tmp' for writing
[hls @ 0x59c3340] Opening 'v480p/index0.ts' for writing
[hls @ 0x59c3340] Opening 'v480p/index.m3u8.tmp' for writing
[hls @ 0x59c3340] Opening 'v360p/index0.ts' for writing
[hls @ 0x59c3340] Opening 'v360p/index.m3u8.tmp' for writing
Error writing trailer of v%v/index.m3u8: Cannot allocate memory