Recherche avancée

Médias (91)

Autres articles (40)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

Sur d’autres sites (3961)

  • FFMPEG : Add timestamp to file name HLS

    7 mai 2020, par Neel Dutta

    I want to add timestamp to my file name in the following ffmpeg command (in nginx rtmp) :

    



    exec ffmpeg -i rtmp://localhost:1936/stream/$name 
                -c:v libx264 -b:v 2500k -g 30 -r 30 -s 1280x720 -vf "drawtext=fontfile=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf: text=%{localtime}: fontsize=30: fontcolor=white@0.8: x=10: y=h-th-10" -preset fast -profile:v baseline -hls_list_size 0 -f hls /network_drive/$name-$date_%d-%b-%y-%H-%M-%S.m3u8
                -ss 00:00:05.000 -vframes 1 /network_drive/$name.jpg;


    



    What i want to achieve is the an .m3u8 file, with a filename of e.g : "stream_name-01-Apr-2020-10-46-45.m3u8", followed by its .ts files e.g : "stream_name-01-Apr-2020-10-46-450.ts, stream_name-01-Apr-2020-10-46-451.ts, stream_name-01-Apr-2020-10-46-452.ts", and so on.

    



    But the above command doesnt seem to work, and results in filename "stream_name-%d-%b-%y-%H-%M-%S.m3u8".
I've tried using strftime, but had no luck.

    


  • Heroku build failed & state changed from crashed to down

    5 décembre 2020, par Cal9233
    2020-12-05T08:10:45.000000+00:00 app[api]: Build started by user calvin.m71@hotmail.com
2020-12-05T08:11:38.587758+00:00 app[api]: Deploy 4fca112e by user calvin.m71@hotmail.com
2020-12-05T08:11:38.587758+00:00 app[api]: Release v6 created by user calvin.m71@hotmail.com
2020-12-05T08:11:38.635964+00:00 heroku[web.1]: State changed from crashed to down
2020-12-05T08:11:41.000000+00:00 app[api]: Build succeeded
2020-12-05T08:32:12.000000+00:00 app[api]: Build started by user calvin.m71@hotmail.com
2020-12-05T08:32:50.304709+00:00 app[api]: Release v7 created by user calvin.m71@hotmail.com
2020-12-05T08:32:50.304709+00:00 app[api]: Deploy 4fca112e by user calvin.m71@hotmail.com
2020-12-05T08:32:52.000000+00:00 app[api]: Build succeeded


    


    Before it was that there was no ffmpeg buildpack on heroku, I added it with
https://elements.heroku.com/buildpacks/jonathanong/heroku-buildpack-ffmpeg-latest

    


    But now I just get state changed and see no errors. Any help would be greatly appreciated !

    


  • gst-inspect-1.0 do not see avdec_h264

    16 octobre 2020, par Marat Zakirov

    Previously I installed gstreamer via conda and its (good) plugins
next I installed gst-libav via sudo apt-get install gstreamer1.0-libav next I used apt-file list gstreamer1.0-libav to see installation path and found it to be /usr/lib/x86_64-linux-gnu/gstreamer-1.0/ next I read running gstream manual and then

    


    GST_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/gstreamer-1.0/ gst-inspect-1.0 avdec_h264

(base) marat@user-System-Product-Name:~$ ls -lh /usr/lib/x86_64-linux-gnu/gstreamer-1.0/ | grep av
-rw-r--r-- 1 root root 181K мар 21  2020 libgstavi.so
-rw-r--r-- 1 root root  56K мар 21  2020 libgstinterleave.so
-rw-r--r-- 1 root root 251K дек  9  2019 libgstlibav.so
-rw-r--r-- 1 root root  15K мар 21  2020 libgstnavigationtest.so
-rw-r--r-- 1 root root  40K мар 21  2020 libgstwavenc.so
-rw-r--r-- 1 root root  48K мар 21  2020 libgstwavpack.so
-rw-r--r-- 1 root root  72K мар 21  2020 libgstwavparse.so


    


    It found many new modules but didn't found avdec_h264. What I am missing ?

    


    UPDATE :

    


    I just want way to use gstreamer via conda virtenv python appliation. If you know valid way to do so I will consider your reply as answer.