Recherche avancée

Médias (1)

Mot : - Tags -/stallman

Autres articles (71)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

Sur d’autres sites (6034)

  • Nginx RTMP/HLS - stream to ffmpeg and output HLS

    20 novembre 2018, par kanazaca

    At this point my solution is working but only as RTMP, i can watch perfectly my stream using the URL :

    rtmp://X.X.X.X:1935/show/name

    But the problem is that my LG Smart Tv which uses WebOS don’t support RTMP and i would really like to play my stream there. The only solution that i can see right now is to use HLS. With HLS all works fine too, but i need to execute my ffmpeg command before open the HLS stream in TV, otherwise it will not create the files necessary to display the stream on my TV.

    So my goal is to serve a stream as HLS without having to trigger the RTMP endpoint or the FFMPEG manually.

    I’m really struggling with this, waste 3 days trying to make it work :(

    http
    {
    location /hls
    {
       # Disable cache
       add_header Cache-Control no-cache;

       # CORS setup
       add_header 'Access-Control-Allow-Origin' '*' always;
       add_header 'Access-Control-Expose-Headers' 'Content-Length';

       # allow CORS preflight requests
       if ($request_method = 'OPTIONS') {
           add_header 'Access-Control-Allow-Origin' '*';
           add_header 'Access-Control-Max-Age' 1728000;
           add_header 'Content-Type' 'text/plain charset=UTF-8';
           add_header 'Content-Length' 0;
           return 204;
       }

       types {
           application/vnd.apple.mpegurl m3u8;
           video/mp2t ts;
       }

       root /mnt/;
       }
    }

    }
    rtmp {
    server {
       listen 1935;

       chunk_size 4000;
       buflen 5s;

       application show {
           live on;

       exec_pull ffmpeg -re -i http://stream-coming.com/$name.ts -c:v libx264 -preset faster -pix_fmt yuv420p -c:a aac -f flv rtmp://localhost/show/$name;

           # Turn on HLS
           hls on;
           hls_path /mnt/hls/;
           hls_fragment 3;
           hls_playlist_length 60;
           # disable consuming the stream from nginx as rtmp
           deny play all;
       }
    }

    }

    Thanks for your time ;)

  • What video codecs work on Google Chromebook

    3 mars 2019, par MonkeyDLuffy

    I’m trying to put a show on my friends Google Chromebook but the mp4 files show up black when trying to watch them on said Chromebook, audio works fine. I found out that it is a video encoding problem but I cannot find a list of video formats that work on the Chromebook. I have ffmpeg and handbrake to try and test some things, but if someone could tell me a ffmpeg code that will convert the video files into a format that works on a Google Chromebook that would help a lot.

    What I’ve tried :

    ffmpeg -i "Game of Thrones S02E01 The North Remembers.mkv" codec mpeg "Game of Thrones S02E01 The North Remembers.mp4"

    Which gives error :

    [NULL @ 00000177196ea500] Unable to find a suitable output format for
    ’codec’ codec : Invalid argument

  • HTML5 video after FFmpeg compress set currentTime behavior defferent in browsers

    5 novembre 2019, par Qyellow

    i have a mp4 video(oceans.mp4), and i use ffmpeg compress itffmpeg -i oceans.mp4 output.mp4(output.mp4).

    then i open the origin in the chrome and safari, in the console, i write :

    var video = document.querySelector('video')
    video.currentTime = 4.68

    the video locate the same frame(at least looks the same)

    but i open the output, it looks different !

    so i do many test :

    1. it might be the broswers difference ?
      may be not. the origin video looks totally the same
    2. it might be the some props of video ?
      i use ffprobe -show_streams -select_streams v:0  output.mp4to show and compare two videos, only has_b_frames(0 and 2) and bitrates are different
    3. it might be had_b_frames ?
      ffmpeg -i oceans.mp4 -bf 0 output.mp4
      then i use the command to set it to 0, but it do not work...(sad

    4. it might be the ffmpeg’s error !(i have no idea...)

      ffmpeg -i oceans.mp4 -vcodec copy -an output_file.mp4
      i use the command only get video but delete audio...the video is corrent

    so i have no idea why the video show different... please help me