
Recherche avancée
Médias (91)
-
#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
-
#1 The Wires
11 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (11)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...) -
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 (...)
Sur d’autres sites (3057)
-
Java sound vs C sound api in sound result
18 août 2019, par Ahmedi finish developing a conference chat app using java, and i used mp3 as encoder and javacv ( ffmpeg ) as a library, but the sound i get not sonorous like Paltalk app
i used java sound api to capture the sound then store the sound in a buffer , send it to the encoder and get the compressed bytes and send it via socket then decode it and play it in speaker.
the sound format was like 44100 sample rate when i capture the sound in java and in encoder it generate 11025 sound.
here how i get sound from java apiAudioFormat format = new AudioFormat(44100.0f, 16 , 1, true, false);
// target dataline (Mic)
DataLine.Info info = new DataLine.Info(TargetDataLine.class, format);
targetDataLine = (TargetDataLine) AudioSystem.getLine(info);
targetDataLine.open();i want to know what the thing making sound sonorous ?
-
How to record a specific window using ffmpeg ?
14 février 2023, par Matin LotfalieeI use ffmpeg to record a window using this code :



ffmpeg.exe
-f dshow 
-y 
-i video="screen-capture-recorder":audio="virtual-audio-capturer":audio="Microphone (USB Audio Device)" 
-framerate 15 
-vcodec libx264 
-crf 0 
-preset ultrafast 
-acodec pcm_s16le 
-vf crop=Width:Height:Left:Top 
output.flv




But the problem is i might move the window, this leads to recording an area without the window i want.



How can i capture a specific window that I am able to move it ?





Edit : I also used
gdigrab
to capture my window (Skype
for instance) instead ofdshow
:


ffmpeg.exe
-y
-f dshow
-i audio="virtual-audio-capturer":audio="Microphone (USB Audio Device)"
-f gdigrab
-draw_mouse 0
-i title="Skype"
-framerate 30
-vcodec libx264
-crf 0
-preset ultrafast
-acodec pcm_s16le
output.flv




But the conference is black...


-
Trim Overlay memory issue
4 juillet 2019, par Костянтин ТюртюбекGreetings fellow FFmpeg users,
We are experiencing a strange memory leek issue (or maybe just doing something really wrong) and need some directions on how to debug it.
What are we trying to achieve :
Process a conference recording that includes multiple user streams, each in its own separate file (all files are mp4/opus).
- Make a dynamic scene from a set of recordings, based on their volume level at set point of time.
- The scene must include two parts : smaller grid of all the participants videos, bigger grid of currently talking people. Something like Google Hangouts or Skype does in their applications.
What went wrong :
- Memory footprint started unpredictably skyrocketing for some reason during montage
What are we using :
First FFmpeg command that reads filter_complex_script from file and adds drawbox as a talking indication on each video source file, when its volume is over a set threshold.
Second FFmpeg command that reads filter_complex_script from file and :
- takes an input file (using 0:v),
- trims a part of it, when the user was talking,
- scales it according to the amount of concurrently talking users,
- pads to that resolution (in case if user video is smaller)
filter_complex command using SELECT :
[0]select='between(t, 1, 2)', scale=762:428:force_original_aspect_ratio=decrease,pad=763:429:(ow-iw)/2:(oh-ih)/2[stream-0-workspace-scale-1-1];
[block-2-grid][stream-0-workspace-scale-1-1]
overlay=repeatlast=1:shortest=0:x=10:y=316:enable='between(t, 1, 2)'
[block-2-workspace-1];filter_complex command using TRIM :
[input-file-tag]
trim=start=#{start}:duration=#{duration},
setpts=PTS-STARTPTS,
scale=#{w-1}:#{h-1}:force_original_aspect_ratio=decrease,
pad=#{w}:#{h}:(ow-iw)/2:(oh-ih)/2
[input-file-trimmed];
[previous-block-tag]
overlay=repeatlast=1:shortest=0:x=#{x}:y=#{y}:enable='between(t, #{from}, #{to})'
[next-block-tag]We have tried going the TRIM command way, tried the SELECT command way. Problem is, both take insane amounts of ram during execution.
Examples and more description :
-
Lets assume that only two of the five inputs have the volume above a
certain volume threshold from second two to five. -
We are trying to display only them according to some overlay math.
-
Cropped commands in human readable form : https://pastebin.com/YwrnRgnA
-
Full FFmpeg command is way too long to read through, that is the reason we started using filter_complex_script and loading it from file
-
Sometimes one block of video conference may have up to 300+
intermediate overlays, which leads to the memory issue described. We were expecting the memory footprint to be similar to the amount of input files or maybe two-to-three times higher. However, we reach 15Gb or RAM usage withing the first two minutes of montage, while the input files are no bigger than 200Mb.
What have we done in terms of debugging :
-
We had been using split at first, but quickly figured out that split
does in fact copy each input and load it in memory, so we had to
ditch that approach. -
As matter of fact we moved to using the input files themselves, so
the problem lies elsewhere. -
To clarify, we have split our ffmpeg command into two separate ones.
First one overlays the talking box animation using drawbox as well as
user avatar and name. It outputs new video files which we than use in
the command described above as direct input files tags, like 0:v, 1:v
etc.
Thank you for taking time reading through our issue.
We sure hope that you can help us narrow it down.
Please feel free to ask for any additional information or descriptions if needed.Have a good day !