
Recherche avancée
Médias (29)
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (104)
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP 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 (...) -
Monitoring de fermes de MediaSPIP (et de SPIP tant qu’à faire)
31 mai 2013, parLorsque l’on gère plusieurs (voir plusieurs dizaines) de MediaSPIP sur la même installation, il peut être très pratique d’obtenir d’un coup d’oeil certaines informations.
Cet article a pour but de documenter les scripts de monitoring Munin développés avec l’aide d’Infini.
Ces scripts sont installés automatiquement par le script d’installation automatique si une installation de munin est détectée.
Description des scripts
Trois scripts Munin ont été développés :
1. mediaspip_medias
Un script de (...) -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...)
Sur d’autres sites (8397)
-
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"
-
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 :)
-
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.