Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (87)

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

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

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

Sur d’autres sites (11750)

  • Video encoder & segmenter for HLS VoD poor quality

    10 juillet 2017, par Murilo

    I am trying to encode and segment video for HLS on demand(VoD).
    I am using the following code for such :

    ffmpeg -i 20170706_174314.mp4 -c 24 \
           -vcodec libx264 -acodec aac -ac 1 -strict -2 -b:v 128k \
           -profile:v baseline -maxrate 400k -bufsize 1835k \
           -hls_time 10 -hls_playlist_type vod -vsync 1 \
           video_chunks/index1.m3u8 \
           -c 24 -vcodec libx264 -acodec aac -ac 1 -strict -2 -b:v 128k \
           -profile:v baseline -maxrate 700k -bufsize 1835k \
           -hls_time 10 -hls_playlist_type vod -vsync 1 \
           video_chunks/index2.m3u8

    I tried this other code also just for segmenting but had the same exactly problem :

    ffmpeg -i 20170706_174314.mp4 \
    -c:a libmp3lame -ar 48000 -ab 64k  -c:v libx264 -b:v 128k -flags \
    -global_header -map 0 -f segment \
    -segment_list video_chunks/test.m3u8 -segment_time 10 -segment_format mpegts \
    video_chunks/segment_%05d.ts

    Later on I create another playlist with bandwidth separators to call on the two other playlists generated with the code above.

    This code was working great on some videos but yesterday I recorded a video with my Samsung J7 Prime phone to test since the videos will be generated by phone and this video was poorly encoded. The quality sucks and some parts of the video turned Black&White.

    Another thing I noticed on this video is that the following message kept appearing in loop until the end of the encoding&segmenting process.

    Past duration X too large

    Where X is a decimal really close to

    0.675316

    The link to the video is below :

    Dropbox Link

    My FFmpeg version :

    ffmpeg --version
    ffmpeg version N-86482-gbc40674 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 7.1.0 (GCC)
     configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
     libavutil      55. 66.100 / 55. 66.100
     libavcodec     57. 99.100 / 57. 99.100
     libavformat    57. 73.100 / 57. 73.100
     libavdevice    57.  7.100 / 57.  7.100
     libavfilter     6. 92.100 /  6. 92.100
     libswscale      4.  7.101 /  4.  7.101
     libswresample   2.  8.100 /  2.  8.100
     libpostproc    54.  6.100 / 54.  6.100

    SO : Windows 10

    EDIT1 : Link to the output
    If you see the output it might be worth saying I am also seeing the message

    VBV underflow(Frame X, -Y bits)

  • Could not get audio( libopus ) stream from ffserver via rtp

    7 juillet 2017, par Кирилл Казаков

    I need to get the rtp stream with the next codecs vp8,opus.
    I get a stream from a camera (h264, aac), then I send to ffmpeg,then I send it to the ffserver and from there I want to receive a stream in the format rtp.
    Video (VP8) without audio i successfully get, but stream video with audio ( any codecs ( aac, vorbis, opus ) ) not work.

    ffmpeg command :

    ./ffmpeg -thread_queue_size 512 -rtsp_transport tcp -i rtsp://ip:port/stream -analyzeduration 0 -threads 2 http://localhost:4000/feed1.ffm

    ffserver config :

    HTTPPort 4000
    RTSPPort 1235

    RTSPBindAddress 0.0.0.0
    HTTPBindAddress 0.0.0.0
    MaxHTTPConnections 2000
    MaxClients 1000
    MaxBandwidth 10000

    <feed>
           File /tmp/feed1.ffm
           FileMaxSize 1G
           ACL allow 127.0.0.1
           ACL allow localhost
    </feed>

    <stream>
       Feed feed1.ffm
       Format rtp

       # Video settings
       VideoCodec libvpx
       VideoSize 720x576
       VideoFrameRate 25
       VideoBitRate 512
       AVOptionVideo maxrate 2000
       VideoQMin 4
       VideoQMax 50
       VideoBufferSize 4000

       AVOptionVideo cpu-used 3
       AVOptionVideo crf 33
       AVOptionVideo quality realtime
       AVOptionVideo flags +global_header
       #PreRoll 0
       #StartSendOnKey

       # Audio settings
       #AudioCodec aac
       #AudioCodec libopus
       #Strict -2
       AudioBitRate 128
       AudioChannels 2
       AudioSampleRate 48k
       AVOptionAudio flags +global_header

       ACL allow localhost
    </stream>

    And without video (only audio) - not worked

    HTTPPort 4000
    RTSPPort 1235

    RTSPBindAddress 0.0.0.0
    HTTPBindAddress 0.0.0.0
    MaxHTTPConnections 2000
    MaxClients 1000
    MaxBandwidth 10000

    <feed>
           File /tmp/feed1.ffm
           FileMaxSize 1G
           ACL allow 127.0.0.1
           ACL allow localhost
    </feed>

    <stream>
       Feed feed1.ffm
       Format rtp

       # Video settings
       NoVideo

       # Audio settings
       #AudioCodec aac
       #AudioCodec libopus
       #Strict -2
       AudioBitRate 128
       AudioChannels 2
       AudioSampleRate 48k
       AVOptionAudio flags +global_header

       ACL allow localhost
    </stream>

    I try to connect to my stream via vlc, but i see error in vlc ( if audio libopus) core error: could not identify codec, if audio codec (e.g. aac ) - live555 error: no data received in 10s, aborting .

    ffserver info build :

    ffserver version N-86676-g45dbb40cd1-static http://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 5.4.1 (Debian 5.4.1-11) 20170519
     configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-5 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gray --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg
     libavutil      55. 67.100 / 55. 67.100
     libavcodec     57.100.102 / 57.100.102
     libavformat    57. 75.100 / 57. 75.100
     libavdevice    57.  7.100 / 57.  7.100
     libavfilter     6. 94.100 /  6. 94.100
     libswscale      4.  7.101 /  4.  7.101
     libswresample   2.  8.100 /  2.  8.100
     libpostproc    54.  6.100 / 54.  6.100

    ffmpeg info build :

    ffmpeg version N-86676-g45dbb40cd1-static http://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 5.4.1 (Debian 5.4.1-11) 20170519
     configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-5 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gray --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg
     libavutil      55. 67.100 / 55. 67.100
     libavcodec     57.100.102 / 57.100.102
     libavformat    57. 75.100 / 57. 75.100
     libavdevice    57.  7.100 / 57.  7.100
     libavfilter     6. 94.100 /  6. 94.100
     libswscale      4.  7.101 /  4.  7.101
     libswresample   2.  8.100 /  2.  8.100
     libpostproc    54.  6.100 / 54.  6.100

    What a problem ? Any idea ?
    .

  • Overlay Image on moving object in Video

    5 juillet 2017, par Karandeep Atwal

    I am using FFmpeg to overlay image/emoji on video by this command -

    "-i "+inputfilePath+" -filter_complex "+"[0][1]overlay=enable='between(t,"+startTime+","+endTime+")'[v1]"+" -map [v0] -map 0:a "+OutputfilePath;  

    But above command only overlay image over video and stays still.

    In Instagram and Snapchat there is New pin feature . I want exactly same ,eg blur on moving faces or as in below videos -

    enter image description here

    Here is link.

    Is it possible via FFmpeg ?

    I think someone with OPENCV or Argumented Reality knowledge can help in this .