
Recherche avancée
Autres articles (111)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (5715)
-
avutil : add hwcontext_amf.
15 octobre 2024, par Dmitrii Ovchinnikovavutil : 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.htmlChanges 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. -
FPS drop in FFMPEG streaming processes to FB from production server
30 janvier 2017, par Aakash GuptaI 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 :
- What can be the reason for this FPS drop ?
- Can upscaling production server help me fix this issue ?
- 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 ConsultanI 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"