Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (104)

  • L’utiliser, en parler, le critiquer

    10 avril 2011

    La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
    Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
    Une liste de discussion est disponible pour tout échange entre utilisateurs.

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

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (7662)

  • Untiy VideoPlayer error - The byte stream type of the given URL is unsupported

    24 avril 2018, par Nika Kasradze

    I’m on Unity 2018.1.0b13 trying to play a video from a local server.
    I’ve transcoded the video myself with ffmpeg. This is the encoding of the streams (by running ffmpeg -i v1.mp4) :

    Stream #0:0(eng) : Video : h264 (Constrained Baseline) (avc1 / 0x31637661), yu v420p, 960x540, 1244 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)

    Stream #0:1(eng) : Audio : aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 317 kb/s (default)

    In the folder of my v1.mp4 file I’m running http-server so that the file is available at http://127.0.0.1:8080/v1.mp4

    In unity I’m trying to play the video via this URL but I keep getting this same error, no matter what codec I try for encoding :

    WindowsVideoMedia error 0xc00d36c4 while reading http://127.0.0.1:8080/v1.mp4

    Context : MFCreateSourceReaderFromURL

    Error details : The byte stream type of the given URL is unsupported.

    Track types :

    The same video plays ok on Android so I’m guessing it’s just Media Foundation that’s messing me up, not Unity. Any suggestions on how can I make this work in Unity ?

    Thanks !

  • FFmpeg streaming to Akamai like FMLE does

    21 juin 2013, par xdev.developer

    I am trying to stream video from my webcam to AkamaiHD service using ffmpeg (like it is implemented in Flash Media Live Encoder)

       ffmpeg -f dshow -i video="Webcam C110" -s 640x360 -aspect 16:9 -profile:v baseline -    pix_fmt yuv420p -vcodec libx264 -f flv "rtmp://..."
    ...
      Input #0, dshow, from 'video=Webcam C110':
     Duration: N/A, start: 31296.194000, bitrate: N/A
       Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480, 30 tbr, 10000k tbn, 30 tbc
    Output #0
     Metadata:
       encoder         : Lavf55.8.102
       Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p, 640x360 [SAR 1:1 DAR 16:9], q=-1--1, 1k tbn, 30 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (rawvideo -> libx264)
    ....

    The video is sreamed, but when I try to view it at http://mediapm.edgesuite.net/edgeflash/public/zeri/debug/Main.html?url=myplayback_url/manifest.f4m
    it is not displayed.

    I've found out that if the video is recorded using FMLE and restreamed to akamai, then HLS stream is played.

    ffmpeg -re -i sample.f4v -c copy -f flv "rtmp://..."
    ....
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'sample.f4v':
     Metadata:
       major_brand     : f4v
       minor_version   : 0
       compatible_brands: isommp42m4v
       creation_time   : 2018-10-06 09:23:33
     Duration: 00:01:01.77, start: 0.460000, bitrate: 718 kb/s
       Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 624 kb/s, 30 tbr, 1k tbn, 48 tbc
       Metadata:
         creation_time   : 2018-10-06 09:23:33
         handler_name    : MainConcept

    Output #0
     Metadata:
       major_brand     : f4v
       minor_version   : 0
       compatible_brands: isommp42m4v
       encoder         : Lavf55.8.102
       Stream #0:0(eng): Video: h264 ([7][0][0][0] / 0x0007), yuv420p, 640x360 [SAR 1:1 DAR 16:9], q=2-31, 624 kb/s, 1k tbn, 1k tbc
       Metadata:
         creation_time   : 2018-10-06 09:23:33
         handler_name    : MainConcept
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
    ....

    It seems that the problem is with h.264 codec configuration, but I have found no solution yet.

    Could you please advice, how can I implement streaming like FMLE using ffmpeg ?

  • How to choosing audio stream

    5 septembre 2013, par user2696962

    I want to choose the first audio stream. but for some reason, it's not working. it's always choosing the last audio stream

    what i've tried

    ffmpeg -i test.avi -vf "movie=watermark_720.png [watermark]; [in][watermark] overlay=main_w-overlay_w-10:10 [out]" -map 0:0 -map 0:1 -y -ar 44100 -ac 1 -vcodec libx264 -b 555K -threads 0 test.2.flv

    ffmpeg -i test.avi

    ffmpeg -i test.avi
    ffmpeg version 1.2.3 Copyright (c) 2000-2013 the FFmpeg developers
     built on Sep  5 2013 03:04:34 with gcc 4.7 (Debian 4.7.1-2)
     configuration: --enable-gpl --enable-libass --enable-libfaac --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libspeex --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-x11grab --enable-libx264 --enable-nonfree --enable-version3
     libavutil      52. 18.100 / 52. 18.100
     libavcodec     54. 92.100 / 54. 92.100
     libavformat    54. 63.104 / 54. 63.104
     libavdevice    54.  3.103 / 54.  3.103
     libavfilter     3. 42.103 /  3. 42.103
     libswscale      2.  2.100 /  2.  2.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  2.100 / 52.  2.100
    Input #0, avi, from 'test.avi':
     Metadata:
       encoder         : VirtualDubMod 1.5.10.2 (build 2540/release)
     Duration: 01:37:21.64, start: 0.000000, bitrate: 2018 kb/s
       Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 720x404 [SAR 1:1 DAR 180:101], 29.97 tbr, 29.97 tbn, 29.97 tbc
       Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 160 kb/s
       Stream #0:2: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 448 kb/s

    test.2.flv comes out with Stream #0:2: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 448 kb/s