Recherche avancée

Médias (91)

Autres articles (58)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (8190)

  • Streaming UDP packets to two different ports (for video and audio). Video works fine, but the audio does not show

    8 avril 2018, par Winston Chen

    I am taking a rtsp stream, split the video and audio out, and stream them to two different ports respectively using gstreamer so that my ffserver would be able to display the stream on my browser.

    My gstreamer pipeline :

    gst-launch-1.0 -v rtspsrc location=rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov latency=300 timeout=0 drop-on-latency=true rtp-blocksize=4096 name=rtsp_source ! \
     queue ! capsfilter caps="application/x-rtp,media=video" ! rtph264depay ! h264parse ! rtph264pay config-interval=1 pt=96 ! udpsink host=127.0.0.1 port=9527 rtsp_source. ! \
     queue ! rtpmp4apay pt=97 ! udpsink host=127.0.0.1 port=9327

    Here comes the sdp and my ffmpeg commnad :

    m=video 9527 RTP/AVP 96
    a=rtpmap:96 H264/90000
    c=IN IP4 127.0.0.1

    m=audio 9327 RTP/AVP 97
    a=rtpmap:97 mpeg4-generic/48000/6
    c=IN IP4 127.0.0.1

    ffmpeg -protocol_whitelist "file,tcp,rtp,udp" -i ~/test.sdp -max_muxing_queue_size 1024 http://localhost:8090/feed1.ffm

    And finally, this is my ffserver config (the important part) :

    <feed>               # This is the input feed where FFmpeg will send
      File ./feed1.ffm            # video stream.
      FileMaxSize 1GB             # Maximum file size for buffering video
      ACL allow 127.0.0.1         # Allowed IPs
    </feed>

    <stream>              # Output stream URL definition
      Feed feed1.ffm              # Feed from which to receive video
      Format webm

      # NoDefaults
      # NoAudio

      # Audio settings
      AudioCodec vorbis
      AudioBitRate 64             # Audio bitrate

      # Video settings
      VideoCodec libvpx
      VideoSize 240x160           # Video resolution
      VideoFrameRate 10           # Video FPS
      AVOptionVideo flags +global_header  # Parameters passed to encoder
                                          # (same as ffmpeg command-line parameters)

      PreRoll 0
      StartSendOnKey
      VideoGopSize 12
      VideoBitRate 256
    </stream>

    The thing is that if I take away the audio part and apply NoAudio, the video streams fine. However, I could not get the audio to work. Am I doing anything wrong ?

  • Detecting user hardware through a website (server)

    20 décembre 2018, par John Kim

    I am trying to build a live-streaming web application. I am using a Java FFmpeg wrapper and using it to stream my webcam feed live to AWS MediaLive, which channels to MediaPackage to transcode and send the feed back to the website. However, while this would work locally, I will eventually have to host this application on something like AWS EC2, and detect a user’s webcam and audio through the server (with FFmpeg being installed on the EC2 instance).

    How can I do this ? Services like Discord ask permission for the audio device on the browser and access it. How do websites like Discord achieve this ?

  • FFmpeg video thumbnail colors look off (dull, faded, desaturated)

    21 juin 2022, par schneikai

    I try to generate video thumbnails with FFmpeg but the colors of the generated JPG file look very different from the video. Here is a screenshot I took while running the video in a player and the other picture is a JPG generated with FFmpeg. The video was recorded with an iPhone 12.

    &#xA;

    Screenshot from Movie :

    &#xA;

    enter image description here

    &#xA;

    Thumbnail from FFmpeg :

    &#xA;

    enter image description here

    &#xA;

    Here´s a link to the mov-file : https://www.dropbox.com/s/udowplvfspxq6ag/IMG_8357.MOV?dl=1

    &#xA;

    I use the following FFmpeg options : -y -vframes 1 -f image2

    &#xA;

    My FFmpeg Version is

    &#xA;

    ffmpeg version 5.0.1 Copyright (c) 2000-2022 the FFmpeg developers&#xA;built with Apple clang version 13.1.6 (clang-1316.0.21.2.5)&#xA;configuration: --prefix=/usr/local/Cellar/ffmpeg/5.0.1_1 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox&#xA;libavutil      57. 17.100 / 57. 17.100&#xA;libavcodec     59. 18.100 / 59. 18.100&#xA;libavformat    59. 16.100 / 59. 16.100&#xA;libavdevice    59.  4.100 / 59.  4.100&#xA;libavfilter     8. 24.100 /  8. 24.100&#xA;libswscale      6.  4.100 /  6.  4.100&#xA;libswresample   4.  3.100 /  4.  3.100&#xA;libpostproc    56.  3.100 / 56.  3.100&#xA;

    &#xA;

    Thanks so much for pointing me in the right direction.

    &#xA;