Recherche avancée

Médias (91)

Autres articles (69)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (8238)

  • How to broadcast video to Vimeo stably by using ffmpeg ? [closed]

    5 octobre 2022, par akrsum

    I'm trying to broadcast video to Vimeo by using ffmpeg to broadcast from headless linux. Seemingly I can broadcast and video has no problem, but when I see analyzer, receiving bitrate is not stable.

    


    unstable connection of ffmpeg

    


    Nonetheless, ffmpeg always report stable bitrate.

    


    Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=  375 fps= 30 q=-1.0 size=    7840kB time=00:00:12.40 bitrate=5178.8kbits/s speed=   1x


    


    If I broadcast video from my laptop by using OBS, the analyzer shows stable connection.

    


    stable connection for OBS

    


    Here is a command I tried. Is there some problem ?

    


    ffmpeg -re -i  -codec copy -threads 4 -f flv /


    


  • Encode uncompressed avi from webcam

    17 août 2013, par shaun

    I have to record videos for a project I'm doing. Two of these are USB cameras and another is a n IP overhead camera.All three are connected to a laptop computer. After recording the videos I need to be able to open them in an editor (not for editing particularly but for modeling stuff in them for which I need a timeline). I have chosen Sony Vegas Pro for my editor. I have been able to record the uncompressed avi using gstreamer with this command :

    gst-launch v4l2src device=/dev/video0 ! 'video/x-rawyuv,width=640,height=480,framerate=10/1' ! mux. avimux name=mux ! filesink location=temp.avi

    I had to set the framerate to 10 because I was using two USB cameras and a framerate of 30 on both could not be accomodated in the bandwidth of the USB controller. I do not care about audio in my file so I don't grab audio. Similary, while encoding I wouldn't care about audio as well. This is raw uncompressed avi. I was not able to open this in Sony Vegas Pro. I believe I need to encode this uncompressed avi using a codec that will be opened by Sony Vegas Pro (I don't know which codecs Sony likes, so I'll probably try different ones until one of them opens).

    For encoding this video, I have several options : mencoder, ffmpeg, gstreamer. But I am not able to figure out how to use these tools to get what I want. Ideally, I would like just to sort of "insert" a codec with other settings remaining the same. I don't really care about the how much space the resulting video takes since the length of the videos are not going to be more than 3 minutes and I have space available, so lossless codecs also work. I believe Sony reads mpeg avi's so if I can get that, it'll be great.

    Thanks for reading and I appreciate all the help.

  • How to create a virtual webcamera device with ability to stream a video file in linux

    27 février 2020, par Vlad

    I need to create a script, that will stream a video file to virtual webcam, and make a virtual webcam accessible not only with ffplay /dev/videoX etc. but also with different applications like Cheese(default Ubuntu webcam app), Chrome, Discord and others.
    I tried solutions that use v4l2loopback and ffmpeg, but this doesn’t work in Chrome/Discord/Cheese/...
    Now I have several webcams :

    1. /dev/video0 - Native laptop camera
    2. /dev/video1 - A camera created with DroidCamX to use phones camera
      as laptop camera
    3. /dev/video2 - v4l2loopback camera

    When I try to stream a video file to /dev/video2 with ffmpeg, this message is showing up :

    user@hostname:~/Videos$ sudo ffmpeg -re -i "video.mp4" -map 0:0 -f v4l2 /dev/video2
    ffmpeg version 3.4.6-0ubuntu0.18.04.1 Copyright (c) 2000-2019 the FFmpeg developers
     built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
     configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
     libavutil      55. 78.100 / 55. 78.100
     libavcodec     57.107.100 / 57.107.100
     libavformat    57. 83.100 / 57. 83.100
     libavdevice    57. 10.100 / 57. 10.100
     libavfilter     6.107.100 /  6.107.100
     libavresample   3.  7.  0 /  3.  7.  0
     libswscale      4.  8.100 /  4.  8.100
     libswresample   2.  9.100 /  2.  9.100
     libpostproc    54.  7.100 / 54.  7.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.83.100
     Duration: 02:09:13.10, start: 0.000000, bitrate: 279 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 798x598 [SAR 1:1 DAR 399:299], 146 kb/s, 24 fps, 24 tbr, 12288 tbn, 48 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, s16p, 128 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))
    Press [q] to stop, [?] for help
    [v4l2 @ 0x5609f238c280] ioctl(VIDIOC_G_FMT): Invalid argument
    Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
    Error initializing output  stream 0:0
    Conversion failed!

    But when I run that command with /dev/video0, a stream starts and shows with ffplay /dev/video0. But applications, except Mozilla Firefox cannot detect /dev/video0 stream.
    So how can I create a virtual camera device properly in order to stream a video file to it and use as a camera in various applications ?

    I have Linux Ubuntu 18.04.4 LTS, kernel version : 5.3.0-40-generic, architecture : x86-64.
    Any help appreciated !