Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (1)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

Sur d’autres sites (3639)

  • FFmpeg MSVC Compilation stuck

    10 mai 2017, par Earinor

    For several days now I try to build the FFmpeg Libraries. I’m using Windows7 64 Bit and MSVC2010. I followed this guide : https://trac.ffmpeg.org/wiki/CompilationGuide/MSVC

    I got rid of a view errors and configure is working finally. But when I try make, it runs for like half an hour and then gets stuck. It won’t proceed, I kept it running over night and nothing happend. I also tried different compiler options but it gets stuck every time at the same point.

    ffv1dec.o_converted.c
    d:\cpplibraries\ffmpeg-master\libavcodec\get_bits.h(308) : warning C4101: 're_cache' : unreferenced local variable
    d:\cpplibraries\ffmpeg-master\libavcodec\golomb.h(360) : warning C4245: '=' : conversion from 'int' to 'unsigned int', signed/unsigned mismatch

    I also tried setting up a minGW64 Msys2 Environment but have the same issue there.
    I also tried another setup but when I get rid of some errors I always get stuck at the exact same position.

    The cl.exe is running and is using memory but nothing happens.

    I also get a ton of warnings like conversions from int to unsigned int, Makro redefinitions, etc.

    I have no idea where to look to fix this, so I would appreciate some help.

  • FFmpeg : Is it better to make a application then using ffmepg directly

    14 juillet 2020, par Mirabeau

    For all my IP camera streams, I use, under Linux, ffmpeg by a bash script which allows me at the same time to manage :

    


    1/ Convert the RTSP streams to HTTP (HLS) for the "Live" and therefore which generates "m3u8" file and *.ts segments

    


    2/ Backup the stream for archiving (in increments of 5 minutes), a cron remove older files (xx days)

    


    ffmpeg -i "rtsp://[IP_CAM01]" -rtsp_transport tcp -c copy -map 0 -f segment -segment_time 300 -segment_atclocktime 1 -segment_format mkv "cam01-% 03d.mkv" -c copy -f segment -segment_list cam01.m3u8 -segment_list_flags + live -segment_time 2 -segment_list_size 20 -segment_wrap 20 cam01-% 03d.ts


    


    The question I ask myself, and the reason for this message is as follows :

    


      

    • would there be an interest (memory / cpu / speed) to develop a program (C/C++/other ?) to do the same thing by using the libraries of ffmpeg ?
    • 


    • or the "gain" and the interest would be so minimal that it is not worth the expenditure of energy and time ?
    • 


    


    I appeal to your feedback, your opinions, your tips !, and if you had leads (sample) to attack this kind of development, I am interested.

    


    Thank you very much in advance for your feedback.
(this is my fist question on stackoverflow, Champagne ! ;))

    


  • AVI video streaming over internet with FFMPAG/AVCONV or NGINX RTMP servers

    20 mai 2014, par Emmanuel Brunet

    I’ve got a general question regarding video streaming, FFMPEG/AVCONV and RTMP.

    I’ve read a lot of posts since several days to find out how to stream video over internet. But no answer fit my needs. I found examples with.mp4 to web/flv conversion .. and so on but none that works withe AVI real time video streaming.

    I need a straightforward example to put this in place.

    How to set up AVI video streaming over internet with much browser compatibility as possible using ffmpeg/avconv on debian / ubuntu and if possible the NGINX RTMP server ?

    I’ve set up an NGINX-1.70 server on debian (but could use another one), added the RTMP module configured with only the basic examples and I’d like to use FFMPEG (avconf) to convert AVI videos on the fly and make them available for streaming over internet (in a format that can be displayed by a wide range of browsers).

    Up to now, I understand that I need to setup a streaming server (ffmpeg/avconv server ?) or NGINX (my favorite), to convert videos on the fly with a bunch of horrible ffmpeg options and connect the output stream to the streaming server. That’s all ... still a long way to go to work out what I’m expecting !

    How can I do that ?

    Thanks for your help