Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (106)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

Sur d’autres sites (6330)

  • FPS drop in FFMPEG streaming processes to FB from production server

    30 janvier 2017, par Aakash Gupta

    I have made a rails app that can stream live videos to facebook rtmp server and deployed it on AWS. I have used nginx as web server. The major problem that I am encountering after viewing log files of FFMpeg processes is that sometimes the FPS of FFmpeg process starts to drop. In some cases, it remains stable at 25 FPS but in some cases, it remains at 25 only for sometime, and after that it starts to drop and sometimes it falls to even 3-4 FPS which is unacceptable during live streaming. As FFMpeg process is quite heavy, I would also like to share my CPU info as well.

    CPU information is :

    cat /proc/cpuinfo
    processor   : 0
    vendor_id   : GenuineIntel
    cpu family  : 6
    model       : 63
    model name  : Intel(R) Xeon(R) CPU E5-2676 v3 @ 2.40GHz
    stepping    : 2
    microcode   : 0x25
    cpu MHz     : 2400.070
    cache size  : 30720 KB
    physical id : 0
    siblings    : 1
    core id     : 0
    cpu cores   : 1
    apicid      : 0
    initial apicid  : 0
    fpu     : yes
    fpu_exception   : yes
    cpuid level : 13
    wp      : yes
    flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm xsaveopt fsgsbase bmi1 avx2 smep bmi2 erms invpcid
    bogomips    : 4800.14
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 46 bits physical, 48 bits virtual
    power management:

    FFMPEG log file with unstable fps : https://drive.google.com/open?id=0B1gtp1iXJppkUndFamk4M0lRYzA

    FFMPEG log file with stable fps : https://drive.google.com/open?id=0B1gtp1iXJppkMkVCZEJjYWJrVTA

    When FPS was stable, I also tried to run another parallel FFMpeg process from the same server which resulted in FPS dropping of both the processes to 13-14 FPS.

    I am currently using this FFMPEG command :

    ffmpeg -loop 1 -re -y -f image2 -i "image_path" -i "audio_path.aac" -acodec copy -bsf:a aac_adtstoasc -pix_fmt yuv420p -profile:v high -s 1280x720 -vb 400k -maxrate 400k -minrate 400k -bufsize 600k -deinterlace -vcodec libx264 -preset veryfast -g 30 -r 30 -t 14400 -strict -2 -f flv "rtmp_server_link"

    I never face this problem when I try to stream to FB using app on my localhost.

    So, my questions are :

    1. What can be the reason for this FPS drop ?
    2. Can upscaling production server help me fix this issue ?
    3. Can I run multiple FFMpeg processes for streaming from same server without performance drop ?

    Thanks in advance :)

  • FFMPEG - Codec Copy transcoded audio from first output transport stream to other transport streams

    27 mars 2019, par Software Development Consultan

    I am currently trying to generate 3 output Transport streams from single input stream, for this I need to do Video encoding for each output as I wanted to have different bitrate for each stream. But for audio stream I have same audio bitrate and same params for all 3 output Transport stream.
    So I want to somehow transcode audio only first time (in first stream, let say from AC3 to AAC) and then just want to copy output transcoded audio from first output (aac) to other 2 outputs. so that will save processing power.

    I have setup overall command for this, but for audio copy I am not able to set so that I can get output audio from first Transport stream output

    Please refer following command :

    ffmpeg -loglevel 40 -analyzeduration 10M -probesize 10M -thread_queue_size 1024 -c:v h264_cuvid -gpu 2 -i "udp ://@239.1.1.111:1234 ?fifo_size=1000000&buffer_size=100000&overrun_nonfatal=1" -filter_complex "[0:v]split=3[cl1][cl2][temp1] ;[temp1]scale=-1:480[cl3]" -map [cl1] -map 0:a:0 -c:v h264_nvenc -gpu 2 -preset hq -strict experimental -b:v 4500k -bufsize 5000k -bf 3 -profile:v high -level 4 -coder 1 -sc_threshold 0 -minrate 4500k -maxrate 4500k -g 15 -acodec libfdk_aac -b:a 192k -ar 48000 -ac 2 -flush_packets 0 -f mpegts -mpegts_flags +resend_headers+pat_pmt_at_frames -metadata service_provider=Test_OP1 -metadata service_name=MyService1 -max_muxing_queue_size 1024 -pcr_period 20 -y "udp ://239.1.1.222:1111 ?pkt_size=1316&reuse=1&buffer_size=1000&fifo_size=1000000&burst_bits=50000" -map [cl2] -map 0:a:0 -c:v h264_nvenc -gpu 2 -preset hq -strict experimental -b:v 3500k -bufsize 4000k -bf 3 -profile:v high -level 4 -coder 1 -sc_threshold 0 -minrate 3500k -maxrate 3500k -g 15 -acodec copy -flush_packets 0 -f mpegts -mpegts_flags +resend_headers+pat_pmt_at_frames -metadata service_provider=Test_OP2 -metadata service_name=MyService2 -max_muxing_queue_size 1024 -pcr_period 20 -y "udp ://239.1.1.222:2222 ?pkt_size=1316&reuse=1&buffer_size=1000&fifo_size=1000000&burst_bits=50000" -map [cl3] -map 0:a:0 -c:v h264_nvenc -gpu 2 -preset hq -strict experimental -b:v 2500k -bufsize 3000k -bf 3 -profile:v high -level 4 -minrate 2500k -maxrate 2500k -g 15 -coder 1 -sc_threshold 0 -acodec copy -flush_packets 0 -f mpegts -mpegts_flags +resend_headers+pat_pmt_at_frames -metadata service_provider=Test_OP3 -metadata service_name=MyService3 -max_muxing_queue_size 1024 -pcr_period 20 -y "udp ://239.1.1.222:3333 ?pkt_size=1316&reuse=1&buffer_size=1000&fifo_size=1000000&burst_bits=50000"

    I want to have output stream "239.1.1.222:2222" and "239.1.1.222:3333" should have copied audio stream (AAC) from first output stream "239.1.1.222:1111" and Not from main input stream "239.1.1.111:1234"

  • Understand your visitors by seeing where they click, hover, type and scroll, and replay their actions in a video

    18 mai 2017, par InnoCraft — Plugins

    Hi, this is Mike from InnoCraft, the company of the makers of Piwik Analytics which is used by over 1 million websites and apps in over 150 countries.

    I’m very proud to introduce you to our Heatmap & Session Recording feature which lets you analyze your visitors’ behaviour on a whole new level that was not possible before.

    With Heatmaps you can see where people think something is clickable but it is not, how far down the page do they scroll, whether they see your important buttons and Call To Actions, or even whether you can re-position your page layout to put the important content in more visible places. Both the mouse movements and all clicks are recorded and viewable on these new beautiful heatmap visualisations.

    With Session Recordings, you get to see a video showing exactly what a visitor did on your pages, including all mouse movements, scrolls, text typed in the keyboard, and more. Using these recordings you can improve the usability on your website, replace costly (and less effective) eye tracking sessions, and you can now see exactly what problems your visitors experience or how they behave on your website. This gives new insights and ability to understand what your users think.

    -> Read the rest of the story on the Heatmaps & Session Recordings Marketplace page.

    What does the new Heatmaps reports look like ?

    Here is below just a little preview of the new Heatmaps reports.

    1) Mouse move and Click Heatmaps

    2) A Scroll Heatmap

    What does the new Session Recording look like ?

    You can replay videos of exactly what your users did on your websites including mouse moves, scrolls, typing in forms, and more.

    1) Listing all recorded video sessions

    2) Playing a recorded video session

    Where do I get Heatmaps & Session Recording for Piwik ?

    The new premium plugin is available on the Piwik Marketplace :

    This is a premium plugin for Piwik and comes with our 14 day money back guarantee and 1-click installation & updates (all product updates come for free).

    You can also signup for a free Piwik Cloud-hosted trial to discover the power of Heatmaps & Session Recordings !