Recherche avancée

Médias (91)

Autres articles (40)

  • 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

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

Sur d’autres sites (4497)

  • hls.js starting a beginning with ANDROID mobile (chrome, webview also) and not live *** but works very nice in deskto, ios .. hls.js 1.0.0 2021-04-01

    27 avril 2021, par Jintor

    I'm streaming a .m3u8 with the latest hls.js 1.0.0 (not rc) but version of 2021-04-01...

    


    example : the stream began at 5pm, and now it's 5:15 pm...

    


    the stream start at live point in almost all browsers

    


    The pattern I see here : ALL browsers in android (tested in Android 10) won't start at live point, only at 0...

    


    I did all the tests

    


    • Safari desktop => stream live at 5:15

    


    • Safari mobile => stream live at 5:15

    


    • WebView (Android) => ••• ISSUE : the player starts the stream at 0 (5pm)

    


    • WKWebView (apple IOS iphone,ipad) => stream live at 5:15

    


    • Chrome Desktop (mac/win) => stream live at 5:15

    


    • Chrome MOBILE (Android) => ••• ISSUE : the player starts the stream at 0 (5pm)

    


    • Chrome MOBILE (iPhone) => stream live at 5:15

    


    • Microsoft EDGE Desktop => stream live at 5:15

    


    • Microsoft EDGE mobile (android) => ••• ISSUE : the player starts the stream at 0 (5pm)

    


    • Firefox Desktop (mac/win) => stream live at 5:15

    


    • Opera Desktop (mac/win) => stream live at 5:15

    


    • Opera Mini (iPhone) => stream live at 5:15

    


    • Opera Mini (android) => ••• ISSUE : the player starts the stream at 0 (5pm)

    


    • Brave Desktop (mac/win) => stream live at 5:15

    


    • Brave Mobile (iPhone) => stream live at 5:15

    


    • Brave Mobile (android) => ••• ISSUE : the player starts the stream at 0 (5pm)

    


    This code

    


    <code class="echappe-js">&lt;script src=&quot;https://cdn.jsdelivr.net/npm/hls.js@latest&quot;&gt;&lt;/script&gt;&#xA;    

    &#xA; &lt;script&gt;&amp;#xA;      var video = document.getElementById(&quot;video&quot;);&amp;#xA;      var videoSrc = &quot;https://www.example1.com/streaming/index.m3u8&quot;;&amp;#xA;      if (video.canPlayType(&quot;application/vnd.apple.mpegurl&quot;)) {&amp;#xA;        video.src = videoSrc;&amp;#xA;      } else if (Hls.isSupported()) {&amp;#xA;         var config = {&amp;#xA;            autoStartLoad: true,&amp;#xA;            startPosition: -1,&amp;#xA;            debug: false,&amp;#xA;            capLevelOnFPSDrop: false,&amp;#xA;            capLevelToPlayerSize: false,&amp;#xA;            defaultAudioCodec: undefined,&amp;#xA;            initialLiveManifestSize: 1,&amp;#xA;            maxBufferLength: 30,&amp;#xA;            maxMaxBufferLength: 500,&amp;#xA;            backBufferLength: Infinity,&amp;#xA;            maxBufferSize: 60 * 1000 * 1000,&amp;#xA;            maxBufferHole: 0.5,&amp;#xA;            highBufferWatchdogPeriod: 2,&amp;#xA;            nudgeOffset: 0.1,&amp;#xA;            nudgeMaxRetry: 3,&amp;#xA;            maxFragLookUpTolerance: 0.25,&amp;#xA;            liveSyncDurationCount: 3,&amp;#xA;            liveMaxLatencyDurationCount: Infinity,&amp;#xA;            liveDurationInfinity: false,&amp;#xA;            enableWorker: true,&amp;#xA;            enableSoftwareAES: true,&amp;#xA;            manifestLoadingTimeOut: 10000,&amp;#xA;            manifestLoadingMaxRetry: 1,&amp;#xA;            manifestLoadingRetryDelay: 1000,&amp;#xA;            manifestLoadingMaxRetryTimeout: 64000,&amp;#xA;            startLevel: undefined,&amp;#xA;            levelLoadingTimeOut: 10000,&amp;#xA;            levelLoadingMaxRetry: 4,&amp;#xA;            levelLoadingRetryDelay: 1000,&amp;#xA;            levelLoadingMaxRetryTimeout: 64000,&amp;#xA;            fragLoadingTimeOut: 20000,&amp;#xA;            fragLoadingMaxRetry: 6,&amp;#xA;            fragLoadingRetryDelay: 1000,&amp;#xA;            fragLoadingMaxRetryTimeout: 64000,&amp;#xA;            startFragPrefetch: false,&amp;#xA;            testBandwidth: true,&amp;#xA;            progressive: false,&amp;#xA;            lowLatencyMode: true,&amp;#xA;            fpsDroppedMonitoringPeriod: 5000,&amp;#xA;            fpsDroppedMonitoringThreshold: 0.2,&amp;#xA;            appendErrorMaxRetry: 3,&amp;#xA;            enableWebVTT: true,&amp;#xA;            enableIMSC1: true,&amp;#xA;            enableCEA708Captions: true,&amp;#xA;            stretchShortVideoTrack: false,&amp;#xA;            maxAudioFramesDrift: 1,&amp;#xA;            forceKeyFrameOnDiscontinuity: true,&amp;#xA;            abrEwmaFastLive: 3.0,&amp;#xA;            abrEwmaSlowLive: 9.0,&amp;#xA;            abrEwmaFastVoD: 3.0,&amp;#xA;            abrEwmaSlowVoD: 9.0,&amp;#xA;            abrEwmaDefaultEstimate: 500000,&amp;#xA;            abrBandWidthFactor: 0.95,&amp;#xA;            abrBandWidthUpFactor: 0.7,&amp;#xA;            abrMaxWithRealBitrate: false,&amp;#xA;            maxStarvationDelay: 4,&amp;#xA;            maxLoadingDelay: 4,&amp;#xA;            minAutoBitrate: 0,&amp;#xA;            emeEnabled: false&amp;#xA;        };&amp;#xA;        var hls = new Hls(config);&amp;#xA;        hls.loadSource(videoSrc);&amp;#xA;        hls.attachMedia(video);&amp;#xA;      }   &amp;#xA;      video.addEventListener(&quot;loadedmetadata&quot;, function(){ video.muted = true; video.play(); }, false);&amp;#xA;    &lt;/script&gt;&#xA;

    &#xA;

    // here I added video.muted = true ; video.play() ; to auto start, if I try to autoplay unmuted, many browsers refuse this command...

    &#xA;

    // playsinline="true" is NEEDED for safari

    &#xA;

    ••••••• THE FFMPEG COMMAND (working : it allows me to have 3 to 4 seconds delay ••••••

    &#xA;

    ffmpeg -re -i input.x -c:a aac -c:v libx264 &#xA;-movflags &#x2B;dash -preset ultrafast &#xA;-crf 28 -refs 4 -qmin 4 -pix_fmt yuv420p &#xA;-tune zerolatency -c:a aac -ac 2 -profile:v main &#xA;-flags -global_header -bufsize 969k &#xA;-hls_time 1 -hls_list_size 0 -g 30 &#xA;-start_number 0 -streaming 1 -hls_playlist 1 &#xA;-lhls 1 -hls_playlist_type event -f hls path_to_index.m3u8&#xA;

    &#xA;

    •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

    &#xA;

    How can this be fixed ?

    &#xA;

    How can I make play at live point on load in android MOBILE ?

    &#xA;

  • ffmpeg transcoding : Metallic distorsion on macOS

    10 septembre 2024, par Xavi

    I am following ffmpeg's transcoding.c example to record audio and video from my input devices into an mp4 output file with H264 and AAC as codecs. I have no issues with the video and the audio transcoding works correctly on Windows.

    &#xA;

    However, on macOS I have an issue with any input device other than the internal microphone of my laptop : the audio comes out distorted and sounding noisy and metallic (sample recording claps : https://file.io/nEn8MXHUAUQ2). I went through the input and output parameters for the filter several times, checked the values, but there must be something I'm missing. And I can't explain why it works on Windows with the same devices.

    &#xA;

    Has anyone run into a similar problem before ? Any idea where I should start looking at ?

    &#xA;

    Additional comments :

    &#xA;

      &#xA;
    1. While the Macbook's internal microphone (the only one that works) has only one channel, the other microphones I have available are stereo, so I can't say for sure that that's where the problem is.
    2. &#xA;

    3. I also tested it on a macbook mini, with the same results.
    4. &#xA;

    5. ffmpeg 6.1.1, MacOs 14.5
    6. &#xA;

    7. Input filter arguments : time_base=1/1000000:sample_rate=48000:sample_fmt=1:channel_layout=stereo
    8. &#xA;

    9. Output filter arguments : setpts=PTS-STARTPTS,aresample=48000:async=1:out_sample_fmt=8:out_chlayout=stereo,asetnsamples=n=1024
    10. &#xA;

    &#xA;

  • avdevice/decklink : 10 Bit support for Decklink input device

    18 janvier 2015, par Georg Lippitsch
    avdevice/decklink : 10 Bit support for Decklink input device
    

    Example to capture video clip at 1080i50 10 bit :
    ffmpeg -bm_v210 1 -f decklink -i ’UltraStudio Mini Recorder@11’ -acodec copy -vcodec copy output.avi

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavdevice/decklink_common_c.h
    • [DH] libavdevice/decklink_dec.cpp
    • [DH] libavdevice/decklink_dec_c.c