Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (37)

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

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

Sur d’autres sites (6012)

  • How to compile ffmpeg commands in android studio ?

    24 août 2020, par Junaid Khan

    I have added ffmpeg dependency in my project

    


    implementation 'com.github.hiteshsondhi88.libffmpeg:FFmpegAndroid:0.2.5'


    


    When I run the prject I am getting error.

    


    java.io.IOException: Cannot run program "/data/user/0/com.muhana.videomerger/files/ffmpeg": error=2, 
No such file or directory


    


    The instructions for using ffmpeg are :

    


    Set environment variable

    


    export ANDROID_NDK=Android NDK Base Path

    


    Run following commands to compile ffmpeg

    


    sudo apt-get —quiet —yes install build-essential git autoconf libtool pkg-config gperf gettext yasm python-lxml

    


    ./init_update_libs.sh

    


    ./android_build.sh

    


    To update submodules and libraries you can use ./init_update_libs.sh command
Find the executable binary in build directory.
If you want to use FONTCONFIG then you need to specify your custom fontconfig config file (e.g - "FONTCONFIG_FILE=/sdcard/fonts.conf ./ffmpeg —version", where /sdcard/fonts.conf is location of your FONTCONFIG configuration file)

    


    I need help for executing these commands. How to run these commands properly ?

    


  • How do I playout rtmp stream to SDI (Decklink Studio 4K) using FFMPEG command ?

    30 août 2019, par Rahul Sinha

    ffmpeg -i rtmp ://ip/live/livestream -f decklink -pix_fmt uyvy422 -s 720x486 -r 24000/1001 ’DeckLink Studio 4K’

    Want to get output on decklink card.
    Getting error :

    ffmpeg version 4.0.2 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 7.3.1 (GCC) 20180722
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
     libavutil      56. 14.100 / 56. 14.100
     libavcodec     58. 18.100 / 58. 18.100
     libavformat    58. 12.100 / 58. 12.100
     libavdevice    58.  3.100 / 58.  3.100
     libavfilter     7. 16.100 /  7. 16.100
     libswscale      5.  1.100 /  5.  1.100
     libswresample   3.  1.100 /  3.  1.100
     libpostproc    55.  1.100 / 55.  1.100
    [flv @ 000002a2d130a7c0] Negative cts, previous timestamps might be wrong.
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-1101, dts=0, size=4425
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-1118, dts=0, size=985
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-1118, dts=0, size=768
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-1068, dts=0, size=118
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-968, dts=0, size=3272
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-985, dts=0, size=883
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-984, dts=0, size=521
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-935, dts=0, size=448
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-885, dts=0, size=3629
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-851, dts=0, size=345
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-768, dts=0, size=3354
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-785, dts=0, size=835
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-784, dts=0, size=402
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-735, dts=0, size=418
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-685, dts=0, size=3086
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-651, dts=0, size=225
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-568, dts=0, size=2940
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-585, dts=0, size=733
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-584, dts=0, size=406
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-535, dts=0, size=410
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-485, dts=0, size=3396
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-451, dts=0, size=346
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-368, dts=0, size=3176
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-385, dts=0, size=911
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-384, dts=0, size=456
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-335, dts=0, size=437
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-285, dts=0, size=3420
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-251, dts=0, size=606
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-185, dts=0, size=4562
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-185, dts=0, size=803
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-184, dts=0, size=665
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-85, dts=0, size=4623
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-85, dts=0, size=101
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-84, dts=0, size=807
    Input #0, flv, from 'rtmp://ip/live/livestream':
     Metadata:
       videokeyframe_frequency: 480
       audiochannels   : 2
     Duration: N/A, start: 0.000000, bitrate: 1667 kb/s
       Stream #0:0: Video: h264 (Main), yuv420p(progressive), 854x480 [SAR 1:1 DAR 427:240], 1536 kb/s, 60 fps, 30 tbr, 1k tbn, 12k tbc
       Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp, 131 kb/s
    [NULL @ 000002a2d1335b00] Requested output format 'decklink' is not a suitable output format
    DeckLink: Invalid argument

    i’m getting error decklink invalid argument. thanks in advance.

  • RTMP server - without watermarks everything works fine --- with watermark one stream will not work nginx ffmpeg overlay watermark

    10 juin 2021, par Ashley Taylor

    okay so i used the below config and everything works great both youtube and facebook work .

    


    rtmp {
    server {
        listen 1935;
        chunk_size 8192;
        application live {
        record off;
        live on;
        push rtmp://a.rtmp.youtube.com/live2/djfghjkdfhgkjsdfglsjdfhj;
                push rtmp://127.0.0.1:19350/rtmp/453uy4uty8ryt85ty85yt8; (facbook)
                    }
    
        }
    

    }


    


    Now i have tried 2 seprate way to add a water mark (Youtube works fine Every time)
Facebook does not stream at all let alone with a watermark

    


    examples i have tried below

    


    rtmp {
server {
    listen 1935;
    chunk_size 8192;
    application live {
    record off;
    live on;
            exec /bin/ffmpeg  -i rtmp://127.0.0.1:1935/live/$name
             -vf "movie=/etc/nginx/images/logo.png[logo];[0][logo]overlay=0:300"
             -c:v libx264 -f flv rtmp://127.0.0.1:1935/push/$name;
              }

    application push {
    live on;
    push rtmp://a.rtmp.youtube.com/live2/djfghjkdfhgkjsdfglsjdfhj;
            }
   }
}


    


    and another

    


    rtmp {
server {
    listen 1935;
    chunk_size 8192;
    application live {
    record off;
    live on;
            exec /bin/ffmpeg  -i rtmp://127.0.0.1:1935/live/$name
             -vf "movie=/etc/nginx/images/logo.png[logo];[0][logo]overlay=0:300"
             -c:v libx264 -f flv rtmp://127.0.0.1:1935/push/$name;
    
                    exec /bin/ffmpeg  -i rtmp://127.0.0.1:1935/live/$name
             -vf "movie=/etc/nginx/images/logo.png[logo];[0][logo]overlay=0:300"
             -c:v libx264 -f flv rtmp://127.0.0.1:1935/pushh/$name;
            }

    application push {
    live on;
    push rtmp://a.rtmp.youtube.com/live2/djfghjkdfhgkjsdfglsjdfhj;
            }

            application pushh {
            live on;
            push rtmp://127.0.0.1:19350/rtmp/453uy4uty8ryt85ty85yt8;
            }
   }
}


    


    Now for the life of me i just cannot get my brain to work.
i am very new to rtmp and have tried a dozen other ways before coming here for help.

    


    i know this is going to be something i where i am making such a simple mistake

    


    but on the other hand paying over $49 for restream.io for a shoddy service i just have to learn this for my own servers