
Recherche avancée
Médias (1)
-
Spitfire Parade - Crisis
15 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (98)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang 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.
Sur d’autres sites (8610)
-
ffmpeg transcoding : Metallic distorsion on macOS
10 septembre 2024, par XaviI am following ffmpeg's transcoding.c example to record audio and video from my input devices into an mp4 output file with H264 and AAC as codecs. I have no issues with the video and the audio transcoding works correctly on Windows.


However, on macOS I have an issue with any input device other than the internal microphone of my laptop : the audio comes out distorted and sounding noisy and metallic (sample recording claps : https://file.io/nEn8MXHUAUQ2). I went through the input and output parameters for the filter several times, checked the values, but there must be something I'm missing. And I can't explain why it works on Windows with the same devices.


Has anyone run into a similar problem before ? Any idea where I should start looking at ?


Additional comments :


- 

- While the Macbook's internal microphone (the only one that works) has only one channel, the other microphones I have available are stereo, so I can't say for sure that that's where the problem is.
- I also tested it on a macbook mini, with the same results.
- ffmpeg 6.1.1, MacOs 14.5
- Input filter arguments :
time_base=1/1000000:sample_rate=48000:sample_fmt=1:channel_layout=stereo
- Output filter arguments :
setpts=PTS-STARTPTS,aresample=48000:async=1:out_sample_fmt=8:out_chlayout=stereo,asetnsamples=n=1024












-
FFmpeg ; combining two multi-channel streams into one
30 mars 2023, par Christiaan RoselaarHi to all you FFmpeg Guru's.


I'm doing my best to combine two incoming webstreams on my server. One of them containing two (2) mono audio-channels, the other five (5). The objective is to create one stream containing seven (7) channels, to be routed directly to the hardware.


At the two transmission-origins, host_a and host_b, the streams are generated as follows :


host_a : $ ffmpeg -hide_banner -loglevel error -f jack -channels 1 -i Tonmeister_mic1 -f jack -channels 1 -i Tonmeister_mic2 -nostdin -filter_complex "[0:a][1:a]amerge=inputs=2[a]" -map "[a]" -codec:a libopus -b:a 128k -vbr on -packet_loss 10 -fec on -compression_level 10 -frame_duration 20 -application audio -f mpegts udp ://X.X.X.X:yyyy &


host_b : $ ffmpeg -hide_banner -loglevel error -f jack -channels 1 -i Tonmeister_mic1 -f jack -channels 1 -i Tonmeister_mic2 -f jack -channels 1 -i Tonmeister_mic3 -f jack -channels 1 -i Tonmeister_mic4 -f jack -channels 1 -i Tonmeister_mic5 -nostdin -filter_complex "[0:a][1:a][2:a][3:a][4:a]amerge=inputs=5[a]" -map "[a]" -codec:a libopus -b:a 128k -vbr on -packet_loss 10 -fec on -compression_level 10 -frame_duration 20 -application audio -f mpegts udp ://X.X.X.X:zzzz &


The streams do seem to get in allright :


cjr-macbook : CJR$ ffprobe -hide_banner -i udp ://127.0.0.1:yyyy
Input #0, mpegts, from 'udp ://127.0.0.1:yyyy' :
Duration : N/A, start : 4759.783900, bitrate : N/A
Program 1
Metadata :
service_name : Service01
service_provider : FFmpeg
Stream #0:0[0x100] : Audio : opus (Opus / 0x7375704F), 48000 Hz, stereo, fltp


cjr-macbook : CJR$ ffprobe -hide_banner -i udp ://127.0.0.1:zzzz
Input #0, mpegts, from 'udp ://127.0.0.1:zzzz' :
Duration : N/A, start : 4856.559000, bitrate : N/A
Program 1
Metadata :
service_name : Service01
service_provider : FFmpeg
Stream #0:0[0x100] : Audio : opus (Opus / 0x7375704F), 48000 Hz, 5.0, fltp


However, I just cannot figure out how to combine the seven (7) channels present in these two incoming streams into one seven-channel stream.


At the receiving end I tried various commands, amongst others


cjr-macbook : CJR$ ffmpeg -hide_banner -loglevel verbose -i udp ://127.0.0.1:yyyy -i udp ://127.0.0.1:zzzz -filter_complex "[0:a]channelsplit=channel_layout=stereo[b]" ;"[1:a]channelsplit=channel_layout=5.0[c]" ;"[b][c]amerge=inputs=7[d]" -map "[d]" sevenchannels.wav


Any help appreciated !


-
Combining two multi-channel streams into one
31 mars 2023, par Christiaan RoselaarHi to all you FFmpeg Guru's.


I'm doing my best to combine two incoming webstreams on my server. One of them containing two (2) mono audio-channels, the other five (5). The objective is to create one stream containing seven (7) channels, to be routed directly to the hardware.


At the two transmission-origins, host_a and host_b, the streams are generated as follows :


host_a : $ ffmpeg -hide_banner -loglevel error -f jack -channels 1 -i Tonmeister_mic1 -f jack -channels 1 -i Tonmeister_mic2 -nostdin -filter_complex "[0:a][1:a]amerge=inputs=2[a]" -map "[a]" -codec:a libopus -b:a 128k -vbr on -packet_loss 10 -fec on -compression_level 10 -frame_duration 20 -application audio -f mpegts udp ://X.X.X.X:yyyy &


host_b : $ ffmpeg -hide_banner -loglevel error -f jack -channels 1 -i Tonmeister_mic1 -f jack -channels 1 -i Tonmeister_mic2 -f jack -channels 1 -i Tonmeister_mic3 -f jack -channels 1 -i Tonmeister_mic4 -f jack -channels 1 -i Tonmeister_mic5 -nostdin -filter_complex "[0:a][1:a][2:a][3:a][4:a]amerge=inputs=5[a]" -map "[a]" -codec:a libopus -b:a 128k -vbr on -packet_loss 10 -fec on -compression_level 10 -frame_duration 20 -application audio -f mpegts udp ://X.X.X.X:zzzz &


The streams do seem to get in allright :


cjr-macbook : CJR$ ffprobe -hide_banner -i udp ://127.0.0.1:yyyy
Input #0, mpegts, from 'udp ://127.0.0.1:yyyy' :
Duration : N/A, start : 4759.783900, bitrate : N/A
Program 1
Metadata :
service_name : Service01
service_provider : FFmpeg
Stream #0:0[0x100] : Audio : opus (Opus / 0x7375704F), 48000 Hz, stereo, fltp


cjr-macbook : CJR$ ffprobe -hide_banner -i udp ://127.0.0.1:zzzz
Input #0, mpegts, from 'udp ://127.0.0.1:zzzz' :
Duration : N/A, start : 4856.559000, bitrate : N/A
Program 1
Metadata :
service_name : Service01
service_provider : FFmpeg
Stream #0:0[0x100] : Audio : opus (Opus / 0x7375704F), 48000 Hz, 5.0, fltp


However, I just cannot figure out how to combine the seven (7) channels present in these two incoming streams into one seven-channel stream.


At the receiving end I tried various commands, amongst others


cjr-macbook : CJR$ ffmpeg -hide_banner -loglevel verbose -i udp ://127.0.0.1:yyyy -i udp ://127.0.0.1:zzzz -filter_complex "[0:a]channelsplit=channel_layout=stereo[b]" ;"[1:a]channelsplit=channel_layout=5.0[c]" ;"[b][c]amerge=inputs=7[d]" -map "[d]" sevenchannels.wav


Any help appreciated !