Recherche avancée

Médias (91)

Autres articles (73)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Sélection de projets utilisant MediaSPIP

    29 avril 2011, par

    Les exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
    Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
    Ferme MediaSPIP @ Infini
    L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)

Sur d’autres sites (10362)

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

  • 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 :)

  • avutil : add hwcontext_amf.

    15 octobre 2024, par Dmitrii Ovchinnikov
    avutil : add hwcontext_amf.
    

    Adds hwcontext_amf, enabling a shared AMF context for encoders,
    decoders, and AMF-based filters, without copy to the host memory.
    Code also was tested in HandBrake.

    Benefits :
    - Optimizations for direct video memory access from CPU
    - Significant performance boost in full AMF pipelines with filters
    - Integration of GPU filters like VPP, Super Resolution, and
    Compression Artefact Removal(in future plans)
    - VCN power management control for decoders.
    - Ability to specify which VCN instance to use for decoding
    (like for encoder)
    - AMD will soon introduce full AMF API for multimedia accelerator MA35D
    - With AMF API, integration will be much easier :
    GPU and the accelerator will have the same API
    - including encoder, decoder, scaler, color converter,
    Windows and Linux.
    Learn more :
    https://www.amd.com/en/products/accelerators/alveo/ma35d.html

    Changes by versions :
    v2 : Header file cleanup.
    v3 : Removed an unnecessary class.
    v4 : code cleanup and improved error handling
    v5 : Fixes related to HandBrake integration.
    v6 : Sequential filters error and memory leak have been fixed.

    • [DH] libavutil/Makefile
    • [DH] libavutil/hwcontext.c
    • [DH] libavutil/hwcontext.h
    • [DH] libavutil/hwcontext_amf.c
    • [DH] libavutil/hwcontext_amf.h
    • [DH] libavutil/hwcontext_amf_internal.h
    • [DH] libavutil/hwcontext_internal.h
    • [DH] libavutil/pixdesc.c
    • [DH] libavutil/pixfmt.h