Recherche avancée

Médias (91)

Autres articles (80)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (8464)

  • Videoshow NPM module with ffmpeg

    5 juillet 2018, par JZG

    I’m trying to use videoshow to convert multiple images to video, I have tried to change my code multiple times but now as you can see this is basically the same as in the module’s description page. Still I am receiving the following error as stated below.

    videoshow(images)
       .save('video.mp4')
       .on('start', function (command) {
           console.log('ffmpeg process started:', command)
       })
       .on('error', function (err) {
           console.error('Error:', err)
       })
       .on('end', function (output) {
           console.log('Video created in:', output)
       })


    Error: Error: ffmpeg exited with code 1: Error reinitializing filters!
    Failed to inject frame into filter network: Invalid argument
    Error while processing the decoded data for stream #2:0
    Conversion failed!

    at ChildProcess.<anonymous> (C:\Users\xxxxxx\Documents\Visual Studio 2017\Projects\Frame\Frame\server-side\node_modules\fluent-ffmpeg\lib\processor.js:182:22)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
    </anonymous>
  • Filter overlay has an unconnected output from ffmpeg to ffserver

    11 mars 2018, par Кирилл Казаков

    I try use filter_complex (overlay) with ffmpeg. Then sent ffm stream to ffserver, then i try get stream via rtp.
    If i sent stream to ffserver - i get next error

    Filter overlay has an unconnected output

    But if output stream from ffmpeg to file ( sample.mp4 ) - its ok, no errors .....

    FFmpeg build :

    ffmpeg version N-86676-g45dbb40cd1-static http://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 5.4.1 (Debian 5.4.1-11) 20170519
     configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-5 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gray --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg
     libavutil      55. 67.100 / 55. 67.100
     libavcodec     57.100.102 / 57.100.102
     libavformat    57. 75.100 / 57. 75.100
     libavdevice    57.  7.100 / 57.  7.100
     libavfilter     6. 94.100 /  6. 94.100
     libswscale      4.  7.101 /  4.  7.101
     libswresample   2.  8.100 /  2.  8.100
     libpostproc    54.  6.100 / 54.  6.100
    Hyper fast Audio and Video encoder

    Command ffmpeg :

    ./ffmpeg -i bg.jpg -thread_queue_size 512 -rtsp_transport tcp -i rtsp://ip:port/main -an -filter_complex "\
    [1:v]chromakey=0x4d8b40:0.093:0.09[ckout];\
    [0:v][ckout]overlay[out]" -map "[out]" -f ffm http://localhost:4000/feed1.ffm

    Output ffmpeg :

    Input #1, rtsp, from 'rtsp://ip:port/main':
     Metadata:
       title           : ss
       comment         : pp
     Duration: N/A, start: 80516.603067, bitrate: N/A
     Program 1
       Stream #1:1: Video: h264 (Baseline) ([27][0][0][0] / 0x001B), yuv420p(progressive), 720x576, 25 fps, 25 tbr, 90k tbn
       Stream #1:0: Audio: aac (LC), 48000 Hz, stereo, fltp, 98 kb/s
    Filter overlay has an unconnected output

    ffserver config :

    HTTPPort 4000
    RTSPPort 1235

    RTSPBindAddress 0.0.0.0
    HTTPBindAddress 0.0.0.0
    MaxHTTPConnections 2000
    MaxClients 1000
    MaxBandwidth 10000

    <feed>
           File /tmp/feed1.ffm
           FileMaxSize 1G

           ACL allow 127.0.0.1
           ACL allow localhost
    </feed>

    <stream>
       Feed feed1.ffm
       Format rtp
    </stream>

    <stream>
       Format status
    </stream>

    Why i see error if stream go to ffserver, but no errors if stream go to file ?

  • ffmpeg - improving quality

    14 juillet 2017, par jdjmedia

    My current CMS uses ffmpeg to encode videos. The source is MP4 and output is MP4. Here is the current line it uses :

    [2017-07-13 09:00:11] Executing : export
    FFMPEG_DATADIR=/home/httpd/html/domain.com/public_html/cms_admin//includes/presets/ ; /usr/local/bin/ffmpeg -y -i
    "/home/httpd/html/domain.com/public_html/cms_admin//storage//J80KTXaG4aE8FLHF0NZVUDB7PDMR487Q.mp4"
    -i "/home/httpd/html/members.domain.com/public_html/content/upload/scene/1080p/hys_katya.mp4"
    -i "/home/httpd/html/domain.com/public_html/cms_admin//storage//CZ6JY641aXDYCLNC7UTBMMCJRFXABJ6U.mp4"
    -filter_complex ’[0:0] [0:1] [1:0] [1:1] [2:0] [2:1] concat=n=3:v=1:a=1 [v] [a]’ -map ’[v]’ -map ’[a]’ -sn -b:v 12000k
    -vcodec h264 -pix_fmt yuv420p -r 30 -acodec aac -strict experimental -ab 127k -ar 44100 -ac 2 -dn -vpre hq -movflags faststart -s 1920x1080 -aspect 16:9 -f mp4 -vprofile high

    I have noticed that the quality it not that great. Any recommendations on what flags I might be able to use to make the output higher quality ?