Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (112)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

Sur d’autres sites (5106)

  • 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 ?

  • 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 ?

  • 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>