Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (69)

  • 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 ;

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Activation de l’inscription des visiteurs

    12 avril 2011, par

    Il est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
    Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
    Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)

Sur d’autres sites (10338)

  • Live Smooth Streaming in IIS from webcam using FFMPEG

    13 mai 2016, par tearvisus

    I’m trying to do a live stream of video captured by my webcam and host it on IIS using Live Smooth Streaming. Here are the steps I’m taking :

    1. In the IIS manager’s MIME Types add a new extension : .isml with type : application/atom+xml
    2. In the IIS manager add a publishing point (filename : myStream.isml).
    3. Start the publishing point.
    4. Run the following command :

    ffmpeg -hide_banner -y -f dshow -rtbufsize 100000k -i video="Lenovo EasyCamera":audio="Microphone (Realtek High Definition Audio)" -movflags isml+frag_keyframe -s 854x480 -f ismv http://localhost/myStream.isml/Stream(video)

    1. Play the stream from the location http://localhost/myStream.isml/manifest using VLC.

    The problem is that the playback stops a few seconds before the moment in which I opened the stream with VLC. If I reopen the stream again, it will play from around the moment the first playback stopped to the moment the second playback started.

    What I’m trying to achieve is to make the clients see the video from the moment they open the stream to the moment they disconnect. A delay up to a few seconds is acceptable. Obviously, the playback should not end regardless of the connection moment.

    How can I do this ? Should I change something in the FFMPEG’s command or in the IIS ?

    Note : A solution using tools other than FFMPEG is acceptable, as long as they are free (as in beer).

    EDIT : Changed the description of problematic playback.

  • Optimizing Adaptive Streaming with FFMPEG

    25 octobre 2018, par Ramesh Navi

    I am working on a video on demand website, I am using laravel 5.7, FFMPEG and DASH player from (dashif.org). Got some questions.

    Extracting audio like :

    ffmpeg -i original.mp4 -vn -acodec libvorbis -ab 128k -dash 1 my_audio.webm

    Converting video like :

    ffmpeg -i original.mp4 -c:v libvpx-vp9 -keyint_min 150 \
    -g 150 -tile-columns 4 -frame-parallel 1  -f webm -dash 1 \
    -an -vf scale=160:190 -b:v 250k -dash 1 video_160x90_250k.webm \
    -an -vf scale=320:180 -b:v 500k -dash 1 video_320x180_500k.webm \
    -an -vf scale=640:360 -b:v 750k -dash 1 video_640x360_750k.webm \
    -an -vf scale=1280:720 -b:v 1500k -dash 1 video_1280x720_1500k.webm

    Creating manifest like :

    ffmpeg \
    -f webm_dash_manifest -i video_160x90_250k.webm \
    -f webm_dash_manifest -i video_320x180_500k.webm \
    -f webm_dash_manifest -i video_640x360_750k.webm \
    -f webm_dash_manifest -i video_1280x720_1500k.webm \
    -f webm_dash_manifest -i my_audio.webm \
    -c copy \
    -map 0 -map 1 -map 2 -map 3 -map 4 \
    -f webm_dash_manifest \
    -adaptation_sets "id=0,streams=0,1,2,3 id=1,streams=4" \
    my_video_manifest.mpd

    Now the problems :

    1. Video conversion takes a lot of time on the latest i5 8gb
      think-pad running Ubuntu 18. 4minute mp4 took more than 30minute. 10minute, 720p MP4 took forever, had to kill the process. Is
      that normal ? Any idea to optimize ?
    2. Need to find out original
      video’s dimension so that I can avoid dimension conversion more than
      the original. ffprob looks fine in command but produces too much of
      information than required, is there any simple function ?
    3. Converted webm file is bigger in size than original mp4, original
      mp4 of 720p was 33MB, but 640p webm is 76MB. Is that normal or
      something wrong ?

    Any suggestions to optimize the process are welcome.

  • Upload video and convert to MPEG-DASH [on hold]

    26 juin 2018, par Justin Rec

    Upload video and convert to MPEG-DASH I’m doing ...

    Upload file
    1. move_uploaded_file($_FILES['video']['tmp_name'], video.mp4);

    Converting video
    2.  ffmpeg -i video.mp4 -ac 2 -ab 128k -c:v libx264 -preset veryfast -x264opts keyint=24:min-keyint=24:no-scenecut -b:v 3000k -maxrate 3000k -bufsize 1500k -vf "scale=-1:1080" video_1080.mp4
       ffmpeg -i video.mp4 -ac 2 -ab 128k -c:v libx264 -preset veryfast -x264opts keyint=24:min-keyint=24:no-scenecut -b:v 1500k -maxrate 1500k -bufsize 1000k -vf "scale=-1:720"  video_720.mp4
       ffmpeg -i video.mp4 -ac 2 -ab 128k -c:v libx264 -preset veryfast -x264opts keyint=24:min-keyint=24:no-scenecut -b:v 500k  -maxrate 500k  -bufsize 500k  -vf "scale=-1:480"  video_480.mp4

    From mp4 to MPEG-DASH
    3. MP4Box -dash 4000 -frag 4000 -rap -segment-name %s/segment_ -url-template -out manifest.mpd video_1080.mp4 video_720.mp4 video_480.mp4

    Delete mp4 videos
    4.  unlink('video_1080.mp4');
       unlink('video_720.mp4');
       unlink('video_480.mp4');

    Everything is working. But I’m not sure that this is the right decision. Is there a better solution ? Do I do everything right ?