Recherche avancée

Médias (91)

Autres articles (28)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (5700)

  • FFMpeg live stream with C++

    21 août 2015, par cahbs
    #include
    extern “C” {
    #include “libavformat\avformat.h”
    #include “libavdevice\avdevice.h”
    }
    int main(int argc, char **argv)
    {
     av_register_all();
     avcodec_register_all();
     avdevice_register_all();
     avformat_network_init();
     AvFormatContex *pFormatContex;
     pFormatContext = format_alloc_context();
     AvInputFormat * a = av_find_input_format(“dshow”);
     av_format_open_input(&pFormatCtx, “video””HP Webcam [2 MP Fixed]”””,a,NULL);
    }

    This code is the access web cam.
    I want to live stream on web cam in C++. I can’t get web cam video on web cam.

  • HTTP Live Streaming, FFMPEG & FFSERVER, and iPhone OS 3

    17 novembre 2014, par jcnnghm

    In iPhone OS 3, Apple has introduced HTTP Live Streaming which should allow live streaming of video from the internet. I am currently operating a webcam, which feeds into my server, and is then converted into a flv stream by ffmpeg, and streamed back out using ffserver. Does anyone know how to setup a video stream the iPhone can use using ffmpeg and ffserver ? I should be able to re-encode into just about any format on the fly.

  • Error while opening encoder for output stream #0:1 Webm VP9 live streaming

    29 août 2019, par Salem

    The source video I use is H264 m3u8 live stream and this is the command I tried

    ffmpeg -re -i "http://sorce.com/live.m3u8" -c:v libvpx-vp9 -s 480x360 -keyint_min 60\
    -g 60 -speed 5 -tile-columns 4 -frame-parallel 1 -threads 8 -static-thresh 0 \
    -max-intra-rate 300 -deadline realtime -lag-in-frames 0 -error-resilient 1 \
    -b:v 300k -c:a libvorbis  -b:a 64k -ar 44100 -f webm_chunk -audio_chunk_duration 2000 \
    -header "/var/www/example.com/live/glass_360.hdr" -chunk_start_index 1  \
    /var/www/example.com/live/glass_360_%d.chk  

    I pickup this code from wkiki.webmproject.org
    most of the time I got this error message

    [libvorbis @ 0x5617bae0c240] encoder setup failed Error initializing
    output stream 0:1 -- Error while opening encoder for output stream
    #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height

    Here is FFMPEG command output

    Input #0, mpegts, from 'http://sorce.com/live.m3u8':
     Duration: N/A, start: 1369.000978, bitrate: N/A
     Program 1
       Metadata:
         service_name    : Service01
         service_provider: FFmpeg
       Stream #0:0[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
       Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, mono, fltp, 127 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> vp9 (libvpx-vp9))
     Stream #0:1 -> #0:1 (aac (native) -> vorbis (libvorbis))

    I already add video map before video and audio coding argue but I got same error

    -map  0:v:0 -c:v libvpx-vp9 and -map 0:a:0 -c:a libvorbis

    I tried new broadcast command it works first after I disable the audio

    VP9_DASH_PARAMS="-tile-columns 4 -frame-parallel 1 -speed 6" && \
    ffmpeg -y -re -i http://sorce.com/live.m3u8 -c:v libvpx-vp9 -s 480x360 -b:v 150k \
    -keyint_min 150 -g 150 ${VP9_DASH_PARAMS} -an -f webm -dash 1 \
    video_1280x720_500k.webm && sleep 1 && ffmpeg  -f webm_dash_manifest \
    -i video_1280x720_500k.webm -c copy -f webm_dash_manifest - \ adaptation_sets "id=0"  manifest.mpd

    this command didn’t create manifest.mpd it created only video_1280x720_500k.webm