Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (34)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

Sur d’autres sites (6465)

  • ffmpeg with m3u8 : video and audio not synchronized

    3 avril 2017, par lemel

    I noticed while using ffmpeg to download m3u8 streaming playlist, I get sometimes faster video.
    If the content of the url master.m3u8 is the following :

    #EXTM3U
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=620941,RESOLUTION=640x352,CODECS="avc1.4d401f,mp4a.40.2"
    https://hello/world.m3u8

    If I’m not mistaken, ffmpeg should be able to decode the EXT-X-STREAM-INF information and assign the default value while downloading.
    But when I run the following command :

    ffmpeg -i "https://hello/darkness/my/old/friend/master.m3u8" -c copy "Some Video File.ts"

    I get a video that is faster than the Audio.
    If I run this command without the -c copy :

    ffmpeg -i "https://hello/darkness/my/old/friend/master.m3u8" "Some Video File.ts"

    I get a video and audio synchronized. But the video quality is worse.

    What’s the problem ?

  • ffmpwg failed with code 1 at ChildProcess

    13 janvier 2021, par awabs

    I am trying to add a watermark over the a video in firebase storage using firebase functions and ffmpeg,
but no matter what I try it always exit the same error.

    


     return spawn('ffmpeg', ['-i', tmpFilePath, '-vf',`drawtext="text='hello World'`, tmpFilePath]);


    


    And I tried this as well :

    


            return spawn('ffmpeg', ['-i', tmpFilePath, '-i', tmpLogoPath, '-filter_complex', '"overlay=10:10"', tmpFilePath]);


    


    console log :

    


    ChildProcessError: `ffmpeg -i /tmp/anything -vf drawtext="text=&#x27;Stack Overflow&#x27; /tmp/anything` failed with code 1&#xA;at ChildProcess.<anonymous> (/workspace/node_modules/child-process-promise/lib/index.js:132:23)&#xA;at ChildProcess.emit (events.js:315:20)&#xA;at ChildProcess.EventEmitter.emit (domain.js:506:15)&#xA;at maybeClose (internal/child_process.js:1021:16)&#xA;at Socket.<anonymous> (internal/child_process.js:443:11)&#xA;at Socket.emit (events.js:315:20)&#xA;at Socket.EventEmitter.emit (domain.js:506:15)&#xA;at Pipe.<anonymous> (net.js:674:12)&#xA;at Pipe.callbackTrampoline (internal/async_hooks.js:120:14)&#xA;</anonymous></anonymous></anonymous>

    &#xA;

  • Not able to configure FFserver for RTSP

    2 novembre 2015, par Sujith

    I am kind of new to the streaming world... so, please forgive me if I ask kind of dumb question.

    I am trying to stream my pre-recorded file over RTSP through FFserver.

    My config file is :

    RTSPPort 8544
    <feed>
       File /home/xyz/tmp/feed2.ffm
       FileMaxSize 200K
       ACL allow 127.0.0.1
    </feed>

    <stream>
       Feed feed2.ffm
       Format rtsp
       VideoFrameRate 15
       VideoSize 352x240
       VideoBitRate 256
       VideoBufferSize 40
       VideoGopSize 30
       AudioBitRate 64
       StartSendOnKey
    </stream>

    After starting the server, it give the below log :

    $ ./ffserver -f doc/ffserver.conf
    ffserver version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers
    built on Sep 17 2012 19:46:38 with gcc 4.1.2 20080704 (Red Hat 4.1.2-52)
    configuration: --enable-gpl --enable-libmp3lame --enable-libtheora --enable-libvo-aacenc
    -enable-libvorbis --enable-libvpx --enable-libx264 --enable-version3
    libavutil 51. 54.100 / 51. 54.100
    libavcodec 54. 23.100 / 54. 23.100
    libavformat 54. 6.100 / 54. 6.100
    libavdevice 54. 0.100 / 54. 0.100
    libavfilter 2. 77.100 / 2. 77.100
    libswscale 2. 1.100 / 2. 1.100
    libswresample 0. 15.100 / 0. 15.100
    libpostproc 52. 0.100 / 52. 0.100
    Wed Sep 19 17:03:32 2012 FFserver started.

    And now from my VLC client I am trying to type the URL : rtsp ://xxx.xxx.xxx.xxx:8554/test.sdp

    But, what happens is that, there is no response on the ffserver.

    I have no clue what might be the problem. Thanks in advance.