Recherche avancée

Médias (91)

Autres articles (80)

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

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

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (10712)

  • Run ffmpeg on windows - real-time buffer [USB Camera] [video input] too full or near too full frame dropped

    14 juillet 2020, par Nikola Lukic

    I got successed on macos and linux with :

    


    Linux :

    


    ffmpeg \
    -f v4l2 \
    -framerate 25 -video_size 640x480 -i /dev/video0 \
    -f mpegts \
    -codec:v mpeg1video -s 640x480 -b:v 1000k -bf 0 \
    http://localhost:8081/supersecret


    


    MacOS test :

    


      ffmpeg -f avfoundation -framerate 30 -video_size 640x480 \
  -i "0" -f mpegts -codec:v mpeg2video -s 640x480 -b:v 1000k \
  -bf 0 http://localhost:8081/supersecret


    


    I already installed ffmpeg on windows a just need correct command.

    


    My error log is :

    


    


    /dev/video0: No such file or directory

    


    


    Update :

    


    After ffmpeg -list_devices true -f dshow -i dummy i got :

    


    ...
[dshow @ 000001985949ce80] DirectShow video devices (some may be both video and audio devices)
[dshow @ 000001985949ce80]  "USB Camera"
[dshow @ 000001985949ce80]     Alternative name "@device_pnp_\\?\usb#vid_0c45&pid_6340&mi_00#6&313cdc8e&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global"
...


    


    Than i try to run my server with :

    


    ffmpeg -f dshow -i video="USB Camera"  -framerate 30 -video_size 640x480 -f mpegts -codec:v mpeg2video -s 640x480 -b:v 1000k -bf 0 http://localhost:8081/supersecret


    


    And i catch this log :

    


    Input #0, dshow, from 'video=USB Camera':
  Duration: N/A, start: 27271.559000, bitrate: N/A
    Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480, 30 fps, 30 tbr, 10000k tbn, 10000k tbc
[dshow @ 0000022a4be9f0c0] real-time buffer [USB Camera] [video input] too full or near too full (101% of size: 3041280 [rtbufsize parameter])! frame dropped!
    Last message repeated 173 times
[tcp @ 0000022a4beae340] Connection to tcp://localhost:8081 failed: Error number -138 occurred
http://localhost:8081/supersecret: Unknown error
[dshow @ 0000022a4be9f0c0] real-time buffer [USB Camera] [video input] too full or near too full (101% of size: 3041280 [rtbufsize parameter])! frame dropped!


    


  • Getting "moov atom not found" error on linux but not windows/mac ?

    22 juin 2020, par flynnstone9

    Hey I have a tool I built that makes a video for me and it works locally on a mac / windows machine. I setup a digital ocean ubuntu server to host my app and the final video is giving a "moov atom not found" when running ffprobe output.mp4.

    


    The way the video is being created is thru this cmd :

    


    


    ffmpeg -i 1.mp4 -i 3.mp4 -filter_complex "[0:v][0:a][1:v][1:a]concat=n=2:v=1:a=1" output.mp4

    


    


    I'm using slightly different versions of ffmpeg on linux v Mac. I was running 4.3-2ubuntu0 18.04.sav0 on linux and ffmpeg version 4.2.2 on Mac.

    


    Is this a linux specific issue or is it something with the video container I'm missing ?

    


  • Screen recording and live streaming (Windows DXGI) - C++

    16 mai 2020, par NewbieCoder

    I am using the Desktop Duplication API in Windows to obtain images of the screen. I know to obtain the bitmap image of the screen by using the API but I am stuck after this. To stream it to the server I thought of encoding it into H264 and then encoding that again to RTMP and then streaming it to the server. Is there a better and faster way ?

    



    I searched many times and most of the answers are using FFmpeg and just finishing the whole task of screen recording to streaming in a single line. Please tell me a way to do this programmatically !!

    



    How do I encode to H264 and then to RTMP ? If the video is being double encoded, will this result in a loss of performance in both streaming side and receiving side ?

    



    Please point me in the right direction. Any hints or links will be very helpful.