Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (81)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (3406)

  • C# capture specific frame from video file using ffmpeg takes too long

    6 septembre 2018, par Ditza

    I am trying to take specific frame from full HD video file. I am using Accord.Video.FFMPEG.
    The read ReadVideoFrame takes something like 200ms. I need It to be much faster.
    Am I doing something wrong or this is the time it should takes ? What should I use to get the frame in few milliseconds ?

    VideoFileReader reader = new VideoFileReader();
    reader.Open(source);
    int frameN = (int)Math.Floor(((reader.FrameRate).ToDouble() * pos.Milliseconds) / 1000);
    Bitmap bkg = reader.ReadVideoFrame(frameN);

    Thanks,
    Ditza

  • av_interleaved_write_frame() : Immediate exit requested when streaming WebM

    21 décembre 2013, par kd0hdf

    Ok, so I am trying to stream live video from my HD Homerun Prime (a network tv tuner that outputs mpeg2 video) to the web as WebM with ffserver. However, when I start ffmpeg it will run normally for a few seconds (and even output video through ffserver) then after 2-3 seconds it will freeze and I have to use ctrl+c to get back to a prompt.What am I missing here ? Sorry if this is a total newbie question.

    I should also mention I followed a tutorial here : https://www.virag.si/2012/11/streaming-live-webm-video-with-ffmpeg/

    FFmpeg command

    new@Desktop:~$ ffmpeg -i <network tuner="tuner"> <ffserver>
    ffmpeg version git-2013-12-12-d546a59 Copyright (c) 2000-2013 the FFmpeg developers
     built on Dec 13 2013 21:51:49 with gcc 4.8 (Ubuntu/Linaro 4.8.1-10ubuntu9)
     configuration: --prefix=/home/new/ffmpeg_build --extra-cflags=-I/home/new/ffmpeg_build/include --extra-ldflags=-L/home/new/ffmpeg_build/lib --bindir=/home/new/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-x11grab
     libavutil      52. 58.100 / 52. 58.100
     libavcodec     55. 45.101 / 55. 45.101
     libavformat    55. 22.100 / 55. 22.100
     libavdevice    55.  5.102 / 55.  5.102
     libavfilter     3. 92.100 /  3. 92.100
     libswscale      2.  5.101 /  2.  5.101
     libswresample   0. 17.104 /  0. 17.104
     libpostproc    52.  3.100 / 52.  3.100
    [mpegts @ 0x326f980] Could not find codec parameters for stream 0 (Unknown: none (ETV1 / 0x31565445)): unknown codec
    Consider increasing the value for the &#39;analyzeduration&#39; and &#39;probesize&#39; options
    [mpegts @ 0x326f980] Could not find codec parameters for stream 1 (Unknown: none (ETV1 / 0x31565445)): unknown codec
    Consider increasing the value for the &#39;analyzeduration&#39; and &#39;probesize&#39; options
    [mpegts @ 0x326f980] Could not find codec parameters for stream 4 (Unknown: none ([134][0][0][0] / 0x0086)): unknown codec
    Consider increasing the value for the &#39;analyzeduration&#39; and &#39;probesize&#39; options
    Input #0, mpegts, from &#39;http://192.168.0.199:5004/auto/v39&#39;:
     Duration: N/A, start: 85618.589122, bitrate: 192 kb/s
     Program 8
       Stream #0:0[0x1093]: Unknown: none (ETV1 / 0x31565445)
       Stream #0:1[0x1094]: Unknown: none (ETV1 / 0x31565445)
       Stream #0:2[0x1095]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 704x480 [SAR 10:11 DAR 4:3], max. 15000 kb/s, 29.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc
       Stream #0:3[0x1096](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 192 kb/s
       Stream #0:4[0x1097]: Unknown: none ([134][0][0][0] / 0x0086)
    [libvpx @ 0x3275060] v1.2.0
    Output #0, ffm, to &#39;http://localhost:8090/feed1.ffm&#39;:
     Metadata:
       creation_time   : now
       encoder         : Lavf55.22.100
       Stream #0:0(eng): Audio: vorbis (libvorbis), 22050 Hz, mono, fltp, 64 kb/s
       Stream #0:1: Video: vp8 (libvpx), yuv420p, 720x576 [SAR 16:15 DAR 4:3], q=10-42, 1000 kb/s, 1000k tbn, 29.97 tbc
    Stream mapping:
     Stream #0:3 -> #0:0 (ac3 -> libvorbis)
     Stream #0:2 -> #0:1 (mpeg2video -> libvpx)
    Press [q] to stop, [?] for help
    ^Cav_interleaved_write_frame(): Immediate exit requested70 bitrate= 936.1kbits/s dup=51 drop=0    
    Received signal 2: terminating.
    new@Desktop:~$
    </ffserver></network>

    FFserver configuration :

    Port 8090                      # Port to bind the server to
    BindAddress 0.0.0.0
    MaxHTTPConnections 2000
    MaxClients 1000
    MaxBandwidth 10000             # Maximum bandwidth per client
                                  # set this high enough to exceed stream bitrate
    CustomLog -
    NoDaemon                       # Remove this if you want FFserver to daemonize after start

    <feed>               # This is the input feed where FFmpeg will send
      File /tmp/feed1.ffm         # video stream.
      FileMaxSize 1G              # 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

      # Audio settings
      AudioCodec vorbis
      AudioBitRate 64             # Audio bitrate

      # Video settings
      VideoCodec libvpx
      VideoSize 720x576           # Video resolution
      VideoFrameRate 25           # Video FPS
      AVOptionVideo flags +global_header  # Parameters passed to encoder
                                          # (same as ffmpeg command-line parameters)
      AVOptionVideo cpu-used 0
      AVOptionVideo qmin 10
      AVOptionVideo qmax 42
      AVOptionVideo quality good
      AVOptionAudio flags +global_header
      PreRoll 15
      StartSendOnKey
      VideoBitRate 1000            # Video bitrate
    </stream>

    <stream>            # Server status URL
      Format status
      # Only allow local people to get the status
      ACL allow localhost
      ACL allow 192.168.0.0 192.168.255.255
    </stream>

    <redirect>    # Just an URL redirect for index
      # Redirect index.html to the appropriate site
      URL <removed url="url" to="to" ffmpeg="ffmpeg" homepage="homepage">
    </removed></redirect>

    ...and for the FFserver side

    new@Desktop:/var/www$ ffserver -d -f /etc/ffserver.conf
    ffserver version git-2013-12-12-d546a59 Copyright (c) 2000-2013 the FFmpeg developers
     built on Dec 13 2013 21:51:49 with gcc 4.8 (Ubuntu/Linaro 4.8.1-10ubuntu9)
     configuration: --prefix=/home/new/ffmpeg_build --extra-cflags=-I/home/new/ffmpeg_build/include --extra-ldflags=-L/home/new/ffmpeg_build/lib --bindir=/home/new/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-x11grab
     libavutil      52. 58.100 / 52. 58.100
     libavcodec     55. 45.101 / 55. 45.101
     libavformat    55. 22.100 / 55. 22.100
     libavdevice    55.  5.102 / 55.  5.102
     libavfilter     3. 92.100 /  3. 92.100
     libswscale      2.  5.101 /  2.  5.101
     libswresample   0. 17.104 /  0. 17.104
     libpostproc    52.  3.100 / 52.  3.100
    Fri Dec 20 23:53:20 2013 FFserver started.
    Fri Dec 20 23:53:29 2013 127.0.0.1 - - New connection: GET /feed1.ffm
    Fri Dec 20 23:53:29 2013 127.0.0.1 - - [GET] "/feed1.ffm HTTP/1.1" 200 4175
  • ffmpeg : create a video from images and sounds

    27 septembre 2018, par Yuri Gusak

    You need to create a video from a set of pictures and sounds using ffmpeg.
    Set of pictures : frame_% d.jpg
    Sounds :
    sound1.mp3 (from 0 ms)
    sound2.mp3 (from 1000 ms)
    sound3.mp3 (from 2000 ms)

    I can create a video with one sound :

    -i frame_% d.jpg -i sound1.mp3 -r 30 -s 1280x720 -preset ultrafast -crf 25 -shortest movie.mp4

    and it works.

    But I need to add some sounds at different times. How can I do that ? May be -filter_complex will help ?